Openhab arduino i2c communication on gpio

I want to receive some data from raspberry pi to arduino. I can only think of i2c protocol for this. But i cant find a way for i2c communication in openhab

1 Like

There are boards you can get to accomplish I2C on the Pi and scripts or code you can write that will run on the Pi. Then you can interact with this script using MQTT, Exec binding, or something else like that. There is no I2C binding.

Though there are lots of ways you can get an Arduino to talk to a Pi. You can put a wireless transceiver on both and send messages back and forth that way for instance. WiFi, RFM69, etc are all options.