]> git.giacomolli.uk - onehouse/blob - driver/alamo/state.go
Exchange bounded Alamo gateway requests
[onehouse] / driver / alamo / state.go
1 package alamo
2
3 // State is one complete gateway observation. MAC contains twelve lowercase
4 // hexadecimal digits. Temperatures are finite degrees Celsius. Active is local
5 // heating activity, not independent load or contactor feedback.
6 type State struct {
7 MAC string
8 Power bool
9 TargetTemperature float64
10 CurrentTemperature float64
11 FloorTemperature float64
12 Active bool
13 Locked bool
14 }