Je cherche a commander une prise wemo.
J'y arrive très bien dans le terminale. J'ai donc écris un script (wemo_on.sh) qui fonction bien aussi si je fais ./wemo_on
Code : Tout sélectionner
#!/bin/sh
wemo switch "WeMo Switch" onCode : Tout sélectionner
chmod +x wemo_on.shj'ai fait un switch virtuel dans domoticz et dans on j'ai mis :
script:///home/pi/domoticz/scripts/wemo/wemo_on.sh
j'obtient l'erreur suivante :
2016-04-03 18:43:02.643 Error: Error executing script command (/home/pi/domoticz/scripts/wemo/wemo_on.sh). returned: 256
C'est super frustrant! Une idée ?