Tertiush / Alarmin-Android-App

Alamin is an android app for controlling Paradox alarms through an IP module
MIT License
12 stars 10 forks source link

Can't connect if already using IP150-MQTTv2.py on another device #51

Open araujorm opened 5 years ago

araujorm commented 5 years ago

Hello.

I'm testing your IP150-MQTTv2.py script and it's working good, however if I start it then Alarmin on my phone can't connect to the IP150 module, even with IP150-MQTTv2.py's "Auto Logoff" option set to "True".

It just gives an error as if the password or the pin were wrong.

On the other hand, if I stop the script, then connect with Alarmin (it works), and then after that start the script again, both work at the same time, which makes me believe that it's a limitation of Alarmin not checking something correctly.

Can you please fix this in Alarmin, as I was planning to leave the script running all the time on a raspberry to monitor and do some actions depending on the alarm states, but still wanted to use Alarmin from my phone once in a while?

Thanks in advance.

Tertiush commented 5 years ago

The auto logoff functions works perfectly fine for me, albeit it takes about 30 seconds after the first failure before it will succeed. Alarmin will likely not be developed any further, so any fixes will have to be on the python script.

, Oct 22, 2018, 00:50 araujorm notifications@github.com wrote:

Hello.

I'm testing your IP150-MQTTv2.py script and it's working good, however if I start it then Alarmin on my phone can't connect to the IP150 module, even with IP150-MQTTv2.py's "Auto Logoff" option set to "True".

It just gives an error as if the password or the pin were wrong.

On the other hand, if I stop the script, then connect with Alarmin (it works), and then after that start the script again, both work at the same time, which makes me believe that it's a limitation of Alarmin not checking something correctly.

Can you please fix this in Alarmin, as I was planning to leave the script running all the time on a raspberry to monitor and do some actions depending on the alarm states, but still wanted to use Alarmin from my phone once in a while?

Thanks in advance.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Tertiush/Alarmin-Android-App/issues/51, or mute the thread https://github.com/notifications/unsubscribe-auth/ALGOjPI1IQGqSLTdl9Qp6BuF28wa7cFSks5unPpNgaJpZM4Xytm5 .