View single post by admin
 Posted: Thursday Apr 3rd, 2008 02:31 pm
 PM  Quote  Reply  Full Topic 
admin



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

  back to top

Comfigurator 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





In Sunrise/ Sunset Properties on the right pane, click set times by latitude/longitude



Select the City from the drop-down list. If the city is not listed, enter the latitude 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 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 controlled 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

UCM/ETH03 Internet Time Synchronisation
The UCM/ETH03 is able to synchronise the time using an Internet Time Server and update Comfort Time on a regular basis so the time will always be correct.
See http://www.comfortforums.com/forum113/3695.html


Last edited on Monday Sep 2nd, 2019 07:49 am by

 Close Window