How can I get data of DHT22 that connected to GPIO on Raspberry running Openhab

Seriously? Why don’t you trying a little legwork for yourself. From this very forum: Read Temperature with Python and forward to MQTT. No you can’t use the GPIO binding because, to the best of my knowledge, that only detects high and low. Not enough to read a DHT22.

2 Likes