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"