CM11 decoding

Pop your questions regarding Home automation Domotica hardware here.....
Post Reply
wbutterworth
Starting Member
Starting Member
Posts: 3
Joined: Mon Feb 04, 2008 10:40 am
Location: South Africa

CM11 decoding

Post by wbutterworth »

Hi all

hopefully I'm posting this in the right place.

Can someone please explain to me how to decode the status request of the CM11 - specifically the last four or so bytes. I am having trouble understanding what the CM11 is trying to tell me about the status of my devices. Also the toher status functions (status on/off) - how do I decode the responses to those? the protocol doc is not very clear. Thanks!

Werner
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

CM11 decoding

Post by Bwired »

Please elaborate a bit more, where are you programming in what do you have already. Most of use the CTX35 as controller but there is a lot software out there for the CM11
wbutterworth
Starting Member
Starting Member
Posts: 3
Joined: Mon Feb 04, 2008 10:40 am
Location: South Africa

CM11 decoding

Post by wbutterworth »

Hi and thanks for the reply.

I'm coding in Clarion :-) I talk directly to the serial port (thru the API's). When I do a status request the interface responds with 14 bytes of data (this from the protocol doc). The last 6 bytes in this response is the monitored devices, on/off status of these and the dim/bright status. Now these last 6 bytes is what I need to figure out - for example if my A2 device is on, that information is reported in the status request but I cannot seem correctly decode it to indicate A2 is on... Hope this is a little more clear.

thanks!
Werner
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

CM11 decoding

Post by Bwired »

Clarion ?
Do you have this protocol document of the CM11 I think it's very clear regarding your questions.
http://www.linuxha.com/athome/common/protocol.txt
wbutterworth
Starting Member
Starting Member
Posts: 3
Joined: Mon Feb 04, 2008 10:40 am
Location: South Africa

CM11 decoding

Post by wbutterworth »

Yes, Clarion (www.softvelocity.com).

I have several versions of this protocol doc and they are all pretty much the same (obviously) but some have explanations and some don't. Anyway, I've managed to figure out those last 6 bytes - I actually set my appliance module to every single unit code and did a status request each time so I could document which bits come up 1 or 0 then I re-read the protocol doc and it started making more sense. To get to this point took me a week! Jeez, I thought I was cleverel than that...obviously not! Thanks for trying to help though :-)

W
Han
Member
Member
Posts: 97
Joined: Sat Apr 01, 2006 1:53 pm
Location: Netherlands

CM11 decoding

Post by Han »

Hello,

The CM11A protocol document still contains a number of errors related to extended code transmissions.
See:

<b>Download Attachment:</b> [img]images/icon_paperclip.gif[/img] Extended Code.doc<br />38.9 KB

Can save another week of decoding.

Han Alink
Post Reply

Return to “Questions & Discussions Forum”