Hi all,
I am on mega-20181204 on Wemos D1 mini.
I want my D1 mini to wake up from deep sleep if door bell is pressed and to trigger FHEM to have my phones via Fritzbox ringing.
In general the door bell is conected via PC817 to D1 mini and I see status change correctly.
Now I want to conect this to RST instead of GPIO in order to wake up from deep sleep and to trigger a rule.
My question is how to set deep sleep correct for this.
In wiki 'Sleep delay' = 0 is mentioned, but menu in mega-20181204 does not have this setting in config.
How do I set deep sleep correct with manual wake up by RST pulled to GND?
thx
deep sleep with manual wake up - how?
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 135
- Joined: 03 Apr 2018, 21:46
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: deep sleep with manual wake up - how?
Sleep time should be the time it should sleep. (Sleep) Awake time is the time it should be awake to negative ä broadcast. So in your setting I would have awake time set to 10. Sleep time to 0 (or if you want it to wake once in a while to broadcast battery power you could have it set to 3600 (once an hour)?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 135
- Joined: 03 Apr 2018, 21:46
Re: deep sleep with manual wake up - how?
thx. wiki and other posts I found were outdated
-
- Normal user
- Posts: 135
- Joined: 03 Apr 2018, 21:46
Re: deep sleep with manual wake up - how?
I have changed settings to
wake 60
sleep 0
but device does not go to sleep, even after reboot?
What am I missing?
wake 60
sleep 0
but device does not go to sleep, even after reboot?
What am I missing?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: deep sleep with manual wake up - how?
I know the wiki is being converted to RTD (read the docs) and I will update all info to be on same level as the code. You need to connect D0 to high (VCC/3.3V) for the unit to go into deep sleep.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 135
- Joined: 03 Apr 2018, 21:46
Re: deep sleep with manual wake up - how?
thx, that part was missing.
working now!
working now!
Re: deep sleep with manual wake up - how?
have u the schema like this?
from https://www.letscontrolit.com/wiki/inde ... ifications
or rst direkt to gnd?
Code: Select all
[ GND ] --- [ magnetic switch ] -----+- [ 4u7 capicitor ] --+-- [ ESP8266 RST pin ]
| |
---[ 1M resistor ] ---
or rst direkt to gnd?
Who is online
Users browsing this forum: Ahrefs [Bot] and 15 guests