Argon One v1v2 Active Cooling and Active Linear Cooling Addon

Installed ok.

Error on startup in log:

[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.

Bother - I have misled you. I am not running Debian (that is my main HA installation) I am running Raspberry Pi OS (aka Raspbian.)

ok. Try 0.12b.

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.

It’s very kind of you to go to so much trouble.

This install was done by following the (now deprecated) community guide at Installing Home Assistant Supervised on Raspberry Pi OS

Kind thoughts,

Andrew

Hi!

Would it be possible to have a sensor for the fan speed?

1 Like

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).

Great work! Thank you very much!

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.


Maybe you can figure out the 3-second GPIO thing.

1 Like

Yes, that is the interesting press.

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.

maybe a 2-part automation.
automation:

  1. trigger: on GPIO pin 4 high
  2. actions: delay for some time
  3. actions: run script

script:

  1. if GPIO 4 is high restart
  2. if GPIO 4 is not high do nothing

That some time would likely be the part that needs work. There’s info here about GPIOs on RPi.

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

Is that 5.11? I’m looking at it now, and I am not seeing anything in the release notes. Release Home Assistant OS Release-5 build 11 (Stable) · home-assistant/operating-system · GitHub

This is pretty shady of the devs… No deprecation notice, documentation, or anything, just deprecating features and telling us by error. https://developers.home-assistant.io/docs/add-ons/configuration

Hello
I have install the addon but I have an issue.

My config is on RPI4
with WD SSD 128
With the latest version from HA (supervisor-2021.02.6)

I was able to make this happen on a device without an Argon One installed. I will add some enhanced diagnostics to startup.

I haven’t brought this up on a Raspian install yet.

I don’t anderstand the answer what can I do?

Please update to v0.14. Then show me the logs from ArgonOne Active Cooling, at startup.

How can I update this addon?

update your app store first image