communication with influxdb is working, schema of data in influxdb is unusable so far, too many spare columns
This commit is contained in:
10
attic/z2m/models/wsdcgq11lm/wsdcgq11lm.go
Normal file
10
attic/z2m/models/wsdcgq11lm/wsdcgq11lm.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package wsdcgq11lm
|
||||
|
||||
type Observation struct {
|
||||
LinkQuality uint8 `unit:"" json:"linkquality"`
|
||||
Battery uint8 `unit:"%" json:"battery"`
|
||||
Humidity float32 `unit:"%H" json:"humidity"`
|
||||
Temperature float32 `unit:"°C" json:"temperature"`
|
||||
Voltage uint16 `unit:"mV" json:"voltage"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user