I have recently purchased a Witty Pi 4 mini. I have setup a schedule to turn on and off and it seems to be working fine unless I manually turn on the Pi using the button. If I turn it on manually, then off manually, it will no longer turn on at the next scheduled turn on time. It only turns on when it has shut itself off via the schedule script.
I.E. The Pi is scheduled to turn on at 3pm. At 11am I manually turn it on, do some config work, then turn it off via the button at 11:30am. At 3pm it won't turn on.
It appears the on/off schedule only works when it is initially ON. It won't work if the Pi is initially OFF.
Is this by design or a bug?
When you are using schedule script, manually turning on/off the device is unexpected. This will interrupt the schedule script and Witty Pi's software wil try to revise the schedule.
However schedule revising sometimes may fail due to unexpected situation, the actual reason may be found out by checking the wittyPi.log file. The reason may vary from case to case. It is best to avoid manually turning on/off the device, when schedule script is running.
I understand, but it appears to work fine if I manually turn on the PI. I then check web and see the next scheduled off time is correct. The issue is if I turn off the Pi it won't power on in the next power on time. So it appears to me that if one is to manually turn on the Pi during it's normal off time, it's best to leave it on or turn it off and then on just before the scheduled on time and it will properly power off.
@subzero1248 when you manually interrupt the schedule script, revising will happen and the purpose is try to keep the schedule script running. Explaination is in the link: https://www.uugear.com/forums/technial-support-discussion/witty-pi-4-about-schedule-revising/#post-8
However in reality things may not go that well, you need to check the log and figure out what actually happened.
Checking the log is the way to find out what Witty Pi's software does.