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