Lights on/off programm

I have some problems with a code that I'm writing right now. I want to make a programm for a Raspberry Pi that should turn on or off my lights in my house. Any suggestions?
what kind of problem
My programm does not work...
Sorry, but only a few of us here are psychics. We don't know why your program is not working, certainly not without at least seeing a bit of the offending code.

There might be some expert here that knows exactly what could be going wrong without knowing any information, but the best I can is to say follow a different tutorial that perhaps explains things better?

https://lifehacker.com/control-your-home-lights-with-a-raspberry-pi-754987546
http://www.instructables.com/id/Raspberry-Pi-Home-Automation-Control-lights-comput/
https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=71092

The last link is to the Raspberry Pi forums https://www.raspberrypi.org/forums/ where more people would be knowledgeable in what you're trying to do.
Last edited on
My programm does not work...

I'm sorry to hear that.

Please read:
http://www.catb.org/esr/faqs/smart-questions.html
http://www.cplusplus.com/forum/beginner/1/
Last edited on
Topic archived. No new replies allowed.