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>
28 lines
736 B
JSON
28 lines
736 B
JSON
{
|
|
"name": "LiFePO4wered Addon",
|
|
"version": "0.1.5",
|
|
"init": false,
|
|
"hassio_api": true,
|
|
"hassio_role": "admin",
|
|
"slug": "lifepo4wered",
|
|
"description": "Add-on with service and MQTT monitor for LiFePO4wered/Pi+ UPS",
|
|
"url": "https://github.com/vakius/hassio-addon-lifepo4wered/tree/master/hassio-addon-lifepo4wered",
|
|
"startup": "application",
|
|
"boot": "auto",
|
|
"services": ["mqtt:want"],
|
|
"options": {
|
|
"poll_interval": 30,
|
|
"signal_ups_on_stop": false
|
|
},
|
|
"schema": {
|
|
"poll_interval": "int(5,3600)",
|
|
"signal_ups_on_stop": "bool",
|
|
"mqtt_host": "str?",
|
|
"mqtt_port": "port?",
|
|
"mqtt_user": "str?",
|
|
"mqtt_password": "password?"
|
|
},
|
|
"arch": ["aarch64"],
|
|
"devices": [ "/dev/i2c-1" ]
|
|
}
|