Comfort Automation/ Security System Forums
Building RS232 commands - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Third Party (interfacing to Comfort) (https://www.comfortforums.com/forum-5.html)
+--- Forum: Zwave (https://www.comfortforums.com/forum-62.html)
+--- Thread: Building RS232 commands (/thread-1501.html)



- juwi_uk - 06-04-2009

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

 

 

 

 

 



- ident - 06-05-2009

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)



- juwi_uk - 06-05-2009

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

 

 

 



- ident - 06-05-2009

that is correct (I think)



- Ingo - 06-05-2009

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



- ident - 06-05-2009

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