Wemos D1 mini Deepsleep

276 views
Skip to first unread message

Waldemar Klein

unread,
Nov 27, 2022, 2:39:34 PM11/27/22
to TasmotaUsers
Have a nice good evening everyone. I'm trying to get help here on the subject of Tasmota Deepsleep. I just want to turn on an LED/Stripe at 4 p.m. and turn it off at 10:45 p.m. BUT the WiFi should also be off. Consequently and what I know so far, this is only possible with Deepsleep. The Wemos is flashed, bridge on GPIO 16 and RST is set - I can handle that. Only the commands are foreign words to me. I tried "Rule1 on clock#timer=1 do deepsleeptime 62100 endon" "rule1 1", but the part doesn't know what to do after waking up. So I tried " Rule1 on clock#timer=1 do deepsleeptime 62100 endon on Dimmer#Boot do Power1 1 endon". I do not use IOBroker, FHM, or anything else and do not need any messages. The wifi has to be off as it affects my sleep. If anyone can and wants to help me with my project, I would be very grateful.

Philip Knowles

unread,
Nov 27, 2022, 4:05:48 PM11/27/22
to Waldemar Klein, TasmotaUsers

Start here

DeepSleep - Tasmota

But your rule just tells it to go to sleep (presumably timer 1 is set to 10:45pm). I would set another Timer for 4pm and set your deep sleep to 61900 (wakes up 5 minutes before 4pm)

 

Rule1 on clock#timer=1 do backlog power1 0; deepsleeptime 61900 endon on clock#timer=2 do power1 1 endon

Rule1 1

 

Sent from Mail for Windows

--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/5c7a64c4-ed6c-4263-b5d6-23d907b1891fn%40googlegroups.com.

 

Benjamin Reim

unread,
Nov 28, 2022, 4:49:56 AM11/28/22
to sonof...@googlegroups.com
The part "on clock#timer=2 do power1 1 endon"
i would change to "on clock#timer=2 do backlog power1 1; deepsleeptime 0 endon"
This makes the device more easily accessible. WIFI is on, but outside your sleeping time.

Philip Knowles

unread,
Nov 28, 2022, 4:51:28 AM11/28/22
to Benjamin Reim, sonof...@googlegroups.com

Good point.

 

Sent from Mail for Windows

 

Waldemar Klein

unread,
Jun 4, 2023, 7:18:15 AM6/4/23
to TasmotaUsers
Hello everyone, I discarded the Deepsleep thing - firstly because I didn't get any further and secondly, a Deepsleep isn't really necessary either, since the Wemos is connected to a constant voltage source anyway. Now I thought to myself, it's enough to simply switch off the WIFI at a certain time. If I simply type in "Wifi off" in the console, the WLAN of the Wemo (probably) switches off because I no longer have a connection. However, I don't get that as a rule somehow involved. May I appeal to your help again? Thanks

Philip Knowles

unread,
Jun 4, 2023, 10:03:50 AM6/4/23
to Waldemar Klein, TasmotaUsers
If WiFi is off timers won't work as they need to connect to the NTP server so how will you turn WiFi back on?


From: 'Waldemar Klein' via TasmotaUsers <sonof...@googlegroups.com>
Sent: Sunday, June 4, 2023 12:18:15 PM
To: TasmotaUsers <sonof...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages