Argon One Active Cooling and Active Linear Cooling Addon

But HA is running smoothly and observer says:

Home Assistant observer

|Supervisor:|Connected|
|Supported:|Supported|
|Healthy:|Healthy|

Also in the setting there is no hint of the safe mode activated.
A few times i had an issue when HA was really running in Safe Mode β†’ but this was always a fault of a configuration. But actually it is running fine.

Works perfectly for me.

 Add-on version: 30a
 System: Home Assistant OS 11.1  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.11.2
 Home Assistant Supervisor: 2023.11.3

This i2c add-on is really handy btw, thanks.

I managed to resolve it through some combination of

  • re-flash HA to the SD card, restore from backup while not using the Argon case
  • enable I2C by modifying the SD card
  • reboot many times

Fingers crossed it doesn’t regress again

Btw about the logs you posted - do they get logged to disk? If so, wdyt about a configuration flag to turn off those logs? (I can write the code)

Thanks for all your work!

Hi
Can not get fan to work see log
can you help please
[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 Cooling
Actively keeping your Argon One cool.

Add-on version: 30a
You are running the latest version of this add-on.
System: Home Assistant OS 11.2 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.12.3
Home Assistant Supervisor: 2023.11.6

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.
ls: /dev/i2c-*: No such file or directory
Cannot find I2C port. You must enable I2C for this add-on to operate properly
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts…
[cont-finish.d] 99-message.sh: executing…

            Oops! Something went wrong.

We are so sorry, but something went terribly wrong when
starting or running this add-on.

Be sure to check the log above, line by line, for hints.

[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Hallo,
I have the same problem, clean installation of Debian 12 and HA supervised.

Running:
ArgonOne Active Cooling Version 30a

  • Core 2023.12.3
  • Supervisor 2023.12.1.dev2001
  • Operating System Debian 12
  • Frontend 20231208.2
    Hardware Pi4/4GB

Home Assistant observer
Supervisor: Connected
Supported: Supported
Healthy: Healthy

[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... 
curl: (7) Couldn't connect to server
[14:23:55] ERROR: Something went wrong contacting the API
[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: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 
30: -- -- -- -- -- -- -- -- 38 39 3a 3b 3c 3d 3e 3f 
40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 
70: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f 
Settings initialized. Argon One Detected. Beginning monitor..
Current Temperature = 43 Β°C
2023-12-21_14:23:56: 43C - Fan 0% | hex:(0x00)
Error: Write failed
Failed 74: i2cset -y 1 0x01a "${fanPercentHex}"
Error: Write failed
Safe Mode Activated!
Failed 140: return ${returnValue}
/run.sh: socket: Permission denied
/run.sh: line 37: /dev/tcp/hassio/80: Permission denied
Failed 37: exec 3<> /dev/tcp/hassio/80
Error: Write failed
Error: Write failed
/run.sh: line 38: 3: Bad file descriptor
/run.sh: socket: Permission denied
/run.sh: line 37: /dev/tcp/hassio/80: Permission denied
Safe Mode Activated!
Safe Mode Activated!
Failed 38: echo -ne "POST /homeassistant/api/states/sensor.argon_one_addon_fan_speed HTTP/1.1\r\n" 1>&3
Failed 37: exec 3<> /dev/tcp/hassio/80
Error: Write failed
Safe Mode Activated!
Failed 38: echo -ne "POST /homeassistant/api/states/sensor.argon_one_addon_fan_speed HTTP/1.1\r\n" 1>&3
Safe Mode Activated!
Failed 39: echo -ne "Connection: close\r\n" 1>&3
/run.sh: line 38: 3: Bad file descriptor
Error: Write failed
/run.sh: line 39: 3: Bad file descriptor
Error: Write failed
Error: Write failed
/run.sh: line 39: 3: Bad file descriptor
/run.sh: line 40: 3: Bad file descriptor
Safe Mode Activated!
1 Like

Did you modify it? This doesn’t seem to be detecting the proper device.

No, It’s original. Just some DVB-Ts tuners are plugged in now, but same result was before with absolutely clear installation.

I have the same problem, please help fix it.
The error log is the same as yours.

Works like a dream with HAOS. It used to work with Debian. Maybe someone could jump in a d try to troubleshoot. I don’t run Debian.

Argon One Active Cooling not working for me after the HomeAssisant update.

See logs:
-----------------------------------------------------------
** Add-on version: 30a**
** You are running the latest version of this add-on.**
** System: Home Assistant OS 11.3 (aarch64 / raspberrypi4-64)**
** Home Assistant Core: 2024.1.2**
** Home Assistant Supervisor: 2023.12.0**
-----------------------------------------------------------
** 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.
checking i2c port 0 at /dev/i2c-0
** 0 1 2 3 4 5 6 7 8 9 a b c d e f

**00: – – – – – – – – **
**10: – – – – – – – – – – – – – – – – **
**20: – – – – – – – – – – – – – – – – **
**30: – – – – – – – – – – – – – – – – **
**40: – – – – – – – – – – – – – – – – **
**50: – – – – – – – – – – – – – – – – **
**60: – – – – – – – – – – – – – – – – **
70: – – – – – – – – **
not found on /dev/i2c-0
checking i2c port 1 at /dev/i2c-1
** 0 1 2 3 4 5 6 7 8 9 a b c d e f

**00: – – – – – – – – **
**10: – – – – – – – – – – – – – – – – **
**20: – – – – – – – – – – – – – – – – **
**30: – – – – – – – – – – – – – – – – **
**40: – – – – – – – – – – – – – – – – **
**50: – – – – – – – – – – – – – – – – **
**60: – – – – – – – – – – – – – – – – **
70: – – – – – – – – **
not found on /dev/i2c-1
checking i2c port 10 at /dev/i2c-10
** 0 1 2 3 4 5 6 7 8 9 a b c d e f

**00: – – – – – – – – **
**10: – – – – – – – – – – – – – – – – **
**20: – – – – – – – – – – – – – – – – **
**30: – – – – – – – – – – – – – – – – **
**40: – – – – – – – – – – – – – – – – **
**50: – – – – – – – – – – – – – – – – **
**60: – – – – – – – – – – – – – – – – **
70: – – – – – – – – **
not found on /dev/i2c-10
checking i2c port 22 at /dev/i2c-22
** 0 1 2 3 4 5 6 7 8 9 a b c d e f

**00: – – – – – – – – **
**10: – – – – – – – – – – – – – – – – **
**20: – – – – – – – – – – – – – – – – **
**30: – – – – – – – – – – – – – – – – **
**40: – – – – – – – – – – – – – – – – **
**50: – – – – – – – – – – – – – – – – **
**60: – – – – – – – – – – – – – – – – **
**70: – – – – – – – – **
not found on /dev/i2c-22
I2C Port 255
Argon One was not detected on i2c. Argon One will show a 1a on the i2c bus above. This add-on will not control temperature without a connection to Argon One.
Current Temperature 35 Β°C
2024-01-08_12:24:11: 35C - Level 1 - Fan 0% (OFF)
Error: Could not open file /dev/i2c-255' or /dev/i2c/255’: No such file or directory
Failed 105: i2cset -y β€œ${port}” β€œ0x01a” β€œ${fanPercentHex}”
Error: Could not open file /dev/i2c-255' or /dev/i2c/255’: No such file or directory
Safe Mode Activated!
Failed 216: return ${returnValue}
Error: Could not open file /dev/i2c-255' or /dev/i2c/255’: No such file or directory
Safe Mode Activated!

Jan 10 10:16:10 raspi kernel: audit: type=1400 audit(1704878170.636:36): apparmor=β€œDENIED” operation=β€œcreate” profile=β€œ2ad4c73a_argon_one_temp_linear” pid=335162 comm=β€œbash” family=β€œinet” sock_type=β€œstream” protocol=6 requested_mask=β€œcreate” denied_mask=β€œcreate”

Thats the error on host Debian 12 when you select β€œCreate a Fan Speed entity in Home Assistant” in addon config.

@ adamoutler Just wanted to say huge thanks for this add-on. I got a new Argon One case and I was about to return it because it sounds like a jet engine. Your add-on is a game changer.

1 Like

Thanks for this addon, but I have a similar problem as some have mentioned here. The addon only works as an on and off fan, but it can’t seem to control the rpm. 1% sounds exactly the same noise as 100%.


Add-on: ArgonOne Active Linear Cooling
Actively keeping your Argon One cool.

Add-on version: 30a
You are running the latest version of this add-on.
System: Home Assistant OS 11.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.1.6
Home Assistant Supervisor: 2023.12.1

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.
checking i2c port 0 at /dev/i2c-0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –
not found on /dev/i2c-0
checking i2c port 1 at /dev/i2c-1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – – – – 1a – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – 36 – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – 68 – – – – – – –
70: – – – – – – – –
found at /dev/i2c-1
I2C Port 1
Settings initialized. Argon One Detected. Beginning monitor…
2024-02-04_14:46:21: 35C - Fan 5% | hex:(0x05)

According to the logs it detected something other than an argon One. What is that?

Big thanks for the addon.
I have a problem with the fan speed because the fan speed entity says other values than I hear (For example, it says 0% and I hear the fan.)

HAOS is running on a Pi 5 maybe thats the problem.

[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 Cooling
 Actively keeping your Argon One cool.
-----------------------------------------------------------
 Add-on version: 30a
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.5  (aarch64 / raspberrypi5-64)
 Home Assistant Core: 2024.1.6
 Home Assistant Supervisor: 2024.01.1
-----------------------------------------------------------
 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.
checking i2c port 0 at /dev/i2c-0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
not found on /dev/i2c-0
checking i2c port 1 at /dev/i2c-1
     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: -- -- -- -- -- -- -- --                         
found at /dev/i2c-1
I2C Port 1
Settings initialized. Argon One Detected. Beginning monitor..
Current Temperature 40 Β°C
2024-02-07_14:19:01: 40C - Level 1 - Fan 0% (OFF)
Current Temperature 39 Β°C

V3 marks a significant departure from v1/v2 by using PWM. Unfortunately I cannot support this without a unit or a contribution. If someone would like to donate a unit or cash for a unit, send a pm.

1 Like

Its Argon One V2 for Pi 4
With this Argon Chase, i have UPS HAT X728 that use i2c too.
But it has same problem with fan speed when i unplug UPS hat from system and restart RPI4.

I’ll donate or send depending on what works best. I’ve been using the add on with the V2 and really want the same for the V3! I’ll send a PM.

Hi. Just upgraded from Debian 11 to 12 running HA Supervised 2024.2.4 on a Pi4b.
The Argon not-linear addon died. Removed it and installed the linear one which logs this:

ArgonOne Active Linear Cooling
[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... 
curl: (7) Couldn't connect to server
[14:08:59] ERROR: Something went wrong contacting the API
[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.
checking i2c port 1 at /dev/i2c-1
     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: -- -- -- -- -- -- -- --                         
found at /dev/i2c-1
I2C Port 1
Settings initialized. Argon One Detected. Beginning monitor..
2024-02-27_14:09:00: 102F - Fan 0% | hex:(0x00)
/run.sh: /run.sh: socketsocket: Permission denied
: Permission denied
/run.sh: line 59: /run.sh: line 59: /dev/tcp/hassio/80: Permission denied/dev/tcp/hassio/80: Permission denied

Failed 59: exec 3<> /dev/tcp/hassio/80
Failed 59: exec 3<> /dev/tcp/hassio/80
Safe Mode Activated!
Safe Mode Activated!
Failed 60: echo -ne "POST /homeassistant/api/states/sensor.argon_one_addon_fan_speed HTTP/1.1\r\n" 1>&3
Failed 60: echo -ne "POST /homeassistant/api/states/sensor.argon_one_addon_fan_speed HTTP/1.1\r\n" 1>&3
/run.sh: line 60: /run.sh: line 60: 3: Bad file descriptor3: Bad file descriptor

/run.sh: line 61: 3: Bad file descriptor
/run.sh: line 61: 3: Bad file descriptor
Safe Mode Activated!
Safe Mode Activated!
Failed 61: echo -ne "Connection: close\r\n" 1>&3
Failed 61: echo -ne "Connection: close\r\n" 1>&3
Safe Mode Activated!
Safe Mode Activated!
Failed 62: echo -ne "Authorization: Bearer ${SUPERVISOR_TOKEN}\r\n" 1>&3
Failed 62: echo -ne "Authorization: Bearer ${SUPERVISOR_TOKEN}\r\n" 1>&3
/run.sh: line 62: /run.sh: line 62: 3: Bad file descriptor3: Bad file descriptor

Safe Mode Activated!
Safe Mode Activated!
/run.sh: line 63: 3: Bad file descriptor
Failed 63: echo -ne "Content-Length: $(echo -ne "${reqBody}" | wc -c)\r\n" 1>&3
/run.sh: line 63: 3: Bad file descriptor
Failed 63: echo -ne "Content-Length: $(echo -ne "${reqBody}" | wc -c)\r\n" 1>&3
Safe Mode Activated!
Failed 64: echo -ne "\r\n" 1>&3
/run.sh: line 64: 3: Bad file descriptor
Safe Mode Activated!
/run.sh: line 64: 3: Bad file descriptor
/run.sh: line 65: 3: Bad file descriptor
Safe Mode Activated!
Failed 65: echo -ne "${reqBody}" 1>&3
Failed 64: echo -ne "\r\n" 1>&3
Safe Mode Activated!
/run.sh: line 53: 3: Bad file descriptor
Failed 66: timeout=5
Safe Mode Activated!
/run.sh: line 65: 3: Bad file descriptor
Failed 65: echo -ne "${reqBody}" 1>&3
/run.sh: line 53: 3: Bad file descriptor
Safe Mode Activated!
Safe Mode Activated!
Failed 66: timeout=5
Safe Mode Activated!

This turns the fan on permanently which is not needed so I will uninstall it again.
Obviously this novice needs a bit of help. Wes

I depend on users like you to support Debian. It’s supported because it can be supported. I assume this has to do with the fan speed report. Try turning it off and check why we can’t access /dev/tcp.

Also, thank you for code block.