Versions in this module Expand all Collapse all v1 v1.0.0-beta.2 Feb 21, 2023 v0 v0.2024.5 Jun 5, 2024 Changes in this version + const PointsetVersion type DeviceConfig + UDMITopicPrefix string + type EventPoint struct + PresentValue T + type EventPoints struct + DeviceType *EventPoint[string] + EnterCount *EventPoint[int32] + LeaveCount *EventPoint[int32] + OccupancyState *EventPoint[string] + PeopleCount *EventPoint[int32] + type PointsetEventMessage struct + PartialUpdate bool + Points EventPoints + Timestamp time.Time + Version string + type UdmiServiceServer struct + func NewUdmiServiceServer(logger *zap.Logger, e *resource.Value, o *resource.Value, udmiPrefix string) *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 + func ResetLiveLogic(conn *Client, multiSensor bool, id int) error + type APIError struct + Code int + Detail []string + Info string + func (err APIError) Error() string + type Client struct + BaseURL url.URL + Client *http.Client + Password string + Username string + func NewInsecureClient(host string, username 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 Count struct + ID int + Name string + Value int + type DataPushConfig struct + HTTPPort int + WebhookPath string + type DeviceConfig struct + EnterLeave *LogicConfig + Metadata *traits.Metadata + Name string + Occupancy *LogicConfig + type DeviceInfo struct + FWVersion string + HWBomRev string + HWID string + HWPcbRev string + HWProdRev string + ProdCode string + Serial string + Type string + Variant string + func GetDeviceInfo(conn *Client) (DeviceInfo, error) + type Driver struct + type DriverConfig struct + DataPush *DataPushConfig + Devices []DeviceConfig + Host string + MultiSensor bool + Password string + PasswordFile string + Username string + func DefaultConfig() DriverConfig + func ParseConfig(raw []byte) (DriverConfig, error) + func (c DriverConfig) LoadPassword() (string, error) + type Geometry struct + ID int + Name string + Type string + type LiveLogicData struct + Counts []Count + Geometries []Geometry + ID int + Info string + Name string + type LiveLogicResponse struct + Logic LiveLogicData + Time time.Time + func GetLiveLogic(conn *Client, multiSensor bool, id int) (res LiveLogicResponse, err error) + type LiveLogicsResponse struct + Logics []LiveLogicData + Time time.Time + func GetLiveLogics(conn *Client, multiSensor bool) (res LiveLogicsResponse, err error) + type Logic struct + Geometries []Geometry + ID int + Info string + Name string + Records []LogicRecord + type LogicConfig struct + ID int + type LogicRecord struct + Counts []Count + From time.Time + Samples int + SamplesExpected int + To time.Time + type LogicsPushData struct + Logics []Logic + PackageInfo *PackageInfo + SensorInfo *SensorInfo + type PackageInfo struct + AgentID int + AgentName string + AgentType string + From time.Time + ID int + To time.Time + Version string + type PushData struct + LogicsData *LogicsPushData + type SensorInfo struct + DeviceType string + Group string + HWVersion string + Name string + SWVersion string + SerialNumber string + Time time.Time + Timezone string + Type string 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