CM11 not decoding

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.


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.


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


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?


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?


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.