HewlettPackard/python-rhusb

Name: python-rhusb

Owner: Hewlett Packard Enterprise

Description: null

Created: 2017-05-12 18:18:50.0

Updated: 2017-05-24 16:47:56.0

Pushed: 2017-05-31 17:22:05.0

Homepage: null

Size: 21

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

python-rhusb

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

Getting Started

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.

Prerequisites

The python-rhusb library uses the pyserial library.

install pyserial
Installing

From Source:

t clone https://github.com/HewlettPackard/python-rhusb.git
 python-rhusb
thon setup.py install --user # to install in the user directory (~/.local)
thon setup.py install        # to install globally

Using PIP:

t clone https://github.com/HewlettPackard/python-rhusb.git
 python-rhusb
p install .

From Pypi:

TBD

Running the Sample Script
ython36-32\python.exe sample.py
form: Windows
ce: COM4

[b'42.1,74.1']
b'23.4 C']
b'74.1 F']
b'42.1 %RH']

ting 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'
Running the tests

TBD

Built With

TBD

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors
License

This project is licensed under the Apache 2.0 License- see the LICENSE.md file for details

Acknowledgments

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.