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!