Issue with Pironman 5 Service - ModuleNotFoundError: pm_auto.fan_control

Dear SunFounder Support Team,

I am writing to report an issue I’m encountering with the Pironman 5 service on my Raspberry Pi 5 running Raspberry Pi OS on a 250GB NVME Drive. After following the installation instructions for the Pironman 5, the service consistently fails to start with the following error:

ModuleNotFoundError: No module named 'pm_auto.fan_control

I have tried to resolve this by following the steps outlined in the pm_auto GitHub repository for building and installing the package within a virtual environment. I used the following commands:

cd ~/pironman5/pm_auto
source ~/pironman5/venv/bin/activate
pip install build
python3 -m build
pip install dist/*.whl
deactivate
sudo reboot

Despite these steps, the error persists. I have also checked the contents of the installed pm_auto package in the virtual environment’s site-packages directory using the command:

ls /opt/pironman5/venv/lib/python3.11/site-packages/pm_auto/

The output of this command shows the following:

fonts __init__.py libs pm_auto.py __pycache__ services version.py

As you can see, the crucial fan_control.py file or a fan_control directory is missing from this list. This absence of the fan_control module appears to be the reason why the Pironman 5 service cannot start.

I am a user with limited coding experience, and I have followed the provided instructions to the best of my ability with the assistance of Gemini AI. I would greatly appreciate any guidance you can offer to resolve this issue and get the Pironman 5 service running correctly.

At the moment, after all the options I’ve tried, the LED Display isn’t working, I am unable to control the RGB Lighting on the Pironman 5, and the Dashboard isn’t working… all consequences of this one module that should be there and, for some reason, isn’t.

This has happened in the past and with a lot of help from Gemini I was able to correct previous issues after automated system upgrades, but at this point I am totally at a loss … don’t know what to do next …

Can you help?

Please, deleting my system and starting again isn’t an option as that would be the nuclear option, and I would like to NOT lose all the setup I have made within the last 6 months.

Thank you for your time and assistance.

Nuno

To better assist you, please provide the following information:

  1. Current System: What OS and version are you using?

Installation Instructions for PiRonnman5:

  1. Install a Compatible System:
  1. Set Up PiRonnman5 Software:

sudo apt-get update sudo apt-get install git -y sudo apt-get install python3 python3-pip python3-setuptools -y

  • If you are using a desktop OS version, these commands are not required.
  1. Provide Installation Screenshots:
  • Please share full screenshots of the installation process for further troubleshooting.

Recommendation:

For optimal performance, we recommend reinstalling the OS before installing PiRonnman5 software. This often resolves potential compatibility issues.

Hi,

  1. Current System: What OS and version are you using?

Raspberry Pi OS with desktop and recommended software
System: 64-bit
Kernel version: 6.12
Debian version: 12 (bookworm)

  1. Install a Compatible System:

It is on the list of compatible OSs already … So I would say I’m covered there …

Follow the step-by-step setup guide here:
:link: PiRonnman5 Software Setup Tutorial

There’s so many times I can do this (4 at this point) … and I’ve given information previously on the steps I’ve taken to troubleshoot the installation script which doesn’t create the needed files for the setup to work correctly.

For optimal performance, we recommend reinstalling the OS before installing PiRonnman5 software. This often resolves potential compatibility issues.

This, as I’ve said previously is something I am avoiding since the only thing that’s not working properly is the Pironman 5 software … would you format your Office PC because you’re unable to install a printer? It’s the same thing … this is my personal desktop “daily driver” for the last 6 months …

Is there some kind of script to uninstall the software completely so that I can try this once again? Or do I just delete the Pironman 5 folder?

Help please …

Thank You!

So … I’ve deleted all folders related to Pironman 5 on my user space … Both “Pironman5” and “pm_auto” which was located outside the “Pironman5” folder in the user space folder as well … don’t know why … I didn’t put it there … that I’m quite sure of.
Ran the install script again and rebooted … everything now works …
I’m guessing each time some update is made on influxdb this will happen as it seems it repeats everytime an update for influxdb comes along … annoying but something I can do: rinse and repeat …
It’s working now so … this may be closed.
Maybe doing this would be a better suggestion than just “delete your Operating System and re-install” … seems a bit too much.

We are very sorry, we have installed the pironman5 software for a long time, and the software has not been modified and can work normally.
If you want to reinstall the software on the original system, you can execute the sudo python3 --install.py --uninstall command to uninstall the software, and then reinstall the pironman5 software according to the tutorial. In order to use the latest version of the software, it is recommended that you execute the following instructions:
cd pironman5
git pull
sudo python3 install