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

Flag and Counter Response Query
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Apr 23rd, 2014 06:31 pm
   PM  Quote  Reply 
1st Post
alvy
Member
 

Joined: Friday Jan 18th, 2013
Location:  
Posts: 17
Status: 
Offline

  back to top

Hi,

I'm trying to redo my zwave network from scratch with optimizing my response configuration and reducing unnecessary zwave traffic in mind. I've configured in the Control Menu the necessary switch i would like to switch on/off. I'm using flags as feedback type which will show on or off on the android app. In terms of response setup for the ON and OFF function, it is just a simple setup to "set flag flag#" or "clear flag flag#" and sending 255 or 0 to the zwave node in concern. So using the the control menu to execute the On or Off response, the feedback will reflect the correct state of the switch. However, manually switching on/off the physical will obviously not toggle the flag. So this means the control menu's feedback status will not reflect the correct state of the switch if it is switched on/off manually. How do we go about getting the flag state to be synch? I know we can use a virtual node to perform a response but this is something I'm trying to avoid as it will incur zwave traffic and in my house with relatively many nodes across multiple levels, not a good idea. What about counter assigned to that switch channel? I do see the counter state changing correctly will i refresh configurator each time i toggle the switch. Setting a counter response to the assigned counter doesn't work.
Something similar to this Counter response I've tried:
If Counter Counter# = 0 Then
    Clear Flag Flag#
Else
    Set Flag Flag#
End If

When will a counter response activate? Reading the manual doesn't clear my confusion.

Also If I have a zwave dimmer, do i still use flag for feedback or should i use counter instead?

thanks



 Posted: Thursday Apr 24th, 2014 08:46 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

What you have done in the cclx file that you have sent is correct, in fact it has been done well

You have used Counters as feedback for zwave in the control menu, and virtual nodes to associate the zwave devices with counters
Virtual nodes do not cause more Z-Wave traffic. When you press the zwave button, it will send a message to Comfort so that is not a lot of traffic
The counters can provide feedback on the comfort apps, 255 will be shown as On, 0 will be off and 1 to 254 will be a dim level
Hence you do not need to use flags and do the programming from counters to flags

If you map counters to Zwave nodes (non-virtual), the node be polled automatically when there are any changes, and the counter will be updated.  However counter changes by polling do not activate counter responses, because polling is to update status only. Only virtual Nodes mapped to counters can activate counter Responses as well as update the counter value.

Hence if you want to monitor zwave relays and dimmers as feedback use Counters mapped to Zwave (non virtual nodes)

If you want zwave to activate responses in Comfort, use Virtual Nodes mapped to counters






 Current time is 06:52 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems