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.

Keybase proof

I hereby claim:

  • I am mejs on github.
  • I am mejs (https://keybase.io/mejs) on keybase.
  • I have a public key ASB5ZZpVZjDFTCB1d9QiwBUneziLKigFURJp5KzMZvlJiAo

To claim this, I am signing this object: