Wrong Sunrise Sunset times

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
PSYCHOTIC
Posts: 20
Joined: Saturday 21 February 2015 16:32
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Wrong Sunrise Sunset times

Post 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
Knipsel.png (5.16 KiB) Viewed 4920 times
Whenever i set it to newyork the times are like they are in europe.

Anyone know what iam doing wrong??

THX!
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Wrong Sunrise Sunset times

Post 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?
I am not active on this forum anymore.
PSYCHOTIC
Posts: 20
Joined: Saturday 21 February 2015 16:32
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Wrong Sunrise Sunset times

Post 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
Knipsel2.PNG (5.33 KiB) Viewed 4909 times
The image below is my actual time date. (sunrise/set are from california)
Knipsel3.PNG
Knipsel3.PNG (7.48 KiB) Viewed 4909 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.
PSYCHOTIC
Posts: 20
Joined: Saturday 21 February 2015 16:32
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Wrong Sunrise Sunset times

Post by PSYCHOTIC »

I think ive found it.

The timezone was not set properly.

Stupid me.
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Wrong Sunrise Sunset times

Post by ThinkPad »

Good to hear :)
Normally filling in something like 'Amsterdam, Netherlands' should be enough.
I am not active on this forum anymore.
PSYCHOTIC
Posts: 20
Joined: Saturday 21 February 2015 16:32
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Wrong Sunrise Sunset times

Post 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!!!
henryd
Posts: 7
Joined: Wednesday 23 December 2015 22:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Zeewolde
Contact:

Re: Wrong Sunrise Sunset times

Post 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.
Raspberry Pi / Arduino / Youless / Aeon z-stick gen5 / RFXCom / Fibaro sensor / Qubino flush 2 relays / MySensors.org
Post Reply

Who is online

Users browsing this forum: MikeVanD and 1 guest