You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the train is powered on for a certain time, the NodeMCU is not available via MQTT anymore as it drops out form WiFi. This can happen after an hour, after a couple of hours, sometimes not at all through the whole day.
You can mitigate the bug by resetting the NodeMCU or by unpowering the train and then powering up again.
Awesome, thank you very much for sharing with me! I'll look into it as soon as I am working on this project again :-) This should fix the issue for me as well :-)
If the train is powered on for a certain time, the NodeMCU is not available via MQTT anymore as it drops out form WiFi. This can happen after an hour, after a couple of hours, sometimes not at all through the whole day.
You can mitigate the bug by resetting the NodeMCU or by unpowering the train and then powering up again.
Possible Reasons
Arduino Sketch has memory leaks
I read about ways the library can leak memory in https://github.com/knolleary/pubsubclient.
I would appreciate help on that as I'm not firm with memory management in C
Other possible issues with the Arduino Sketch
NodeMCU is overheated
With all the electronis inside, the train gets pretty warm. Active ventilation might fix the issue.
The text was updated successfully, but these errors were encountered: