Versions in this module Expand all Collapse all v0 v0.2024.5 Jun 5, 2024 Changes in this version + const PointsetVersion type AirQualitySensor + AirQualityValue *resource.Value + func (a *AirQualitySensor) StartPollingForData() + type EventPoint struct + PresentValue T + type EventPoints struct + AirPressure *EventPoint[float32] + Co2Level *EventPoint[float32] + DeviceType *EventPoint[string] + Humidity *EventPoint[float32] + IAQ *EventPoint[float32] + InfectionRisk *EventPoint[float32] + OccupancyState *EventPoint[string] + PeopleCount *EventPoint[int32] + Temperature *EventPoint[float64] + VocLevel *EventPoint[float32] type Occupancy + OccupancyValue *resource.Value + func (o *Occupancy) StartPollingForData() + type PointsetEventMessage struct + PartialUpdate bool + Points EventPoints + Timestamp time.Time + Version string type TemperatureSensor + TemperatureValue *resource.Value + func (a *TemperatureSensor) StartPollingForData() + type UdmiServiceServer struct + func NewUdmiServiceServer(logger *zap.Logger, aq *resource.Value, o *resource.Value, t *resource.Value, ...) *UdmiServiceServer + func (u *UdmiServiceServer) GetExportMessage(_ context.Context, _ *gen.GetExportMessageRequest) (*gen.MqttMessage, error) + func (u *UdmiServiceServer) OnMessage(_ context.Context, _ *gen.OnMessageRequest) (*gen.OnMessageResponse, error) + func (u *UdmiServiceServer) PullControlTopics(_ *gen.PullControlTopicsRequest, _ gen.UdmiService_PullControlTopicsServer) error + func (u *UdmiServiceServer) PullExportMessages(request *gen.PullExportMessagesRequest, ...) error v0.2024.4 Feb 14, 2024 Changes in this version + const DriverName + var Factory driver.Factory = factory + type APIError struct + Code int + Detail []string + Info string + func (err APIError) Error() string + type AirQualitySensor struct + func NewAirQualitySensor(client *Client, logger *zap.Logger, pollInterval time.Duration) AirQualitySensor + func (a *AirQualitySensor) GetAirQuality(ctx context.Context, req *traits.GetAirQualityRequest) (*traits.AirQuality, error) + func (a *AirQualitySensor) GetUpdate() error + func (a *AirQualitySensor) PullAirQuality(request *traits.PullAirQualityRequest, ...) error + type Client struct + BaseURL url.URL + Client *http.Client + Password string + func NewInsecureClient(host string, password string) *Client + type Code int + const CodeBackupIPSettingsChanged + const CodeBackupNewerVersion + const CodeContentLengthRequired + const CodeDataPushAgentTriggerBusy + const CodeDataPushIDModeError + const CodeEmptyRequest + const CodeInvalidContentType + const CodeInvalidJSON + const CodeInvalidSettings + const CodeInvalidTimeFormat + const CodeTimeInPast + const CodeUpdateDowngrade + const CodeUpdateInstalling + const CodeUpdateInvalid + const CodeUpdateUploading + type DeviceData struct + Entries []DeviceDataEntry + type DeviceDataEntry struct + Name string + type Driver struct + type Occupancy struct + func NewOccupancySensor(client *Client, logger *zap.Logger, pollInterval time.Duration) Occupancy + func (a *Occupancy) GetOccupancy(ctx context.Context, req *traits.GetOccupancyRequest) (*traits.Occupancy, error) + func (a *Occupancy) GetUpdate() error + func (a *Occupancy) PullOccupancy(request *traits.PullOccupancyRequest, ...) error + type SensorResponse struct + AerosolRiskOfInfection int + AerosolRiskOfInfectionStatus int + AerosolStaleAir int + AerosolStaleAirStatus int + AirPressure float64 + Brightness1 int + CO2 int + ComfortZone bool + DetectorFWVersion string + DewPoint float64 + Humidity float64 + IAQ int + Motion1 bool + Noise int + Presence1 bool + SensorName string + SensorSWVersion string + Temperature float64 + TruePresence1 bool + VOC int + ZonePeople0 int + type TemperatureSensor struct + func NewTemperatureSensor(client *Client, logger *zap.Logger, pollInterval time.Duration) TemperatureSensor + func (a *TemperatureSensor) GetAirTemperature(ctx context.Context, req *traits.GetAirTemperatureRequest) (*traits.AirTemperature, error) + func (a *TemperatureSensor) GetUpdate() error + func (a *TemperatureSensor) PullAirTemperature(request *traits.PullAirTemperatureRequest, ...) error v0.2024.3 Feb 8, 2024 v0.2024.2 Feb 8, 2024 v0.2024.1 Feb 8, 2024 v0.0.0-test-multiarch Jun 7, 2024