Versions in this module Expand all Collapse all v1 v1.0.1 Oct 5, 2023 v1.0.0 Aug 21, 2023 Changes in this version + type Connector struct + func New(config configuration.Config, ctx context.Context) (result *Connector, err error) + func (this *Connector) CommandHandler(deviceId string, serviceId string, command mgw.Command) + func (this *Connector) DeviceInfoListener(nodes []model.DeviceInfo, huskIds []int64, withValues bool, ...) + func (this *Connector) NotifyRefresh() + func (this *Connector) SetDeviceState(nodeId int64, online bool) error + func (this *Connector) ValueEventListener(nodeValue model.Value) + type DeviceRepo interface + CreateDeviceTypeWithDistinctAttributes func(key string, dt models.DeviceType, attributeKeys []string) (result models.DeviceType, code int, err error) + FindDeviceTypeId func(device model.DeviceInfo) (dtId string, usedFallback bool, err error) + type ValueWithTimestamp struct + LastUpdate int64 + Value interface{} + type Z2mClient interface + RequestDeviceInfoUpdate func() error + SetDeviceInfoListener func(listener func(nodes []model.DeviceInfo, huskIds []int64, withValues bool, ...)) + SetDeviceStatusListener func(state func(nodeId int64, online bool) error) + SetErrorForwardingFunc func(clientError func(message string)) + SetValueByValueId func(id string, value interface{}) error + SetValueEventListener func(listener func(nodeValue model.Value))