Git Product home page Git Product logo

sensors's Introduction

Log sensor data using RPi and ESP8266

Example: https://thingspeak.com/channels/321821

Sensors -> MQTT -> Telegraf -> InfluxDB -> Chronograf: Chronograf dashboard

Sensors

Sensor Measurement Interface Host Publish to
BME280 temperature (C), pressure (mBar), humidity (%) I2C RPi3 thingspeak, MQTT
TSL2561 visible light (lux), infrared, broadband I2C RPi3 thingspeak, MQTT
MH-Z19B CO2 (ppm) UART (USB) RPi3 MQTT
PMS7003 particle matter (counts and PM [1, 2.5, 10] ug/m³) UART (pins) RPi3 MQTT
FlowMeter shower usage via Hall effect flow sensor (ml/s, total_ml, duration) GPIO ISR Wemos D1 mini MQTT
BloodPressureWifi read Beurer blood pressure monitor (hiBP, loBP, HR) SPI EEPROM Wemos D1 mini MQTT

thingspeak.py reads BME280 and TSL2561, the other sensors run as standalone services (see their repos).

Setup

Install dependencies with pipenv install. Register at www.thingspeak.com and replace Config.key in thingspeak.py.

Run with

./thingspeak.py 2>&1 | tee -a thingspeak.log

sensors's People

Contributors

vogler avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.