Skip to content
andersixPublic

About

Pi-hole Display Controller enhances your Raspberry Pi Pi-hole with an LCD screen for status, and buttons for pi-hole and system functions

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NOTE: DOES NOT WORK IN RPIOS > BOOKWORM... I'm working on this. This message will self-destruct when working

Pi-hole Display Controller

Physical display and button controls for your Pi-hole installation.


What is This?

The Pi-hole Display Controller adds a 2.8" LCD display and button controls to your Raspberry Pi running Pi-hole. It displays real-time Pi-hole statistics via PADD (Pi-hole Admin Display Dashboard) and provides physical buttons for managing your Pi-hole and system without needing SSH or a keyboard.

This is an enhancement to an existing, working Pi-hole setup. You should have Pi-hole installed and functioning on a Raspberry Pi before adding this display controller.


Features

โœจ Real-time Statistics Display

  • Shows Pi-hole stats, queries blocked, gravity database info
  • Displays network information and system status
  • Updates automatically via PADD dashboard
  • Adjustable display brightness (8 levels)

๐ŸŽฎ Physical Button Controls

  • Dim display with single button press
  • Update Pi-hole gravity database
  • Update Pi-hole core software
  • Update PADD dashboard
  • Update Raspberry Pi OS and packages
  • Reboot or shutdown system safely

๐Ÿš€ Automatic Startup

  • Starts automatically on boot
  • No SSH or keyboard required once configured
  • Runs in background via tmux sessions

๐Ÿ”ง Highly Configurable

  • Centralized YAML configuration
  • Customizable display brightness levels with gamma correction
  • Adjustable menu timeouts
  • Configurable paths for custom installations

Hardware Requirements

  • Raspberry Pi: 3B, 3B+, or 4 (RPi 5 not supported)
  • Display: Adafruit PiTFT Plus 320x240 2.8" TFT (link)
  • Buttons: Faceplate and Buttons Pack for 2.8" PiTFTs (link)
  • Case: Optional but recommended (example)


Documentation

๐Ÿ“– Installation Guide - Complete setup instructions from start to finish

๐ŸŽฎ User Guide - How to use the buttons and control your Pi-hole


Quick Overview

Button Layout

 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”‚ PI-HOLE =============== โ”‚  Button 1   โ”‚ โ† Brightness / Pi-hole Menu
 โ”‚                         โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
 โ”‚ STATS ================= โ”‚  Button 2   โ”‚ โ† System Menu
 โ”‚                         โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
 โ”‚ NETWORK =============== โ”‚  Button 3   โ”‚ โ† Menu Option 1
 โ”‚                         โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
 โ”‚ SYSTEM ================ โ”‚  Button 4   โ”‚ โ† Menu Option 2
 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Normal Mode (PADD Display)

  • Button 1 Press: Cycle brightness levels, from full to off
  • Button 1 Hold (2s): Open Pi-hole Update Menu
  • Button 2 Hold (2s): Open System Control Menu

Pi-hole Update Menu

  • Button 2: Update Gravity (blocklists)
  • Button 3: Update Pi-hole core
  • Button 4: Update PADD dashboard

System Control Menu

  • Button 2: Update Raspberry Pi OS
  • Button 3: Reboot system
  • Button 4: Shutdown system

See the User Guide for detailed instructions.


Software Components

This project uses:

  • Python 3 - Application logic and hardware control
  • PADD - Pi-hole Admin Display Dashboard (included as submodule from pi-hole/PADD)
  • tmux - Terminal multiplexer for managing display and control windows
  • pigpio - Hardware PWM control for display backlight
  • gpiozero - GPIO button interface

Getting Started

Ready to install? Head over to the Installation Guide for complete setup instructions.

The installation process has three phases:

  1. Foundation - Ensure Raspberry Pi and Pi-hole are working
  2. Hardware - Install and configure the PiTFT display
  3. Application - Install the display controller software

Estimated time: 1-2 hours for first-time installation


Screenshots

*PADD displaying Pi-hole statistics*

*Pi-hole Update Menu*

*System Control Menu*

Contributing

Contributions are welcome! Here's how you can help:

  • ๐Ÿ› Report bugs - Open an issue describing the problem
  • ๐Ÿ’ก Suggest features - Share your ideas for improvements
  • ๐Ÿ”ง Submit pull requests - Fix bugs or add features
  • ๐Ÿ“– Improve documentation - Help make the docs clearer

Third-Party Components


Support


Acknowledgments

  • Pi-hole Team - For the amazing ad-blocking DNS server and PADD dashboard
  • Adafruit - For the PiTFT display hardware and driver software
  • Community Contributors - For feedback, bug reports, and improvements

About

Pi-hole Display Controller enhances your Raspberry Pi Pi-hole with an LCD screen for status, and buttons for pi-hole and system functions

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages