Linux kernel driver for DHT11 / DHT22 with decimal part support and raw value channels.
Based on the dht11 driver in the kernel tree.
make
sudo make install
sudo dtoverlay -v dht11-decimal gpiopin=13
sudo sh -c "echo 'dtoverlay=dht11-decimal,gpiopin=13' >>/boot/config.txt"
sudo reboot
cat /sys/bus/iio/devices/iio\:device0/{in_temp_input,in_humidityrelative_input}
cat /sys/bus/iio/devices/iio\:device0/{in_temp_raw,in_humidityrelative_raw}