Notifications
Clear all

WittyPi5: Error: Invalid time component 'WAIT'

2 Posts
2 Users
0 Reactions
16 Views
(@agnr22)
Posts: 6
Active Member
Topic starter
 

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? 

 
Posted : 30/12/2025 5:45 pm
(@admin)
Posts: 712
Member Admin
 

Posted by: @agnr22

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.

This post was modified 3 hours ago by uugear
 
Posted : 31/12/2025 9:58 am
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.