[add-on] HassOS I2C Configurator

Sure let me know what is easier … As they are in short supply I am located in Australia and had to get mine from the UK… What do you mean by a patch ?

I did some research on how the fan works. https://download.argon40.com/scripts/argonregister.py

I looked at the Argon site and saw they are out of stock. So I contacted them to see if I could work out something. This project currently has 50k downloads since we switched to premade docker containers 2 years ago. Before that, it’s unknown. I suggested they send me a Neo and v3, or provide support for Home Assistant.

Okay let me know how youu go as I have a few V3 and Neos if they cant get you one…

Any update on this were you able to get a unit for testing ?

Not yet. I have a rpi5. But no argonone

Are the Neo 5 the same as the V3 as I have quite a few spare Neo 5 but only one spare V3 happy to ship you a Neo 5 so you can test…

Unclear. Possibly. But I haven’t done research on the new neo.

They seem to be available now
Argon ONE V3 Case for Raspberry Pi 5 – Argon 40 Website Store

Yes I got rpi5 with argon one V3 nvme version with haos 12 on nvme noe after core update 2024.3.0 it seems to work stable. As far as I understand this addon isnt compatible with this case for now ? May i provide any data to help out with compatibility?

1 Like

After many attempts, I wasn’t able to get the add on running. However, I did finally succeed with manual attempts using the below:

Manual Way

Just a tip which I didn’t realise. You have to check your drive name, I am using a NVMe drive - and the names listed do not match my own (sda1, sdb1 or mmcblk0p1) - mine was labeled nvme0 etc. and still reboot twice, mine didn’t pick up on the first.

I am still new to all this, so I hope this helps someone out.

could you describe your way of enabling i2c?
For me sda1 is displayed and also nvme0. what did you mount? could you maybe post the commands?
after several tries there are no i2c folders in the /dev folder

wow
they deleted today the i2c part from the link:
Manual Way

Does this add-on allow use of sensors connected to the I2C bus directly in HA?

I’m just a little confused as there is no real demo “code” for adding sensors via I2C from this add-on.

Thanks

That’s more in the realm of raspberry pi-specific and ha development. The primary reason for enabling i2c is for supported devices like Argon One case addon.

I got the i2c configurator to work sort of. it didnt like the writing of the i2c configuration the first couple of times but eventuallhy i was able to get the argonon v3 addon to work. at least it says it is.

It worked after a forced shutdown, thanks

I just install the latest 12.2 HassOS for Pi 5, add the repository. After check for updates, no addon shows under HassOS Configurator Category, Supervisor log shows 4 new add on loaded, but still no showing on Addon store. Tried re-add the repository, reflash and even hard reboot.

Supervisor log:

2024-04-30 11:41:34.082 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/adamoutler/HassOSConfigurator repository
2024-04-30 11:41:37.322 INFO (MainThread) [supervisor.store] Loading add-ons from store: 81 all - 4 new - 0 remove
2024-04-30 11:41:40.940 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
2024-04-30 11:41:40.943 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
2024-04-30 11:41:40.944 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
2024-04-30 11:41:40.948 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/adamoutler/HassOSConfigurator repository
2024-04-30 11:41:46.240 INFO (MainThread) [supervisor.store] Loading add-ons from store: 81 all - 0 new - 0 remove
2024-04-30 11:41:46.240 INFO (MainThread) [supervisor.store] Loading add-ons from store: 81 all - 0 new - 0 remove

Ran into this myself. You need to enable “Advanced mode” under you user to see HassOS Configurator add-ons.

Hi! Thank you for creating this add-on!
I got it working and running on my Raspberry Pi 4 running hassio to control the fan and leds connected to the pi

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

I setup an virtual python env to import the required modules like smbus2.
Running scripts results in:

PermissionError: [Errno 1] Operation not permitted: '/dev/i2c-1'

Permissions look like this:

crw-------    1 root     root       89,   0 Jan 24 23:45 i2c-0
crw-------    1 root     root       89,   1 Jan 24 23:45 i2c-1
crw-------    1 root     root       89,  10 Jan 24 23:45 i2c-10
crw-------    1 root     root       89,  22 Jan 24 23:45 i2c-22

I tried running the script as root, sudo, chmod, chown, creating a udev rule, nothing has been working so far. Am I missing something? It seems so trivial…

Following.

Doesn’t work for my current setup:

  • Home assistant on Raspberry Pi 5 (supervisor installation)
  • Case: Argon ONE V3 with M.2 NVMe Base
  • Drive: NVME MakerDisk 256GB SSD