Argon One Active Cooling and Active Linear Cooling Addon

Current version: 25

ArgonOne Active Linear Cooling works but 16% is now fan speed level 3, that is very bad and loud.

2022-06-20_04:40:50: 47C - Fan 16% | hex:(0x10)
2022-06-20_04:41:20: 45C - Fan 0% | hex:(0x00)
2022-06-20_04:41:50: 45C - Fan 0% | hex:(0x00)
2022-06-20_04:42:50: 45C - Fan 0% | hex:(0x00)
2022-06-20_04:43:20: 44C - Fan 0% | hex:(0x00)
2022-06-20_04:44:21: 45C - Fan 0% | hex:(0x00)
2022-06-20_04:44:51: 47C - Fan 16% | hex:(0x10)

Hello!

I’ve got a brand new installation of Home Assistant OS in an Argon One M.2 on an SSD. I used the β€œeasy way” to enable i2c.

I’m getting the following error in the logs:

Settings initialized. Argon One Detected. Beginning monitor..
/run.sh: line 148: null: unbound variable
Failed 1: value_a=$((100/(tmaxi-tmini)))
Safe Mode Activated!
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

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

1 Like

Add-on version: v26a
Home Assistant Supervised
System: Debian GNU/Linux 11 (bullseye) (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…
/run.sh: line 148: null: unbound variable
Failed 1: value_a=$((100/(tmaxi-tmini)))
Safe Mode Activated!
[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.

2 Likes

After installing this new version, was the fan speed entity created?
I only seem to have the update entity after moving to the linear add-on.

I have the same problem, I installed all new version, but when start into a log see this:
[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: 26a
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…
/run.sh: line 148: null: unbound variable
Failed 1: value_a=$((100/(tmaxi-tmini)))
Safe Mode Activated!
[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.

2 Likes

Same here. The container keep failing after updating to the new version

2 Likes

I’ve got the same issue, is there a way to manually set the fans to off? Shit’s loud yo

I have a problem after update to last versiΓ³n 26a. Not work.
The config, I reset to the default, and the 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] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: ArgonOne Active Cooling
 Actively keeping your Argon One cool.
-----------------------------------------------------------
 Add-on version: 26a
 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..
/run.sh: line 148: null: unbound variable
Failed 1: value_a=$((100/(tmaxi-tmini)))
Safe Mode Activated!
[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.

I have the same issue:

[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: 26a
 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..
Failed 1: value_a=$((100/(tmaxi-tmini)))
/run.sh: line 148: null: unbound variable
Safe Mode Activated!
[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.
-----------------------------------------------------------

The same here, after the update I have the same error.

I think you can all stop posting about this problem, as there is already an issue with it on github: https://github.com/adamoutler/HassOSArgonOneAddon/issues/32

1 Like

Temp fix: v25 - /run.sh: line 148: null: unbound variable Β· Issue #32 Β· adamoutler/HassOSArgonOneAddon Β· GitHub

The version before is fully functional after restore - 24.1 and version 26a not working.

Everything is wonderful! Thank you for your support! Have a nice day!

Add-on: ArgonOne Active Cooling

Actively keeping your Argon One cool.

Add-on version: 26b

You are running the latest version of this add-on.
System: Debian GNU/Linux 11 (bullseye) (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 43 Β°C
2022-06-20_18:02:50: 43Π‘ - Level 1 - Fan 0% (OFF)
Current Temperature 41 Β°C
Current Temperature 41 Β°C

26a dont work. 26b WORKING! Thank!

Up and working again with v26b :+1:

Thanks a lot for your support :grinning:

I’ve followed the official instructions Common Tasks - Operating System - Home Assistant to enable I2C but the module is not loaded on boot. No matter what I try. Any idea whats wrong? Versions are:

  • Home Assistant Core 2022.6.6
  • Home Assistant Supervisor 2022.05.3
  • Home Assistant OS 8.2

@adamoutler1 While trying to run version 27, I still get that log:

β€˜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 48 Β°C
2022-06-21_23:30:34: 48C - Level 1 - Fan 0% (OFF)
Error: Write failed
Failed 78: i2cset -y 1 0x01a β€œ${fanPercentHex}”
Error: Write failed
Safe Mode Activated!
Failed 188: return ${returnValue}
Error: Write failed
Safe Mode Activated!’

But while running @Znany version, it runs fine.

Please try version edited by me for i2c-3: Dropbox - argonOne_edited.zip - Simplify your life (just add as local addon)

Do you have any idea why Version 27 would not run on my system? I’m running HA in Debian 11 as a Supervised Version. I activated i2C The official way.

Hi @adamoutler / @adamoutler1 !

at first thank you for this tremendous great support on this Pi case. I like it, very useful!

But dumb question still I have: why for fan you implemented the option to create an entity but for temperature only push it to the log? Why not also provide the option to create a sensor in HA? Then youΒ΄d (weΒ΄d) also have the case temperature value in same monitoring like where we have all already anyway all temperature values (maybe even also the ones from the PiΒ΄s processor).

BR, Jochen