Please use code fences.
Logs?
Does the script work when run as the openhab user?
sudo -u openhab python DHT22.py
See How to solve Exec binding problems for other trouble shooting ideas.
Please use code fences.
Logs?
Does the script work when run as the openhab user?
sudo -u openhab python DHT22.py
See How to solve Exec binding problems for other trouble shooting ideas.