Argon One Active Cooling and Active Linear Cooling Addon

@adamoutler - I think you also like to hear sometimes of successfull integrations, the Lineair version:

Works like a charm !!

Keep up the good work,
John

1 Like

Minor issue:

Using Lineair cooling variant, all working fine. I do no longer need the 30sec logging of temp/fan-speed.
I turned it off in config, restarted the integration, even rebooted system, but the 30 sec logging is very persistant and continues.

image

Grtz
John

1 Like

Add-on version: 29c
You are running the latest version of this add-on.
System: Home Assistant OS 10.3 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.7.1
Home Assistant Supervisor: 2023.07.1

Got 2023.7 update and after reboot a full power fan at 32Β°C

Reinstalled the HassOs I2C Configurator with this result

brw-rw---- 1 root disk 254, 2 Apr 4 12:55 zram2
/dev/i2c-1
/dev/i2c-0 /dev/i2c-1 /dev/i2c-10 /dev/i2c-22
Found i2c access! Nothing to do! You can remove this add-on

Reinstalled Argon One Active Linear Cooling again (uninstall-install cycle)
Got this result and the full power fan stays on

not found on /dev/i2c-0
not found on /dev/i2c-1
not found on /dev/i2c-10
not found on /dev/i2c-22
/run.sh: line 111: thePort: unbound variable

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

All ideas are welcome, why can existing I2C devices are unavailable from the AddOn?

Looks like your fan is disconnected.

The fan is always on full power, cannot throttle the noisy thing. Tried a full removal and install again. Here is the result when things start to fail. The β€œ1a” detection fails, but had worked with hassio 2023.6, the mess starts with 2023.7

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
/run.sh: line 111: thePort: unbound variable
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts…
[cont-finish.d] 99-message.sh: executing… **
-----------------------------------------------------------
** Oops! Something went wrong.

The other day after updating the HA OS kernel, the fan stopped working. Reinstalling and resetting didn’t help, nor did reusing HassOS I2C Configurator.

The following helped me:
I connected my ssd to the computer, found the β€œconfig.txt” file. and uncommented the lines containing β€œi2c”. Then I put it back in place and it worked.

P.S. Perhaps this method in the future, especially after a clean installation, will eliminate the need to use the β€˜HassOS I2C Configurator’. If someone has the opportunity, please check if this is so.

Thanks Alexey,
tried that. Installed the 22222 backdoor, mounted boot in hassos and enabled the i2c* in the config.txt. From hassos these devices have these permission.

ls -la i2*

crw------- 1 root root 89, 0 Apr 4 10:55 i2c-0
crw------- 1 root root 89, 1 Apr 4 10:55 i2c-1
crw------- 1 root root 89, 10 Apr 4 10:55 i2c-10
crw------- 1 root root 89, 22 Apr 4 10:55 i2c-22

While the Argon Linear is unable to look into the i2c devices at all, it’s empty and the addon fails.

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
/run.sh: line 111: thePort: unbound variable
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts…
[cont-finish.d] 99-message.sh: executing…

            Oops! Something went wrong.

Okay the problem was a physical destruction in the fan pcb. I changed it with another one v2 case and now it works again. Unbelievable that from summer alone the pcb can be destroyed within 2 months after bought.

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…
2023-07-08_14:18:12: 35C - Level 1 - Fan 0% (OFF)

Congratulations on identifying the problem, check what exactly broke on it. It might be easy to fix, especially if you have a soldering iron.

After killing my original Argon One fan by continuous running for nearly 2yrs, this is the perfect solution.

Followed the excellent instructions and worked well for the Linear version.

I did lower my config min & max temps from the defaults to 50C & 60C respectively :man_shrugging:. It’s yet to get anywhere near 50C at the moment in South Australia (it’s our Mid-Winter), so it’s passive cooling itself fine with logged temps between 41-43C. Did test it all works by initially setting config min & max near these lower values.

I do also have the config behaviour with the 30s temp logs still happening even with the switch off, all good otherwise.

Thanks Heaps
Paul

2 Likes

Hi, I’m having this issue with debian 12

Sometimes the β€œsensor.argon_one_addon_fan_speed” entity didn’t work; it was enough to turn off my Rpi4 and turn it on again.
For some days the entity of the fan has completely disappeared, perhaps due to some HA update, and there is no way to reactivate it;
I removed β€œArgonOne Active Cooling” and β€œHassOS I2C Configurator” turned off the Rpi4 and reinstalled many times but there is no way to get FAN entity back, what can I do?

