openhabian icon indicating copy to clipboard operation
openhabian copied to clipboard

Support I2C devices in menu

Open mstormi opened this issue 3 years ago • 3 comments

WIP

communication with I2C devices requires to enable the bus => This is needed for various sensors and e.g. for the Waveshare UPS HAT.

dtparam=i2c_arm=on in config.txt modprobe i2c-dev (eventually put into /etc/modules)

mstormi avatar Dec 08 '21 10:12 mstormi

Hey @mstormi,

currently, I'm struggling to activate i2c to get my RaspBee2 running. I tried it also with a naked Raspberry PI OS Lite (bullseye as well) and it worked. Do you have and hint what I have to do aport from setting dtparam=i2c_arm=on in the config.txt?

Thanks for hint and regards Marcel

mknet avatar Aug 17 '22 15:08 mknet

I installed raspi-config myself and activated IC2 via the raspi-config UI. Not a charm but at least it works. :)

mknet avatar Aug 17 '22 16:08 mknet

I installed raspi-config myself and activated IC2 via the raspi-config UI. Not a charm but at least it works. :)

Please figure out what raspi-config changed about config.txt to help with making that selectable in openHABian via menu. That's what this issue is about.

mstormi avatar Aug 17 '22 17:08 mstormi