Hi,
i have connection problems using MQTT over 3G-connection (limited to 28kbps).
2 other ESP-devices (using arduino IDE-code) send and receive MQTT data without problems.
The ESP-Easy devices send and receive MQTT data too until i upgrade the firmware to current version.
The old code is from middle last year, the new version is 20180524.
I am able to access the device-management without problems within the WLAN.
Within logfile i see MQTT connected (sometimes disconnected with immediate reconnect) but no data reach the MQTT server.
Problems exist while sending AND reviving MQTT data.
Are there changes within timeouts or other parameters?
Any ideas?
MQTT - problems over slow connection
Moderators: grovkillen, Stuntteam, TD-er
Re: MQTT - problems over slow connection
There is some check to see if the MQTT broker is online.
This check is via ping.
Maybe the connection you use is either blocking ping, or it may take too long.
You could change the code to let the function hostReachable() return always true:
https://github.com/letscontrolit/ESPEas ... #L619-L643
This check is via ping.
Maybe the connection you use is either blocking ping, or it may take too long.
You could change the code to let the function hostReachable() return always true:
https://github.com/letscontrolit/ESPEas ... #L619-L643
Who is online
Users browsing this forum: No registered users and 122 guests