Script to capture numeric humidity and temperature output from DHT22
Project description
pyHumiTemp
Version | 1.0.1 |
Changes | https://github.com/viharm/pyHumiTemp/pull/3/commits |
Download | https://github.com/viharm/pyHumiTemp/releases |
Repository | https://github.com/viharm/pyHumiTemp |
Issues | https://github.com/viharm/pyHumiTemp/issues |
License | Modified BSD (3-clause) |
Language | Python |
pyHumiTemp is a script to capture numeric humidity and temperature output from DHT22.
Installation
Pre-requisites
- DHT22 humidity and temperature sensor
- tango binary (http://blog.e-photographer.net/?p=927) to interrogate DHT22
- Hardware drivers for DHT22 specific to the platform
Download
Download the script as an archive, clone as a Git repository and install with pip from PyPI
Archive
Download archive of the latest version from https://github.com/viharm/pyHumiTemp/releases/latest.
PyPI
From version v1.0.1 onwards, pyHumiTemp is available on PyPI and can be installed with pip (or pip3)
pip install pyhumitemp
Or if pip is not in the system path,
python3 -m pip install pyhumitemp
Clone repository
Clone the repository into the required location;
git clone https://github.com/viharm/pyHumiTemp.git
Deploy
No specific deployment requirements.
Configuration
No configuration necessary.
Usage
Simply run the script and pass the required quantity to be measured as a parameter
Temperature
/usr/bin/python3 DHT22.py --param=temperature
Humidity
/usr/bin/python3 DHT22.py --param=humidity
Known issues
- Only one parameter can be measured in one instance. This is by design as the numeric output can be used by other scripts.
Support
For issues, queries, suggestions and comments please create an issue/ticket at https://github.com/viharm/pyHumiTemp/issues.
Contribute
Please feel free to clone/fork and contribute via pull requests. Donations also welcome, simply raise an issue as described above.
Please make contact for more information.
Development environment
Developed on..
- Raspberry Pi model B (rev 1) and model A+
- Raspbian
python-rpi.gpio
0.5.11-1python3-rpi.gpio
0.5.11-1- Python 2.7, 3.2
License
Licensed under the modified BSD (3-clause) license.
A copy of the license is available...
- in the enclosed
LICENSE
file. - at http://opensource.org/licenses/BSD-3-Clause
Credits
Tools
tango
tango binary for interrogating DHT22
Utilities
Notepad++
Notepad++ text editor (https://notepad-plus-plus.org/), used under the GNU GPL.
Copyright (C) Don Ho.
Codiad
Codiad web based IDE (https://github.com/Codiad/Codiad), used under a MIT-style license.
Copyright (c) Codiad & Kent Safranski (codiad.com)
Ungit
Ungit web based interface for Git (https://github.com/FredrikNoren/ungit), used under the MIT license.
Copyright (C) 2013-2016 Fredrik Norén
GitHub
Hosted by GitHub code repository (github.com).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyhumitemp-1.0.1.post1.tar.gz
.
File metadata
- Download URL: pyhumitemp-1.0.1.post1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdf84d15dc818829d3f50cd217691887d5d83988f196289320a66a725e4ec39c |
|
MD5 | 5f3ca2cb34529719c453e7619ed16bdb |
|
BLAKE2b-256 | 145d2ce6c25dd8a6b60b90e4e6082bc18b466e8d21db33078076518fa823c36d |
File details
Details for the file pyhumitemp-1.0.1.post1-py3-none-any.whl
.
File metadata
- Download URL: pyhumitemp-1.0.1.post1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c381dfc89814a8b502519ad8ea3c03f7a16be5900b6b6996160aeaded4a21e6d |
|
MD5 | b42274e6945cb7a4751fd468e130a01f |
|
BLAKE2b-256 | 13c18f66001c05e051347fd533670085121efe6e74f232732faa43d7eb7e1498 |