[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Current Temperature 53 °C
Level 1 - Fan 0% (OFF)
/run.sh: line 83: i2cset: command not found
I should add that i2cset is available from the pi command line.
Sorry about misleading you on the OS version. Brain failure.
I’ve installed 0.12b (and rebooted) and get the same error in the log.
My log is
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Current Temperature 52 °C
Quiet Level 2 - Fan 1% (Low)
/run.sh: line 92: i2cset: command not found
Current Temperature 50 °C
Level 1 - Fan 0% (OFF)
/run.sh: line 83: i2cset: command not found
Current Temperature 51 °C
Quiet Level 2 - Fan 1% (Low)
/run.sh: line 92: i2cset: command not found
Current Temperature 50 °C
/run.sh: line 83: i2cset: command not found
Level 1 - Fan 0% (OFF)
Current Temperature 50 °C
Current Temperature 51 °C
Quiet Level 2 - Fan 1% (Low)
/run.sh: line 92: i2cset: command not found
Current Temperature 50 °C
Level 1 - Fan 0% (OFF)
/run.sh: line 83: i2cset: command not found
My config is
CorF: C
LowRange: 50
MediumRange: 60
HighRange: 70
QuietProfile: true
Looks like I need to recreate your setup. I have a machine available for that. Can you point me to a guide so I can save some time? I prefer Debian-based distros to Alpine, and I like this challenge.
I changed my Pi installation from an external USB SSD to an internal M.2 SSD inside the Argon One case (only attached the new bottom). I installed a new HassOS 5.10 and restored a snapshot.
Then I installed your I2C Addon, booted two times and everything is working fine!
Then I installed you Fan Addon and it also worked without any problem.
Now I only have to get full control to the power button (short press: shutdown, double press: reboot).
There is no built-in support for short press. However, a GPIO goes high when you double-tap and that is enough to trigger an action, mentioned above. Supposedly there is some difference when you press for 3seconds or more and a hard power off at 5 seconds.
The original code looks like this (this is my changed version for a piCorePlayer installation, “pcp bs” means backup+shutdown and “pcp br” means backup+reboot):
pulsetime = 1
GPIO.wait_for_edge(shutdown_pin, GPIO.RISING)
time.sleep(0.01)
while GPIO.input(shutdown_pin) == GPIO.HIGH:
time.sleep(0.01)
pulsetime += 1
if pulsetime >=2 and pulsetime <=3:
os.system("pcp br")
elif pulsetime >=4 and pulsetime <=5:
os.system("pcp bs")
So it looks like they measure the seconds the key is pressed.
I will look into it if I find the time. Thank you!
Today I found this in my logfile:
21-02-08 13:11:55 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'devices' use a deprecated format, the new format uses a list of paths only. Please report this to the maintainer of ArgonOne Active Cooling