|  Developer

This is some sample paragraph text.

hub.info.changed

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:

FieldTypeRequiredDescription
batteryObject–If controller does not have battery support no battery section will be in result.
battery.statusenum–initializing, missing, charging, full, discharging
battery.stateOfChargeint–Percent of available battery capacity
battery.remainingTimeint–Estimated remaining time in minutes to empty if discharging, or to full if charging
battery.healthint–Percent of current full capacity relative to original full capacity