Argon ONE fan script for DietPi Troubles

Been using : GitHub - gwylanscheeren/argonone_dietpi: Argon One fan control script, adapted for the DietPi operating system

For my HAT :tophat: but, last update broke my script. And I know is entirely my mistake that I updated without a backup. Anyway… after some intensive research (I’m a newbie) I found that these 2 lines of code fixed it (don’t ask me how, it just did):

sudo apt remove python3-rpi.gpio
sudo apt install python3-rpi-lgpio

But, now the script /usr/bin/argononed.py ain’t starting like it used to be… like right away on boot… takes like a minute or more. And I don’t like that cuz thing’s buzzing when power goes off and I sleep.

So, I’m begging for some help to make it start faster on boot.

I wonder why you don’t use the original argon one script? I use also a RPi 4 with an argon one case and it works fine.

But whatever, the script should create a service, maybe you can check the logs if it

journalctl -u argononed.service

The original argon one script never worked on dietpi or spins all the time. I know for a fact there’s a good reason I avoided it. But, that’s beside the point and furthermore a waste of time to talk about that.

The only log I’m getting is

Feb 12 22:11:37 DietPi systemd[1]: Started argononed.service - Argon One Fan and Button Service.

After further investigation I found out that this may be an issue with python3.