Documentation ¶
Index ¶
- Constants
- func LogAtcBattery(mac string, batp float64)
- func LogAtcHumidity(mac string, hum float64)
- func LogAtcTemp(mac string, temp float64)
- func LogPrometheusData(mac string, temp float64, hum float64, batp float64, batv float64, rssi int)
- func LogStockCharacteristic(mac string, temp float64, hum float64, batv float64)
Constants ¶
View Source
const ExpiryAtc = 2.5 * 10 * time.Second
View Source
const ExpiryConn = 2.5 * 10 * time.Second
View Source
const ExpiryStock = 2.5 * 10 * time.Minute
View Source
const Sensor = "LYWSD03MMC"
Variables ¶
This section is empty.
Functions ¶
func LogAtcBattery ¶
func LogAtcHumidity ¶
func LogAtcTemp ¶
func LogPrometheusData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.