how to connect this with raspi using OpenHab for controlling LED OFF or ON
I have no idea, what this sensor does or is - but it seems like you have to do something like:
- get that sensor connected to your Pi as intended (using GPIO)
- get it up and running outside the openHAB context
- after that you can use the gpio-binding to control the sensor
https://docs.openhab.org/addons/bindings/gpio1/readme.html -
if that won’t work, you can write some reading scripts (in bash, python or whatever suits you) and Control those scripts via the exec-binding
https://docs.openhab.org/addons/bindings/exec/readme.html
I don’t think, there’s a specific binding for exactly that piece of sensor… So my bet is, you have to access it via the GPIO.
okay thanks, I will try