Code Monkey home page Code Monkey logo

esphome-particule-sensor's Introduction

Esphome particule sensor

The LGO303 "Personal Air Quality Detector PM1 PM2.5 PM10 with display" is a great value for money air quality sensor. It seems to work a pmsx003 air sensor which display informations in a nice display (Nextion grade)

The idea of this project is to add wifi support to it, for that I required :

  • an esp01s
  • an FTDI USB adapter
  • 3 wires

Preparation : first time flash with FTDI

git clone [email protected]:PascalNoisette/esphome-particule-sensor.git
cd esphome-particule-sensor
# remember to change passwords in the secrets file.
sudo docker run --rm -v "${PWD}":/config --device=/dev/ttyUSB0 -it esphome/esphome run particule.yaml

Wiring

esp01s is powered with an unused ground pad and a 3.3v pad of the PCB inside LGO303 esp01s GPIO02 is hooked to PM_RX

flash with OTA

sudo docker run --rm --net=host -v "${PWD}":/config  -it esphome/esphome run particule.yaml

History graph in Home Assistant

  - type: history-graph
    entities:
    - sensor.particulate_matter_10_0um_concentration
    - sensor.particulate_matter_1_0um_concentration
    - sensor.particulate_matter_2_5um_concentration
    

history graph screenshot in HA

esphome-particule-sensor's People

Contributors

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