Comfort Automation/ Security System Forums

Full Version: Building RS232 commands
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have a question on  the \"Escape\" character 15.

I assume this applies to ZWave ID\'s as with the dim value etc as both can take \"15\" or \"255\" as valid settings, right?

So if I need to command for say  ID 15 and 16 in a basic commannd (multicast then by type) ,  does the command string look like

197,{ucm#},1, {# of ID\'s}, 15. 15, 16 , {dim level}

But does the {# of ID\'s}  include or exclude the Escape Character(s); ie is it 2 or 3 in the above example?

Regards

Julian

 

 

 

 

 
The number of ids should exclude the escape character
The string in action 197 is parsed by Comfort to remove the escape characters before they get sent to the UCM/Zwave
The need for escape is just to handle the 255 byte which is a terminator in action codes (a remnant of keypad programming)
OK

So the {# of ID}\'s  value itself doesn\'t include the extra escape characters.

But if the {#of ID\'s} is 15 itself then it\'s 15,15 before the first real ID value is listed in the string?

Julian

 

 

 
that is correct (I think)
Correct me if I am wrong but the ucm# is actually 16 + UCM#, I think.... UCM01 in the system will have an ID of 17, UCM02 will be 18 and so on...

Ingo
Yes you are right. The 1st UCM  is 17, so you dont have to worry about an ID of 15, as it does noty exist