Skip to main content

CO2 Info

Purpose

The tiny foreground app helps you to decide when and how long to ventilate a room.

Screenshot 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:

  1. Make sure, Python 3.x is installed on your system.

  2. Use pip to install the app.

    pip install co2_info
    
  3. Open a terminal and run the script:

    python -m co2_info --config .config
    

    Here, .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": "",
    }
    

Metadata

Release files for co2-info 24.10.27

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

Source distribution (sdist)

Source distribution for co2-info 24.10.27
File Size Uploaded Provenance Actions
co2_info-24.10.27.tar.gz 6.3 kB Without provenance Details for co2_info-24.10.27.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for co2-info 24.10.27
File Interpreter ABI Platform Actions
co2_info-24.10.27-py3-none-any.whl Python 3 none any Details for co2_info-24.10.27-py3-none-any.whl

Total release size: 13.2 kB

Release files / co2_info-24.10.27.tar.gz

Download URL co2_info-24.10.27.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2aac153578b4c97b5d5555ffd28bf633e32bd1cb317e84d11a51b36c20b3304f
BLAKE2b-256 checksum
How to use checksums
0b84091cf5387fedfd0b20d0aed919f4c27e0c18f8967256d6da8f08b4dc7dc0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / co2_info-24.10.27-py3-none-any.whl

Download URL co2_info-24.10.27-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21c83f090a8bee2d9a789b06b5269cecd4df991f19e85c83b30deaef4304fc30
BLAKE2b-256 checksum
How to use checksums
4b070390db3d419deb126080a0bce8d2537d974147ea382b658b1d307ad3761a
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for co2-info 24.10.27

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.

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