r/raspberry_pi • u/Kommipro • 15h ago
Show-and-Tell My Raspberry Pi 5 runs my smart home. But controlling its own case was surprisingly difficult.
I've been running Home Assistant Container on my Raspberry Pi 5 for a while now, along with a few other Docker services.
The Pi is inside a SunFounder Pironman 5 case, which has a fan, RGB lighting and an OLED display.
One thing that always bothered me was that I could control pretty much everything in my smart home through Home Assistant, except the case my Pi was sitting in. 😅
I looked into the Pironman's local REST API and started building a custom Home Assistant integration.
Initially, I just wanted to monitor the hardware and control the fan. Eventually, I added RGB lighting, OLED display controls and more system sensors.
Since I'm using Home Assistant Container, I also wanted it to work over the network without needing Home Assistant installed directly on the Pi.
I've since added support for the Pironman 5 Max and spent quite a bit of time fixing bugs, testing things and improving the integration.
A few days ago, it was accepted into the default HACS repository, so it can now be installed directly through HACS without adding a custom repository.
That was pretty cool, especially since I originally built it just to solve an annoyance with my own setup.
Here's the GitHub repo if anyone wants to have a look or try it:
https://github.com/ChristophKomenda/pironman5-homeassistant-container
I'd be interested to know if anyone else is running Home Assistant Container on a Raspberry Pi and how you're handling hardware monitoring or fan control.