'On action' runs bash but no 433Mhz signal
Posted: Monday 10 December 2018 13:58
Hi all,
I've hooked a 433MHz transmitter to my RasPi3 (DATA is on pin 14(BCM) / TxD / 8 (physical) / 15 (wPi)). In /etc/init.d/domoticz.sh I've added the line
I also installed a set of pre-set scripts that control different brands of 433MHz switches, such as KlikAanKlikUit. I can successfully control such a switch from the command line with
I created a bash script in domoticz/scripts:
In Domoticz, I added a manual switch with the correct path to this bash script after 'On action'. I can see it working, because test.log shows 'script executed' when I hit the virtual switch.
However, there is no 433MHz signal / the switch isn't triggered. Could it be a permission problem? Or is it something else?
Hope you guys can help me out!
I've hooked a 433MHz transmitter to my RasPi3 (DATA is on pin 14(BCM) / TxD / 8 (physical) / 15 (wPi)). In /etc/init.d/domoticz.sh I've added the line
Code: Select all
/usr/local/bin/gpio export 14 out
Code: Select all
./home/pi/wiringPi/examples/lights/kaku 1 A on
I created a bash script in domoticz/scripts:
Code: Select all
#!/bin/bash
./home/pi/wiringPi/examples/lights/kaku 1 A on
echo 'script executed'> /home/pi/temp/test.log
However, there is no 433MHz signal / the switch isn't triggered. Could it be a permission problem? Or is it something else?
Hope you guys can help me out!