Documentation
¶
Index ¶
Constants ¶
View Source
const ValueDelta = 0.000001
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPoint ¶
type DataPoint struct {
TimeStamp time.Time
Temperature [8]float64
Humidity [8]float64
HybridSensor HybridSensor
}
DataPoint denotes a set of data taken at a specific point in time
func (*DataPoint) IsComplete ¶ added in v1.0.7
IsComplete returns if the data point has all fields set (and at least one of each temperature / Humidity is non-zero)
type HybridSensor ¶
type HybridSensor struct {
Temperature float64
Humidity float64
WindSpeed float64
Precipitation int
IsRaining bool
}
HybridSensor denotes the data from the hybrid sensor (if present)
Click to show internal directories.
Click to hide internal directories.