Argon One Active Cooling and Active Linear Cooling Addon

Hey Adam
Recently got Argon m.2. Great script!!
I can’t seem to find a way to scrape the current temperature from the Argon HA.
My I2C is working correctly… I get the fan info
Have you figured out how to?
Using HA install on Pi4 64 bit bootable.
Thanks!

So first of all thanks to @adamoutler and @Znany for your i2c contribution.

I’ve added my own fork of this addon GitHub - TheHolyRoger/HassOSArgonOneAddon: A Home Assistant Addon for Argon One Fan Control. which also creates a separate temperature sensor as well as options so you can change the frequency of polling

Many thanks to you @TheHolyRoger.

I had an issue with the addon (either with the initial version from @adamoutler1 or with your fork) regarding the network access. I got an error
nc: socket(AF_INET,1,0): Permission denied
I’ve just fixed it by adding string “network,” into the apparmor profile. Would it be possible to inject this change on a permanent basis into the git repository?

What version of home assistant are you running? I don’t see that error here

I have been facing this issue for a while with several HA versions including the latest (2022.5.4 as of today). The problem was reproduced on two Pi4 with ArgonOne M.2 with identical HW&SW configuration. OS is Ubuntu 22.04 LTS 64bit, HA runs in supervised mode.

The fork from TheHolyRoger works fine for me, no probs

This is only tested in haos so far, from what I remember scanning through this thread adding more intents to apparmor reduces the ranking.

You might find that you can fix this with docker config, haos must add some permissions or something to get round this which supervised does not

First of all thank you for your work

I would like to be able to adjust the speed of the fan at certain times of the day.
For example, I would like the “LowRange” to be set at 50ºC during the night so that the fan would turn off during this period.
If this is possible, I would appreciate your help in configuring it.
Thank you very much

1 Like

For those that were concerned about the deprecation and removal of GPIO in 2022.6, I updated and the addon still works as intended. I didn’t install the RPI_GPIO custom component from hacs either

2 Likes

Do you have the button of the Argon One case in your configuration.yaml to start eg. the shutdown of Home Assistant with it?
Does it work too?

I do not have that in my configuration so I haven’t tested that piece. If you can post it here, I’m willing to test it out.

I think you’ll need to install the custom GPIO integration from HACS to fix that. I have my button jumpered to always on so not using this but if you share your sensors/setup for it, I can have a go at adding a sensor to this addon without the need for you to use the GPIO integration

You can find it in this thread: https://community.home-assistant.io/t/argon-one-active-cooling-addon/262598/301

I think you can use the button to shut down the Home Assistant OS if you switch it to always on.

Looks like it will not work (at least without the hacs addon)

Hi guys,
i See a new Version off Addon but update is not possible. Access Denied is the Error.

Anybody same Problem?

I have the same problem.
Raspi 4 hassio update at the last version.

Same here… Home Assistant on HA OS latest version…

1 Like

same problem here.

having error during the update in HAOS.

I decided to stop the addon and remove it then restart HA.

head back to Addon store and notice a new addon “ArgonOne Active Linear Cooling”, installed this one instead and all I had to is set was the max an min temperatures in the configuration tab, restart the addon and checked the log.

working great for me .

[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] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: ArgonOne Active Linear Cooling
 Actively keeping your Argon One cool.
-----------------------------------------------------------
 Add-on version: 25
 You are running the latest version of this add-on.
 System: Home Assistant OS 8.2  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.6.6
 Home Assistant Supervisor: 2022.05.3
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Detecting Layout of i2c, we expect to see "1a" here.
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- 1a -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
Settings initialized. Argon One Detected. Beginning monitor..
Current Temperature = 47 °C
2022-06-19_22:48:13: 47C - Fan 16% | hex:(0x10)
Current Temperature = 44 °C
2022-06-19_22:48:43: 44C - Fan 4% | hex:(0x04)
Current Temperature = 43 °C
2022-06-19_22:49:13: 43C - Fan 0% | hex:(0x00)
Current Temperature = 42 °C
2022-06-19_22:49:43: 42C - Fan 0% | hex:(0x00)
Current Temperature = 44 °C
2022-06-19_22:50:13: 44C - Fan 4% | hex:(0x04)
Current Temperature = 42 °C
2022-06-19_22:50:43: 42C - Fan 0% | hex:(0x00)
Current Temperature = 42 °C
2022-06-19_22:51:13: 42C - Fan 0% | hex:(0x00)
Current Temperature = 42 °C
2022-06-19_22:51:43: 42C - Fan 0% | hex:(0x00)
Current Temperature = 42 °C
2022-06-19_22:52:13: 42C - Fan 0% | hex:(0x00)

Notice how the fan operates promotionally according to temperatures, now it feels like we have proper PID control and certainly should keep things quiet and smooth :slight_smile: