diff options
author | Aki <please@ignore.pl> | 2024-01-22 21:35:45 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-01-22 21:35:45 +0100 |
commit | 0ff40d99e0d9db70311a78011ad52e603beec0ab (patch) | |
tree | 657caa3fc2b7514e8a3473ca2dfde19ac684f5c8 /+wakeup.example.lua | |
parent | 7b6c20b5c58014861e218e62cf0749bdd0ba727e (diff) | |
download | nodemcu-wakeup-0ff40d99e0d9db70311a78011ad52e603beec0ab.zip nodemcu-wakeup-0ff40d99e0d9db70311a78011ad52e603beec0ab.tar.gz nodemcu-wakeup-0ff40d99e0d9db70311a78011ad52e603beec0ab.tar.bz2 |
Implemented deep sleep that does not work currently
Doesn't seem to react to rstime.dsleep with RST connected to GPIO16
Diffstat (limited to '+wakeup.example.lua')
-rw-r--r-- | +wakeup.example.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/+wakeup.example.lua b/+wakeup.example.lua index 8672fc6..a60e684 100644 --- a/+wakeup.example.lua +++ b/+wakeup.example.lua @@ -12,11 +12,12 @@ return { addr="255.255.255.255", --- Wake-on-LAN port. port=9, - --- Not yet implemented time description of when to wake up the device. Currently: + --- On what hour and/or minutes to wahe up the device: --- --- {hour=23, min=0} + --- {min=30} --- - --- Will send wakeup packets each day on 23:00 UTC. + --- First will send wakeup packets each day on 23:00 UTC. Second will send them every half past each hour. when=nil, --- Wi-Fi configuration same as passed to wifi.config(). It won't be used if left as nil. In this case user is --- expected to manually configure and persist AP in the flash. |