Closed bereska closed 5 years ago
Thanks Dmitry... I've recreated the issue and are currently working on a fix. The issue also affects the Panic alarm while disarmed.
In both cases, it causes the Home Assistant UI to indicate an alarm has been triggered with Disarm the only available button, but clicking it has no effect since the LifeSOS unit is already in Disarm mode.
Sequence of events:
ha_state
topic to triggered
for HA.ha_state
remains as triggered
instead of changing back to disarmed
. The user is only able to resolve by toggling Away/Disarm on the base unit / remote control or restarting LifeSOSpy_MQTT.A new version (0.11.2) has been published with the fix.
Hi Richard, thank you very much it works great Dmitry
Hi Robert, there is this one more thing I noticed long time ago which is rather an inconvenience than an issue ... when the alarm gets triggered in disarmed mode by tampering with sensors (battery change, etc.), the HA alarm panel changes its state to TRIGGERED and does not allow to change it even though the DISARM button in present. Pressing the DISARM button has no effect. It stays this way until I manually reset it on the main unit and then run lifesosd.service restart do you think it's possible to modify your code to allow for reset after triggered by tampering in HA alarm panel?
P.S. this morning I switched to from Samsung 32G SD card to a 2.5" SATA 128G SSD and it's been running just great on my rpi 3b+! Before the switch the boot time was about 6 min, now its only 2 min. Hope it will be more reliable and durable than SD, too.