# Problem with oled and RGB PIRON max 5

**URL:** <https://forum.sunfounder.com/t/problem-with-oled-and-rgb-piron-max-5/4051>\
**Category:** General\
**Created:** [November 23, 2025, 5:37pm UTC](https://forum.sunfounder.com/t/problem-with-oled-and-rgb-piron-max-5/4051 "2025-11-23T17:37:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![detoulouse1234](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@detoulouse1234](https://forum.sunfounder.com/u/detoulouse1234)\
**Post date:** [November 23, 2025, 5:37pm UTC](https://forum.sunfounder.com/t/problem-with-oled-and-rgb-piron-max-5/4051/1 "2025-11-23T17:37:30Z")

</div>

My piron max 5 is OK with a raspberry pi 5 16 Go

I have installed the software… you can see the dashboard

 ![1000097987](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/5/5fb6e5d33036e5856370c9b0db480a17c0a378f2.jpeg)

But the oled doesn’t work and the RGB stay down.

I checked some test :

theb@Tocard:~ $ sudo systemctl restart pironman5.service

theb@Tocard:~ $ cat /proc/device-tree/hat/product  
cat: /proc/device-tree/hat/product: No such file or directory

theb@Tocard:~ $ cat /proc/device-tree/hat/product  
cat: /proc/device-tree/hat/product: No such file or directory

theb@Tocard:~ $ cat /var/log/pironman5/pm\_auto.oled.log  
25/11/22 21:16:05.516 [ERROR] Failed to initialize OLED  
25/11/22 21:18:37.633 [ERROR] Failed to initialize OLED  
25/11/22 21:25:58.733 [ERROR] ‘SSD1306’ object has no attribute ‘draw’  
Traceback (most recent call last):  
File “/opt/pironman5/venv/lib/python3.11/site-packages/pm\_auto/utils.py”, line 11, in wrapper  
return func(self, \*args, \*\*kwargs)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/opt/pironman5/venv/lib/python3.11/site-packages/pm\_auto/oled.py”, line 222, in sleep  
self.oled.clear()  
File “/opt/pironman5/venv/lib/python3.11/site-packages/pm\_auto/ssd1306.py”, line 293, in clear  
self.draw.rectangle((0, 0, self.width, self.height), outline=0, fill=0)  
^^^^^^^^^  
AttributeError: ‘SSD1306’ object has no attribute ‘draw’  
25/11/23 11:38:44.795 [ERROR] Failed to initialize OLED  
25/11/23 16:49:22.933 [ERROR] Failed to initialize OLED  
25/11/23 18:17:41.405 [ERROR] Failed to initialize OLED

theb@Tocard:~ $ cat /var/log/pironman5/main.log  
25/11/22 21:16:05.388 [INFO]  
25/11/22 21:16:05.388 [INFO] ############################################################  
25/11/22 21:16:05.388 [DEBUG] Config path: /opt/pironman5/venv/lib/python3.11/site-packages/pironman5/config.json  
25/11/22 21:16:05.388 [DEBUG] Pironman5 version: 1.2.22  
25/11/22 21:16:05.388 [DEBUG] Variant: Pironman 5  
25/11/22 21:16:05.388 [DEBUG] Config: {‘system’: {‘data\_interval’: 1, ‘rgb\_color’: ‘#0a1aff’, ‘rgb\_brightness’: 50, ‘rgb\_style’: ‘breathing’, ‘rgb\_speed’: 50, ‘rgb\_enable’: True, ‘rgb\_led\_count’: 4, ‘temperature\_unit’: ‘C’, ‘oled\_enable’: True, ‘oled\_rotation’: 0, ‘oled\_disk’: ‘total’, ‘oled\_network\_interface’: ‘all’, ‘gpio\_fan\_pin’: 6, ‘gpio\_fan\_mode’: 0, ‘debug\_level’: ‘INFO’}}  
25/11/22 21:16:05.388 [DEBUG] Device info: {‘name’: ‘Pironman 5’, ‘id’: ‘pironman5’, ‘peripherals’: [‘storage’, ‘cpu’, ‘network’, ‘memory’, ‘history’, ‘log’, ‘ws2812’, ‘cpu\_temperature’, ‘gpu\_temperature’, ‘temperature\_unit’, ‘oled’, ‘clear\_history’, ‘delete\_log\_file’, ‘pwm\_fan\_speed’, ‘gpio\_fan\_state’, ‘gpio\_fan\_mode’], ‘version’: ‘1.2.22’, ‘app\_name’: ‘pironman5’}  
25/11/22 21:16:05.388 [DEBUG] PM\_Auto version: 1.2.12  
25/11/22 21:16:05.388 [DEBUG] PM\_Dashboard version: 1.2.10  
25/11/22 21:16:05.770 [INFO] PMAuto started  
25/11/22 21:16:05.840 [INFO] PmDashboard started  
25/11/22 21:18:36.496 [INFO] Received signal “Terminated”, cleaning up…  
25/11/22 21:18:36.497 [INFO] Stopping Pironman5  
25/11/22 21:18:36.497 [INFO] Stopping PMAuto  
25/11/22 21:18:36.827 [INFO] Stopping PmDashboard  
25/11/22 21:18:37.086 [INFO] Pironman5 stopped  
25/11/22 21:18:37.087 [WARNING] Thread Thread-1 is still alive  
25/11/22 21:18:37.612 [INFO]  
25/11/22 21:18:37.612 [INFO] ############################################################  
25/11/22 21:18:37.612 [DEBUG] Config path: /opt/pironman5/venv/lib/python3.11/site-packages/pironman5/config.json  
25/11/22 21:18:37.613 [DEBUG] Pironman5 version: 1.2.22  
25/11/22 21:18:37.613 [DEBUG] Variant: Pironman 5  
25/11/22 21:18:37.613 [DEBUG] Config: {‘system’: {‘data\_interval’: 1, ‘rgb\_color’: ‘#0a1aff’, ‘rgb\_brightness’: 50, ‘rgb\_style’: ‘breathing’, ‘rgb\_speed’: 50, ‘rgb\_enable’: True, ‘rgb\_led\_count’: 4, ‘temperature\_unit’: ‘C’, ‘oled\_enable’: True, ‘oled\_rotation’: 0, ‘oled\_disk’: ‘total’, ‘oled\_network\_interface’: ‘all’, ‘gpio\_fan\_pin’: 6, ‘gpio\_fan\_mode’: 0, ‘debug\_level’: ‘INFO’}}  
25/11/22 21:18:37.613 [DEBUG] Device info: {‘name’: ‘Pironman 5’, ‘id’: ‘pironman5’, ‘peripherals’: [‘storage’, ‘cpu’, ‘network’, ‘memory’, ‘history’, ‘log’, ‘ws2812’, ‘cpu\_temperature’, ‘gpu\_temperature’, ‘temperature\_unit’, ‘oled’, ‘clear\_history’, ‘delete\_log\_file’, ‘pwm\_fan\_speed’, ‘gpio\_fan\_state’, ‘gpio\_fan\_mode’], ‘version’: ‘1.2.22’, ‘app\_name’: ‘pironman5’}  
25/11/22 21:18:37.613 [DEBUG] PM\_Auto version: 1.2.12  
25/11/22 21:18:37.613 [DEBUG] PM\_Dashboard version: 1.2.10  
25/11/22 21:18:37.841 [INFO] PMAuto started  
25/11/22 21:18:37.905 [INFO] PmDashboard started  
25/11/22 21:32:44.532 [INFO] Received signal “Terminated”, cleaning up…  
25/11/22 21:32:44.532 [INFO] Stopping Pironman5  
25/11/22 21:32:44.532 [INFO] Stopping PMAuto  
25/11/22 21:32:45.181 [INFO] Stopping PmDashboard  
25/11/22 21:32:46.020 [INFO] Pironman5 stopped  
25/11/22 21:32:46.020 [WARNING] Thread Thread-1 is still alive  
25/11/23 11:38:44.670 [INFO]  
25/11/23 11:38:44.672 [INFO] ############################################################  
25/11/23 11:38:44.672 [DEBUG] Config path: /opt/pironman5/venv/lib/python3.11/site-packages/pironman5/config.json  
25/11/23 11:38:44.672 [DEBUG] Pironman5 version: 1.2.22  
25/11/23 11:38:44.672 [DEBUG] Variant: Pironman 5  
25/11/23 11:38:44.672 [DEBUG] Config: {‘system’: {‘data\_interval’: 1, ‘rgb\_color’: ‘#3bffbe’, ‘rgb\_brightness’: 91, ‘rgb\_style’: ‘rainbow’, ‘rgb\_speed’: 96, ‘rgb\_enable’: True, ‘rgb\_led\_count’: 4, ‘temperature\_unit’: ‘C’, ‘oled\_enable’: True, ‘oled\_rotation’: 180, ‘oled\_disk’: ‘/dev/mmcblk0’, ‘oled\_network\_interface’: ‘all’, ‘gpio\_fan\_pin’: 6, ‘gpio\_fan\_mode’: 0, ‘debug\_level’: ‘INFO’}}  
25/11/23 11:38:44.672 [DEBUG] Device info: {‘name’: ‘Pironman 5’, ‘id’: ‘pironman5’, ‘peripherals’: [‘storage’, ‘cpu’, ‘network’, ‘memory’, ‘history’, ‘log’, ‘ws2812’, ‘cpu\_temperature’, ‘gpu\_temperature’, ‘temperature\_unit’, ‘oled’, ‘clear\_history’, ‘delete\_log\_file’, ‘pwm\_fan\_speed’, ‘gpio\_fan\_state’, ‘gpio\_fan\_mode’], ‘version’: ‘1.2.22’, ‘app\_name’: ‘pironman5’}  
25/11/23 11:38:44.672 [DEBUG] PM\_Auto version: 1.2.12  
25/11/23 11:38:44.672 [DEBUG] PM\_Dashboard version: 1.2.10  
25/11/23 11:38:45.155 [INFO] PMAuto started  
25/11/23 11:38:45.245 [INFO] PmDashboard started  
25/11/23 16:48:53.752 [INFO] Received signal “Terminated”, cleaning up…  
25/11/23 16:48:53.752 [INFO] Stopping Pironman5  
25/11/23 16:48:53.752 [INFO] Stopping PMAuto  
25/11/23 16:48:54.280 [INFO] Stopping PmDashboard  
25/11/23 16:48:54.487 [INFO] Pironman5 stopped  
25/11/23 16:48:54.487 [WARNING] Thread Thread-1 is still alive  
25/11/23 16:49:22.807 [INFO]  
25/11/23 16:49:22.809 [INFO] ############################################################  
25/11/23 16:49:22.810 [DEBUG] Config path: /opt/pironman5/venv/lib/python3.11/site-packages/pironman5/config.json  
25/11/23 16:49:22.810 [DEBUG] Pironman5 version: 1.2.22  
25/11/23 16:49:22.810 [DEBUG] Variant: Pironman 5  
25/11/23 16:49:22.810 [DEBUG] Config: {‘system’: {‘data\_interval’: 1, ‘rgb\_color’: ‘#0a1aff’, ‘rgb\_brightness’: 50, ‘rgb\_style’: ‘breathing’, ‘rgb\_speed’: 50, ‘rgb\_enable’: True, ‘rgb\_led\_count’: 4, ‘temperature\_unit’: ‘C’, ‘oled\_enable’: True, ‘oled\_rotation’: 0, ‘oled\_disk’: ‘total’, ‘oled\_network\_interface’: ‘all’, ‘gpio\_fan\_pin’: 6, ‘gpio\_fan\_mode’: 0, ‘debug\_level’: ‘INFO’}}  
25/11/23 16:49:22.810 [DEBUG] Device info: {‘name’: ‘Pironman 5’, ‘id’: ‘pironman5’, ‘peripherals’: [‘storage’, ‘cpu’, ‘network’, ‘memory’, ‘history’, ‘log’, ‘ws2812’, ‘cpu\_temperature’, ‘gpu\_temperature’, ‘temperature\_unit’, ‘oled’, ‘clear\_history’, ‘delete\_log\_file’, ‘pwm\_fan\_speed’, ‘gpio\_fan\_state’, ‘gpio\_fan\_mode’], ‘version’: ‘1.2.22’, ‘app\_name’: ‘pironman5’}  
25/11/23 16:49:22.810 [DEBUG] PM\_Auto version: 1.2.12  
25/11/23 16:49:22.810 [DEBUG] PM\_Dashboard version: 1.2.10  
25/11/23 16:49:26.654 [INFO] PMAuto started  
25/11/23 16:49:26.717 [INFO] PmDashboard started  
25/11/23 18:17:39.642 [INFO] Received signal “Terminated”, cleaning up…  
25/11/23 18:17:39.643 [INFO] Stopping Pironman5  
25/11/23 18:17:39.643 [INFO] Stopping PMAuto  
25/11/23 18:17:40.036 [INFO] Stopping PmDashboard  
25/11/23 18:17:40.833 [INFO] Pironman5 stopped  
25/11/23 18:17:40.833 [WARNING] Thread Thread-1 is still alive  
25/11/23 18:17:41.384 [INFO]  
25/11/23 18:17:41.384 [INFO] ############################################################  
25/11/23 18:17:41.384 [DEBUG] Config path: /opt/pironman5/venv/lib/python3.11/site-packages/pironman5/config.json  
25/11/23 18:17:41.384 [DEBUG] Pironman5 version: 1.2.22  
25/11/23 18:17:41.384 [DEBUG] Variant: Pironman 5  
25/11/23 18:17:41.384 [DEBUG] Config: {‘system’: {‘data\_interval’: 1, ‘rgb\_color’: ‘#0a1aff’, ‘rgb\_brightness’: 50, ‘rgb\_style’: ‘breathing’, ‘rgb\_speed’: 50, ‘rgb\_enable’: True, ‘rgb\_led\_count’: 4, ‘temperature\_unit’: ‘C’, ‘oled\_enable’: True, ‘oled\_rotation’: 0, ‘oled\_disk’: ‘total’, ‘oled\_network\_interface’: ‘all’, ‘gpio\_fan\_pin’: 6, ‘gpio\_fan\_mode’: 0, ‘debug\_level’: ‘INFO’}}  
25/11/23 18:17:41.384 [DEBUG] Device info: {‘name’: ‘Pironman 5’, ‘id’: ‘pironman5’, ‘peripherals’: [‘storage’, ‘cpu’, ‘network’, ‘memory’, ‘history’, ‘log’, ‘ws2812’, ‘cpu\_temperature’, ‘gpu\_temperature’, ‘temperature\_unit’, ‘oled’, ‘clear\_history’, ‘delete\_log\_file’, ‘pwm\_fan\_speed’, ‘gpio\_fan\_state’, ‘gpio\_fan\_mode’], ‘version’: ‘1.2.22’, ‘app\_name’: ‘pironman5’}  
25/11/23 18:17:41.384 [DEBUG] PM\_Auto version: 1.2.12  
25/11/23 18:17:41.384 [DEBUG] PM\_Dashboard version: 1.2.10  
25/11/23 18:17:44.728 [INFO] PMAuto started  
25/11/23 18:17:44.800 [INFO] PmDashboard started

theb@Tocard:~ $ cat /var/log/pironman5/pm\_auto.ws2812.log  
25/11/22 21:16:05.516 [ERROR] SPI not enabled  
25/11/22 21:18:37.634 [ERROR] SPI not enabled  
25/11/23 11:38:44.795 [ERROR] SPI not enabled  
25/11/23 16:49:22.933 [ERROR] SPI not enabled  
25/11/23 18:17:41.405 [ERROR] SPI not enabled

I’m afraid I need some help

thanks !

---

<div class="post-metadata">

**Author:** ![Weirdyguy](https://avatars.discourse-cdn.com/v4/letter/w/d78d45/32.png) [@Weirdyguy](https://forum.sunfounder.com/u/Weirdyguy)\
**Post date:** [November 23, 2025, 8:20pm UTC](https://forum.sunfounder.com/t/problem-with-oled-and-rgb-piron-max-5/4051/2 "2025-11-23T20:20:32Z")

</div>

I think you don’t installed the good version of pironman5 software.

Follow this tutorial.

> **[Set Up on Raspberry Pi/Ubuntu/Kali/Homebridge OS — SunFounder Pironman 5 ...](https://docs.sunfounder.com/projects/pironman5/en/latest/pironman5_max/set_up/set_up_rpi_os.html)**

Copy and paste each commands to avoid any typing mistake.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [November 24, 2025, 7:08am UTC](https://forum.sunfounder.com/t/problem-with-oled-and-rgb-piron-max-5/4051/3 "2025-11-24T07:08:41Z")

</div>

If you’ve confirmed the correct Pironman 5 software is installed but the MAX IO Board is still not detected, the IO Board itself may be faulty.

> **[Set Up on Raspberry Pi/Ubuntu/Kali/Homebridge OS — SunFounder Pironman 5 ...](https://docs.sunfounder.com/projects/pironman5/en/latest/pironman5_max/set_up/set_up_rpi_os.html#downloading-and-installing-the-pironman5-module)**

Please run these commands to verify the installation:

cd ~  
git clone -b max [GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5)](https://github.com/sunfounder/pironman5.git) --depth 1  
cd ~/pironman5  
sudo python3 install.py

If the issue persists, please contact [service@sunfounder.com](mailto:service@sunfounder.com) with your shipping address. We can arrange a replacement IO Board for you.
