I2C on Raspberry Pi 5 & HAOS - /boot/CONFIG gets removed automatically

Got it all working again. Learned a couple of things:

  • Double check your I2C device DOESNT have pull-ups before you connect it to a 5v supply or you’ll fry your Raspberry Pi / ESP pins.
  • The modifications to the CONFIG/modules may not be necessary? The directory gets wiped each reboot, but that’s OK so long as the config.txt changes persist.
  • For building custom addons that access the i2c busses: rebuilding the addon doesn’t fully load any new config.yaml changes. You need to uninstall/reinstall the addon. (For instance, if you change the i2c bus you’re using)