TheD6Bel wrote: > Hello RobbeD > > your script work perfectly! > > i change ip 127.0.0.1 to my nas ip (lms run on my synology) and and > change GPIO.output(18, True) to GPIO.output(18, False) and > GPIO.output(18, False) to GPIO.output(18, True) for work with my relay. > > Thanks ;)
That's very good news! :-) The reason that I changed the relay pinouts is that the relay is automatically switched off when there is no connection to the server, or if the raspberry is switched off. ------------------------------------------------------------------------ RobbeD's Profile: http://forums.slimdevices.com/member.php?userid=56967 View this thread: http://forums.slimdevices.com/showthread.php?t=71077 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss