Home Assistant add-on for the Pimoroni PM5003 particulate matter sensor.
This add-on reads particulate matter data from a Pimoroni PM5003 sensor using the pms5003-python library and makes it available to Home Assistant.
- Add this repository to your Home Assistant add-on store
- Install the "PM5003 Sensor" add-on
- Configure the add-on with your serial device settings
- Start the add-on
| Option | Description | Default |
|---|---|---|
device |
Serial device path | /dev/ttyAMA0 |
baudrate |
Serial baudrate | 9600 |
poll_interval |
Polling interval in seconds | 10 |
device: "/dev/ttyAMA0"
baudrate: 9600
poll_interval: 10For Raspberry Pi, you may need to enable the serial port:
sudo raspi-config nonint do_serial_hw 0
sudo raspi-config nonint do_serial_cons 1Add dtoverlay=pi3-miniuart-bt to your /boot/config.txt
sudo raspi-config nonint set_config_var enable_uart 1 /boot/config.txt
sudo raspi-config nonint do_serial 1Add dtoverlay=pi3-miniuart-bt to your /boot/config.txt
The add-on reads the following measurements from the PM5003 sensor:
- PM1.0 - Particulate matter ≤1.0μm (μg/m³)
- PM2.5 - Particulate matter ≤2.5μm (μg/m³)
- PM10 - Particulate matter ≤10μm (μg/m³)
- PM1.0 ATM - PM1.0 atmospheric environment reading
- PM2.5 ATM - PM2.5 atmospheric environment reading
- PM10 ATM - PM10 atmospheric environment reading
MIT License