Hello,
I have an ESP8266 running version ESP_Easy_mega_20240822_normal_ESP8266_4M1M Aug 22 2024
I see it disconnecting often from my MQTT server
When CPU Eco Mode = False (disabled), MQTT connection is not stable and I lose a lot of packets when i PING it
When CPU Eco Mode = True (enabled), MQTT connection is very stable I don't lose any packets anymore when i PING it
Regards
MQTT connection not stable when CPU eco mode is disabled
Moderators: grovkillen, Stuntteam, TD-er
Re: MQTT connection not stable when CPU eco mode is disabled
So that's as described in the documentation...
What you can do, is try to enable gratuituous ARP, as described here: https://espeasy.readthedocs.io/en/lates ... xplanation
However there is little we can do here, as the "ECO mode" is simply increasing the DTIM time and may not always reply to ARP packets.
So every now and then your network switches and any other host in the network will 'forget' the MAC address of your node, so there is no way to route packets back to your node. (that's what Gratuituous ARP tries to mitigate)
Still an acknowledgement may also get lost, so your MQTT broker may not like it when the ESP is sending more bytes than announced and thus disconnect the client from the broker.
What you can do, is try to enable gratuituous ARP, as described here: https://espeasy.readthedocs.io/en/lates ... xplanation
However there is little we can do here, as the "ECO mode" is simply increasing the DTIM time and may not always reply to ARP packets.
So every now and then your network switches and any other host in the network will 'forget' the MAC address of your node, so there is no way to route packets back to your node. (that's what Gratuituous ARP tries to mitigate)
Still an acknowledgement may also get lost, so your MQTT broker may not like it when the ESP is sending more bytes than announced and thus disconnect the client from the broker.
Re: MQTT connection not stable when CPU eco mode is disabled
Ehh sorry, I think I need a cup of coffee... you apparently noticed the ECO mode does actually do the exact opposite of what is to be expected....
Let me think about it.... (and sorry for not reading good enough)
Let me think about it.... (and sorry for not reading good enough)
Re: MQTT connection not stable when CPU eco mode is disabled
Hi TD-er,
no pb, humans are cafein addict
no pb, humans are cafein addict

Who is online
Users browsing this forum: No registered users and 14 guests