summaryrefslogtreecommitdiff
path: root/+wakeup.example.lua
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-01-15 00:33:32 +0100
committerAki <please@ignore.pl>2024-01-15 00:33:32 +0100
commitba663a7dab9c132695da3ff949cbedc516817a13 (patch)
tree75909941afbb927e7b1c70076a2bb2ec9b01bbfc /+wakeup.example.lua
parent8e04a77a96eccb86f775f7aa2bbc14ad587c313a (diff)
downloadnodemcu-wakeup-ba663a7dab9c132695da3ff949cbedc516817a13.zip
nodemcu-wakeup-ba663a7dab9c132695da3ff949cbedc516817a13.tar.gz
nodemcu-wakeup-ba663a7dab9c132695da3ff949cbedc516817a13.tar.bz2
Implemented naive scheduling
Diffstat (limited to '+wakeup.example.lua')
-rw-r--r--+wakeup.example.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/+wakeup.example.lua b/+wakeup.example.lua
index e65c8a6..8672fc6 100644
--- a/+wakeup.example.lua
+++ b/+wakeup.example.lua
@@ -12,7 +12,11 @@ return {
addr="255.255.255.255",
--- Wake-on-LAN port.
port=9,
- --- Not yet implemented time description of when to wake up the device.
+ --- Not yet implemented time description of when to wake up the device. Currently:
+ ---
+ --- {hour=23, min=0}
+ ---
+ --- Will send wakeup packets each day on 23:00 UTC.
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.