[add-on] HassOS I2C Configurator

Thank you. After restart I was able to install it. All good. Working. Cheers.

Hello I have installed everything rebooted several times and I have these results

crw--w----    1 root     tty         4,  37 Jun  2 20:09 tty37
crw--w----    1 root     tty         4,  38 Jun  2 20:09 tty38
crw--w----    1 root     tty         4,  39 Jun  2 20:09 tty39
crw--w----    1 root     tty         4,   4 Jun  2 20:09 tty4
crw--w----    1 root     tty         4,  40 Jun  2 20:09 tty40
crw--w----    1 root     tty         4,  41 Jun  2 20:09 tty41
crw--w----    1 root     tty         4,  42 Jun  2 20:09 tty42
crw--w----    1 root     tty         4,  43 Jun  2 20:09 tty43
crw--w----    1 root     tty         4,  44 Jun  2 20:09 tty44
crw--w----    1 root     tty         4,  45 Jun  2 20:09 tty45
crw--w----    1 root     tty         4,  46 Jun  2 20:09 tty46
crw--w----    1 root     tty         4,  47 Jun  2 20:09 tty47
crw--w----    1 root     tty         4,  48 Jun  2 20:09 tty48
crw--w----    1 root     tty         4,  49 Jun  2 20:09 tty49
crw--w----    1 root     tty         4,   5 Jun  2 20:09 tty5
crw--w----    1 root     tty         4,  50 Jun  2 20:09 tty50
crw--w----    1 root     tty         4,  51 Jun  2 20:09 tty51
crw--w----    1 root     tty         4,  52 Jun  2 20:09 tty52
crw--w----    1 root     tty         4,  53 Jun  2 20:09 tty53
crw--w----    1 root     tty         4,  54 Jun  2 20:09 tty54
crw--w----    1 root     tty         4,  55 Jun  2 20:09 tty55
crw--w----    1 root     tty         4,  56 Jun  2 20:09 tty56
crw--w----    1 root     tty         4,  57 Jun  2 20:09 tty57
crw--w----    1 root     tty         4,  58 Jun  2 20:09 tty58
crw--w----    1 root     tty         4,  59 Jun  2 20:09 tty59
crw--w----    1 root     tty         4,   6 Jun  2 20:09 tty6
crw--w----    1 root     tty         4,  60 Jun  2 20:09 tty60
crw--w----    1 root     tty         4,  61 Jun  2 20:09 tty61
crw--w----    1 root     tty         4,  62 Jun  2 20:09 tty62
crw--w----    1 root     tty         4,  63 Jun  2 20:09 tty63
crw--w----    1 root     tty         4,   7 Jun  2 20:09 tty7
crw--w----    1 root     tty         4,   8 Jun  2 20:09 tty8
crw--w----    1 root     tty         4,   9 Jun  2 20:09 tty9
crw-rw----    1 root     audio     204,  64 Jun  2 20:09 ttyAMA0
crw-------    1 root     root        5,   3 Jun  2 20:09 ttyprintk
crw-------    1 root     root       10, 239 Jun  2 20:09 uhid
crw-------    1 root     root       10, 223 Jun  2 20:09 uinput
crw-rw-rw-    1 root     root        1,   9 Jun  2 20:09 urandom
drwxr-xr-x    2 root     root            60 Jun  2 20:09 usb
drwxr-xr-x    3 root     root            60 Jun  2 20:09 v4l
crw-------    1 root     root      245,   0 Jun  2 20:09 vc-mem
crw-------    1 root     root      239,   0 Jun  2 20:09 vchiq
crw-------    1 root     root       10, 125 Jun  2 20:09 vcio
crw-rw----    1 root     tty         7,   0 Jun  2 20:09 vcs
crw-rw----    1 root     tty         7,   1 Jun  2 20:09 vcs1
crw-rw----    1 root     tty         7,   2 Jun  2 20:09 vcs2
crw-rw----    1 root     tty         7,   3 Jun  2 20:09 vcs3
crw-rw----    1 root     tty         7,   4 Jun  2 20:09 vcs4
crw-rw----    1 root     tty         7,   5 Jun  2 20:09 vcs5
crw-rw----    1 root     tty         7,   6 Jun  2 20:09 vcs6
crw-rw----    1 root     tty         7, 128 Jun  2 20:09 vcsa
crw-rw----    1 root     tty         7, 129 Jun  2 20:09 vcsa1
crw-rw----    1 root     tty         7, 130 Jun  2 20:09 vcsa2
crw-rw----    1 root     tty         7, 131 Jun  2 20:09 vcsa3
crw-rw----    1 root     tty         7, 132 Jun  2 20:09 vcsa4
crw-rw----    1 root     tty         7, 133 Jun  2 20:09 vcsa5
crw-rw----    1 root     tty         7, 134 Jun  2 20:09 vcsa6
crw-rw-rw-    1 root     root       10, 122 Jun  2 20:09 vcsm-cma
crw-rw----    1 root     tty         7,  64 Jun  2 20:09 vcsu
crw-rw----    1 root     tty         7,  65 Jun  2 20:09 vcsu1
crw-rw----    1 root     tty         7,  66 Jun  2 20:09 vcsu2
crw-rw----    1 root     tty         7,  67 Jun  2 20:09 vcsu3
crw-rw----    1 root     tty         7,  68 Jun  2 20:09 vcsu4
crw-rw----    1 root     tty         7,  69 Jun  2 20:09 vcsu5
crw-rw----    1 root     tty         7,  70 Jun  2 20:09 vcsu6
crw-------    1 root     root       10, 127 Jun  2 20:09 vga_arbiter
crw-------    1 root     root       10, 137 Jun  2 20:09 vhci
crw-rw-rw-    1 root     111        10, 238 Jun  2 20:09 vhost-net
crw-rw-rw-    1 root     111        10, 241 Jun  2 20:09 vhost-vsock
crw-rw----    1 root     netdev     81,   5 Jun  2 20:09 video10
crw-rw----    1 root     netdev     81,   6 Jun  2 20:09 video11
crw-rw----    1 root     netdev     81,   7 Jun  2 20:09 video12
crw-rw----    1 root     netdev     81,   1 Jun  2 20:09 video13
crw-rw----    1 root     netdev     81,   2 Jun  2 20:09 video14
crw-rw----    1 root     netdev     81,   3 Jun  2 20:09 video15
crw-rw----    1 root     netdev     81,   4 Jun  2 20:09 video16
crw-rw----    1 root     netdev     81,   8 Jun  2 20:09 video18
crw-rw----    1 root     netdev     81,   0 Jun  2 20:09 video19
crw-rw----    1 root     netdev     81,   9 Jun  2 20:09 video20
crw-rw----    1 root     netdev     81,  11 Jun  2 20:09 video21
crw-rw----    1 root     netdev     81,  12 Jun  2 20:09 video22
crw-rw----    1 root     netdev     81,  13 Jun  2 20:09 video23
crw-rw----    1 root     netdev     81,  10 Jun  2 20:09 video31
crw-------    1 root     root       10, 130 Jun  2 20:09 watchdog
crw-------    1 root     root      247,   0 Jun  2 20:09 watchdog0
crw-rw-rw-    1 root     root        1,   5 Jun  2 20:09 zero
brw-rw----    1 root     disk      254,   0 Jun  2 20:09 zram0
brw-rw----    1 root     disk      254,   1 Jun  2 20:09 zram1
brw-rw----    1 root     disk      254,   2 Jun  2 20:09 zram2
ls: /dev/i2c-1: No such file or directory
I don't see I2C.
no sda1 available
no sdb1 available
dtparam=i2c_vc=on
i2c already configured on mmcblk0p1. Reboot required.
dtparam=i2c_arm=on
i2c already configured on mmcblk0p1. This addon was already run during this boot and no reboot occurred. 
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.

