Replies: 2 comments 2 replies
-
I think it's likely that you're getting brief WiFi outages. See this guide. Also this resilient MQTT library. |
Beta Was this translation helpful? Give feedback.
-
Hi Peter, I disabled all MQTT code and it ran fine for over 24 hours so your diagnosis was correct, thank you. I downloaded your library and compiled it to mpy and put it on the board but I am stuck with the config. Although your documentation is thorough, I cannot see a simple example where I can publish to my server. Could you provide a small example or point to something I have missed? Using this code, I get an error. I can see in the docs there are many more config options so unsure why i am getting an error about 3 arguments.
TypeError: function takes 3 positional arguments but 4 were given |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have a D1-mini with MP 1.19.1installed. It has two 7 segment displays attached working as a clock but each in a different timezone. Essentially there is nothing that is not working in my code, the issue I am having is it will work for a few hours and then freeze. Was hoping someone would be able to point something out as to why the freeze / crash is happening and how to resolve it.
When the problem occurs, both clocks just stay on at the time and don't increment. A reboot solves it till the next time.
thanks for any suggestions
Using tm1637.py for the display driver - https://github.com/mcauser/micropython-tm1637
Beta Was this translation helpful? Give feedback.
All reactions