I try to configure my device (raspberry Pi4/openhabian image 1.6.2) so that it gets the system time from my local fritz box.
In /etc/systemd/timesyncd.conf changing the line to
the only thing i did different: because i use three fritz-boxes i inserted the ip-address instead of “fritz.box”. for me it seems to work, at least the time always is correct.
i installed oh3 two weeks ago but have very big performance problems even only 1 binding is installed. works after new start slow but works for some hours and then always becomes slower until i do a reboot.
i suppose (and hope) it could be because the pi zero is too small - so i ordered a pi4-4gb but still did not receive it. i hope then things will become (much) better
Hello, thank you for your article. I also wanted to set up my FritzBox as an NTP server for OpenHabian. Originally I had the problem that my systemd-timesyncd.service crashed all the time because of an invalid number of starts and stops. “service start-limit-hit”.
I solved this problem in /etc/systemd system.conf by setting the parameter “DefaultStartLimitBurst=10” from 5 to 10 (please delete the hash in front of it, otherwise comment it out). And that then worked.
In the second step, I thought about how I could put the NTP query on my FritzBox.
So I configured /etc/systemd timesycnd.conf as follows.