Page 1 of 1

Native mochad CM15Pro X10 support howto

Posted: Tuesday 24 February 2015 15:38
by peter444
Since the previous update i noticed there is a native mochad support.

But i can't figure out how to get this working.
I added a hardeware device for the mochad bridge.
But what's next?
Adding switches manualy doesn't seem to work since i can't select the mochad bridge as device.

Re: Native mochad CM15Pro X10 support howto

Posted: Saturday 14 March 2015 15:09
by Glen_f
Did you teach Domoticz the switch? From Switches > Learn Light/Switch. I think it is the simplest way to add a X10 device.

Add Domoticz to learn light/switch state and send a device command through netcat to mochad (pl a1 on).

Re: Native mochad CM15Pro X10 support howto

Posted: Thursday 24 December 2015 15:30
by gllm
Hi,

I just tried the process given by Glen_f but it doesn't work (timeout when I tell Domoticz to learn a device). How can I do ?

For now, I use the old method, as I declared a dummy device and modified the domoticz_main script to add all my X10 devices. I wish that with the native mochad device, Domoticz will be able to hear the X10 messages on the network (which is impossible with the old method), so I will be able to do more complex stuff (trigger scenes with my X10 RF remote for exemple).

Re: Native mochad CM15Pro X10 support howto

Posted: Tuesday 03 May 2016 10:45
by rmss
Should the mochad support now work out of the box?

I've installed newest Raspberry Pi Image (domoticz-raspberrypi-sdcard-4834.7z)

Added New Hardvare:
Type: Add Mochad CM15Pro/CM19A bridge with LAN Interface
Remote Address: localhost
Port: 1099

But then mochad is not working on command line and I cannot teach switches.

If I install mochad with instructions from https://www.domoticz.com/wiki/X10_devices,_CM15_Pro it works.

Re: Native mochad CM15Pro X10 support howto

Posted: Sunday 08 May 2016 6:37
by franzelare
The latest domoticz package doesn't start mochard correctly when the usb device is detected.
I added mochad to the domoticz.sh file to start it manually when domoticz starts (like I did before on my synology)
only issue is that you need to restart domoticz every time you unplug the CM15Pro, or manually start mochad

Re: Native mochad CM15Pro X10 support howto

Posted: Tuesday 13 December 2016 20:21
by Remko
Today I installed Mochad on my Raspberry Pi and followed the instructions on https://www.domoticz.com/wiki/X10_devices,_CM15_Pro .
The "old" way with the script is working but....

- The Auto run Mochad function is not working and I can't find out whats wrong. After reboot I have to start Mochad manually. The my commands as echo "pl e4 on" | nc localhost 1099 are accepted and the scripts for Domoticz are working.
Is there anybody who had the same problem and know the solution for it?

- I can select the Mochad CM15Pro bridge in the list of hardware in Domoticz and add this hardware component, but then I can not select that hardware in the list when creating a new switch. Also the learn function is not working.

My goal is to send On/Off (or dim if possible) commands from my SS13 RF remote controller (X10 on 433 MHz.) to my CM15Pro, connected to my Raspberry. Then these signals have to trigger some X10 switches and a relay board plugged in on my GPIO.
In my current setup, almost everything is working via the Domoticz app, but in normal use it would be easier to use the SS13 remote controller on the wall to control the lights.
Is there anybody who has Domoticz working by selecting the Mochad bridge in Domoticz?

Thanks in advance!