Documentation ¶
Overview ¶
Package ds18b20 implements a 1-wire temperature sensor
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrConfig ¶
type AttrConfig struct {
UniqueID string `json:"unique_id"`
}
AttrConfig is used for converting config attributes.
type Sensor ¶
type Sensor struct { Name string OneWireID string OneWireFamily string generic.Unimplemented }
Sensor is a 1-wire Sensor device.
func (*Sensor) GetReadings ¶
GetReadings returns a list containing single item (current temperature).
Click to show internal directories.
Click to hide internal directories.