add option to show power units

This commit is contained in:
M.J. Wydra
2020-12-05 16:18:42 -06:00
parent 43c23b7af9
commit 6472dc534f
3 changed files with 31 additions and 7 deletions

View File

@@ -6,9 +6,13 @@
- MQTT_PORT=1883
- MQTT_USER=user
- MQTT_PASSWORD=password
- MQTT_TOPIC=server
- MQTT_QOS=1
- INTERVAL=60
- MONITORED_CONDITIONS=status,capacity
- MONITORED_CONDITIONS=status,capacity,energy_now,energy_full,energy_full_design,power_now,voltage_now
- BATTERY_HEALTH=1
- TIME_REMAINING=1
- SHOW_UNITS=1
volumes:
- /sys/class/power_supply:/sys/class/power_supply:ro
restart: unless-stopped