Hi, I have a DHT22 sensor (temp and humidity) atteched to the analog input of an Xbee device. I can read the pin, that is always 1200, the max value.
If I attached the sensor to Raspberry, I can read the correct value with Adafruit libraries (https://github.com/adafruit/Adafruit_Python_DHT), but if I read the pin values with wiringPi, I get “1”, so the max value allowed by Raspberry.
I would read the sensor data with xbee and show the value in openHAB2, but I don’t know how to do this.
Can you help me? Can you give me some ideas?
Thanks a lot!
Roberto