From ba663a7dab9c132695da3ff949cbedc516817a13 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 15 Jan 2024 00:33:32 +0100 Subject: Implemented naive scheduling --- +wakeup.example.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '+wakeup.example.lua') 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. -- cgit v1.1