TheD6Bel, that's great news! :-) I have added another piece of code that checks every two seconds if the server is online. If the server is online, then the status of the player is checked, otherwise not. The file is in attachment. 14795
For your problem that the relay is on when LMS is turned off and the opposite, i think you should switch the outgoing wires on your relay.. Good luck, and if you have other questions, post them here! Greetings, Robbe +-------------------------------------------------------------------+ |Filename: relay.py.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=14795| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ 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