My goal was to include a dht22 (temperature) sensor in openhab connected to the openhab server (Raspberry Pi).
Why like this? Because the Pi and the sensor are in the same room.
To install this, run the following command:
git clone https://github.com/technion/lol_dht22
with 'cd ’ we change to the directory of lol_dht22 and install it.
cd lol_dht22 ./configure
Since I have only little time, this tutorial will be completed piece by piece.