-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events stop after some time #27
Comments
Have you tried the new release ? There where many bug fixes done. |
Yes, I have tried the last release without resolve the problem Thanks |
Is there any chance the raspberry is going to sleep? |
No It doesn't go to sleep. thanks |
No sorry. Use mqtt.fx and leave it connected to status topic |
Ok. I'll update you. thanks again |
No I dont use home assistant. I use openhab and homekit |
If you want you can try this https://github.com/maragelis/ParadoxRs232toMqtt/tree/Dev/ParadoxAlarmSystem/ParadoxAlarmSystemOTA It has some mqtt connection updates, and get back to me Thanks |
What are the differences between the 2ino files? |
the one is a ino arduino file the other is a precompiled bin file for flashing |
Sorry, I didn't see the extension file :D Thanks |
Yes it will reconnect |
Hi, I'll load the new sketch. I'll update you tomorrow. thanks |
My friend there is nothing to trace in this situation, trace is for tracing problems with panel commands.
|
I'll test and I'll update you! Thansk. Thanks |
I will look into it |
I update you. Moreover if I unplug the power and plug the power, the wemos d1 led blinks only 1 time and the ping stop to work. Thanks |
One time I receive also a "{"status":"Problem connecting to panel"}". Moreover I confirm that the Alarme system serial works fine because I called the alarm man specialist. thanks |
So this happens only when armed ? please help so I can help. |
No I noticed that only when disarmed. I cannot test if armed because there is a PIR sensor that I cannot disable |
So you are disarmed and the wemos disconnects from mqtt ? |
I'm sorry. I understand now. Generally when I try do disarm the system (it is armed), the wemos stops to work. |
Are you maybe having low wifi signal |
If the wifi signal cut out for too long the times out and cannot reconnect. Please check if you are getting disconnect status message. After how long does it disconnect ? |
{"status":"Paradox Disconnected"} this is the last will message if wifi is disconnected, can you check if you are getting this message. |
Well, I have an access point at 20cm .. It isn't a wireless problem; in fact i can ping the wemos without any problem. |
that tells me that the serial has stopped responding on the wemos. |
can i get what panel you have and firmware if possible |
@maragelis of course no problem at all. I just have to wait until I get home again in the evening to compile and put the system to a test and send you the Trace. As soon as I do it i will get back to you. Thanks. |
@maragelis it is working perfectly ok! There are no issues at all! |
which version is working for you |
@pilievwm in 201902112130 i added mqtt authentication and retain on hassio arm topic. If you want get the code and update master or try this dev version. #define mqtt_user "" |
@rjduraocosta managed to reproduce the error on my test panel. I think I solved the problem. |
Fantástic @maragelis , I am glad you found it. I was about to send you another Traced with the Dev version compiled in version 2.3.0 and WifiManager 0.12.0, with the same output as before. If you need anything please keep me posted. I will test the new releases if you need. Thanks for your awsome work. |
Yes please test |
Paradox_Dev_Trace_20190211_Esp8266_2_3_0_WifiManager_0_12_0.txt Hope it helps you. |
@rjduraocosta are you using the bin file or compile |
@rjduraocosta looks like you are not using the right file 201902112130 |
Oh sorry I did not know you already did the upload...my mistake...sorry. I will test it tonight. Wich settings? Esp8266 version 2.3.0, 2.4.2? Thanks for your support. |
I used 2.5.0 |
I will do the same with a Trace and report back. Thanks. |
@maragelis Which option did you use for the Flash size? and for the lWIP variant? Sorry about the questions, but is just to be sure to compile like you did. Thanks. |
That one the first |
Keep default |
Hi, I tested the last dev version, but it does not connect to the mqtt broker (hassio).
I used 2.5.0 Thanks! |
UPDATE: Using mqtt + AUTH it works. |
@maragelis System is up and running with Trace enabled. As soon as I have some news I will keep you posted. @ciscozine if you do not use atentication in your MQTT brooker, just use something like this in the ino file: it will work just fine. |
Hello and good morning to all, @maragelis you did it, it works! Thanks a lot for your dedication. Attached I am sending you a Trace of the test and as you can see at line 951 is where your new code solved the issue. Afterwards events where coming like they used to with no need to "wake up" the system. Perfect! Another thing just for your info. In this version the data of the MQTT payload {"event":1,"sub_event":3,"data":""} is coming empty because the function processMessage is beeing called with the last parameter with an empty string: processMessage( inData[7], inData[8], ""); Great work and superb support. When you need further testing for a master release please let me know. Thanks again for you time. |
i was getting a lot of garbage on data string which at first I thought might be throwing the buffer error, so i disabled it, I will renable it, and send the dev branch to TEST |
By the way @rjduraocosta without your help I would not of found it. Thank you. |
@maragelis you are absolutely welcome. I am very glad that I could contribute. Thnaks again for your time. |
@maragelis new Dev branch version is up and runnig with Trace enbled. I have to go out now and I will only come back late in the evening. I will keep you posted on the results and send you the Trace file. Thanks again. |
@maragelis, just to update you on the test I was performing when you added the data string to the MQTT payload. Everything runs as expected. You can see in the attached Trace that your code did it's magic in line 1530. Thanks again for your work. |
I think we can close the issue. Thanks to all |
Hi,
I have a Magellan 5000 and I use a WemosD1 mini to connect to the alarm system.
At night I arm the alarm, but in the morning "ParadoxRs232toMqtt" seems to be down.
I can ping the wemos but I cannot receive MQTT Message.
What can I do? How can I do to debug it?
I use hassio on a rasperry and "Mosquitto broker" as a MQTT Server.
thanks
Fabio
The text was updated successfully, but these errors were encountered: