FogLAMP South Plugin for DHT11 temperature and humidity sensor, for Raspberry Pi.
A DHT11 plugged directly into the GPIO pins of a Raspberry Pi, the default configuration is to use GPIO4 for the data.
The plugin can be installed with given requirements.sh or with below manual steps:
$ pip3 install -Ir python/requirements-dht11.txt --no-cache-dir
To access the GPIO pins foglamp must be able to access /dev/gpiomem
, the default access for this is owner and group read/write.
Either FogLAMP must be added to the group or the permissions altered to allow FogLAMP access to the sensor.