Comfort Home Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Sunset/sunrise calculation problem
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Saturday Apr 19th, 2014 10:23 pm
   PM  Quote  Reply 
1st Post
Julian.Driver
Member
 

Joined: Tuesday Aug 26th, 2008
Location:  
Posts: 69
Status: 
Offline

  back to top

I have just installed 3.8.6.0 and find that it calculates sun set/rise times incorrectly. This error may have been in earlier versions but I cannot be sure.
example:
My location, Leeds England is given Lat 53 deg 45' and Lon 1 deg 30' which is correct. Daylight saving time is used and correctly dated as +60 min on 25th Mar.
Comfigurator calculates Sunrise as 4:19 and sunset as 19:45 on 5th May for example
The actual values are     Sunrise as 5:23 and sunset as 20:44

I suspect a bug

Julian Driver



 Posted: Sunday Apr 20th, 2014 06:51 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3497
Status: 
Offline

  back to top

Comfigurator calculates Sunrise as 4:19 and sunset as 19:45 on 5th May for example The actual values are Sunrise as 5:23 and sunset as 20:44
The times displayed in sunrise/sunset are without the effect of daylight saving

Hence if daylight saving is in effect, the times have to be increased 1 hour, so the "real"  sunrise would be 5:19 and sunset at 20:45 which is very close to what you say are the correct times.

The cities.csv file contains the data for sunrise and sunset times used in Comfigurator.





 Posted: Sunday Apr 20th, 2014 10:00 am
   PM  Quote  Reply 
3rd Post
Julian.Driver
Member
 

Joined: Tuesday Aug 26th, 2008
Location:  
Posts: 69
Status: 
Offline

  back to top

I understand, the 1 hour DS adjustment is assumed rather than explicit. Thank you.



 Current time is 04:47 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems