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)
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 | |
|---|---|---|---|
| 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
|