Got I2C working now booting from SATA: π[add-on] HassOS I2C Configurator - #140 by da_anton
I2C configurator
/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.
With v27 it is not working
[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: 27
You are running the latest version of this add-on.
System: Home Assistant OS 8.2 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2022.6.7
Home Assistant Supervisor: 2022.06.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.
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: β β β β β β β β β β β β β β β β
10: β β β β β β β β β β β β β β β β
20: β β β β β β β β β β β β β β β β
30: β β β β β β β β β β β β β β β β
40: β β β β β β β β β β β β β β β β
50: β β β β β β β β β β β β β β β β
60: β β β β β β β β β β β β β β β β
70: β β β β β β β β β β β β β β β β
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 = 42 Β°C
2022-06-23_17:34:16: 42C - Fan 40% | hex:(0x28)
Error: Write failed
Failed 67: i2cset -y 1 0x01a β${fanPercentHex}β
Error: Write failed
Safe Mode Activated!
Failed 133: return ${returnValue}
Error: Write failed
Was working on some older version but canβt remember the exact, any help is appreciated!
I donβt see I2C.
mount: permission denied (are you root?)
Detected Protection Mode is enabled. Disable Protection Mode in Info Screen.
no sda1 config found
no sdb1 available
no mmcblk0p1 available
This Configurator did itβs job. Perform a hard-power-off reboot now.
You will need to reboot twice total, once to place the files, and again to activate the I2C.
i have pulled the power from the plug many many times
I have enabled i2c with your addon, but the ArgonOne Active Linear Cooling addon is not working correctly. See logs below.
Log from HassOS I2C Configurator
/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.
Log from 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...
-----------------------------------------------------------
Add-on: ArgonOne Active Linear Cooling
Actively keeping your Argon One cool.
-----------------------------------------------------------
Add-on version: 27
You are running the latest version of this add-on.
System: Home Assistant OS 8.2 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2022.6.7
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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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 = 46 Β°C
2022-07-03_15:51:12: 46C - Fan 72% | hex:(0x48)
Error: Write failed
Failed 67: i2cset -y 1 0x01a "${fanPercentHex}"
Error: Write failed
Safe Mode Activated!
Failed 133: return ${returnValue}
Error: Write failed
Safe Mode Activated!
I donβt want to steal this thread too much but for anyone having problems feel free to try out my fork of the addon, i linked it further up the thread. Working fine for me.
Thanks for the tip! I am also seeing some strange things in the logs for your forked version:
[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 - Debian GNU/Linux 11 (bullseye)
Actively keeping your Argon One cool.
-----------------------------------------------------------
Add-on version: 28.0
You are running the latest version of this add-on.
System: Home Assistant OS 8.2 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2022.6.7
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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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 45 Β°C
2022-07-03_17:43:24: 45C - Level 3 - Fan 66% (Medium)
Error: Write failed
Failed 86: i2cset -y 1 0x01a "${fanPercentHex}"
Error: Write failed
Safe Mode Activated!
Failed 202: return ${returnValue}
Error: Write failed
Safe Mode Activated!
How strange, it doesnβt see anything on your i2c bus at all. Are you sure the cables havenβt come loose?
[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 - Debian GNU/Linux 11 (bullseye)
Actively keeping your Argon One cool.
-----------------------------------------------------------
Add-on version: 28.0
You are running the latest version of this add-on.
System: Home Assistant OS 8.2 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2022.6.7
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..
2022-07-04_10:28:49: 40C - Level 2 - Fan 1% (Quiet Low)
This is my successful startup log, same versions as you
I reinstalled HA OS to my SSD, restored my previous backup, and re-enabled i2c. It is now working correctly.
I think something went wrong when attempting to enable port 22222 access using the HassOS SSH port 22222 Configurator add-on.
Couple silly questions. After enabling i2c, I installed this add-on and the fan went silent. Finally!
- Where is the config file that the settings are in? I donβt see it in my main configuration yaml.
- The add-on disappeared after I Started it. Is that expected? Now I canβt see its log or info.
Hi all,
I get the following error message when I want to check my configuration.yaml file.
Integration error: argon40 - Requirements for argon40 not found: [βRPi.GPIO==0.7.1a4β].
What is wrong?
I got the active cooling addon working. Activated the I2C, rebooted twice. I can see that the fan is cooling.
But still this error message pops up.
having moved on to a mini pc I can no longer use this add-onβ¦
I do wish we had something like this for an external fan though, as I see the need for that on my warmer attic in the summer
however, I can not yet find a simple fan that allows me to switch in remotely, without having to also press a button on the actual fan itselfβ¦
@adamoutler
I get this error in the log
Settings initialized. Argon One Detected. Beginning monitor..
Current Temperature 47 Β°C
2022-07-24_02:52:22: 47c - 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!
I enabled i2C on my device, and I still get this error,
I would appreciate your help
I can see that the device is detected by the system, but some error occurred during communication. Try powering it off and back on. Not sure what the problem is, but it looks hardware related, not the software.
My installation is supervised
I removed your extension, and entered argonone-config
in the terminal
I get an option to control the fan,
I tried uninstalling with the command
argonone-uninstall
But he writes to me that there is no argonone installation, but when I enter argonone-config
I do get the option to control the fan, really strangeβ¦
It may be my problem with your extension, that this installation causes your extension to work incorrectly,
Do you have a solution how to remove it?
This will not work on debian.
What a disappointment
Debian has support directly from Argon One.
True, but I want your extension that gives me an entity of the fan