Versions in this module Expand all Collapse all v1 v1.0.1 Jul 16, 2024 v1.0.0 Jul 2, 2024 Changes in this version + type Datapoint struct + Status int + UID DatapointUID + Value int + func (dp Datapoint) Compare(other Datapoint) bool + func (dp Datapoint) Name() string + func (dp Datapoint) String() string + type DatapointUID int + const AlarmStatus + const ErrorCode + const FanSpeed + const MaintenanceConfig + const MaintenanceFilterConfig + const MaintenanceFilterTime + const MaintenanceTime + const MaxTemperatureSetpoint + const MinTemperatureSetpoint + const OnOff + const OnTime + const OutoorTemperature + const RemoteDisable + const ReturnPathTemperture + const UserMode + const UserSetpoint + const VaneUpDown + type Device struct + Datapoints map[DatapointUID]Datapoint + Events chan Event + Name string + func NewDevice(name string, host string) *Device + func (dev *Device) Run(ctx context.Context, wg *sync.WaitGroup) + func (dev *Device) Set(ctx context.Context, uid DatapointUID, value int) error + type Event struct + Datapoint Datapoint + Device *Device + type Manager struct + Devices []*Device + Events chan Event + func NewManager() *Manager + func (man *Manager) AddDevice(device *Device) + func (man *Manager) Run(ctx context.Context, wg *sync.WaitGroup) + type Response struct + Data map[string]interface{} + Error struct{ ... } + Success bool