This library provides a pure Python interface to the Omega RH-USB temperature/humidity sensor.The device includes a USB-Serial interface which is used to send commands and receive input from the device.
More information on this device is available at http://www.omega.com/pptst/RH-USB.html
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The python-rhusb library uses the pyserial library.
pip install pyserial
From Source:
$ git clone https://github.com/HewlettPackard/python-rhusb.git
$ cd python-rhusb
$ python setup.py install --user # to install in the user directory (~/.local)
$ python setup.py install # to install globally
Using PIP:
$ git clone https://github.com/HewlettPackard/python-rhusb.git
$ cd python-rhusb
$ pip install .
From Pypi:
TBD
C:\Python36-32\python.exe sample.py
Platform: Windows
Device: COM4
PA: [b'42.1,74.1']
C: [b'23.4 C']
F: [b'74.1 F']
H: [b'42.1 %RH']
Starting 10 periodic readings every 1 seconds
--> b'42.1,74.1'
--> b'42.1,74.1'
--> b'42.1,74.1'
--> b'42.1,74.1'
--> b'42.1,74.1'
--> b'42.1,74.1'
--> b'42.1,74.1'
--> b'42.1,74.1'
--> b'42.1,74.1'
--> b'42.1,74.1'
TBD
TBD
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Dave Brookshire - Initial work - HPE
This project is licensed under the Apache 2.0 License- see the LICENSE.md file for details