ArgonOne Active 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... 
-----------------------------------------------------------
 Add-on: ArgonOne Active Cooling
 Actively keeping your Argon One cool.
-----------------------------------------------------------
 Add-on version: 29c
 You are running the latest version of this add-on.
 System: Home Assistant OS 10.4  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.8.0b4
 Home Assistant Supervisor: 2023.07.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.
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 46 Β°C
2023-08-02_10:06:56: 46C - Level 2 - Fan 1% (Quiet Low)
Current Temperature 44 Β°C
2023-08-02_10:07:31: 44C - Level 1 - Fan 0% (OFF)
Current Temperature 44 Β°C
Current Temperature 45 Β°C
2023-08-02_10:08:32: 45C - Level 2 - Fan 1% (Quiet Low)
Current Temperature 44 Β°C
2023-08-02_10:09:02: 44C - Level 1 - Fan 0% (OFF)
Current Temperature 44 Β°C
Current Temperature 45 Β°C
2023-08-02_10:10:02: 45C - Level 2 - Fan 1% (Quiet Low)
Current Temperature 45 Β°C
Current Temperature 45 Β°C
Current Temperature 44 Β°C
2023-08-02_10:11:32: 44C - Level 1 - Fan 0% (OFF)
Current Temperature 44 Β°C

I’m not sure what’s going on. It’s working great for me. **image
**
image
It takes a bit after startup for it to appear as it is an ephemeral device. Make sure to delay any automations which rely on it.

I just install 2023.08.01 of HomeAssistant, and I’m seeing these errors in the ArgoneOne plugin?
Home Assistant 2023.8.1
Supervisor 2023.07.01
Operating System 10.4
Frontend 20230802.0 - latest

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 95 Β°F
2023-08-05_05:37:52: 95F - Level 1 - Fan 0% (OFF)
Error: Could not open file `/dev/i2c-255' or `/dev/i2c/255': No such file or directory
Failed 98: 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 209: return ${returnValue}
2023-08-05_05:37:52: 95F - Level 1 - Fan 0% (OFF)
Error: Could not open file `/dev/i2c-255' or `/dev/i2c/255': No such file or directory
Failed 98: 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 209: return ${returnValue}
Error: Could not open file `/dev/i2c-255' or `/dev/i2c/255': No such file or directory
Safe Mode Activated!

I’ve rebooted and still seeing the same issues? Any suggestions?

I rebooted multiple times, but what fixed this was a shutdown / power on of the system.

One suggestion would be someway to make this more obvious that the system isn’t finding the i2c bus? But I can’t think of any good way to notify the admin… ?

Greetings,
i’m trying to use the argon one active cooling addon, but i can’t activate it. I used HassOS I2C Configurator to activate I2C.
Home Assistant 2023.8.1
Supervisors 2023.07.1
Debian 11

this is the 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] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: ArgonOne Active Cooling
 Actively keeping your Argon One cool.
-----------------------------------------------------------
 Add-on version: 29c
 You are running the latest version of this add-on.
 System: Debian GNU/Linux 11 (bullseye)  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.8.1
 Home Assistant Supervisor: 2023.07.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:                         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                         
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:                         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                         
not found on /dev/i2c-1
checking i2c port 2 at /dev/i2c-2
     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-2
checking i2c port 3 at /dev/i2c-3
     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-3
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 54 Β°C
2023-08-06_16:46:36: 54C - Level 3 - Fan 66% (Medium)
Error: Could not open file `/dev/i2c-255' or `/dev/i2c/255': No such file or directory
Failed 98: 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 209: return ${returnValue}
Error: Could not open file `/dev/i2c-255' or `/dev/i2c/255': No such file or directory
Safe Mode Activated!

Any suggestions?
Thank you…

The fan device is not connected.

I seem to have the same issue as @Nettuno69 …
Also reported here : sensor.argon_one_addon_fan_speed entity not created (anymore) Β· Issue #61 Β· adamoutler/HassOSArgonOneAddon (github.com)

1 Like

Are you guys running beta version of supervisor?

Someone mentioned this is due to line ending changes in supervisor for the HTTP request and the unix2dos command no longer operating properly. It should return \r\n for each line but it is only returning \n. I’m not entirely sure about it because I cannot reproduce.

I will need a patch until I can reproduce because it is working fine on my side.