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

How Sunrise and Sunset Time work with Daylight saving
 Moderated by: admin
 New Topic   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Thursday Apr 3rd, 2008 03:31 pm
   
1st Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1032
Status: 
Offline

  back to top

Comfigurator 3 (as well as 2.2.3) has Sunrise and Sunset times. Go to Schedule > Sunrise/sunset,  see screenshot below.  Note that Comfort II firmware 5.121 and above is  needed for this feature
 

Select the City from the drop-down list. If the city is not listed, enter the lattitude and longitude/ Click  the "SET TIMES" button on the bottom of the screen

The table on the left shows the sunrise and sunset times for each week of the year
Weeks are calculated from 1st January as Day 1, hence weeks can start on any day of week not just Monday

The sunrise and sunset times shown are before changes  for daylight saving. During the Daylight saving period, Comfort's time is set forward by 1 hour. That means that when daylight saving is on, the sunrise and sunset times are 1 hour earlier than the times shown.

These sunrise and sunset times are obtained from freely available sources. This may not agree with other sources on the Internet. Please check the times for the City selected. The times can be changed for each week. The database for all the cities listed is found in the file cities.csv in the config folder, which can be edited.

The purpose of the sunrise and sunset times is to
1 - Activate Sunrise and Sunset times at the correct times in the sunrise/sunset table. Go to Events > Misc Events to see the sunrise and sunset responses.

2 - Set the Night time flag after sunset and before sunrise. This can be used in the Action If Night Time.. to allow things to be done at night. The Night Time Flag is NOT one of the 64 User Flags; it is a dedicated flag that is controled by Comfort and cannot be changed by user programming.
eg
If NightTime <> 0 Then
    Do something
Else
    Do something else
End If

The above response means if Night time is True (<>0) then do an action or response  else do another action or response

Daylignt Saving Time
Comfort automatically changes the time forward or backwards at the dates given in the Daylight saving section (Start Date and End Date). This takes place at 3 AM on the day of week, normally Sunday shown on the tables. Sunrise and sunset times are changed accordingly so that sunrise and sunset occurs at the correct times regardless of what date it is

You can test the sunrise and sunset times by setting the time to 1 minute before sunrise or sunset and waiting for the next minute.

When you save the file and open it again later, the City is not shown, but the  sunrise and sunset times are maintained. You can also Read (Comfort to PC) the sunrise/sunset times in Comfort



Attachment: sunrise-sunset.jpg (Downloaded 197 times)

Last edited on Friday Mar 18th, 2011 01:50 pm by



 Posted: Friday Oct 24th, 2008 01:18 am
   
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 2133
Status: 
Offline

  back to top

Please note that there is a bug in Comfigurator 2.2.3 which affects the Sunrise and Sunset Responses. If the Options > Optimise setting is checked, the Sunrise and Sunset Responses are disabled and will not work in the system. The work-around is to disable Optimise Responses



 Current time is 11:16 pm
Top




UltraBB 1.17 Copyright © 2007-2008 Data 1 Systems