Skip to main content

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)

Release files for micropython-env-sense 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micropython-env-sense 0.4.0
File Size Uploaded
micropython-env-sense-0.4.0.tar.gz 12.3 kB Details

Release files / micropython-env-sense-0.4.0.tar.gz

Download URL micropython-env-sense-0.4.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7836e5732346aa4b03cf9e1f782e416a3900d9802dafef72c903111c326ffcce
BLAKE2b-256 checksum
How to use checksums
31f5eb65e7413c4b65a9882d1fd9190ca7299dd2fc910359aa00c1d63ca21870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page