I struggled and failed to achieve a reliable MQTT connection. By "reliable" I mean a link capable of staying running for tens of hours without locking up or rebooting. This in a room directly below the AP, separated by a wooden floor. In the same room a laptop gets heavy use including downloading many GB of data per week without incident, although at the times when I tested the ESP8266 it had almost exclusive use of the WiFi. For what it's worth I live in a small town where 2.4GHz WiFi works well. Much better, I imagine, than in big cities.
There is circumstantial evidence that electromagnetic interference caused some of the disruption, but there is no doubt in my mind that the ESP8266/MicroPython is less robust than other devices.
Has the new firmware/toolchain delivered any improvement in this respect?
Dowloading Gigabytes reloaded
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Dowloading Gigabytes reloaded
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Dowloading Gigabytes reloaded
Now I'm on earlier version of things (by some weeks) with some of my own code glued on which ought not to matter but when I run the client.py it connects once, transfers OK and subsequently doesn't.
I feel that there's some internal resource that's obviously not being released.
It also shows why UDP is soo much better on this device if you can use it.
Jon
I feel that there's some internal resource that's obviously not being released.
It also shows why UDP is soo much better on this device if you can use it.
Jon