Integration for the HPMA115S0 Dust and Particle Sensor into ESPHome
- Download this repo through main branch or the releases page.
- Extract the "custom_components" folder and place it in your esphome directory (where your .yaml files are works for me)
- Add the sensor configuration to your ESPHome Project:
- platform: hpma115s0_esphome
pm_2_5:
name: "Particulate Matter 2.5"
pm_10_0:
name: "Particulate Matter 10.0"
# These aqi lines are optional
aqi_2_5:
name: "Air Quality Index Particulate Matter 2.5"
aqi_10_0:
name: "Air Quality Index Particulate Matter 10.0"
#Uncomment below if you have the compact sensor
#pm_1_0:
# name: "Particulate Matter 1.0"
#pm_4_0:
# name: "Particulate Matter 4.0"
update_interval: 10s
- Next add the uart configuration near the top of your ESPHome Project file:
uart:
id: uart_bus
tx_pin: 9 #Change tx_pin and rx_pin to the ones you're using
rx_pin: 10
baud_rate: 9600
Please report issues/improvements in the issues tab along with any debug info you find. Thank you.
To see version history, click here.