Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sensor ¶
type Sensor interface {
ID() string
Read() (units.Temperature, time.Time)
Subscribe() <-chan units.Temperature
}
func NewW1Sensor ¶
type SettableSensor ¶
type SettableSensor interface {
Sensor
Set(units.Temperature, time.Time)
}
func NewPushSensor ¶
func NewPushSensor(name, id string) SettableSensor
Click to show internal directories.
Click to hide internal directories.