Skip to content

Releases: Brandawg93/PeaNUT

v2.1.0

30 Dec 17:05
Compare
Choose a tag to compare

NEW

  • Add support for more API endpoints

    • | GET /api/v1/devices/[ups]/var/[param] | Retrieves information about a single parameter of the specified UPS device |
    • | GET /api/v1/devices/[ups]/commands | Retrieves available commands for the specified UPS device |
    • | GET /api/v1/devices/[ups]/description | Retrieves the description for the specified UPS device |
    • | GET /api/v1/devices/[ups]/clients | Retrieves the connected clients for the specified UPS device |
    • | GET /api/v1/devices/[ups]/rwvars | Retrieves writable variables for the specified UPS device |
  • Add support for reverse proxy paths via environment variable BASE_PATH

FIX

  • Fix erroneous data for servers with multiple ups devices (closes #12)

v2.0.0

22 Dec 19:29
Compare
Choose a tag to compare

NEW

  • Rewritten from the ground up in NextJS and TailwindCSS
  • Added support for translations
  • Added support for username / password login
  • Added support for more statuses
  • Added new API route /api/v1/devices/[device]/[param]

v1.3.2

21 Oct 20:45
80dad41
Compare
Choose a tag to compare

FIX

  • Better handling of unavailable information (closes #5) (special thanks: @karelkryda)

v1.3.1

20 Oct 19:56
Compare
Choose a tag to compare

FIX

  • Fix for graphs when information is not available (closes #4) (special thanks: @karelkryda)

v1.3.0

29 Sep 00:26
Compare
Choose a tag to compare

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

v1.2.0

19 Sep 21:35
Compare
Choose a tag to compare

NEW

  • Added wattage chart for compatible devices
  • Added versioning and updated time at bottom of page

v1.1.0

09 Sep 01:41
Compare
Choose a tag to compare

NEW

  • Support for multiple UPS devices (assuming they use the same NUT server)

FIX

  • Reduce overall image size

v1.0.0

03 Sep 23:48
Compare
Choose a tag to compare

Initial Release