I have mochad working on my Ubuntu install with my CM15a for controlling X10. I have an item file with a few things set up, and a sitemap to display switches for them. It looks to me from the events.log that OH2 thinks it should all be working, but none of these changes are reflected in reality, and when I use nc localhost 1099 I can see that it’s not even trying to send any commands through to the CM15a.
events.log:
2020-10-06 16:54:51.806 [vent.ItemStateChangedEvent] - xLight_Front changed from OFF to ON
2020-10-06 16:54:53.212 [ome.event.ItemCommandEvent] - Item ‘xLight_Front’ received command OFF
2020-10-06 16:54:53.214 [vent.ItemStateChangedEvent] - xLight_Front changed from ON to OFF
2020-10-06 16:54:55.650 [ome.event.ItemCommandEvent] - Item ‘xLight_Livingroom’ received command ON
2020-10-06 16:54:55.651 [vent.ItemStateChangedEvent] - xLight_Livingroom changed from OFF to ON
2020-10-06 16:54:56.695 [ome.event.ItemCommandEvent] - Item ‘xLight_Livingroom’ received command OFF
2020-10-06 16:54:56.699 [vent.ItemStateChangedEvent] - xLight_Livingroom changed from ON to OFF
2020-10-06 16:54:57.900 [ome.event.ItemCommandEvent] - Item ‘xLight_Bedroom’ received command ON
2020-10-06 16:54:57.903 [vent.ItemStateChangedEvent] - xLight_Bedroom changed from OFF to ON
2020-10-06 16:54:58.779 [ome.event.ItemCommandEvent] - Item ‘xLight_Bedroom’ received command OFF
2020-10-06 16:54:58.781 [vent.ItemStateChangedEvent] - xLight_Bedroom changed from ON to OFF
I used Paper UI to install the MochadX10 binding, which I later found out is a 1.x binding (or at least was). Do I need to do anything special to get it working in OH2? Also of note, from my research I would expect to see the jar in my /usr/share/openhab2/addons folder, but there’s nothing there but the initial README.
find / | grep mochadx
find: ‘/run/user/1000/doc’: Permission denied
/var/lib/openhab2/config/org/openhab/mochadx10.config
/var/lib/openhab2/tmp/mvn/org/openhab/binding/org.openhab.binding.mochadx10
/var/lib/openhab2/tmp/mvn/org/openhab/binding/org.openhab.binding.mochadx10/resolver-status.properties
/var/lib/openhab2/tmp/mvn/org/openhab/binding/org.openhab.binding.mochadx10/maven-metadata-openhab.xml.sha1
/var/lib/openhab2/tmp/mvn/org/openhab/binding/org.openhab.binding.mochadx10/maven-metadata-openhab.xml
/var/lib/openhab2/tmp/mvn/org/openhab/binding/org.openhab.binding.mochadx10/1.14.0
/var/lib/openhab2/tmp/mvn/org/openhab/binding/org.openhab.binding.mochadx10/1.14.0 /org.openhab.binding.mochadx10-1.14.0.jar.sha1
/var/lib/openhab2/tmp/mvn/org/openhab/binding/org.openhab.binding.mochadx10/1.14.0 /org.openhab.binding.mochadx10-1.14.0.jar
/etc/openhab2/services/mochadx10.cfg
Thanks in advance for any help