I would like to make a wifi / ITFF button with a Wemos d1 mini. I therefore connected a button to my wemos (on ground and gpio 6). With this I want to switch a light on and off (domoticz). This works fine, however, to a few hours the wemos seems to fall asleep after which the button does not work. If I press the switch a few times (this is a bit annoying), it will work again. However, I have not activated the sleep mode in the esp easy software. How can this be explained? In the log of the wemos I do not see a strange message except a lot of reports: '27996619: WD: Uptime 467 ConnectFailures 0 FreeMem 19592'.I do not know if this has anything to do with this.
And what is the right configuration if I want to use the sleep mode and also wants the wemos to go back to sleep after a push of the button. But wake up again after 1 press of the button (and my light switches)? I read that I then have to use the RST pin, but how do I switch a light if I do not use a GPIO connection but the RST?
Wemos D1 mini sleeps without sleepmode?
Moderators: grovkillen, Stuntteam, TD-er
Re: Wemos D1 mini sleeps without sleepmode?
How is the ESP communicating with Domoticz?
MQTT or HTTP?
What version of ESPeasy?
MQTT or HTTP?
What version of ESPeasy?
Re: Wemos D1 mini sleeps without sleepmode?
It communicating by HTTP. I run version ESP easy 2.0.0- dev12
Re: Wemos D1 mini sleeps without sleepmode?
Any idea what uptime it had?
Give or take 49.7 days?
Give or take 49.7 days?
Re: Wemos D1 mini sleeps without sleepmode?
If you mean how long the wemos online was: 0 days 5 hours 13 minutes.
Is that what you were asking?
Is that what you were asking?
Re: Wemos D1 mini sleeps without sleepmode?
Solved. After a hardreset of the wemos it works!
Re: Wemos D1 mini sleeps without sleepmode?
Yep, but also the powered time, which can be hard to guess.
We had some issues in the past where several things stopped working after 2^32 millisec uptime. (= 49.7 days)
And since your build was old enough to be from before that fix, I thought it may be related.
Who is online
Users browsing this forum: Google [Bot] and 38 guests