maisken / Paradox_IP150

Hassio add-on, Python and MQTT bindings for controlling a Paradox alarm via the IP150 web interface
GNU General Public License v3.0
40 stars 10 forks source link

Shows connected when it's not anymore #20

Open J-Prince opened 3 years ago

J-Prince commented 3 years ago

I'm using this add-on to connect to a remote alarm system (cottage with a sometimes flaky connection).

Most of the time it works well, but when the connection is lost, it is not always automatically restored. The add-on is still running and still thinks it's connected (as confirmed in MQTT, Control state is Connected) but the statuses are not updated. I have to manually restart the add-on to restore connection.

Would it be possible to add more logic to ensure the connection is alive, and if not, restore it?

Thank you!

cybertza commented 3 years ago

Hey I used to use this, and eventually migrated over to https://github.com/ParadoxAlarmInterface/pai

Also has a hass repo. Has the state tracking all the way into hass and auto provisions the names plus makes a baby ware gateway