Hello,
When I go to hass.io/system and then check the ‘system log’ the time is -2 hours off. Because of that my automations too are 2 hours off.
I run hass.io on Ubuntu. The host’s systemtime is correct.
Weird thing is that when I go to ‘developer options’/info, it does show the correct timezone and time.
I have set up my configuration.yaml time settings as follows:
homeassistant:
name: Home
elevation: 0
unit_system: metric
time_zone: Europe/Amsterdam
my system log doesn’t account for daylight saving hour so is 1 hour out but all other instances of time are correct so my automations etc all work fine.
Have you got the time zone set correctly for your Ubuntu installation, to check if you have the correct time zone set, at the command prompt type:
datetimectl
the result should look somethig like this:
timedatectl
Local time: Thu 2019-04-11 15:15:42 PDT
Universal time: Thu 2019-04-11 22:15:42 UTC
RTC time: Thu 2019-04-11 22:15:42
Time zone: America/Vancouver (PDT, -0700)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: no
If you don’t have the right time zone set use the following commands. to unlink the present time zone enter:
the results are correct, so no need to change.
still, hass.io reads -2h off
Local time: Fri 2019-04-12 18:57:36 CEST
Universal time: Fri 2019-04-12 16:57:36 UTC
RTC time: Fri 2019-04-12 16:57:36
Time zone: Europe/Amsterdam (CEST, +0200)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no
Same issue still in hassio 195 with HomeAssistant 0.104.0.
The hassio system log is on UTC, while all other logs are on the correct time.
homeassistant:
time_zone: Europe/Berlin
timedatectl
Local time: Thu 2020-01-16 11:50:27 CET
Universal time: Thu 2020-01-16 10:50:27 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
@Mutt no I didn’t say that. I was thinking to use one of the locals NTPs anyway that will not fix the issue because the daylight savings are managed by the clients so ignore the question. Thanks.