-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
EMS-ESP32 restarting #244
Comments
wow, that could be anything. Did you build the circuit yourself? Does it crash if you disable the MQTT? Try and pinpoint which service is crashing. Use the syslog to capture the logs which may hint to something weird happening. Also let us know what your config is |
It is bbqkees circuit. |
@maciejka104 had a Premium II which we upgraded with an ESP32. |
Thanks. I think it is software related, most likely a null pointer/buffer overflow problem. The arduino core is very sensitive to those. |
any update @maciejka104 ? |
I have disabled MQTT for a couple of days. |
These are the worst type of bug. It's like looking for a needle in a haystack. All I can recommend at this point is 1) check the System Log for the restart reason (it'll be the first line) and 2) setup a Syslog server and capture the logs just before it crashes. |
Do you have a Dallas sensor connected? If so, is the data coming back from this always OK? I found weird Dallas values and restarts went together on my system. That was down to power issues in my case but it might help narrow things down for you too. |
No Dallas sensor. |
then my only recommendation is https://emsesp.github.io/docs/#/Troubleshooting?id=ems-esp-sometimes-crashes-and-restarts |
I have checked syslog server today and it was empty (qnap). |
fingers crossed! |
So … correcting syslog's IP didn't help :/ |
so restarts every 3 hrs with MQTT enabled, and with MQTT disabled it crashes after 20hrs? Wifi has a strong signal and the ESP32 is powered by a steady 5V supply? |
Power: 5V power supply - yes, I have tested few PS. |
and if you disconnect from the EMS bus and run it standalone (with MQTT) does it still reboot every few hours? |
I think problem is solved.
Device is up for 3 days now :) |
great! but still weird what it was failing before |
I really think key action was factory reset and / or re flash same firmware. |
ok, I'll make a note of this in the doc and close this issue. thanks for getting back to us. |
My device running v3.3.1b0 firmware is restarting/rebooting by itself.
EMS connected to Junkers cerapur.
Approximately every 4-6 hours is restarting. Max uptime is 10 hrs.
Anything I could check in the settings?
I did reset to factory settings and configured minimum – basically MQTT (connected to HA) and EMS Bus (HT3).
What could be a problem?
The text was updated successfully, but these errors were encountered: