Pi Zero 5-Button Switch Box
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
Pi Zero based brightness selector using GPIO pins and a Python script.
- Rating
- 0 / 5
- Likes
- 2
- Downloads
- 13
- Makes
- 0
- Views
- 170
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Electronics
- License
- Creative Commons — Attribution
This is a box I created to control the brightness of two smart-lights I have in my room (so that they wouldn't necessarily be tied to a smartphone app). It runs on a Raspberry Pi Zero and uses the python-kasa library, as well as 5 spare key switches I had lying around. Check the Github of python-kasa to see if your lightbulbs will work. If there's interest, I can share the script I'm using, but it would need to be modified by yourself to your network's specifications. Assembled using M3 bolts to hold the Pi in the case, as well as M4 bolts to hold everything together. You can leave it as it or mount it using the included mounts. Keycaps can be your choosing, but I'm using modified DSA keycaps from here: https://www.printables.com/model/395129-easy-to-print-blank-dsa-keycap.
Relevant github page:
https://github.com/python-kasa/python-kasa