The goal of this project is to be able to remote control the lights in my apartment.
Because I currently didn't want to tinker with the mains, I used a servo to press the light switch, but I plan to upgrade to a radio based relay solution.
The servo is controlled by an ESP8266 which connects to my wifi an hosts a very simple webinterface.
I also added a button next to the original light switch, because I wanted to be able to control the lights without my phone or computer.
With the help of another unpublished project of mine (a personal assistent, like JARVIS from the Iron Man movies), I was able to even voice control the lights.
After running for over half a year now, the voltage regulator got a bit exhausted and I had to add a big capacitor to buffer the current. There was also a bug in the code (string concatenation do not work well for bigger strings in node mcu), which caused it to reboot after some time, but this is also fixed now. Besides that, it is very stable and has low maintenance requirements. Also it is now part of my home automation project https://hackaday.io/project/8791-home-automation
I finally worked again on this project and removed the arduino. The servo is now directly controlled by the ESP8266. The 433MHz Transmitter was also removed, becasue I noticed that I don't use it yet. To be able to mount circuit on to the servo, I sandwiched all the necessary components between the ESP and a perfboard.
To control the ESP, I used nodemcu and I plan to opensource my code on Github. A link will follow soon.