Hi, here is what I have done so far:
-
Discovered that the MochadX10 binding will NOT work with my OH3 installation. So, I did a fresh openhabian install of 2.5 on another R-Pi, and installed the MochadX10 binding - all seemed to go well. Check.
-
Discovered that the binding does not actually install Mochad itself, but expects the server to be at a port like 1099. So, I followed the process to install Mochad on the same R-Pi. Seemed to go well. Check.
-
Here is where I am stuck currently: I see the following messages in /var/log/messages from the startup:
Sep 5 17:44:50 openhabx10 mochad[221]: starting
Sep 5 17:44:50 openhabx10 mochad[224]: Found CM19A
Sep 5 17:44:50 openhabx10 mochad[224]: In endpoint 0x81, Out endpoint 0x02
This seems good, but it doesn’t look like any 1099 port is actually open and listening:
openhabian@openhabx10:~ $ netstat -lnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
tcp6 0 0 127.0.0.1:8101 :::* LISTEN
tcp6 0 0 :::139 :::* LISTEN
tcp6 0 0 :::5007 :::* LISTEN
tcp6 0 0 :::8080 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::8443 :::* LISTEN
tcp6 0 0 127.0.0.1:34301 :::* LISTEN
tcp6 0 0 :::445 :::* LISTEN
openhabian@openhabx10:~ $
And sure enough, when I try to connect and give it the commands like
echo "rf a1 on" | nc localhost 1099
nothing happens. However, if I actually launch Mochad in one terminal window, and then issue the above command from another, the light actually does go on, proving that the Mochad installation, as well as my CM19A are perfectly functional.
Does all this make sense to someone? What am I doing wrong? Thanks.