Home assistant data logger stopped

Logs:

26/06/23 16:19:30.143 [INFO] Data Logger Start

26/06/23 16:19:30.156 [ERROR] ‘NoneType’ object has no attribute ‘current’

Traceback (most recent call last):

File “/opt/pironman5/venv/lib/python3.12/site-packages/pm_dashboard/utils.py”, line 4, in wrapper

return func(self, \*args, \*\*kwargs)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/opt/pironman5/venv/lib/python3.12/site-packages/pm_dashboard/data_logger.py”, line 84, in loop

cpu_freq = get_cpu_freq()

           ^^^^^^^^^^^^^^

File “/opt/pironman5/venv/lib/python3.12/site-packages/sf_rpi_status/status.py”, line 53, in get_cpu_freq

return CPUFreq(cpu_freq())

       ^^^^^^^^^^^^^^^^^^^

File “/opt/pironman5/venv/lib/python3.12/site-packages/sf_rpi_status/status.py”, line 29, in _init_

self.\_current = data.current

                ^^^^^^^^^^^^

AttributeError: ‘NoneType’ object has no attribute ‘current’

Home assistant: 2026.6.4

Haos: 18.0

I have forwarded your case to our technical team for review.
They will analyze the information you provided and get back to you as soon as they have a solution or further questions.
We appreciate your patience and will keep you updated.

We have not yet been able to reproduce this issue on our side. From the logs, this does not appear to be a hardware failure. Instead, the Pironman 5 Dashboard’s Data Logger fails when trying to read the CPU frequency in the Home Assistant OS (HAOS) environment, resulting in a NoneType error.

To rule out the possibility of a faulty add‑on installation, we recommend that you first uninstall and reinstall the Pironman 5 add‑on, and then observe whether the error still occurs.

At the same time, please check whether the basic functions of the Pironman 5 (such as the fan, OLED display, and RGB LEDs) are working normally.

If the issue persists after reinstalling the add‑on, please let us know and we will continue to help you investigate. We will also share your case with our R&D team for further analysis.

Thank you for your patience and cooperation.

Thanks for info. I uninstall addon, reboot the system and reinstall but same errormessage appear. But i notised that OLED-screen not working properly (all letters and numbers are scranbled). Could fhis cause this problem ?

If the OLED is not displaying properly, that is not normal. Could you please confirm whether you have completed the “Install the Pi Config Wizard Add-on” step as described in our documentation, and restarted Home Assistant twice as required?

This is important because I2C and SPI need to be enabled, and the changes only take full effect after two reboots. If this step was not completed, the OLED may not work correctly.

However, we believe the OLED display issue and the Data Logger error are two separate problems. The OLED not working should not cause the Data Logger to stop.

Please confirm whether you have completed the Pi Config Wizard configuration and the two restarts. If you have, let us know and we will continue to help you troubleshoot the Data Logger issue.

Now it is workong again. Dolution was haos 18.1 ipdate, it fix all.

Congratulations on resolving the issue – and thank you for sharing the solution with the community!

We truly appreciate you taking the time to post the fix. We will also make a note of this in our internal records and consider adding it to our knowledge base to help other users who might encounter a similar situation.

Your contribution is valuable to the community. Thank you again for sharing!