Jump to content

Time Data Sunrise Sunset Times


DennisC

Recommended Posts

Posted

@glarsen

I have Time Data running on both PG2 & PG3. Both are showing sunrise for today at 06:08 am and sunset at 17:57. According to google sunrise today was at 7:11 am and sunset at 7:01 pm. Same differences are shown for tomorrow in Time Data.

PoI is showing correct current time and DST is set up for correct location on Configuration page.

Posted

Try restarting the Node server. If I recall correctly,  I think calculations happen at midnight and of course the time change is at 2am.

I'll look into this tomorrow when I get back home.

Posted
7 minutes ago, glarsen said:

Try restarting the Node server. If I recall correctly,  I think calculations happen at midnight and of course the time change is at 2am.

I'll look into this tomorrow when I get back home.

Restarting PG3 corrected the issue. Previously, I rebooted Polisy, so restarting Polisy didn't restart the Node Server?

Posted (edited)

I just looked at this.  I did find something that is related to the change to/from DST, so will issue an update in a bit.

Restarting the polisy would restart everything, PG2, PG3 and all node servers.

 

Edited by glarsen
Posted
41 minutes ago, glarsen said:

I just looked at this.  I did find something that is related to the change to/from DST, so will issue an update in a bit.

Restarting the polisy would restart everything, PG2, PG3 and all node servers.

 

I had restarted Polisy before posting here and it didn't correct the issue. Time and date in Polisy is correct, but Polisy sunrise/sunset is not. I have another post in Polisy help section for UD.

Posted (edited)

It should be fine after restarting, as mine (on Polisy) was good after the restart. I did find a bug where the sunset/sunrise times were not being updated properly. The code was only checking for DST at startup, not every longPoll and release 3.2.21 corrects this.  Timedata calculates Sunrise/Sunset times itself, independently of the Polisy/ISY, so the Timedata times should be correct now.

Edited by glarsen
Posted

There's a bug in the program. It shows custom location and I'm unable to change it. Rebooting doesn't correct it. Sunrise and sunset are still off by 1 hour, but time is correct.

I have all the latest package updates for the Polisy.

 

1873760072_Screenshot2022-03-13135604.thumb.jpg.3c4b891777839165f6ea09f244e9cfde.jpg

Posted
4 minutes ago, Techman said:

There's a bug in the program. It shows custom location and I'm unable to change it. Rebooting doesn't correct it. Sunrise and sunset are still off by 1 hour, but time is correct.

I have all the latest package updates for the Polisy.

 

1873760072_Screenshot2022-03-13135604.thumb.jpg.3c4b891777839165f6ea09f244e9cfde.jpg

I have a separate post under Polisy regarding that issue.

  • Like 1
Posted
5 minutes ago, Techman said:

There's a bug in the program. It shows custom location and I'm unable to change it. Rebooting doesn't correct it. Sunrise and sunset are still off by 1 hour, but time is correct.

I have all the latest package updates for the Polisy.

 

1873760072_Screenshot2022-03-13135604.thumb.jpg.3c4b891777839165f6ea09f244e9cfde.jpg

Yes, I know. That is an ISY on Polisy issue, and has nothing to do with what my Node server displays.

  • Thanks 1
Posted
5 hours ago, glarsen said:

Yes, I know. That is an ISY on Polisy issue, and has nothing to do with what my Node server displays.

Since the beginning of IoP, mine originally sowed incorrect times and couldn't set time zones or lat/long properly.

However UDI corrected that on the surface and all showed properly, but the internal time clocks were never correct and all based on being 5 hours out. [minutes since start of day], sunrise and sunset parameters in programs were all off by 5 hours. Also events, and variable change times were recorded by the same 5 hour off clock. When writing variable values manually, the times were correct.

A ticket was opened on this issue by me and possibly several others so a fix should be coming soon, hopefully. With many other MAJOR problems, based on the last upgrade I gave up and went back to ISY994 and polyglot on RPi 3, for now.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...