Notifications
Clear all

Witty Pi 4 L3V7 Clocks going back/forwards

5 Posts
2 Users
0 Reactions
37 Views
(@andrew-simpson17)
Posts: 115
Estimable Member Customer
Topic starter
 

Hi

Today, in the UK we put the clocks forward.  My test camera using this Witty board is set to start 11:15 and finish 12:30 (1hr 15mins running time). I have been running this for over a week now and no issues.  Clocks went back today.  Checking my Rpi the date has automatically been set correctly.  But, the scheduler shutdown at  11:30 and not 12:30. ?

 
Posted : 26/10/2025 1:00 pm
(@admin)
Posts: 659
Member Admin
 

It must be due to the daylight saving time ends today.

 
Posted : 26/10/2025 1:01 pm
(@andrew-simpson17)
Posts: 115
Estimable Member Customer
Topic starter
 

I should of added that my code detects the time change and calls your SetRtc command. The Witty log shows that the time has been updated but still shutdown an hour early. The schduler end time seems 'stuck' on the old timestamp

 
Posted : 26/10/2025 1:05 pm
(@admin)
Posts: 659
Member Admin
 

@andrew-simpson17

You probably need to prepare two schedule scripts, one for DST and the other one for non-DST. After updating the time, you also need to replace the schedule script and run "runScript.sh" to take effect.

There are quite some topics about DST in this forum, you may want to read them first.

 
Posted : 26/10/2025 1:09 pm
(@andrew-simpson17)
Posts: 115
Estimable Member Customer
Topic starter
 

Hi,  Thanks.  But i use my own script to run the schdeuler.  Seems the soluton then is to recall the set_shutdown_time and get_shutdown_time then as what you are inferring this is not done automatically when the rtc clock changes? 

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