Skip to main content

Importers for various institutions for Beancount

Project description

env_sense

Environment sensor in micropython, designed to run on an ESP8266.

Features:

  • PMS7003 for air quality
  • BME280 for temperature, pressure, humidity
  • minimal cron job to run each of these
  • warm up PMS7003 for 30sec before taking readings, per manufacturer recommendations
  • apply US EPA's correction factor specifically for PMSX003 sensors
    • include humidity data from BME280 in the correction factor
  • convert to US EPA AQI
  • publish to thingspeak via MQTT
  • option to deep sleep between runs to save power
  • publish to pypi for OTA

Installation and updates:

>> import upip; upip.install('micropython-env-sense')
  • assumes boot.py brings up your wifi connection
  • add import env_sense to your main.py
  • enable webrepl
  • disable repl in boot.py so the ESP8266's UART can be used for the PMS7003:
  • uos.dupterm(None, 1)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

micropython-env-sense-0.4.0.tar.gz (12.3 kB view details)

Uploaded Source

File details

Details for the file micropython-env-sense-0.4.0.tar.gz.

File metadata

  • Download URL: micropython-env-sense-0.4.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for micropython-env-sense-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7836e5732346aa4b03cf9e1f782e416a3900d9802dafef72c903111c326ffcce
MD5 15a3ca95018304c4841295e826b960a1
BLAKE2b-256 31f5eb65e7413c4b65a9882d1fd9190ca7299dd2fc910359aa00c1d63ca21870

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page