Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register
Comfort Automation/ Security System Forums > Support > Problems & Troubleshooting > Night Time flag has stopped working - all night logic has ceased !!

Night Time flag has stopped working - all night logic has ceased !!
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Sunday Dec 30th, 2007 06:45 pm
   PM  Quote  Reply 
1st Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 510
Status: 
Offline

  back to top

I have made some config changes over the past 2 days  but nothign that touches any of the night time or sunrise/sunset times.

 

It appears none of the responses are being trigered by the built in sunrise/sunset actions - in the Misc section of comfigurator it just fires off Sunrise and Sunset responses which in turn trigger off CBUS commands. These no longer work.

 

Also, I have responses on external door zones that are triggered, and the first thing they check is the night status - this is no longer working either.

 

So my assumption is the system NightTime trigger has stopped working.

Any ideas why everything has ground to a halt ? Comfigurator shows firmware as 5.113


Update : Just downloaded the November config that was working fine, and that no longer works either - so cant be a CCL issue ?

Last edited on Sunday Dec 30th, 2007 07:17 pm by palmlodge



 Posted: Sunday Dec 30th, 2007 07:54 pm
   PM  Quote  Reply 
2nd Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 510
Status: 
Offline

  back to top

Im pretty sure this started happening after I uploaded a config on the 29th Dec.

 

Previous config was  21st Dec - which worked ok - and reuploading that config didnt fix it.

 

Would something have gone wrong during an upload ? This is a PITA as none of my night logic works - ie auto lights, etc

 



 Posted: Monday Dec 31st, 2007 01:44 am
   PM  Quote  Reply 
3rd Post
admin
Administrator


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

  back to top

This has to be due to Sunrise and Sunset times not set to what you expect
Could it be that the Sunrise and Sunset times that you downloaded are not the same as what you expected?
Can you check the ccl file, and also upload (Comfort -> PC) the sunrise./sunset times to check what is in Comfort



 Posted: Monday Dec 31st, 2007 05:38 am
   PM  Quote  Reply 
4th Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 510
Status: 
Offline

  back to top

The sunrise/sunset times are fine. The ccl has been downloaded a few times - full complete download.

 

ie week 52 is 15:56. Even 6 hrs later, the nighttime flag doesnt work. Ive done an upload - comfort to pc - and they all match.


I've reset the 'location' to London - which slightly alters the times by a few minutes and done a full download - still doesnt work (its currrently around one hour before sunrise). KP04 shows the time is correct.
 

none of the night time functions worked this morning either. Next step ?

 

FYI -I added this into one of the responses that triggers lights in night mode - the counter value shows as 0 when triggered (watching via wizcomfort monitor)

If  NightTime = 0 Then
    Set Counter242 = 0
Else
    Set Counter242 = 1
End If



Last edited on Monday Dec 31st, 2007 06:34 am by palmlodge



 Posted: Monday Dec 31st, 2007 07:34 am
   PM  Quote  Reply 
5th Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 510
Status: 
Offline

  back to top

Now more of my timers are not activating at all....



 Posted: Monday Dec 31st, 2007 08:15 am
   PM  Quote  Reply 
6th Post
admin
Administrator


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

  back to top

Please send the file to support@cytech.biz
Perhaps the same file as the one with timer 31 not working. It may be related



 Posted: Monday Dec 31st, 2007 06:38 pm
   PM  Quote  Reply 
7th Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 510
Status: 
Offline

  back to top

Done



 Posted: Tuesday Jan 1st, 2008 05:54 am
   PM  Quote  Reply 
8th Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 510
Status: 
Offline

  back to top


None of the responses using the system Night flag were working - until this morning when it has all started working again.

Date and time are all correct. Set via Comfigurator, and HomeSeer knows when the connection to the UCM is lost - when it reconnects (within 5 mins), it automatically sets the date/time and gets the status of all inputs/outputs/etc and is updated in HomeSeer.

Perhaps its related to the new DST logic ?

