Hi, can anybody help me to integrate the RTC module DS3231 on Raspberry VenusOS.
i found an how to, but for Raspbian. this is not the same.
so is there any documentation how to add a RTC module to VenusOS?
thanks
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hi, can anybody help me to integrate the RTC module DS3231 on Raspberry VenusOS.
i found an how to, but for Raspbian. this is not the same.
so is there any documentation how to add a RTC module to VenusOS?
thanks
See my post from today:
https://community.victronenergy.com/questions/145288/gaps-in-logging-on-rpi-venus-os.html?childToView=146159#comment-146159
I am using rtc ds1307 on a pi with venus-os 2.90-14 which is never online.
Downloaded https://github.com/raspberrypi/firmware/blob/master/boot/overlays/i2c-rtc.dtbo to /u-boot/overlays/
Added to config.txt
dtparam=i2c_arm=on dtoverlay=i2c-rtc,ds1307
Haven't done anything else and everything works perfectly, with hw clock sync on reboot.
Since my pi is never online due to no coverage, I have set ntp time sync to manual by adding in /data/var/lib/connman/settings
[global]
TimeUpdates = manual
EDIT (added)
date (show system time) date -s '2022-07-23 14:44:11' (set system date/time manually) hwclock -r (read time from hwclock) hwclock -s (write hwclock time to system) hwclock -w (write system time to hwclock)
Victron Venus OS Open Source intro page
Venus OS GitHub (please do not post to this)
40 People are following this question.