Argon One Case Fan Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
Ode
Posts: 9
Joined: Thu Jul 02, 2020 3:06 pm

Argon One Case Fan

Post by Ode »

Hi all,

I 'm using DietPi on a Pi4 with a Argone ONE Pi 4 Case. Cool little case with a power button and a fan.

After installing the app to control the power button and fan from: https://download.argon40.com/argon1.sh and rebooting, the Power buttons work but i cannot get the FAN to work.

Does anyone have this case and is running Dietpi. Were you able to get the FAN working?

I'm pretty new to Linux, but i found this:

Code: Select all

 sudo systemctl status argononed.service
● argononed.service - Argon One Fan and Button Service
   Loaded: loaded (/lib/systemd/system/argononed.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2020-07-02 14:09:56 BST; 13min ago
  Process: 513 ExecStart=/usr/bin/python3 /usr/bin/argononed.py (code=exited, status=1/FAILURE)
 Main PID: 513 (code=exited, status=1/FAILURE)

Jul 02 14:09:56 BeastiPi systemd[1]: argononed.service: Service RestartSec=100ms expired, scheduling restart.
Jul 02 14:09:56 BeastiPi systemd[1]: argononed.service: Scheduled restart job, restart counter is at 5.
Jul 02 14:09:56 BeastiPi systemd[1]: Stopped Argon One Fan and Button Service.
Jul 02 14:09:56 BeastiPi systemd[1]: argononed.service: Start request repeated too qu
ickly.
Jul 02 14:09:56 BeastiPi systemd[1]: argononed.service: Failed with result 'exit-code
'.
Jul 02 14:09:56 BeastiPi systemd[1]: Failed to start Argon One Fan and Button Service
.
dietpi@BeastiPi:~$ systemd[1]: Failed to start Argon One Fan and Button Service
-bash: systemd[1]:: command not found
here is the service config

Code: Select all

#/lib/systemd/system/argononed.service
--------------------------------------------------
[Unit]
Description=Argon One Fan and Button Service
After=multi-user.target
[Service]
Type=simple
Restart=always
RemainAfterExit=true
ExecStart=/usr/bin/python3 /usr/bin/argononed.py
[Install]
WantedBy=multi-user.target
--------------------------------------------------
Thanks
User avatar
Ode
Posts: 9
Joined: Thu Jul 02, 2020 3:06 pm

Re: Argon One Case Fan

Post by Ode »

Seems dietpi is not alone when it comes to issues with the FAN. Seems RetroPie too at somepoint.
Unfortunately, in RetroPie I can’t get the fan to switch on at all. The power button behaves like it’s supposed to, but even setting the fan to ‘Always On’ fails to initialise it. I’ve contacted Argon40 about this issue and they’ve been prompt in getting back to me. They’ve said they’ll test it and will hopefully provide a revised script sometime soon. The fan runs as expected in Raspbian so it’s not a hardware fault, more likely something to do with the way RetroPie is configured.
From: https://obscurehandhelds.com/2020/05/th ... rpi4-case/
User avatar
Ode
Posts: 9
Joined: Thu Jul 02, 2020 3:06 pm

Re: Argon One Case Fan

Post by Ode »

Using the OSMC script got it going

Code: Select all

curl https://download.argon40.com/argonone-setup-osmc.sh | bash
Perhaps something from python wasnt fully installed?

comapared 2 scripts, and among other differences:

Code: Select all

pkglist=(python-setuptools python-pip python-dev gcc python-smbus python3-smbus i2c-tools)
Last edited by Ode on Thu Jul 02, 2020 5:13 pm, edited 1 time in total.
User avatar
Joulinar
Posts: 2597
Joined: Sat Nov 16, 2019 12:49 am

Re: Argon One Case Fan

Post by Joulinar »

Hi,

many thanks for your report. Hmm argononed.service is failing. Can you have a look into /var/log/ if there are any log files present?

What happen if you try to execute the following command on CLI

Code: Select all

/usr/bin/python3 /usr/bin/argononed.py
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
Ode
Posts: 9
Joined: Thu Jul 02, 2020 3:06 pm

Re: Argon One Case Fan

Post by Ode »

Thanks. I wasn't able to find anything in the logs.

After reading that other systems were affected, (it seems 3rd party images are not supported), i went to the Argon40 site. They have released specific scripts for other systems like OSMC, LibreELEC.
I tried the OSMC script, rebooted and the fan came on. (i had previously configured the the fan to be always on).
A quick comparison seemed to point to missing Python 3 libs? Dunno...

Hope this helps anyone on DietPi v6.30.0 with this case.

Kudos to Dietpi and its community!
User avatar
Joulinar
Posts: 2597
Joined: Sat Nov 16, 2019 12:49 am

Re: Argon One Case Fan

Post by Joulinar »

If you install Python using dietpi-software, just a base installation is done. If specific extensions are needed, thy would need to be installed separately. As far as I can see, this is done by the script as well some specific settings within /boot/config.txt
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
BeerBandito
Posts: 1
Joined: Thu Mar 19, 2020 10:36 am

Re: Argon One Case Fan

Post by BeerBandito »

Ode wrote: Thu Jul 02, 2020 8:48 pm
Hope this helps anyone on DietPi v6.30.0 with this case.
It helped me!

Thank you kind sir.
MonsieurK
Posts: 10
Joined: Sat Jun 06, 2020 9:05 am

Re: Argon One Case Fan

Post by MonsieurK »

Hi,
Just a post to say thank you, it also helped me!

Cheers,
K
Post Reply