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_senseto 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)
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| micropython-env-sense-0.4.0.tar.gz | 12.3 kB | Without provenance | Details for micropython-env-sense-0.4.0.tar.gz |
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
|
Security for micropython-env-sense 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.