Pironman 5 - OLED config

Where is the code that controls the content of the OLED and is it customizable?
Also where is the HTML/PHP for the Dashboard located?

I feel like doing some (unsupported) customization.

Cheers

The code repository for pironman5: GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5)
And references the following repositories
‘pm_auto’: ‘git+https://github.com/sunfounder/pm_auto.git’,
‘pm_dashboard’: ‘git+https://github.com/sunfounder/pm_dashboard.git’,
‘sf_rpi_status’: ‘git+https://github.com/sunfounder/sf_rpi_status.git’,

@jmfweather Did you ever manage to figure this out? I would be keen to put something else on there if you managed it.

The key bit in the repository) is here: pm_auto/pm_auto/oled_page at main ¡ sunfounder/pm_auto ¡ GitHub

The challenge would then be to find the various files (eg. “all.py”) on your PI5 and then experimenting with changes. Probably restarting the Pironman5 service each time to make any changes effective.

I’m leaving mine alone as I have it running headless and I don’t look at the OLED very often so it’s not worth the hassle to do the guesswork.

1 Like