testing nutbcase for ups

This commit is contained in:
2024-01-17 10:54:20 -06:00
parent b4b566e5e8
commit f81dce954b

View File

@@ -17,12 +17,43 @@
allowScrolling: no
- UPS:
href: http://192.168.1.33:9995/log?lines=40
description: DS9 UPS
icon: ups.png
href: http://192.168.1.33:8680
siteMonitor: http://192.168.1.33:8680
widget:
type: peanut
url: http://192.168.1.33:8680
type: customapi
url: http://192.168.1.33:9995/json?target=192.168.1.41:3493
refreshInterval: 60000 # In milliseconds, set to ~60s
method: GET
mappings:
- field:
ups:
input.voltage
label: Input
format: text
suffix: V
- field:
ups: battery.runtime
label: Runtime
format: float
scale: 1/60
suffix: Min
- field:
ups:
ups.load
label: Power
format: text
suffix: "%"
- field:
ups:
ups.status
label: Status
format: text
remap:
- value: "OL"
to: On-Line
- value: "OB"
to: Discharge
########################
- Servers: