I am using a voltage sensor which communicates over I²C, a Python script is handling all the communication and logic in a Raspberry Pi. Since I want to switch to openHAB I am wondering how to read that sensor, basically code a binding, without the use of Java.

My idea is to run a small Python script, which uploads the current value to a local MQTT server, which makes me worry about network overhead and performance.

Is there any other way to implementiert such a binding in Python? I really want to stick with that since the sensor only has library support written in Python.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.