View Single Post
Old 03-30-2023, 01:50 PM   #6
noonas
Tinkerer
noonas began at the beginning.
 
noonas's Avatar
 
Posts: 10
Karma: 10
Join Date: Jan 2023
Location: Montreal
Device: Kobo Aura / Touch
thats cool, thanks - so I have installed (on a TOUCH), I try to test it but fail - it hangs in the wakeup and re-enable WiFi..

Here is the script i use to test.
#!/bin/sh
sh wifidown.sh
sync
sleep 1
echo "sleeping..."
echo "Good night ZZzz" > sleeptest.log
rtcwake -m mem -s 5
sleep 2
sh wifiup.sh
echo "Good morning" > sleeptest.log


it seems to shut the wifi off, and maybe sleep? but it does not come back on

What I am trying to do (in Python, but can be called as a SH.) is to put the Kobo to Sleep at various times of the day (and over night) and wake up and resume.
noonas is offline   Reply With Quote