Notifications
Clear all

[Mark Solved / Archieved] Witty Pi 5 - Script not activating

10 Posts
2 Users
0 Reactions
146 Views
 the1
(@the1)
Posts: 8
Active Member Customer
Topic starter
 

I have uploaded a .wpi files, however, when I click to activate a script nothing happens.

What am I doing wrong here?

 
Posted : 16/08/2026 2:02 pm
(@admin)
Posts: 828
Member Admin
 

Please provide a screenshot showing where you “click to activate” the script. Witty Pi 5 software (wp5) uses an interactive command-line interface, so I’m not sure which interface you are referring to.

If you are using wp5, please also copy and paste the complete terminal output when you try to activate the script.

It would also be helpful if you list the content of your script file and the WittyPi5.log file (in "log" directory of Witty Pi 5 emulated USB drive).

 
Posted : 17/08/2026 9:59 am
 the1
(@the1)
Posts: 8
Active Member Customer
Topic starter
 

------------------------------------------------------------------------------- [1] Upload schedule script... [2] Activate schedule script... [3] Download schedule script... [4] Delete schedule script... [5] Return to main menu Please input 1~5: 1 Available schedule files in current directory: [1] schedule--test.wpi Input a filename, or choose a number from the list above: 1 Uploaded schedule--test.wpi to Witty Pi. -------------------------------------------------------------------------------- Manage schedule scripts... -------------------------------------------------------------------------------- [1] Upload schedule script... [2] Activate schedule script... [3] Download schedule script... [4] Delete schedule script... [5] Return to main menu Please input 1~5: 2 No files are available for activation. --------------------------------------------------------------------------------

 

 

 
Posted : 20/08/2026 1:35 pm
 the1
(@the1)
Posts: 8
Active Member Customer
Topic starter
 

# Test Schedule: Shut down at 10:00 PM, boot back up at 10:05 PM daily

BEGIN 2026-08-16 22:00:00

OFF M5

ON  H23 M55

 

 
Posted : 20/08/2026 1:36 pm
 the1
(@the1)
Posts: 8
Active Member Customer
Topic starter
 

I can't seem to find the emulated USB drive so I can not access the log file.

 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID cafe:4003 UUGear Witty Pi 5

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

 

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS

loop0         7:0    0     2G  0 loop

sda           8:0    1     0B  0 disk

mmcblk0     179:0    0 119.4G  0 disk

├─mmcblk0p1 179:1    0   512M  0 part /boot/firmware

└─mmcblk0p2 179:2    0 118.9G  0 part /

zram0       254:0    0     2G  0 disk [SWAP]

 
Posted : 20/08/2026 1:37 pm
 the1
(@the1)
Posts: 8
Active Member Customer
Topic starter
 

I am not sure why the script isn't activating.

When the Pi is turned on, the Pi doesn't recognise the WP5 until I press the button on the WP5. Once I hit the WP5 button, the emulated USB appears, however, once I upload the script using the CLI UI the emulated USB appears to be removed from the Pi.

 
Posted : 20/08/2026 1:48 pm
(@admin)
Posts: 828
Member Admin
 

@james-raptis93 

Currently the "schedule" prefix is reserved by the wp5 software and the purpose is to avoid overwriting these file on Witty Pi 5 disk:

schedule.wpi
schedule.act
schedule.skd

Please rename your script file and do not use "schedule" as file name prefix.

However even if the script file name is good, your script file doesn't declare the END time and hence the script will be rejected by parser.

The USB drive disappears after uploading file via software, that is a designed behavior. The firmware has to unmount the USB drive before writing the file data into FAT partition. Otherwise the FAT partition may be corrupted when multiple sources are writing into it.

How do you power the deivce? Please make sure only connect power supply to Witty Pi 5, and do not power Raspberry Pi directly. If you found the Witty Pi 5 I2C device is missing and taping the button can have it detected, then maybe you directly powered your Raspberry Pi and did not power Witty Pi 5.

When your Witty Pi 5 is detected, running wp5 will tell you which firmware version it is. Please provide this information if you still have "USB drive missing" issue.

 

 

 

 
Posted : 20/08/2026 5:15 pm
 the1
(@the1)
Posts: 8
Active Member Customer
Topic starter
 

Thanks - I will make those changes and report back.

 

Once the script has been activated the WP5 has been set up, does it still need to be directly powered or can I power the Raspberry Pi directly?

 
Posted : 21/08/2026 12:59 am
(@admin)
Posts: 828
Member Admin
 

You should always power Witty Pi 5 only, and do not directly power your Raspberry Pi. That is how Witty Pi works - it controls the power path to your Pi. If you power your Pi directly, that will totally bypass Witty Pi.

 
Posted : 21/08/2026 8:08 am
 the1
(@the1)
Posts: 8
Active Member Customer
Topic starter
 

Thanks @admin appreciate your advice and support.

Could you please do me a favour and edit your previous post so my name is removed? I have updated my username in the settings.

 
Posted : 21/08/2026 1:47 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.