A simple alert app for indoor air quality.
Project description
CO2 Info
Purpose
The tiny foreground app helps you to decide when and how long to ventilate a room.
CO2 Info app on a desktop, indicating the CO2 concentration by color (here: green) and numerically (here: 482 ppm in room B206). The app can also be used for logging, annotating and plotting data.
The app alerts the user by changing its background color, when the CO2 concentration in a room passes certain limits. As provided here, the script is configured for receiving data via MQTT from sensors in the IoT Network at the Technology-Campus Steinfurt, but may be adapted for other situations. The tiny window should stay on top of all other windows, hopefully also in presentation mode.
Installation
Please execute the following steps:
-
Make sure, Python 3.x is installed on your system.
-
Use pip to install the app.
pip install co2_info -
Open a terminal and run the script:
python -m co2_info --config .configHere,
.config, is a simple text file, that contains your MQTT credentials. Example:{ "MQTT_USER": "username", "MQTT_PASSWD": "password", }If your MQTT broker allows anonymous subscription, just provide empty strings:
{ "MQTT_USER": "", "MQTT_PASSWD": "", }
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file co2_info-24.10.26.tar.gz.
File metadata
- Download URL: co2_info-24.10.26.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a49797e2cbb58f4b57c17145e63007f21a4602bb504cf7e7b4cc891017bcfa3e
|
|
| MD5 |
b7e7009b4ecb798b36c7be856fbc9401
|
|
| BLAKE2b-256 |
d47fe393340a3e4989b8c3cfcfd933ad79ed50e1b3f9805bb78a885896d98c2f
|
File details
Details for the file co2_info-24.10.26-py3-none-any.whl.
File metadata
- Download URL: co2_info-24.10.26-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d93a4d52431b4b335916567b0dbfd3f084a46e5cbff4324a25f1eed39e1c67c
|
|
| MD5 |
23ccdd73d58a77a6dede172197ea7729
|
|
| BLAKE2b-256 |
2a5e1b30f4e49672245b987d0467483e32ca53c86318d0a26b4a8c1d275d9302
|