Giter VIP home page Giter VIP logo

enmon's Introduction

enmon

Environmental Monitoring Toolkit for HARDWARIO Bridge Module

This project is a Python CLI tool providing access to HARDWARIO Bridge Module - an USB to I2C adapter. In connection with HARDWARIO Climate Module, this tool can provide useful environmental data - temperature, relative air humidity, atmospheric pressure, altitude above the sea level, and illuminance. The data can be output to console stdout or published via MQTT message in JSON format.

Requirements

  • macOS or Linux machine (e.g. Raspberry Pi)
  • MicroUSB cable
  • HARDWARIO Bridge Module
  • HARDWARIO Climate Module

Installation on Raspberry Pi

Only the official Raspbian distribution is supported. The following procedure has been tested with Raspbian Buster Lite.

  1. Install the build tools:

    sudo apt install -y autotools-dev autoconf automake libtool

  2. Install the library dependencies:

    sudo apt install -y libudev-dev libusb-1.0-0-dev

  3. Downloaded the sources:

    $ wget https://github.com/libusb/hidapi/archive/hidapi-0.9.0.tar.gz

  4. Extract the downloaded sources:

    $ tar xzf hidapi-0.9.0.tar.gz

  5. Go to the sources directory:

    $ cd hidapi-hidapi-0.9.0

  6. Build the library:

    $ ./bootstrap $ ./configure $ make

  7. Install the library:

    $ sudo make install

Alternatively, install the hidapi library as a package:

$ sudo apt install -y libhidapi-libusb0

Install the Python tool from PyPI:

$ sudo pip3 install enmon

Installation on macOS

  1. Downloaded the sources:

    $ git clone https://github.com/libusb/hidapi.git

  2. Go to the sources directory:

    $ cd hidapi

  3. Build the library:

    $ ./bootstrap $ ./configure $ make

  4. Install the library:

    $ sudo make install

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 MIT License - see the LICENSE file for details.

enmon's People

Contributors

hubpav avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.