[add-on] HassOS I2C Configurator

crw--w----    1 root     tty         4,  41 Jan 24 23:45 tty41
crw--w----    1 root     tty         4,  42 Jan 24 23:45 tty42
crw--w----    1 root     tty         4,  43 Jan 24 23:45 tty43
crw--w----    1 root     tty         4,  44 Jan 24 23:45 tty44
crw--w----    1 root     tty         4,  45 Jan 24 23:45 tty45
crw--w----    1 root     tty         4,  46 Jan 24 23:45 tty46
crw--w----    1 root     tty         4,  47 Jan 24 23:45 tty47
crw--w----    1 root     tty         4,  48 Jan 24 23:45 tty48
crw--w----    1 root     tty         4,  49 Jan 24 23:45 tty49
crw--w----    1 root     tty         4,   5 Jan 24 23:45 tty5
crw--w----    1 root     tty         4,  50 Jan 24 23:45 tty50
crw--w----    1 root     tty         4,  51 Jan 24 23:45 tty51
crw--w----    1 root     tty         4,  52 Jan 24 23:45 tty52
crw--w----    1 root     tty         4,  53 Jan 24 23:45 tty53
crw--w----    1 root     tty         4,  54 Jan 24 23:45 tty54
crw--w----    1 root     tty         4,  55 Jan 24 23:45 tty55
crw--w----    1 root     tty         4,  56 Jan 24 23:45 tty56
crw--w----    1 root     tty         4,  57 Jan 24 23:45 tty57
crw--w----    1 root     tty         4,  58 Jan 24 23:45 tty58
crw--w----    1 root     tty         4,  59 Jan 24 23:45 tty59
crw--w----    1 root     tty         4,   6 Jan 24 23:45 tty6
crw--w----    1 root     tty         4,  60 Jan 24 23:45 tty60
crw--w----    1 root     tty         4,  61 Jan 24 23:45 tty61
crw--w----    1 root     tty         4,  62 Jan 24 23:45 tty62
crw--w----    1 root     tty         4,  63 Jan 24 23:45 tty63
crw--w----    1 root     tty         4,   7 Jan 24 23:45 tty7
crw--w----    1 root     tty         4,   8 Jan 24 23:45 tty8
crw--w----    1 root     tty         4,   9 Jan 24 23:45 tty9
crw-------    1 root     root        5,   3 Jan 24 23:45 ttyprintk
crw-------    1 root     root       10, 239 Jan 24 23:45 uhid
crw-------    1 root     root       10, 223 Jan 24 23:45 uinput
crw-rw-rw-    1 root     root        1,   9 Jan 24 23:45 urandom
drwxr-xr-x    3 root     root            60 Jan 24 23:45 v4l
crw-------    1 root     root      245,   0 Jan 24 23:45 vc-mem
crw-------    1 root     root       10, 124 Jan 24 23:45 vchiq
crw-------    1 root     root       10, 125 Jan 24 23:45 vcio
crw-rw----    1 root     tty         7,   0 Jan 24 23:45 vcs
crw-rw----    1 root     tty         7,   1 Jan 24 23:45 vcs1
crw-rw----    1 root     tty         7,   2 Jan 24 23:45 vcs2
crw-rw----    1 root     tty         7,   3 Jan 24 23:45 vcs3
crw-rw----    1 root     tty         7,   4 Jan 24 23:45 vcs4
crw-rw----    1 root     tty         7,   5 Jan 24 23:45 vcs5
crw-rw----    1 root     tty         7,   6 Jan 24 23:45 vcs6
crw-rw----    1 root     tty         7, 128 Jan 24 23:45 vcsa
crw-rw----    1 root     tty         7, 129 Jan 24 23:45 vcsa1
crw-rw----    1 root     tty         7, 130 Jan 24 23:45 vcsa2
crw-rw----    1 root     tty         7, 131 Jan 24 23:45 vcsa3
crw-rw----    1 root     tty         7, 132 Jan 24 23:45 vcsa4
crw-rw----    1 root     tty         7, 133 Jan 24 23:45 vcsa5
crw-rw----    1 root     tty         7, 134 Jan 24 23:45 vcsa6
crw-rw-rw-    1 root     root       10, 122 Jan 24 23:45 vcsm-cma
crw-rw----    1 root     tty         7,  64 Jan 24 23:45 vcsu
crw-rw----    1 root     tty         7,  65 Jan 24 23:45 vcsu1
ls: /dev/i2c-1: No such file or directory
crw-rw----    1 root     tty         7,  66 Jan 24 23:45 vcsu2
crw-rw----    1 root     tty         7,  67 Jan 24 23:45 vcsu3
crw-rw----    1 root     tty         7,  68 Jan 24 23:45 vcsu4
crw-rw----    1 root     tty         7,  69 Jan 24 23:45 vcsu5
crw-rw----    1 root     tty         7,  70 Jan 24 23:45 vcsu6
crw-------    1 root     root       10, 127 Jan 24 23:45 vga_arbiter
crw-------    1 root     root       10, 137 Jan 24 23:45 vhci
crw-rw-rw-    1 root     110        10, 238 Jan 24 23:45 vhost-net
crw-rw-rw-    1 root     110        10, 241 Jan 24 23:45 vhost-vsock
crw-rw----    1 root     netdev     81,   1 Jan 24 23:45 video10
crw-rw----    1 root     netdev     81,   6 Jan 24 23:45 video11
crw-rw----    1 root     netdev     81,   8 Jan 24 23:45 video12
crw-rw----    1 root     netdev     81,   0 Jan 24 23:45 video13
crw-rw----    1 root     netdev     81,   3 Jan 24 23:45 video14
crw-rw----    1 root     netdev     81,   4 Jan 24 23:45 video15
crw-rw----    1 root     netdev     81,   5 Jan 24 23:45 video16
crw-rw----    1 root     netdev     81,  11 Jan 24 23:45 video18
crw-rw----    1 root     netdev     81,   2 Jan 24 23:45 video19
crw-rw----    1 root     netdev     81,   7 Jan 24 23:45 video20
crw-rw----    1 root     netdev     81,   9 Jan 24 23:45 video21
crw-rw----    1 root     netdev     81,  10 Jan 24 23:45 video22
crw-rw----    1 root     netdev     81,  13 Jan 24 23:45 video23
crw-rw----    1 root     netdev     81,  12 Jan 24 23:45 video31
crw-------    1 root     root       10, 130 Jan 24 23:45 watchdog
crw-------    1 root     root      247,   0 Jan 24 23:45 watchdog0
crw-rw-rw-    1 root     root        1,   5 Jan 24 23:45 zero
brw-rw----    1 root     disk      254,   0 Jan 24 23:45 zram0
brw-rw----    1 root     disk      254,   1 Jan 24 23:45 zram1
brw-rw----    1 root     disk      254,   2 Jan 24 23:45 zram2
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
no nvme0n1p1 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.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
punt!

Is it running correctly? I dont think so, my fan is still running at 100%.
Do I have to plug in a USB Stick?
I have the ArgonOne m.2 (SSD is connected by USB bridge, there is no other sd-card or stick inserted).
Rpi 4

Disable protection mode as mentioned

I even got hung up on protection mode just now :slight_smile:

PI 5 run on SSD m.2
I already disable protection mode
but log show below

I don’t see I2C.
no sda1 available
no sdb1 available
no mmcblk0p1 available

dtparam=i2c_vc=on
i2c already configured on nvme0n1p1. Reboot required.
dtparam=i2c_arm=on
i2c already configured on nvme0n1p1. 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.

Worked like a charm on Pi5 with NVME.

Checked the logs, disabled protection mode, checked logs, rebooted, check logs again, last reboot, done!

Now I need to learn how to create addons so I can actually read some values :slightly_smiling_face:

Just a warning, not really related to this addon, but i2c in general.

Some of the GPIO-integrations available seems to block the possibility to read from the bus, even if GPIO don’t have any pins configured.