Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support I2C devices in menu #1634

Open
mstormi opened this issue Dec 8, 2021 · 3 comments
Open

Support I2C devices in menu #1634

mstormi opened this issue Dec 8, 2021 · 3 comments
Labels
enhancement New feature or request hardware support Related to hardware we want to support optional component Not part of the base system

Comments

@mstormi
Copy link
Contributor

mstormi commented Dec 8, 2021

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 mstormi changed the title i2c raspi config for UPS etc. i2c raspi config Dec 8, 2021
@mstormi mstormi changed the title i2c raspi config I2c raspi config Dec 8, 2021
@ecdye ecdye changed the title I2c raspi config Support I2C devices in menu Dec 8, 2021
@ecdye ecdye added enhancement New feature or request hardware support Related to hardware we want to support optional component Not part of the base system labels Feb 15, 2022
@mknet
Copy link

mknet commented Aug 17, 2022

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
Copy link

mknet commented Aug 17, 2022

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

@mstormi
Copy link
Contributor Author

mstormi commented Aug 17, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hardware support Related to hardware we want to support optional component Not part of the base system
Projects
None yet
Development

No branches or pull requests

3 participants