Skip to content

automontronic/AirQualitySensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages