summaryrefslogtreecommitdiff
path: root/run.lua
AgeCommit message (Collapse)Author
2024-01-22Tweaked wake-up logic itself, repeatitions and sleepHEADmasterAki
Timeout vs counter still hate themselves. When assigned five packets, it sends four, when assigned five ticks it waits five (for now). Or the other way around... I can't count today anymore.
2024-01-22Use a state machine to perform preparation and wakeupsAki
2024-01-14Config is now stored as wakeup module prototypeAki
2024-01-13Wakeups can now be called arbitrary number of timesAki
Most of the state has been refactored into wakeup module in attempt to reduce impact on the elua. Sendout timer closure still has two upvalues.
2024-01-13Implemented enough to wake up a sleepy server by connecting nodemcu to dc powerAki