mirror of
https://github.com/vakius/hassio-addon-lifepo4wered.git
synced 2026-09-19 09:25:17 +03:00
Off (default): SIGKILL the daemon on addon stop so the UPS keeps power on. On: SIGTERM it (native behavior) so it saves the RTC and tells the UPS to cut power. Add translations so the option is documented in the HA config UI, and document the difference in the README. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
configuration:
|
|
poll_interval:
|
|
name: Poll interval
|
|
description: >-
|
|
How often (in seconds) UPS registers are read and published to MQTT.
|
|
signal_ups_on_stop:
|
|
name: Signal UPS on addon stop
|
|
description: >-
|
|
Off (default): stopping the addon kills the daemon silently and the
|
|
UPS keeps powering the Pi; use this so addon restarts and updates are
|
|
safe. On: stopping the addon terminates the daemon gracefully, which
|
|
saves the clock to the UPS RTC but tells the UPS the system is
|
|
shutting down — the UPS WILL CUT POWER to the Pi a few seconds after
|
|
the addon stops.
|
|
mqtt_host:
|
|
name: MQTT host
|
|
description: >-
|
|
Optional MQTT broker override. Leave empty to auto-detect the broker
|
|
provided by the Mosquitto addon.
|
|
mqtt_port:
|
|
name: MQTT port
|
|
description: Optional broker port override (default 1883).
|
|
mqtt_user:
|
|
name: MQTT username
|
|
description: Optional broker username override.
|
|
mqtt_password:
|
|
name: MQTT password
|
|
description: Optional broker password override.
|