To sum up, the system Night flag stopped working for the last few days of 2007. At the start of 2008, its started working again. Youd have to say this would prob happen again at the end of 2008.



 Posted: Tuesday Jan 1st, 2008 07:44 am
   PM  Quote  Reply 
9th Post
admin
Administrator


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

  back to top

I am glad that we have 1 year to sort it out:)



 Posted: Tuesday Jan 1st, 2008 03:02 pm
   PM  Quote  Reply 
10th Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 510
Status: 
Offline

  back to top

Also, the Sunset response started working again today.

 

Consider this a bug report.



 Posted: Tuesday Jan 8th, 2008 02:00 am
   PM  Quote  Reply 
11th Post
DelusnOfGrandeur
Member


Joined: Tuesday Aug 7th, 2007
Location: Bolton, United Kingdom
Posts: 6
Status: 
Offline

  back to top

I have experienced similar problems when programming software using week numbers involving dates at the end and start of the year when the day falls into the year before or after's week number. Might be easier to give a couple of examples...

01 January 2006 fell into week 52 of 2005

31 December 2007 fell into week 1 of 2008

http://personal.ecu.edu/mccartyr/isowdcal.html

This is probably none related but I thought it was worth mentioning just in case. ;)



 Posted: Tuesday Jan 8th, 2008 11:15 am
   PM  Quote  Reply 
12th Post
admin
Administrator


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

  back to top

Good point. We will investigate if this is related to the problem



 Posted: Wednesday Jan 9th, 2008 10:58 am
   PM  Quote  Reply 
13th Post
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 510
Status: 
Offline

  back to top

Ive also got some logic which turns on xmas trees only in december, and up to the 6th Jan.

 

It's still being triggered - heres the code. Even on the 8th Jan it still triggered

 

If  Month = 12 Then
    Do XMASLightsON-DO []
End If
If  Month = 1 Then
    If  Day < 7 Then
        Do XMASLightsON-DO []
    End If
End If

 



 Posted: Thursday Dec 31st, 2009 07:46 pm
   PM  Quote  Reply 
14th Post
lms
Member
 

Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 45
Status: 
Offline

  back to top

(Newer version of Comfigurator and firmware than original report of this problem - so apologies if I shouldn't be posting to a 2-year-old thread, but I couldn't find a solution in that thread and am assuming it hasn't been resolved??)

NightTime logic appears to have stopped working again on Dec 31 2009. I don't know the logic behind the week numbers, but could this be because day 365 is week 53 and there is no Sunset time for week 53? (Using Comfigurator 3.1.3.0 on Comfort II Ultra firmware 5.145.)

No time to test properly now, but have executed a response from within Comfigurator which turns on external lights at Sunset and turns them off at Sunrise. This has worked correctly for years (originally with hard-coded times and converted to NightTime logic when this became available), but today it's turning the lights off instead of on. This gets repeated every hour (in case the lights are manually turned off at night or on during the day), so I hope the darkness won't attract any unwelcome visitors!

Obviously it's too late do anything now - I just hope this doesn't happen again at the end of 2010!



 Posted: Friday Jan 1st, 2010 12:55 am
   PM  Quote  Reply 
15th Post
slychiu
Administrator


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

  back to top

This bug (Week 53 gives wrong sunrise/sunset times) was fixed in firmware 5.164, see
http://www.comfortforums.com/forum79/1421.html

The current firmware is 5.172 so I suggest that you upgrade to this, see
http://www.comfortforums.com/forum79/1659.html



 Posted: Friday Jan 1st, 2010 04:08 am
   PM  Quote  Reply 
16th Post
lms
Member
 

Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 45
Status: 
Offline

  back to top

Oops - missed that - apologies. Thanks Chiu.



 Current time is 02:48 pm
Comfort Automation/ Security System Forums > Support > Problems & Troubleshooting > Night Time flag has stopped working - all night logic has ceased !!
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems