Git Product home page Git Product logo

rpi-enviro-monitor's Introduction

RPi Enviro Monitor

WIP

A python client for Raspberry Pi environmental sensors. Currently this is intended for the Pimoroni Enviro, but is extensible to potentially apply to other sensors.

This adapts a subset of the examples from the enviroplus-python repo, combines them into a single service, and also exposes them for eaiser use as a python library.

Currently this is mainly just for learning purposes, and does not (yet) support the Enviro+ gas and PM sensors.

Features

rpi-enviro-monitor combines the following features into one program, intended to be used as a systemd service:

  • Display bar charts for individual sensor metrics
  • Display combined sensor readings and device status
  • Toggle between display modes using the proximity sensor
  • Publish sensor readings via MQTT (optional)
  • Configure via a yaml config file

rpi-enviro-monitor can also be used as a python library, if you don't plan on using it as a service, or if you want different behavior.

Installation

Requirements

  • Raspberry Pi OS 'Bullseye' (not tested on earlier releases)
  • Python 3.9+

Quick installation

To install and configure rpi-enviro-monitor as a systemd service:

curl -fLo install.sh https://raw.githubusercontent.com/JWCook/rpi-enviro-monitor/main/install.sh
./install.sh

Then, update config settings in ~/.config/enviro.yml as needed.

Alternate installation

If the included script doesn't work for you, try the enviroplus-python install script, which accounts for more variations in system configurations.

Then install this package:

pip install --user rpi-enviro-monitor

And see install.sh for optional setup steps.

Local development

Requires poetry.

poetry install

Credits

rpi-enviro-monitor's People

Contributors

gadgetoid avatar jwcook avatar

Watchers

 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.