The pikrellOn.sh looks like this
- Spoiler: show

Moderator: leecollings

Are you sure that those paths are correct? Maybe those should be something like script:///home/pi/domoticz/scripts/pikrellOn.shTeknor wrote: Sunday 10 September 2017 21:10 ..these do not work:
On action: script:///pi/domoticz/scripts/pikrellOn.sh
Off action: script:///pi/domoticz/scripts/pikrellOff.sh
Code: Select all
#!/bin/shCode: Select all
#!/bin/bashCode: Select all
#!/bin/sh
echo "motion_enable on" > ~/pikrellcam/www/FIFO
Code: Select all
pi@raspaux:~/domoticz/scripts $ ./pikrellOn.sh
pi@raspaux:~/domoticz/scripts $ ./pikrellOff.sh
Code: Select all
#!/bin/sh
echo "motion_enable on" > ~/pikrellcam/www/FIFO
Code: Select all
#!/bin/sh
echo "motion_enable on" > /home/pi/pikrellcam/www/FIFO
Users browsing this forum: No registered users and 1 guest