This should be working fine after the last HassOS update. Just uninstall and reinstall if it is already installed.
This doesnât work for me. I get permission denied when running
mount /dev/sda1 /tmp/mnt
Try uninstalling and reinstalling
@adamoutler
after doing this it seemed to work for me. Not sure where your addon was failing. I tried uninstalling it and running again. Iâm running on a m.2 SSD drive and did a restore snapshot from a SD install. Hopefully this isnât going to cause issues as itâs not quite clear what files are included in the snapshot.
Iâll need to wipe my instance and try again fresh, I suppose.
I had the same issue as @Morphy. I disabled protection mode and rebooted several times, although the log still thinks it is in protection mode. I then used the document you had provided and tried to do it manually, however when trying to run the second command âmount /dev/mmcblk0p1 /tmp/mntâ as root, I am receiving a permission denied error. Any guidance would be appreciated.
@bsp9493 pretty much explained this above.
To do it manually you need to edit config.txt on hassos-boot partition and add at the end:
dtparam=i2c_vc=on
dtparam=i2c_arm=on
You can edit this on Windows as itâs on the first boot partition of the SD card/USB drive.
BUT, you canât edit the other file as itâs on hassos-overlay partition. You will need a Linux distro to do this. I used an Ubuntu Live USB stick and then mounted the partitions needed in Disks. Then in CMD do sudo nano /media/ubuntu/hassos-overlay/etc/modules-load.d/rpi-i2c.conf
Then add i2c-dev
and save.
There is another way to do the hassos-overlay part by doing what bsp9493 said further up. Adding the folders and file described to the boot partition of the SD Card or USB drive and booting up. I donât know if there are permissions issues doing it this way though.
@adamoutler, any chance there is going to be an update anytime soon so that this doesnât have to be done manually? Unfortunately, I would have to spin up a Linux VM in order to do this. Fortunately, the passive cooling on this case is pretty incredible, and Iâm still rarely going above 103 F
Update pushed
uninstalled and reinstalled version 0.11a. hard-rebooted the pi 3 times, Iâm still seeing an error in the log that says the following:
âmount: permission denied (are you root?)
Detected Protection Mode is enabled. Disable Protection Mode in Info Screen.
no mmcblk0p1 config found
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.â
Disable protection mode.
Sorry I shouldâve specified that protection mode is disabled on the info page.
@adamoutler upgraded to version 0.12 today, rebooted twice, and that resolved the issue. Both the i2c and argon active cooling add-ons are working as expected now. Thank you
Hi, may I know after each reboot, do I have to run the I2C addon again?
No. You may remove it when complete.
Ok, thanks. Itâs working now.
Hi, I need some help. I could say that I followed your instructions but it does not work. So I checked the protocol from the HassOS I2C Configurator and found the following errors.
ls: /dev/i2c-1: No such file or directory
I donât see I2C.
adding dtparam=i2c_vc=on to sda1 config.txt
adding dtparam=i2c_arm=on to sda1 config.txt
no sdb1 available
no mmcblk0p1 available
Any suggestions? Do you need more information?
Have you hard reboot 2 times after running add-on? itâs not enough to restart HA, you have to shut off and remove power then restart 2 times.
Thank you very much! I think the step âto plug off powerâ was the important point.
And now, I have a very noisy fan Is yours also noisy?
on default config, yes: i use quiet option of Argon addon, its a linear noise curve and didnt affect cooling much