This is some sample paragraph text.
Broadcast sent when hub info changed. Only fields that have values changed since previous broadcast will be sent. As for now only battery info changes are reported.
result:
Field | Type | Required | Description |
---|---|---|---|
battery | Object | – | If controller does not have battery support no battery section will be in result. |
battery.status | enum | – | initializing , missing , charging , full , discharging |
battery.stateOfCharge | int | – | Percent of available battery capacity |
battery.remainingTime | int | – | Estimated remaining time in minutes to empty if discharging, or to full if charging |
battery.health | int | – | Percent of current full capacity relative to original full capacity |