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
As mentioned in the issue linked from the description, reverting to an old ESPAsyncTCP version fixes the drops in the MQTT connection As it turns out it was the MQTT client not being closed before trying to reconnect. Force disconnection seems to help.
The JustWifi library was disabling STA mode after disconnection (why? ask the developer...). Using latest version of the library fixes that too, fetching it with GIT until PlatformIO update its library repos
Issuing a reconnect from the web interface resulted in a crash. Deferring the disconnection after the HTTP request returns fixes that.
This translates into fixes in code and in the platformio.ini file. Currently in the "dev" branch. Remove the ESPAsyncTCP and JustWifi folder from .piolibdeps and rebuild the project to fetch good versions of both libraries.
Steps to reproduce:
Possibly, the same happens after a wifi connection drop.
Might be related to marvinroger/async-mqtt-client#30
The text was updated successfully, but these errors were encountered: