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

[Solved / Archived] WittyPi 4 Mini L3V7 looses time

4 Posts
2 Users
0 Likes
292 Views
(@michael-sparenberg)
Posts: 2
New Member Customer
Topic starter
 

Hi,

I am using the WittyPi 4 Mini L3V7 connected to my Zero 2 W. The Power supply ist still connected beside a Li-accu connected. The RPi is scheduled to turn off in the evening and to turn one in the morning. This isn’t work properly because the RPi is loosing time.

When I checked status last time the RPi time was around 12 hours behind the real time.

Is there someone WHO may help me solving that issue?

 

Thx in advance!

Br, Michael 

 
Posted : 13/06/2024 12:10 am
(@admin)
Posts: 479
Member Admin
 

12 hours is too big to be an RTC drift, and the time must had been incorrectly set.

You may check the wittyPi.log file and try to find some clues. There you may check whether the schedule shutdown/startup was correctly set and whether the system time was still correct when making such schedule.

When starting a new test, you can run wittyPi.sh and choose option 3 in the menu to synchronize the time with Internet, to make sure your Pi and the RTC have the correct time.

 
Posted : 13/06/2024 8:43 am
(@michael-sparenberg)
Posts: 2
New Member Customer
Topic starter
 

Hi,

The problem is the device got the right time when scheduling. The schedule is running and will be executed for several days, but I observed two or three times the time setting went lost after some days, so that the time of the RPi was really behind for hours.

Is it necessary to run a time sync command after each start-up?

Thx for your Help!

Br, Michael 

 
Posted : 22/07/2024 11:15 am
(@admin)
Posts: 479
Member Admin
 

Posted by: @michael-sparenberg

Is it necessary to run a time sync command after each start-up?

No, it is not necessary.

Witty Pi's software doesn't automatically synchronize the time with Internet, however it will copy the time from RTC to the system, if the RTC contains a reasonable time (not in year 1970).

It worths checking the wittyPi.log file, and see what actually happened, when the time was set incorrectly. If you post the log content here, we can also check it.

 

 

 
Posted : 22/07/2024 12:58 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.