Skip to content

Python bindings for AM2302 temperature & humidity sensor

License

Notifications You must be signed in to change notification settings

nilscc/am2302.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick & dirty Cython bindings for AM2302 / DHT22 temperature and humidity sensor on the Raspberry Pi 3b.

Install

Install all Python 3 dependencies:

pip3 install -r requirements.txt

Then run the setup.py script:

python3 setup.py install

Run with the --user flag to install without root rights.

Tests can be executed using pytest. Note, that some reader tests might fail if data could not be read successfully from the sensor. This is currently expected. It should succeed at least every now and then. :)

About

Python bindings for AM2302 temperature & humidity sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published