I installed LibreELEC 10.0.2 on Raspberry Pi 4 with an Argon ONE v2 case. I want to install the Argon ONE power button / fan control software.
I execute the script the manual refers to (for Raspbian, which LibreELEC isn’t but is based on)
That kind of looks like the curl transfer failed, I tried it (don’t have a argon1 case, so I simply transfered the file over, and I get the following output:
curl https://download.argon40.com/argon1.sh > argon1.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21361 100 21361 0 0 22772 0 --:--:-- --:--:-- --:--:-- 22748
Looks to me like the curl command failed near the end, then bash attempted to execute the code.
work with LibreELEC 10.0.2: Two addons have to be installed and an environment file has to be included.
To install the two addons Raspberry Pi Tools and System Tools go to
Add-ons -> Install from repository -> LibreELEC Add-ons -> Program add-ons
and select the two addons.
And /etc/environment has to be included in the systemd startup script /storage/.config/system.d/argononed.service in the section [Service]:
EnvironmentFile=/etc/environment
otherwise you will get an error:
Dec 18 15:30:13 LibreELEC python[1139]: Traceback (most recent call last):
Dec 18 15:30:13 LibreELEC python[1139]: File "/storage/.config/argononed.py", line 4, in <module>
Dec 18 15:30:13 LibreELEC python[1139]: import smbus
Dec 18 15:30:13 LibreELEC python[1139]: ImportError: libi2c.so.0: cannot open shared object file: No such file or directory
This didn’t work for me, unfortunately. These are the steps I took:
Fresh install of LibreELEC v11.0.1; booted successfully.
Configured wifi and enabled ssh within the LibreELEC interface.
Successfully installed ‘Raspberry Pi Tools’ and ‘System Tools’ add-ons within LibreELEC, then rebooted via the Power icon in the Home interface.
Logged in via ssh and ran curl https://download.argon40.com/argonone-setup-libreelec.sh | bash
Script downloads and runs, then displays Argon One Setup Completed message.
Ran nano /storage/.config/system.d/argononed.service
Added EnvironmentFile=/etc/environment immediately below the default ExecStart=… line; no other modifications made to any other Argon One-relevant files.
Rebooted via ssh session, but no fan activity when LibreELEC comes back up; also tried manually power cycling, but still no fan.