Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Nighttime Flag
#1
I have several Responses that use the NightTime flag to perform various tasks. For example:
If SecurityMode = AwayMode Then
    If NightTime <> 0 Then
        Do DynEXPrmtrOn ! Turn on Perimeter Lights
    End If
End If

However, the NightTime flag no longer appears to be working.  I am on a Comfort II running firmware 7.153 and UCM 7.110.
Do I need to define NightTIme as a flag?  I notice in the Sunrise/Sunset Time there are Night Time Properties.  Do I need to create/set the NightTime flag there or is it a global flag?
Reply
#2
Night time flag should work, and it does not need to assign a flag to itHowever it helps to assign a flag so you can check if it is Night time by testing the flag
Test the program by executing the Response after you check the Night flag
Reply
#3
I\'m not sure I follow you.  
The NightTime variable use to work and now it does not.  
I have included my config file


Attached Files
.cclx   CasaVistaLindav4_9.cclx (Size: 262.17 KB / Downloads: 3)
Reply
#4
The file seems OK.

In order to find out why it does not seem to work, I suggested to map the Night time flag to a Comfort flag eg Flag 1.

Currently in your file there is no way to know if the Night time flag is set or not. If you map to a flag eg 1, then you can check the flag 1 status to know if you are really in Night time.

There are many reasons why it would seem not to work, and did before eg comfort time is not correct, the sunrise/sunset times are wrong or other conditions may play a part
Also note that the Night time flag does not work if you manually change the Comfort time to after sunset. The time must actually go past the sunset time to set the Night time flag.

So if you map to Flag 1, then check status of Flag 1 at this time (Comfort Registers check status box to see the state of the flags). if it is set that means the Night time flag is also set and vice versa.
Then Execute the Gate Entry Response (which is the one that checks the night flag),  and see if the Perimeter lights turn on







Reply
#5
Thanks, that makes sense.  

I may need to move this to a different thread but what I have now determined is that I no longer believe it is a problem with the NightTime flag, rather it is the Comfort to Dynalite gateway. 
The reason I did not suspect this is that I am able to control Comfort through Dynalite--i.e., commands sent from Dynalite go through the gateway and execute correctly on Comfort. 

However, I now believe that the UCM for some reason is not sending the Dynet commands to the DNG232.  The manual says that the D12 LED on the UCM should flash when a message is sent to Dynalite via Comfort.  No blinking occurs.

Anything else I can check or do before declaring the UCM has gone bad? 
Reply
#6
This requires an upgrade to UCM 7.119 see http://comfortforums.com/view_topic.php?id=5034&forum_id=4&jump_to=24418#p24418

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)