Cool stuff for Raspberry Pi, Arduino and all electronics hobby projects
Notifications
Clear all

WittyPi 4 Mini schedule randomly jumping ahead by a month?

5 Posts
2 Users
0 Likes
91 Views
(@rasberie-bie)
Posts: 3
Active Member
Topic starter
 

I'm having a problem with my WittyPi 4 Mini's scheduling where every time it cycles to the next day the next shutdown and startup is moved forward by a month, I have tried looking up this problem online but haven't found anything so if there is a simple solution or something I'm blindly missing please let me know, and excuse my ignorance.

Example:2025/3/15 would switch to 2025/4/16 the next time it starts up.

(schedule.log does not show it updating to the "next months shutdown". )

Schedule script
"

# Turn off Raspberry Pi at 1:00 AM every day and turn it back on at 11:00 AM

BEGIN 2025-01-01 00:00:00
END 2025-07-31 23:59:59

OFF H10 # keep OFF state for 10 hours (1 AM to 11 AM)
ON H14 # keep ON state for 1 day (11 AM to 1 AM next day)

"

(I'm using Raspberry Pi 3B+)

1742175562-yutyutyu.png
This topic was modified 1 week ago by Rasberie Bie
 
Posted : 17/03/2025 2:38 am
(@admin)
Posts: 567
Member Admin
 

Posted by: @rasberie-bie

(schedule.log does not show it updating to the "next months shutdown". )

As you mentioned the schedule.log doesn't show it, how did you know it scheduled shutdown to the next month?

 
Posted : 17/03/2025 8:38 am
(@rasberie-bie)
Posts: 3
Active Member
Topic starter
 

@admin

I'm using the "UUGear Web Interface V1.23" to modify it and it shows me the next shutdown and startup dates, I originally was using wittyPi.sh on the pi to change the schedule & such but then I found it more convenient to just connect remotely from the web interface on my PC to change the settings.

Sorry for the late response.

This post was modified 1 week ago by Rasberie Bie
 
Posted : 18/03/2025 4:00 am
(@admin)
Posts: 567
Member Admin
 

@rasberie-bie UWI gets data via functions in utilities.sh, so eventually it is from the same data source. The data logged into schedule.log is more trustable.

I am not sure, but it could be data transmit error, I2C readding error or bugs that caused the incorrect data shown on UWI.

 
Posted : 18/03/2025 8:42 am
(@rasberie-bie)
Posts: 3
Active Member
Topic starter
 

@admin 

I first found out about this bug because I was just trying to do a simple "on at day, off at night" script only for it to not shut off at the expected set time, although it would've been nice if it was just a visual bug..

 
Posted : 18/03/2025 9:23 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.