Releases: Brandawg93/PeaNUT
Releases · Brandawg93/PeaNUT
v2.1.0
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
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
FIX
- Better handling of unavailable information (closes #5) (special thanks: @karelkryda)
v1.3.1
FIX
- Fix for graphs when information is not available (closes #4) (special thanks: @karelkryda)
v1.3.0
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
NEW
- Added wattage chart for compatible devices
- Added versioning and updated time at bottom of page
v1.1.0
NEW
- Support for multiple UPS devices (assuming they use the same NUT server)
FIX
- Reduce overall image size
v1.0.0
Initial Release