i tried but don't work :(

i put the script in /hom/gpio.sh with chmod 777

i put before yout script

#!/usr/bin/env python
# -*- coding: utf-8 -*-

i put ip of RPi : 192.168.1.9
and mac adress of squeezeslave (in web interface, setting, player, ) :
b8:27:eb:e4:2a:af

I edit /etc/rc.local

and put before exit0 
/home/gpio.sh &

I plugged my relay 
vcc in pin 2 of RPi (5V)
ground in pin 6 of RPi (ground)
ctrl in pin 12 of RPi (gpio18)

i reboot but don't work, what I did wrong?

thanks


------------------------------------------------------------------------
TheD6Bel's Profile: http://forums.slimdevices.com/member.php?userid=58077
View this thread: http://forums.slimdevices.com/showthread.php?t=71077

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to