Add APC UPS to monitoring
This commit is contained in:
parent
15a50a17fa
commit
c0e0563f65
|
@ -4,7 +4,7 @@ widget_dimensions: [120, 120]
|
|||
widget_size: [1, 1]
|
||||
widget_margins: [5, 5]
|
||||
columns: 5
|
||||
rows: 5
|
||||
rows: 6
|
||||
global_parameters:
|
||||
use_comma: 0
|
||||
precision: 2
|
||||
|
@ -32,3 +32,4 @@ layout:
|
|||
- battery_status, battery_capacity, battery_voltage, battery_current, battery_health
|
||||
- load_5m, cpu_temperature, spacer(3x1)
|
||||
- memory_use_percent, swap_use_percent, disk_use_root, disk_use_tank, cpu_speed
|
||||
- ups_status, ups_battery, ups_input_voltage, ups_load, ups_time_remaining
|
||||
|
|
|
@ -4,7 +4,7 @@ widget_dimensions: [120, 120]
|
|||
widget_size: [1, 1]
|
||||
widget_margins: [5, 5]
|
||||
columns: 3
|
||||
rows: 7
|
||||
rows: 9
|
||||
global_parameters:
|
||||
use_comma: 0
|
||||
precision: 2
|
||||
|
@ -34,3 +34,5 @@ layout:
|
|||
- battery_current, battery_health
|
||||
- cpu_temperature, memory_use_percent, swap_use_percent
|
||||
- load_5m, disk_use_root, disk_use_tank, spacer
|
||||
- ups_status, ups_battery, ups_input_voltage
|
||||
- ups_time_remaining, ups_load, spacer
|
||||
|
|
|
@ -103,3 +103,41 @@ cpu_temperature:
|
|||
title: CPU
|
||||
entity: sensor.cpu_temperature
|
||||
units: "°F"
|
||||
|
||||
ups_battery:
|
||||
widget_type: gauge
|
||||
entity: sensor.ups_battery
|
||||
title: "UPS Battery"
|
||||
units: "%"
|
||||
min: 0
|
||||
max: 100
|
||||
|
||||
ups_load:
|
||||
widget_type: gauge
|
||||
entity: sensor.ups_load
|
||||
title: "UPS Load"
|
||||
units: "%"
|
||||
min: 0
|
||||
max: 100
|
||||
|
||||
ups_input_voltage:
|
||||
widget_type: sensor
|
||||
entity: sensor.ups_input_voltage
|
||||
title: "UPS Line Voltage"
|
||||
units: "V"
|
||||
|
||||
ups_time_remaining:
|
||||
widget_type: sensor
|
||||
entity: sensor.ups_time_left
|
||||
title: "UPS Time Remaining"
|
||||
units: "m"
|
||||
|
||||
ups_status:
|
||||
widget_type: icon
|
||||
entity: sensor.ups_status
|
||||
title: "UPS Status"
|
||||
icons:
|
||||
"ONLINE":
|
||||
icon: mdi-power-plug
|
||||
"default":
|
||||
icon: mdi-power-plug-off
|
||||
|
|
|
@ -214,3 +214,9 @@ cast: !include media/cast.yaml
|
|||
|
||||
# Remotes
|
||||
remote: !secret remotes
|
||||
|
||||
# APC UPSs
|
||||
apcupsd:
|
||||
host: 172.30.0.1
|
||||
binary_sensor:
|
||||
- platform: apcupsd
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
- platform: apcupsd
|
||||
resources:
|
||||
- linev
|
||||
- loadpct
|
||||
- bcharge
|
||||
- timeleft
|
||||
- mbattchg
|
||||
- sense
|
||||
- battv
|
||||
- status
|
||||
|
Loading…
Reference in New Issue