RTC (Real-Time Clock) - HA OS 5.12 on RPi 4B

Tags: #<Tag:0x00007fc41991f890>

Materials and configurations:

  • RTC module DS1307 - see photo;
  • boot disk attached to PC & changes made in config.txt:
dtparam=i2c_vc=on
dtparam=i2c_arm=on
dtoverlay=i2c-rtc,ds3231

On restart (with complete unplug from power) with NO Internet connection see in HA Host log:

[    3.812698] rtc-ds1307 1-0068: registered as rtc0

And voila - time is correct.