{"id":21963967,"url":"https://github.com/rob2n/pihole_monitor","last_synced_at":"2026-04-28T12:31:38.106Z","repository":{"id":50692184,"uuid":"519841754","full_name":"Rob2n/PiHole_Monitor","owner":"Rob2n","description":"Display PiHole statistics on 128x64 I²C LCD","archived":false,"fork":false,"pushed_at":"2022-07-31T18:52:08.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T01:13:53.119Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rob2n.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-31T17:23:30.000Z","updated_at":"2022-07-31T18:17:24.000Z","dependencies_parsed_at":"2022-08-17T22:40:44.797Z","dependency_job_id":null,"html_url":"https://github.com/Rob2n/PiHole_Monitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rob2n%2FPiHole_Monitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rob2n%2FPiHole_Monitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rob2n%2FPiHole_Monitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rob2n%2FPiHole_Monitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rob2n","download_url":"https://codeload.github.com/Rob2n/PiHole_Monitor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245020475,"owners_count":20548194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T12:00:17.735Z","updated_at":"2025-10-17T11:15:24.971Z","avatar_url":"https://github.com/Rob2n.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiHole_Monitor\nDisplay PiHole statistics on ssd1306 128x64 I²C LCD\n\u003e Inspired by [this tutorial](https://www.raspberrypi-spy.co.uk/2019/10/pi-hole-oled-status-screen/) but tweaked, updated for 2022 libraries and without LED (and it works)\n\n## Circuit Diagram\n![Circuit Diagram](https://github.com/Rob2n/PiHole_Monitor/blob/main/PiHole_Monitor_sketch.svg)\n\n## Installation\n\nFor Raspberry OS, make sure I²C is enabled within config\n```\nsudo raspi-config\n```\n\nInstall required libraries (might work without all of them but just in case)\n```\nsudo apt install python3-gpiozero \u0026 pip install RPi.GPIO adafruit-circuitpython-ssd1306\n```\n\nDownload PiHole_mon.py and font file\n```\nwget https://raw.githubusercontent.com/Rob2n/PiHole_Monitor/main/PiHole_mon.py ; wget https://raw.githubusercontent.com/Rob2n/PiHole_Monitor/main/VCR_OSD_MONO_1.001.ttf\n```\n### Run on startup\n\nAdd a cron task by doing\n```\ncrontab -e\n```\nand add the following line to the end\n```\n@reboot python3 /home/pi/PiHole_mon.py \u0026\n```\nEvery 30 seconds the screen refreshes the displayed data.\n\nBy pressing the button you can switch screens to display more info.\nThe different screens are:\n\n* Screen 1 (Main)\n  * Total blocked percentage\n  * Total blocked count\n* Screen 2\n  * Total blocked count\n  * Total number of queries\n  * CPU temperature\n* Screen 3\n  * CPU usage\n  * Memory in use/Total memory\n  * Disk space used/Total disk space\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frob2n%2Fpihole_monitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frob2n%2Fpihole_monitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frob2n%2Fpihole_monitor/lists"}