Page 1 of 1
Wrong Sunrise Sunset times
Posted: Thursday 20 August 2015 14:58
by PSYCHOTIC
Hi All,
Ive just migrated domoticz from windows to linux..(debian) It runs much much much faster. But i got a little problem.
I found out that when is go to settings and add Tilburg Netherlands as a city for long and lat settings the times are completly wrong.

- Knipsel.png (5.16 KiB) Viewed 5019 times
Whenever i set it to newyork the times are like they are in europe.
Anyone know what iam doing wrong??
THX!
Re: Wrong Sunrise Sunset times
Posted: Thursday 20 August 2015 15:27
by ThinkPad
How did you found out your coordinates? Using the "To find your location click here" ? Or using a different website?
With the "find your location" it should work...
P.s. which Domoticz version are you using? System time correct? Time in Domoticz displayed correctly?
Re: Wrong Sunrise Sunset times
Posted: Thursday 20 August 2015 15:41
by PSYCHOTIC
Thx for your fast reply
I first tried to do this with the settings. I tried tilburg,eindhoven,netherlands. Gave the wrong times. Then i tried newyork and california. California gave almost goodtimes.
The image below is for the location california.

- Knipsel2.PNG (5.33 KiB) Viewed 5008 times
The image below is my actual time date. (sunrise/set are from california)

- Knipsel3.PNG (7.48 KiB) Viewed 5008 times
I also checked my locale settings in kde but they are ok.
I dont mind keeping it like iam living in california..
Thx for your time.
Re: Wrong Sunrise Sunset times
Posted: Thursday 20 August 2015 15:58
by PSYCHOTIC
I think ive found it.
The timezone was not set properly.
Stupid me.
Re: Wrong Sunrise Sunset times
Posted: Thursday 20 August 2015 16:09
by ThinkPad
Good to hear

Normally filling in something like 'Amsterdam, Netherlands' should be enough.
Re: Wrong Sunrise Sunset times
Posted: Thursday 20 August 2015 20:47
by PSYCHOTIC
Yeah your right.
I skipped it during the installation of debian.
The standard locale settings in kde didnt do anything with the timezone.
So later as i found out in the internet i changed it in the clock settings.
Thx for your time!!!
Re: Wrong Sunrise Sunset times
Posted: Wednesday 23 December 2015 23:52
by henryd
What i did to solve my 1 hour off problem on domoticz was.
Log in with ssh to your raspberry,
type "date"
check if this is the correct time. if not, set your timezone correct by typing:
tzselect [push enter] type your numbers, i pressed 8 [enter], then 34 [enter], then 1[enter].
echo "TZ='Europe/Amsterdam'; export TZ" >.profile " [push enter]
sudo dpkg-reconfigure tzdata [push enter]
This fixed my problem with domoticz having wrong time (one hour off).
I'm a beginner. so maybe i help other beginners with this.