Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Simple Python plugin to support a DHT11 temperature sensor connected to the GPIO pins of a Raspberry Pi

License

Notifications You must be signed in to change notification settings

foglamp/foglamp-south-dht11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

foglamp-south-dht11 (Raspberry Pi)

FogLAMP South Plugin for DHT11 temperature and humidity sensor, for Raspberry Pi.

Hardware

A DHT11 plugged directly into the GPIO pins of a Raspberry Pi, the default configuration is to use GPIO4 for the data.

Installation

The plugin can be installed with given requirements.sh or with below manual steps:

$ pip3 install -Ir python/requirements-dht11.txt --no-cache-dir

Sensor GPIO access

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.

About

Simple Python plugin to support a DHT11 temperature sensor connected to the GPIO pins of a Raspberry Pi

Resources

License

Stars

Watchers

Forks

Packages

No packages published