Skip to content

Code and STL files for a giant button that disables your pi-hole!

License

Notifications You must be signed in to change notification settings

Gabbajoe/pi-hole-button

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-hole-button

button green I built a Red Button to disable my pi-hole! This was inspired by Christopher Moravec see his original repo and youtube video. The button design with the Raspberry Pi Pico W in the base was inspire by Dmytro Panin BOB

As I didn't like to purchased a new micro controller or a of the shelf button I designed, inspired by BOB, my own button case.

I also change a bit the code from Christopher Moravec to suite my needs as I have only the ws2812 leds and didn't like the idea to have some things hardcoded so I moved them to the settings.py

Hardware you need:

To get this working:

  1. I solder the WS2812 LED strip to the Raspberry Pi Pico W VBU, GND, GP28 and the MX switch to GND and GP6 like this: soldering
  2. More details about the assembly you see in the images folder
  3. Flash your Raspberry Pi PIco W with CircuitPython download
  4. Copy main.py, setings.py, and settings.toml onto your Raspberry Pi Pico W
  5. Install CircuitPython packages. I use circup for this: circup install --auto
  6. Update settings.py with your pi-hole's API key, pi-hols hostname/IP and Pins on your Raspberry Pi Pico W.
  7. Update settings.toml with your wifi information.

Some useful links:

About

Code and STL files for a giant button that disables your pi-hole!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%