WTH why enabling I2C is so hard?

@agners I found another place that is still referring to a USB stick: https://github.com/home-assistant/operating-system/blob/a2a4cf8668c3c333b4641da264d5eed18a786179/Documentation/configuration.md
According to it the “Import from USB” should work fine.
So maybe there is an error in that method after all?

The USB import method works fine for the files listed there. It only fails for the RPi specific config.txt… That is not handled by the /usr/sbin/hassos-config script.

There are essentially two cases handled by /usr/sbin/hassos-config:

  • USB flash drive with name CONFIG
  • Directory called CONFIG in hassos-boot partition on the SD card

In both cases the same functionality is provided (importing modules, network config etc…). However, in both cases config.txt is not handled…

And because config.txt is not handled, it needs to be manually edited on the hassos-boot partitions root directory.

I wrote an addon that makes i2c easy!