Giter VIP home page Giter VIP logo

airqualitysensor's Introduction

AirQualitySensor

The Air Quality Sensor uses an ESP32 ESP-WROOM32 development board and a MQ135 Air Quality Sensor

The VCC pin on the MQ135 is connected to the 3.3v pin on the ESP32 board.

The GND pin on the MQ135 is connection the GND pin on the ESP32 board.

The A0 pin on the MQ135 is connection the GPIO36 pin on the ESP32 board.

The MQTT connection will publish the Air Quality in PPM on a 30 second interval by default.

You will need to add in your SSID, the Password, the MQTT broker IP address and the MQTT Topic.

If using Home Assistant and have Mosquitto/MQTT setup, you can configure a new sensor in the configuration.yml file similar to:

mqtt:
  sensor:
   - name: "Air Quality"
     state_topic: "airquality/location"
     unit_of_measurement: "ppm"
     device_class: "aqi"

airqualitysensor's People

Contributors

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