exporter

package
v0.0.0-...-3329fa7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 LogAtcBattery(mac string, batp float64)

func LogAtcHumidity

func LogAtcHumidity(mac string, hum float64)

func LogAtcTemp

func LogAtcTemp(mac string, temp float64)

func LogPrometheusData

func LogPrometheusData(mac string, temp float64, hum float64, batp float64, batv float64, rssi int)

func LogStockCharacteristic

func LogStockCharacteristic(mac string, temp float64, hum float64, batv float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL