Closed simonkamronn closed 5 years ago
Could you indicate:
OMG 8.1 pubsubclient by knolleary in /lib LOLIN(WEMOS) D1 R2 & mini from https://github.com/esp8266/Arduino
I'm not sure the board version is correct, but it seems to work.
So as to know the version of the board in board manager you have to open your arduino IDE, go to boards -> board manager look for esp8266 and you should see the board version.
Sorry, didn't know you meant that version number. It's 2.5.0-beta2. You think unstable wifi might be the issue?
I'm using and doing my test with 2.4.2, could you try to revert to this one?
That solved the problem and also helped with too many duplicated messages, thanks. I still have an issue with inconsistent codes from Kerui D026 but that seems to be common.
I'm using OMG on a Wemos D1 and it seems to work. It connects to WiFi, it connects to the MQTT broker running on HA, and I pick up the RF signals from a Kerui D026 sensor. I have a few ESPURNA devices that have no problems.
The problem is that it continuously disconnects from the MQTT broker from which I get this message:
From the Serial output I get
and on the MQTT sub
I've tried decreasing the MQTT_KEEPALIVE interval to 5 seconds and increasing MQTT_SOCKET_TIMEOUT to 60 but to no avail. Any clues to whats going on?