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
|