DHT22, Xbee and Raspberry

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

DHT22 is digital sensor which uses proprietary protocol for reporting values. Even if wiring and power levels are same as for 1-wire from Dallas or Maxim it is not possible to plug it normally into Raspberry and read as analog value. You are able to read it using custom library because it can understand signal levels emmited by sensor.