Skip to content

Instantly share code, notes, and snippets.

@mejs
mejs / read_nova_pm_sensor.py
Last active June 10, 2023 00:37 — forked from marw/read_nova_pm_sensor.py
Get reading from Nova PM Sensor SDS011 (dust sensor, air quality sensor, PM10, PM2,5, AQI)
#!/usr/bin/env python3
"""
Get reading from Nova PM Sensor SDS011
(dust sensor, air quality sensor, PM10, PM2,5)
Designed to run from cron and append CSV file.
Script tested using Python3.4 on Ubuntu 14.04.