But I can't get it to work from domoticz.
Code: Select all
Executing script: /home/pi/domoticz/scripts/datorrum_toggle.sh
Error: Error executing script command (/home/pi/domoticz/scripts/datorrum_toggle.sh). returned: 32512Moderator: leecollings
Code: Select all
Executing script: /home/pi/domoticz/scripts/datorrum_toggle.sh
Error: Error executing script command (/home/pi/domoticz/scripts/datorrum_toggle.sh). returned: 32512Code: Select all
script:///home/pi/domoticz/scripts/datorrum_toggle.sh
Code: Select all
-rwxrwxrwx 1 root root 83 Feb 15 18:24 datorrum_toggle.sh
Code: Select all
#!/bin/bash
sudo ./wemo_control.sh 192.168.0.200 LINK datorrum TOGGLE > /dev/null
Code: Select all
/home/pi/domoticz/scripts/wemo_control.sh
Code: Select all
root@raspberrypi:/home/pi/domoticz/scripts# ./datorrum_toggle.sh
./datorrum_toggle.sh: line 3: ./home/pi/domoticz/scripts/wemo_control.sh: No such file or directory
Code: Select all
#!/bin/bash
/home/pi/domoticz/scripts/wemo_control.sh 192.168.0.200 LINK datorrum TOGGLE > /dev/null
Users browsing this forum: No registered users and 1 guest