mirror of
https://github.com/Tediore/battery2mqtt.git
synced 2025-04-04 15:33:44 +02:00
add time remaining calculation
This commit is contained in:
parent
1a9f585012
commit
43c23b7af9
@ -52,8 +52,8 @@ services:
|
||||
| `MQTT_QOS` | `1` | The MQTT QoS level. |
|
||||
| `INTERVAL` | `60` | How often (in seconds) battery2mqtt polls for battery info. |
|
||||
| `MONITORED_CONDITIONS` | (See below) | Battery properties to send to MQTT (must be a comma-separated string.) |
|
||||
| `BATTERY_HEALTH` | 1 | Set to 1 to enable battery health percentage calculation or 0 to disable. |
|
||||
| `TIME_REMAINING` | 1 | Set to 1 to enable time remaining estimate (in hours) or 0 to disable. |
|
||||
| `BATTERY_HEALTH` | `1` | Set to 1 to enable battery health percentage calculation or 0 to disable. |
|
||||
| `TIME_REMAINING` | `1` | Set to 1 to enable time remaining estimate (in hours) or 0 to disable. |
|
||||
|
||||
# Monitored conditions
|
||||
You can specify only those conditions that you'd like to track. The default is to track `alarm, capacity, capacity_level, present, status, and voltage_now`. You can add more conditions (found at `/sys/class/power_supply/$NAME`) or choose only those you want to track. The variable in your `docker-compose.yaml` must follow this format:
|
||||
|
Loading…
x
Reference in New Issue
Block a user