using many ESP8266 with ESP Easy. Works great mostly, many thanks!
Two of them are sonoff devices. (Sonoff S20 & Sonoff basic) mega-20180606
After some days the button stops working. So i am unable to switch on/off with button.
At the device (Switch input - Switch at D3) i see the status toggle between 0 and 1 with each press of the button.
But there is no "button"-event within the log.
Switching from MQTT works. Also MQTT receices changed device-state from botton.
i see events from Clock, mqtt, relay ... but no more "button"-events i need for my rules.
Some ideas?
What can i check/test/try?
missing events after some days of runtime
Moderators: grovkillen, Stuntteam, TD-er
Re: missing events after some days of runtime
Could you first check in the info page what the IP-address is according to ESPeasy?
Also uptime would be nice.
Maybe just grab all of that page if you can.
After that, you could try to do a reboot (software).
Only thing is, your ESP unit should have at least 1 reset or power off/on after the flash, or else the software reboot may just fail.
There have been more reports on MQTT stop working all at once and I have not yet a clue where to look.
Also uptime would be nice.
Maybe just grab all of that page if you can.
After that, you could try to do a reboot (software).
Only thing is, your ESP unit should have at least 1 reset or power off/on after the flash, or else the software reboot may just fail.
There have been more reports on MQTT stop working all at once and I have not yet a clue where to look.
Re: missing events after some days of runtime
I experience something similar and was about to post my own topic when I came across this one.
I tried several recent mega releases and while the module keeps running and is sending MQTT it stops reacting to published commands after a day and half or so. I syslogged vitals but can't see any anomalies.
I compile myself and usually add plugin 144 (433 MHz TX).
I tried several recent mega releases and while the module keeps running and is sending MQTT it stops reacting to published commands after a day and half or so. I syslogged vitals but can't see any anomalies.
I compile myself and usually add plugin 144 (433 MHz TX).
Re: missing events after some days of runtime
I did more research:
- Commands via web (wget/curl) continue to work (connectivity is therefore not the issue
- Memory remains stable
- Publishing from the device (Wemos D1 mini and Wemos D1 mini pro) keep working.
- Changing the "Controller Subscribe" topic (for OpenHAB MQTT) through the web interface doesn't revive the subscription.
- Only a hard reset on the module seems to help.
Re: missing events after some days of runtime
Hmm, that's strange, changing the topic should initiate a new connection.
Do you have any idea if the broker still considers the ESP node to be a connected client?
Do you have any idea if the broker still considers the ESP node to be a connected client?
Re: missing events after some days of runtime
Currently, after an uptime of almost 23 hours, there are no entries regarding connect or disconnect from the module in mosquitto's current logs (there would be). I checked, the subscription is still alive.
Who is online
Users browsing this forum: No registered users and 114 guests