From 0ff40d99e0d9db70311a78011ad52e603beec0ab Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 22 Jan 2024 21:35:45 +0100 Subject: Implemented deep sleep that does not work currently Doesn't seem to react to rstime.dsleep with RST connected to GPIO16 --- +wakeup.example.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '+wakeup.example.lua') 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. -- cgit v1.1