My piron max 5 is OK with a raspberry pi 5 16 Go
I have installed the software… you can see the dashboard
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 !
