Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Online bool `json:"online"` DeviceStatus DeviceStatus `json:"device_status"` }
type DeviceStatus ¶
type DeviceStatus struct { Serial float64 `json:"serial"` Mqtt Mqtt `json:"mqtt"` Switch0 Switch0 `json:"switch:0"` ID string `json:"id"` Ws Ws `json:"ws"` VEve0 VEve0 `json:"v_eve:0"` Sys Sys `json:"sys"` Ble []any `json:"ble"` Cloud Cloud `json:"cloud"` Wifi Wifi `json:"wifi"` Input0 Input0 `json:"input:0"` Updated string `json:"_updated"` Code string `json:"code"` }
type Switch0 ¶
type Switch0 struct { ID int `json:"id"` Source string `json:"source"` Output bool `json:"output"` Temperature Temperature `json:"temperature"` }
type Sys ¶
type Sys struct { Mac string `json:"mac"` RestartRequired bool `json:"restart_required"` Time string `json:"time"` Unixtime int `json:"unixtime"` Uptime int `json:"uptime"` RAMSize int `json:"ram_size"` RAMFree int `json:"ram_free"` FsSize int `json:"fs_size"` FsFree int `json:"fs_free"` CfgRev int `json:"cfg_rev"` KvsRev int `json:"kvs_rev"` ScheduleRev int `json:"schedule_rev"` WebhookRev int `json:"webhook_rev"` AvailableUpdates interface{} `json:"available_updates,omitempty"` }
type Temperature ¶
Click to show internal directories.
Click to hide internal directories.