Error Sending switch command
-
Hi! Is it a standard MySensors relay you got?
When i reboot Domoticz for some reason i need to present the relays again or i get this message. -
Hi! Is it a standard MySensors relay you got?
When i reboot Domoticz for some reason i need to present the relays again or i get this message.@sundberg84 Yes standard relay. Present=reset (turn on and off.)?
-
Yea 😊 reset.
-
Yea 😊 reset.
@sundberg84 No change. Still samme massage.
-
@NBM What Domoticz version do you run? The lastes beta feel more stable than the stable version... or atleast mysensors was pretty new in that version so it might be a good idea to upgrade.
-
@NBM What Domoticz version do you run? The lastes beta feel more stable than the stable version... or atleast mysensors was pretty new in that version so it might be a good idea to upgrade.
@sundberg84 My version on domoticz and i have newst version on mysensor.

-
Ok sorry then im out of ideas - do you have any logs we can look at?
-
Ok sorry then im out of ideas - do you have any logs we can look at?
@sundberg84 Where du i find the logs on domoticz?
-
The log in Domoticz is by default quite little info, but Setup -> Log
But if you se anything in the gw when you trigger perhaps? -
And when you switch it looks like this:

But what about the gateway?
-
Yea, the serial log from your arduino - connect the gateway to your computer and open the serial monitor in the arduino IDE.
Another thing that you can try is to remove the device completley from domoticz, reset the node and add it again in Domoticz. -
Yea, the serial log from your arduino - connect the gateway to your computer and open the serial monitor in the arduino IDE.
Another thing that you can try is to remove the device completley from domoticz, reset the node and add it again in Domoticz.@sundberg84 said:
Another thing that you can try is to remove the device completely from domoticz, reset the node and add it again in Domoticz.
Hi,
I'm having exactly the same problems as NBM.
I've tried doing as suggested by soundberg84.
It worked for one Node(relay) but another one does not seam to get up and working. Using the serial gateway it's working.
I find odd that (Motion Sensor) Nodes are always good and working. It seems to be something concerning relays. Because when the problem occurs it affects all the relays simultaneously.
My setup is a Raspberry Pi with a serial Gateway. I've had the same problem with the stable version and the beta version.
Another thing that I've noticed, if there are two Raspberry Pi with the same setup, and with out having the " Accept new Hardware Devices Allow for 5 Minutes " turned on, without resetting the a (Motion Sensor), Domoticz recognizes them on the devices panel.
Cheers
Hugo -
@hugo_pn If you are using the default relay sketch you need ack back from the gw to switch it. Is the problem in Domoticz (Error sending switch command) or it doesnt get switched?
-
@hugo_pn If you are using the default relay sketch you need ack back from the gw to switch it. Is the problem in Domoticz (Error sending switch command) or it doesnt get switched?
-
In new Domoticz beta there is so you can enable/disable ack. Havent tried that myself but maybe you can try to change that.
Also what does your gw serial log say? Maybe we can find some clues there... -
I'm having the same issue, running Version: 2.3530 Build Hash: 9eef872
The sensor is number 1, and as soon as i try to change the state i get the "Error sending switch command, check device/hardware !"
This is what the domoticz is sending:
0;0;3;0;9;send: 0-0-1-1 s=35,c=1,t=2,pt=0,l=1,sg=0,st=fail:1It seems that the problems is that the sensor does not reply correctly, how do i parse the message and reply?
Thanks
-
I'm having the same issue, running Version: 2.3530 Build Hash: 9eef872
The sensor is number 1, and as soon as i try to change the state i get the "Error sending switch command, check device/hardware !"
This is what the domoticz is sending:
0;0;3;0;9;send: 0-0-1-1 s=35,c=1,t=2,pt=0,l=1,sg=0,st=fail:1It seems that the problems is that the sensor does not reply correctly, how do i parse the message and reply?
Thanks



