My configuration file shows the correct time zone, but the time show up +9hr on the main screen.
I tried to do a command line of: date -s “7 JUL 2018 18:00:00”
But get an error of: date: cannot set date: Operation not permitted
My configuration file shows the correct time zone, but the time show up +9hr on the main screen.
I tried to do a command line of: date -s “7 JUL 2018 18:00:00”
But get an error of: date: cannot set date: Operation not permitted
What OS?
What does
date
on the commandline return?
Have you set the timezone correctly on your base machine?
I am running Hass.io.
Entering in ‘date’ returns the date and time, but of course not the correct values.
When I try to change the date/time with the following -
date -s “8 JUL 2018 07:42:00”
I get the following error message -
date: invalid date ‘8 JUL 2018 07:42:00’
I even tried adding a leading zero to the date, but still receive an error-
date: invalid date ‘08 JUL 2018 07:42:00’
And if I try to just change the time (running as root)-
date --set=“18:37:00”
I get the error date: can’t set date: Operation not permitted
Perhaps try to answer my question.
nickrout, just what answer to your questions are you missing from me?
#1 What OS?
I replied “I am running Hass.io”
#2 What does date on the commandline return?
I replied “Entering in ‘date’ returns the date and time, but of course not the correct values”
#3 Have you set the timezone correctly on your base machine?
I stated in my first post that “My configuration file shows the correct time zone”
Please copy and paste the response to running the date command.
Ok here you go nickrout. Thanks for trying to help me out with this.
Sun Jul 8 16:53:56 PDT 2018
Now this actually the correct time now, but to do this I had to change my time zone to:
time_zone: Asia/Hong_Kong
But I live in the Los Angeles time zone. How strange.
Ok, I am finally seeing the correct time now with my correct time zone of mine.
I had the cable man hook me up directly to thier cable internet connection. I was only having to use their WiFi hotspot for my connection since I just moved into my new location.
So I am guessing now it grabs the time from the NTP pool directly from my time zone. I guess…
Glad it is working because it can be quite complicated to work out these issues, particularly within docker containers like hass.io has.
Yes it is possibly to do with suddenly getting a better connection, who knows what protocols and hosts are blocked in some wifi hotspot!
Thanks nickrout for sticking with me on this strange problem of mine. Have a great rest of the 4th of July weekend