NEW
- New REST API endpoints have been added to get device information:
/api/v1/devices
/api/v1/devices/:device
- Initial support for Homepage
Homepage Support
With v1.3.0, initial support has been added for Homepage to add a custom api widget. An example can been seen below:
widget:
type: customapi
url: http://{hostname}:{port}/api/v1/devices/ups
mappings:
- field: battery_charge
label: Battery Charge
format: percent
- field: ups_load
label: UPS Load
format: percent
- field: ups_status
label: UPS Status
format: text
remap:
- value: OL
to: Online
- value: OB
to: On Battery
- value: LB
to: Low Battery
- any: true
to: Unknown