Page 1 of 1

Problem with IRSensor and Domoticz

Posted: Saturday 06 January 2018 18:58
by Mash
hello the community

I'm having trouble running IRSensor with domoticz.
After uploading the sketch without any modification from the site "MYSensor", recorded my codes and checked that it worked well with MYSController, here's what I get when I operate the device under Domoticz:

"error sending command to the switch, please verify device/hardware"

My equipment in place:
Domoticz V. 3.8153 on Raspberry PI 3
USB Gateway MySensor V. 2.1.1 on Arduino Nano
IRSensor V. 2.0.0 on Arduino Nano

In Domoticz's log:

-discover the node:
2018-01-06 11:25:42.251 MySensors: Node: 5, Sketch Name: IR Rec/Playback
2018-01-06 11:25:42.252 MySensors: Node: 5, Sketch Version: 2.0

-at the touch of the "1" key of the remote control registered in 20:
2018-01-06 11:25:49.388 (Mysensor) Light/Switch (IR Command)

-appearance of a new device MYSensor

-and in serial monitor of the Arduino IDE:
Received : 1 RC5 801 (12 bits)
Found code for preset #20
TSP:MSG:SEND 5-5-0-0 s=2,c=1,t=33,pt=1,l=1,sg=0,ft=0,st=ok:20

In the Domoticz logs when I activate the device:
2018-01-06 11:26:55.759 User: Admin initiated a switch command (157/IR Command/Off)
2018-01-06 11:26:55.760 Error: MySensors: Light command received for unknown node_id: 20
and
"error sending command to the switch, please verify device/hardware"

-No events in serial monitor of the Arduino IDE.

I made a new installation of Domoticz with the image "domoticz-raspberrypi-sdcard-4834.img". A configured Domoticz faith, I added my MySensor gateway alone without any other hardware, after discovering the node and adding the device to the switches, an action on this device and there oh miracle, it works!

Then I updated Domoticz to version 3.8153 and after that the device does not work anymore!
And the next message:
"error sending command to the switch, please verify device/hardware"

Someone would have any idea?

Thanks for your help.

Mash

sorry for my English :oops: