Skip to content

v1.3.0

Choose a tag to compare

@Brandawg93 Brandawg93 released this 29 Sep 00:26
· 1316 commits to main since this release

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