This is a remix of the excellent base design by carjo3000. I re-used the original part servo_arm.stl as is, extended the base part down to make a room for the microcontroller (ESP-12 dev kit v0.9 from ebay based on ESP8266) enclosure - the part servo_switch_plate.stl, and finally designed a new part - a simple cover for the microcontroller, servo_switch_cover.stl.
I also modified my Smart Light switch code (http://pulsar124.wikia.com/wiki/Smart_light_switch) to include an optional support for a servo (a cheap 9G from ebay will work just fine). The original code operated solid state relay based switches, with or without a physical switch. In all cases, smart switching functionality (based on computed sunset/sunrise times), and remote controlling over Internet are available.
Here is a short youtube demo of the switch:
servo_arm.STL | 60.3KB | |
servo_switch_cover.stl | 24.1KB | |
servo_switch_plate.stl | 104.4KB |