Hi,
I have a WittyPi5 which I intend to use for turning on a device each hour and capture some data before shutting down after completion.
To do this, I found the following example: https://github.com/uugear/Witty-Pi-4/blob/main/Software/wittypi/schedules/turn_on_every_hour.wpi
However, after debugging this for some time, I found the following in the logfile for the WittyPi5:
[12-30 17:25:04.252] Admin CMD: List Files [12-30 17:25:04.253] Listing files in directory: /schedule [12-30 17:25:06.659] Admin CMD: Choose Script [12-30 17:25:06.660] Applying script turn_on_every_hour.wpi... [12-30 17:25:07.489] Error: Invalid time component 'WAIT' [12-30 17:25:07.489] Failed to generate .act file from .wpi file [12-30 17:25:07.490] Load and run script failed
Is this not supported for the WittyPi5? If not, what's a similar way to accomplish this?
Is this not supported for the WittyPi5? If not, what's a similar way to accomplish this?
It is indeed no longer supported in Witty Pi 5.
There is no need to skip any shutdown in the schedule script - the shutdown will always be scheduled, and you can just shutdown your Raspberry Pi before the scheduled shutdown is due.
