So I used windows AHP and shut off transceive house codes and now Domoticz is sending code thru mochad 1.17 again to turn lites on and off... good so far.
In the last days I saw posts saying I should rename unused _domoticz_main to domoticz_main to make mochad work... no clue, but I did it... here is that file:
------------------------------------
#!/bin/sh
startup_path=$1
hardware_id=$2
device_id=$3
status=$4
status2=$5
devname=$6
echo "startup_path=${startup_path}, hardware_id=${hardware_id}, device_id=${device_id}, status=${status}, status2=${status2}, devname=${devname}"
---------------------------------------------
and here is the result in the domoticz log:
----------------------
2018-10-23 15:45:42.859 Error: (Broadlink-RM2) Error Connecting to Broadlink device....192.168.0.3
2018-10-23 15:46:12.371 (Broadlink-RM2) Pushing 'onHeartbeatCallback' on to queue
2018-10-23 15:46:12.389 (Broadlink-RM2) Processing 'onHeartbeatCallback' message
2018-10-23 15:46:12.389 (Broadlink-RM2) Calling message handler 'onHeartbeat'.
2018-10-23 15:46:42.380 (Broadlink-RM2) Pushing 'onHeartbeatCallback' on to queue
2018-10-23 15:46:42.420 (Broadlink-RM2) Processing 'onHeartbeatCallback' message
2018-10-23 15:46:42.420 (Broadlink-RM2) Calling message handler 'onHeartbeat'.
2018-10-23 15:47:12.387 (Broadlink-RM2) Pushing 'onHeartbeatCallback' on to queue
2018-10-23 15:47:12.396 (Broadlink-RM2) Processing 'onHeartbeatCallback' message
2018-10-23 15:47:12.397 (Broadlink-RM2) Calling message handler 'onHeartbeat'.
2018-10-23 15:47:28.611 (Mochad) Lighting 1 (Workshop, B5)
2018-10-23 15:47:28.634 (Mochad) Lighting 1 (Workshop, B5)
2018-10-23 15:47:29.669 (Mochad) Lighting 1 (Workshop, B5)
2018-10-23 15:47:29.607 Status: Executing script: /home/pi/domoticz/scripts/domoticz_main
2018-10-23 15:47:29.705 Status: Executing script: /home/pi/domoticz/scripts/domoticz_main
2018-10-23 15:47:30.663 Status: Executing script: /home/pi/domoticz/scripts/domoticz_main
2018-10-23 15:47:33.075 (Mochad) Lighting 1 (B10, Ele Wrkshop music-lite)
2018-10-23 15:47:33.098 (Mochad) Lighting 1 (B10, Ele Wrkshop music-lite)
2018-10-23 15:47:34.069 Status: Executing script: /home/pi/domoticz/scripts/domoticz_main
2018-10-23 15:47:34.145 Status: Executing script: /home/pi/domoticz/scripts/domoticz_main
2018-10-23 15:47:42.395 (Broadlink-RM2) Pushing 'onHeartbeatCallback' on to queue
2018-10-23 15:47:42.430 (Broadlink-RM2) Processing 'onHeartbeatCallback' message
2018-10-23 15:47:42.430 (Broadlink-RM2) Calling message handler 'onHeartbeat'.
2018-10-23 15:48:12.403 (Broadlink-RM2) Pushing 'onHeartbeatCallback' on to queue
2018-10-23 15:48:12.408 (Broadlink-RM2) Processing 'onHeartbeatCallback' message
2018-10-23 15:48:12.408 (Broadlink-RM2) Calling message handler 'onHeartbeat'.
2018-10-23 15:48:28.129 (Mochad) Lighting 1 (B10, Ele Wrkshop music-lite)
2018-10-23 15:48:28.152 (Mochad) Lighting 1 (B10, Ele Wrkshop music-lite)
2018-10-23 15:48:29.118 Status: Executing script: /home/pi/domoticz/scripts/domoticz_main
2018-10-23 15:48:29.195 Status: Executing script: /home/pi/domoticz/scripts/domoticz_main
2018-10-23 15:48:42.412 (Broadlink-RM2) Pushing 'onHeartbeatCallback' on to queue
2018-10-23 15:48:42.441 (Broadlink-RM2) Processing 'onHeartbeatCallback' message
2018-10-23 15:48:42.442 (Broadlink-RM2) Calling message handler 'onHeartbeat'.
2018-10-23 15:48:45.733 (Mochad) Lighting 1 (Workshop, B5)
2018-10-23 15:48:46.725 Status: Executing script: /home/pi/domoticz/scripts/domoticz_main
2018-10-23 15:49:12.420 (Broadlink-RM2) Pushing 'onHeartbeatCallback' on to queue
2018-10-23 15:49:12.421 (Broadlink-RM2) Processing 'onHeartbeatCallback' message
201
-------------------------------------
Ignoring the broken broadlink above, I see that renamed file is running everytime mochad does something! I may delete it (I have the _domoticz_main still there) to see if it does anything...
I am not too worried about the double and triple hits as I have so many repeaters and my main cm15 still active here...