Open javierferwolf opened 3 years ago
Hi javierferwolf
I know that after an amount of time, when a command is issued to the sketch, like arming the alarm, etc, it has to re-logon to the board to do that, but for zone updates, etc, the board pushes these commands to the serial port which the sketch interprets and sends out MQTT messages.
I am not entirely sure if the code that you wrote that to communicate with Telegram is interfering with the sketch as it might be blocking waiting for data from Telegram thus not giving any IO time to the serial port. My ESP8266 knowledge in terms of it being able to "mult-thread" is fairly limited.
May I suggest that you look at adding the Telegram notification to an external entity like getting the sketch to send MQTT messages via a broker to Home Assistant. You can set up Home Assistant to send notifications to Telgram based on events published by the sketch.
I want to thank you for @ipodmusicman your contribution to the paradox project! I want to modify its sketch to be able to control and receive the events through the telegram application! I am using for this purpose an esp8266 nodemcu module! I have started with the modification but the problem I have is that after a certain time the Paradox panel loses communication with the esp8266 module, it is like the serial port is saturated and it does not transmit anymore!
Please if someone could inform me of what could be happening? thank you