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+)
(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?
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.
@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.
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..