CM11 not decoding

Hi,
To begin I am pretty new to OpenHab.
My current domotica setup is completely based on old X10 Powerline. I am now using HCA (Home Control Assistant) on a Windows laptop, but I would like to move to OpenHab.
For this I bought a RPi 3B+ and installed OpenHabian with the Demo environment. After some experimentation I was able to setup the CM11 and I can succesfully steer several lights in the house. However receiving powerline commands does not work.
I can see messages being received, but they are not decoded.

Example:

2018-12-25 14:02:32.307 [DEBUG] [.binding.cm11a.internal.X10Interface] - Receiving X10 data from interface

2018-12-25 14:02:32.320 [DEBUG] [.binding.cm11a.internal.X10Interface] - Receiving [1] bytes, Addr/Func mask: 0

2018-12-25 14:02:32.328 [DEBUG] [.binding.cm11a.internal.X10Interface] - Received X10 data [0]: 86

2018-12-25 14:02:33.354 [DEBUG] [.binding.cm11a.internal.X10Interface] - Receiving X10 data from interface

2018-12-25 14:02:33.370 [DEBUG] [.binding.cm11a.internal.X10Interface] - Receiving [1] bytes, Addr/Func mask: 0

2018-12-25 14:02:33.378 [DEBUG] [.binding.cm11a.internal.X10Interface] - Received X10 data [0]: 26

2018-12-25 14:04:50.640 [DEBUG] [.binding.cm11a.internal.X10Interface] - Receiving X10 data from interface

2018-12-25 14:04:50.653 [DEBUG] [.binding.cm11a.internal.X10Interface] - Receiving [1] bytes, Addr/Func mask: 0

2018-12-25 14:04:50.660 [DEBUG] [.binding.cm11a.internal.X10Interface] - Received X10 data [0]: ea

I am probably doing something wrong, but I cannot figure out what.
Can someone help me with this?

On Github I found the source Java code for the CM11 binding and I searched for hours to find it on my RPi, but it nowere. If I would have access I could add debug commands to see what data is exchanged.

Cheers,
John

You have to build the binding from the code you found on Github and then deploy the built product to your Pi.

Hi,

thanks for the reply.

As I said I am pretty new to this. Shouldn’t the current binding for the CM11 work out of the box?

An if I need torebluid the binding, how do I go about doing that?

Kr.
John

Yes, theoretically. But given the vast diversity of real systems bindings interact with, not everything always goes according to Hoyle.

You asked about adding additional debug output. To do that, you have to modify the code and rebuild the binding.

The steps are, in brief:

  • obtain the code (clone the github repository)
  • modify the code
  • rebuild the code
  • deploy the rebuilt binding

Based on your comment that you could add debug output I thought you would be familiar with the last 3. Which ones are you having trouble with?

Hi,

Sorry I gave the wrong impression.

I have some coding experience but never did Java before. So abtaining the code and adding to it will be challenging, but it might be worth a try and maybe I can help others.

Steps 3 and 4 would be my challenge. I have no clue as of how to do that part.

Thanks again for wanting to help out.

Cheers,
John

It’s been quite a long time since the previous posting on this topic. I am also using the X10 CM11A to send on/off commands to my installed X10 devices and I have this working. I would also like to have notification when the CM11 sees any powerline command sent by the X10 remotes so I can decode the house/unit code. If I run the system with ActiveHome Pro, using the logging window, I can see the house/device codes embedded in its log. If I just capture the data with a serial port logger, I can see the complete data strings. As with the previous poster, I can see an X10 command through the binding without house/unit codes with the logged “cm11a received a command but the transmission didn’t include an address.” message.

but I don’t see the additional data like “Received X10 data [0]: 86”

jjnh- what was done so you could see this additional data?

Has anyone looked into this further who can offer anything new since the last post? Any new information would be appreciated.