Data acquisition and logging for Air Quality Sensors with UART interface
This package can be pip installed. Please visit project site for detailed instructions.
This package provides tools for requesting new measurements from the sensors and print them on different formats, save them to a CSV file, or push them to an external service such as an MQTT or InfluxDB server. MQTT or InfluxDB server support requires additional packages. Please visit project site for details.
Sensor | --sensor-model |
PM1 | PM2.5 | PM4 | PM10 | size bins | Other | Tested |
---|---|---|---|---|---|---|---|---|
Plantower | ||||||||
PMS1003 (aka G1) | PMSx003 | ✔️ | ✔️ | ✔️ | 6 | |||
PMS3003 (aka G3) | PMS3003 | ✔️ | ✔️ | ✔️ | ✔️ | |||
PMS5003 (aka G5) | PMSx003 | ✔️ | ✔️ | ✔️ | 6 | |||
PMS5003T | PMS5003T | ✔️ | ✔️ | ✔️ | 4 | temp. & rel.hum. | ✔️ | |
PMS5003S | PMS5003S | ✔️ | ✔️ | ✔️ | 6 | HCHO concentration | ||
PMS5003ST | PMS5003ST | ✔️ | ✔️ | ✔️ | 6 | HCHO, temp. & rel.hum. | ||
PMS7003 (aka G7) | PMSx003 | ✔️ | ✔️ | ✔️ | 6 | ✔️ | ||
PMSA003 (aka G10) | PMSx003 | ✔️ | ✔️ | ✔️ | 6 | ✔️ | ||
NovaFitness | ||||||||
SDS011 | SDS01x | ✔️ | ✔️ | ✔️ | ||||
SDS018 | SDS01x | ✔️ | ✔️ | |||||
SDS021 | SDS01x | ✔️ | ✔️ | |||||
SDS198 | SDS198 | PM100 | ✔️ | |||||
Honeywell | ||||||||
HPMA115S0 | HPMA115S0 | ✔️ | ✔️ | |||||
HPMA115C0 | HPMA115C0 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ||
Sensirion | ||||||||
SPS30 | SPS30 | ✔️ | ✔️ | ✔️ | ✔️ | 5 | typical particle size | ✔️ |
Winsen | ||||||||
ZH03B | ZH0xx | ✔️ | ✔️ | ✔️ | ||||
ZH06-I | ZH0xx | ✔️ | ✔️ | ✔️ |
For more Air Quality sensors open an issue.
PyPMS/pms is meant as a command line application. The project site contain some help for those brave enough to use its internals as a library.
pms.sensors.sensirion
module name and docspms.core
: core functionality, such as Sensor
and SensorReader
pms.sensors
: sensor modules grouped by manufacturerpms.extra
: extra cli utilities, such as pms influxdb
and influxdb mqtt
pms.sensor
is deprecated, import from pms.core
instead"pypms.sensors"
"pypms.extras"
$MQTT_USER
sets --mqtt-user
on pms mqtt
and pms bridge
$MQTT_USER
sets --mqtt-user
on pms mqtt
and pms bridge
$DB_USER
sets --db-user
on pms influxdb
and pms bridge
$DB_PASS
sets --db-pass
on pms influxdb
and pms bridge
pms csv --capture
pms serial --capture
pms serial --format hexdump