Hello,

I have the same problem, Pi 4b + Argone One M.2
I want to use fan control but the i2c is not working ā€¦ :frowning:

crw--w----    1 root     tty         4,  36 Jun  2 20:09 tty36
crw--w----    1 root     tty         4,  37 Jun  2 20:09 tty37
crw--w----    1 root     tty         4,  38 Jun  2 20:09 tty38
crw--w----    1 root     tty         4,  39 Jun  2 20:09 tty39
crw--w----    1 root     tty         4,   4 Jun  2 20:09 tty4
crw--w----    1 root     tty         4,  40 Jun  2 20:09 tty40
crw--w----    1 root     tty         4,  41 Jun  2 20:09 tty41
crw--w----    1 root     tty         4,  42 Jun  2 20:09 tty42
crw--w----    1 root     tty         4,  43 Jun  2 20:09 tty43
crw--w----    1 root     tty         4,  44 Jun  2 20:09 tty44
crw--w----    1 root     tty         4,  45 Jun  2 20:09 tty45
crw--w----    1 root     tty         4,  46 Jun  2 20:09 tty46
crw--w----    1 root     tty         4,  47 Jun  2 20:09 tty47
crw--w----    1 root     tty         4,  48 Jun  2 20:09 tty48
crw--w----    1 root     tty         4,  49 Jun  2 20:09 tty49
crw--w----    1 root     tty         4,   5 Jun  2 20:09 tty5
crw--w----    1 root     tty         4,  50 Jun  2 20:09 tty50
crw--w----    1 root     tty         4,  51 Jun  2 20:09 tty51
crw--w----    1 root     tty         4,  52 Jun  2 20:09 tty52
crw--w----    1 root     tty         4,  53 Jun  2 20:09 tty53
crw--w----    1 root     tty         4,  54 Jun  2 20:09 tty54
crw--w----    1 root     tty         4,  55 Jun  2 20:09 tty55
crw--w----    1 root     tty         4,  56 Jun  2 20:09 tty56
crw--w----    1 root     tty         4,  57 Jun  2 20:09 tty57
crw--w----    1 root     tty         4,  58 Jun  2 20:09 tty58
crw--w----    1 root     tty         4,  59 Jun  2 20:09 tty59
crw--w----    1 root     tty         4,   6 Jun  2 20:09 tty6
crw--w----    1 root     tty         4,  60 Jun  2 20:09 tty60
crw--w----    1 root     tty         4,  61 Jun  2 20:09 tty61
crw--w----    1 root     tty         4,  62 Jun  2 20:09 tty62
crw--w----    1 root     tty         4,  63 Jun  2 20:09 tty63
crw--w----    1 root     tty         4,   7 Jun  2 20:09 tty7
crw--w----    1 root     tty         4,   8 Jun  2 20:09 tty8
crw--w----    1 root     tty         4,   9 Jun  2 20:09 tty9
crw-rw----    1 root     audio     204,  64 Jun  2 20:09 ttyAMA0
crw-------    1 root     root        5,   3 Jun  2 20:09 ttyprintk
crw-------    1 root     root       10, 239 Jun  2 20:09 uhid
crw-------    1 root     root       10, 223 Jun  2 20:09 uinput
crw-rw-rw-    1 root     root        1,   9 Jun  2 20:09 urandom
drwxr-xr-x    3 root     root            60 Jun  2 20:09 v4l
crw-------    1 root     root      245,   0 Jun  2 20:09 vc-mem
crw-------    1 root     root      239,   0 Jun  2 20:09 vchiq
crw-------    1 root     root       10, 125 Jun  2 20:09 vcio
crw-rw----    1 root     tty         7,   0 Jun  2 20:09 vcs
crw-rw----    1 root     tty         7,   1 Jun  2 20:09 vcs1
crw-rw----    1 root     tty         7,   2 Jun  2 20:09 vcs2
crw-rw----    1 root     tty         7,   3 Jun  2 20:09 vcs3
crw-rw----    1 root     tty         7,   4 Jun  2 20:09 vcs4
crw-rw----    1 root     tty         7,   5 Jun  2 20:09 vcs5
crw-rw----    1 root     tty         7,   6 Jun  2 20:09 vcs6
crw-rw----    1 root     tty         7, 128 Jun  2 20:09 vcsa
crw-rw----    1 root     tty         7, 129 Jun  2 20:09 vcsa1
crw-rw----    1 root     tty         7, 130 Jun  2 20:09 vcsa2
crw-rw----    1 root     tty         7, 131 Jun  2 20:09 vcsa3
crw-rw----    1 root     tty         7, 132 Jun  2 20:09 vcsa4
crw-rw----    1 root     tty         7, 133 Jun  2 20:09 vcsa5
crw-rw----    1 root     tty         7, 134 Jun  2 20:09 vcsa6
crw-rw-rw-    1 root     root       10, 122 Jun  2 20:09 vcsm-cma
crw-rw----    1 root     tty         7,  64 Jun  2 20:09 vcsu
crw-rw----    1 root     tty         7,  65 Jun  2 20:09 vcsu1
crw-rw----    1 root     tty         7,  66 Jun  2 20:09 vcsu2
crw-rw----    1 root     tty         7,  67 Jun  2 20:09 vcsu3
crw-rw----    1 root     tty         7,  68 Jun  2 20:09 vcsu4
crw-rw----    1 root     tty         7,  69 Jun  2 20:09 vcsu5
crw-rw----    1 root     tty         7,  70 Jun  2 20:09 vcsu6
crw-------    1 root     root       10, 127 Jun  2 20:09 vga_arbiter
crw-------    1 root     root       10, 137 Jun  2 20:09 vhci
crw-rw-rw-    1 root     111        10, 238 Jun  2 20:09 vhost-net
crw-rw-rw-    1 root     111        10, 241 Jun  2 20:09 vhost-vsock
crw-rw----    1 root     netdev     81,   1 Jun  2 20:09 video10
crw-rw----    1 root     netdev     81,   2 Jun  2 20:09 video11
crw-rw----    1 root     netdev     81,   3 Jun  2 20:09 video12
crw-rw----    1 root     netdev     81,   4 Jun  2 20:09 video13
ls: /dev/i2c-1: No such file or directory
crw-rw----    1 root     netdev     81,   6 Jun  2 20:09 video14
crw-rw----    1 root     netdev     81,   7 Jun  2 20:09 video15
crw-rw----    1 root     netdev     81,   8 Jun  2 20:09 video16
crw-rw----    1 root     netdev     81,   5 Jun  2 20:09 video18
crw-rw----    1 root     netdev     81,   0 Jun  2 20:09 video19
crw-rw----    1 root     netdev     81,  10 Jun  2 20:09 video20
crw-rw----    1 root     netdev     81,  11 Jun  2 20:09 video21
crw-rw----    1 root     netdev     81,  12 Jun  2 20:09 video22
crw-rw----    1 root     netdev     81,  13 Jun  2 20:09 video23
crw-rw----    1 root     netdev     81,   9 Jun  2 20:09 video31
crw-------    1 root     root       10, 130 Jun  2 20:09 watchdog
crw-------    1 root     root      247,   0 Jun  2 20:09 watchdog0
crw-rw-rw-    1 root     root        1,   5 Jun  2 20:09 zero
brw-rw----    1 root     disk      254,   0 Jun  2 20:09 zram0
brw-rw----    1 root     disk      254,   1 Jun  2 20:09 zram1
brw-rw----    1 root     disk      254,   2 Jun  2 20:09 zram2
I don't see I2C.
dtparam=i2c_vc=on
i2c already configured on sda1. Reboot required.
dtparam=i2c_arm=on
i2c already configured on sda1. This addon was already run during this boot and no reboot occurred. 
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.

