Software to read out Honeywell HPM series PM sensor values over UART on Raspberry Pi.
This software is licenced under GPLv3 by UnravelTEC OG (https://unraveltec.com), 2018.
-
raspi-config
- interfacing -> serial
- disable login
- enable port
- interfacing -> serial
-
systemctl disable [email protected]
Sensor needs 5V, on UART 3.3V.
Install the following python-libraries:
aptitude install python-serial
python hpm-series.py
To install it as a background service run ./install.sh (install dependencies, e.g. via apt, first).
This service writes a file - suited for scraping by prometheus - (onto ramdisk on /run/hpm) and updates it every second.