HS4 Version 4.1.1.0 -- The time that HomeSeer is using is displaying is UTC. I have the system setup correctly for Houston, Texas and UTC is +5 Hours Ahead of Central Daylight Time. I have looked for a setting that will display the local time and have not been able to find it. I would appreciate it if someone can point me in the right direction to correct this.
Announcement
Collapse
No announcement yet.
Time Settings in HS4 are Incorrect
Collapse
X
-
Make sure your locales are set correctly for your region and the correct time zone is set which is all done from the cli with the command sudo raspi-conf
Should your time zone be set incorrectly for your region you will find that functions like email notification via gmail etc will fail to work as your system will not be correctly synced with the email servers.
You can of course check all your settings in HS in the Setup section. It will tell you what time zone it is using there.
- Likes 2
-
Once your time zone and locales are set correctly on the Raspberry Pi, once you reboot the ntp server will look after everything else. Instead of giving you a long explanation here have a read of this. As you know the RPI does not come standard with a real time clock and relies on its time from an ntp http://raspberrypi.tomasgreno.cz/ntp...nd-server.html
Comment
-
The timezone selector in HS3 has the potential to corrupt the Linux timezone database. To check if this has occurred, run this at the Linux command line:
Code:dpkg -V tzdata
Code:??5?????? /usr/share/zoneinfo/America/Los_Angeles
If corruption is identified, repair with
Code:sudo apt install --reinstall tzdata
Alternately, run this command
Code:localtime=$(readlink /etc/localtime) && sudo install -p -m 644 $localtime /etc/localtime
(I discovered this bug when accidentally clicked in the timezone chooser rather than in the adjacent 'Location' chooser.
raspi-config sets the timezone by creating a symbolic link '/etc/localtime' to files in /usr/share/zoneinfo. When HS3 updates /etc/localtime, it copys the selected file from /usr/share/zoneinfo to /etc/localtime. However If /etc/localtime is a link, the copy operation overwrites the link destination in /usr/share/zoneinfo.
The "fix" command above is included in the installer package https://forums.homeseer.com/forum/ho...taller-package, as well as fixes for a few other Linux oversights).
Comment
-
Originally posted by Robert WillisI agree, but I also expect the HS4 application to directly interact with the Linux OS to take care of these issues without the need to directly access the OS. HS3 did not haver these issues as least in the system that I had running since 2017.
Thank you for your valuable insight and I am now researching how to directly access the Linux OS to fix this issue.
Comment
Comment