Protection mode is switched off. I also restarted several times.

In the terminal, when I run:
lsmod | grep i2c
I donā€™t get an i2c_dev displayed.
image

Where is my mistake?

Edit:
Just pulled power from the Pi again and now itā€™s workingā€¦

hello why this error ??? how can i solve ???

[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: 28d
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.3  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.10.5
 Home Assistant Supervisor: 2022.10.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: -- -- -- -- -- -- -- --                         
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: -- -- -- -- -- -- -- --                         
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: -- -- -- -- -- -- -- --                         
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: -- -- -- -- -- -- -- --                         
Port not found...
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
2022-10-29_15:37:10: 54C - Level 3 - Fan 3% (Quiet 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 208: return ${returnValue}
Error: Could not open file `/dev/i2c-255' or `/dev/i2c/255': No such file or directory
Safe Mode Activated!

Looks like hardware failure. Iā€™d check connections.

Hi there!
Great you made activating the I2C so easy, especially for me as a HA newby.
With HA haos_rpi4-64-9.3.img.xz I can implement the Argon Temperature Control, but not the I2C
Configurator. When I try to add it to addons only the heading shows. Not more. Is there anything I am doing wrong?

'Thanks for your support`

Just want to say I very much appreciated the FAQā€¦lol. I needed it drilled into my head exactly how you put it there. Thank you!! ArgonOne Linear Cooling is up and running!

2 Likes

Thank you. I really appreciate that your first post on the forum is a compliment. I donā€™t think Iā€™ve seen that before. Very refreshing. Welcome to the forums!

Hi. Hoping you can help me. I managed to successfully installed and run the ā€œHassOS Configuratorā€ add-on and performed the 2 reboots of Home Assistant but am unable to install the ā€œArgonOne Temp Controlā€ using the repository ā€œadamoutler/HassOSArgonOneAddonā€. When I enter this repository within Home Assistant Add-onā€™s and click the Add button nothing happens. Is there something that I am missing?
Appreciate any assistance you can offer.
Thank you.

Enable advanced mode in HA.

1 Like

Thanks for the super fast response Adam. I was not expecting that. Great that developers are fast to respond to assist.

I managed to find the add-ons for both HassOS I2C Configurator & ArgonOne Active Linear Cooling* and they are appearing in the Add-Ons. I have successfully installed ArgonOne Active Cooling and the fan is now running finally :slight_smile:

When I try to install ArgonOne Active Linear Cooling & ArgonOne Active Linear Cooling - Classic, I see the following error messages:

Failed to install add-on

500 Server Error for http+docker://localhost/v1.41/build?t=2ad4c73a%2Faarch64-addon-argon_one_temp_linear_Linear%3A27&q=False&nocache=False&rm=False&forcerm=True&pull=True&buildargs=%7B%22BUILD_FROM%22%3A+%22ghcr.io%2Fhassio-addons%2Fbase%2Faarch64%3A9.1.7%22%2C+%22BUILD_VERSION%22%3A+%2227%22%2C+%22BUILD_ARCH%22%3A+%22aarch64%22%7D&labels=%7B%22io.hass.version%22%3A+%2227%22%2C+%22io.hass.arch%22%3A+%22aarch64%22%2C+%22io.hass.type%22%3A+%22addon%22%2C+%22io.hass.name%22%3A+%22ArgonOne+Active+Linear+CoolingĀ±+Classic%22%2C+%22io.hass.description%22%3A+%22Actively+keeping+your+Argon+One+cool.%22%2C+%22io.hass.url%22%3A+%22https%3A%2F%2Fcommunity.home-assistant.io%2Ft%2Fargon-one-active-cooling-addon%2F262598%2F%22%7D&platform=linux%2Farm64: Internal Server Error (invalid reference format: repository name must be lowercase)

Any recommendations on a fix?

Try reboot

Hi Adam, following several reboots of the device I am still unable to install either of the Linear Cooling options. Active Cooling continues to operate successfully.

There is nothing more i can do to test your problem. I cannot reproduce. Maybe youā€™re firewalled?

I just ran into this exact issue. Iā€™ve rebooted multiple times, as well.

Anything special about your system? Other addons work? Running HA OS?

After HassOS I2C Configurator didnā€™t work out of the box I tried everything I read in this thread but I canā€™t get the i2c of my RPi 4B in my Argon Case with RPi 4B working. My last try was to uncomment the three lines above in my /config.txt. lsmod|grep i2c returns:

i2c_mux_pinctrl        16384  0
i2c_mux                16384  1 i2c_mux_pinctrl
i2c_bcm2835            16384  0

But I still donā€™t see any i2c-devices in /dev.

Any further idea?

The most common failure is not disabling protection mode. The second most common failure is not rebooting the device via power cord pull twice.

Ok, I disabled protected mode and did reboot twice but did not power cord pull restart. I will do this and report the result.