Skip to content

pi-hole / bookworm / st7789 changes #3049

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 4, 2025
Merged

pi-hole / bookworm / st7789 changes #3049

merged 7 commits into from
Jun 4, 2025

Conversation

mikeysklar
Copy link
Collaborator

@mikeysklar mikeysklar commented Jun 2, 2025

A lot has changed since this guide was released.

Pi Hole 6.x had a major update around March 2025 which dramatically changed the API.

This code was tested and work with a MiniPiTFt on a Pi 4. I'd like to update the guide to support accommodate the software updates.

+-------------------------------------------------------+
|                   Summary of Changes                  |
+-------------------------------------------------------+
| Updated API endpoint to /api/stats/summary            |
| Modified ST7789 constructor signature                  |
| Adjusted PIL buffer size to 240×135                    |
| Removed extra rotation argument in disp.image call     |
| Changed JSON keys to data["queries"]["…"] and ["clients"] |
| Expanded exception handling for network/JSON errors     |
+-------------------------------------------------------+

A lot has changed since this guide was release.

The Pi Hole 6.x release in early 2025 dramatically changed the API.

Bookworm changes how some of the pins are used.

Even the ST7789 MiniPiTFT chip has some different options.

This code was tested and work with a MiniPiTFt on a Pi 4. I'd like to update the guide to support accommidate the software updates.
@TheKitty
Copy link
Collaborator

TheKitty commented Jun 2, 2025

Please be sure all source files have the correct SPDX identifiers https://learn.adafruit.com/submitting-arduino-code-to-the-adafruit-learning-system

confirmed Pi OLED (SSD1306 I2C) works with new Pi Hole 6.x release code.
@mikeysklar mikeysklar merged commit 07967a2 into main Jun 4, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants