Skip to main content

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.

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

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

co2_info-24.10.10.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

co2_info-24.10.10-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file co2_info-24.10.10.tar.gz.

File metadata

  • Download URL: co2_info-24.10.10.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for co2_info-24.10.10.tar.gz
Algorithm Hash digest
SHA256 9ac51e81a7278226c3e6047205342ef2fa7cff4692473e072b7a6319772f32bc
MD5 fee96bab207819bdb09c3120c4ddc53a
BLAKE2b-256 4573c50c722fb6b72cd4d34c27b20b7b8d252cd7ba4f0936e99dcebd3eb629e5

See more details on using hashes here.

File details

Details for the file co2_info-24.10.10-py3-none-any.whl.

File metadata

  • Download URL: co2_info-24.10.10-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for co2_info-24.10.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0bb8c520e0eb3fdcf054c0b85ba8008dc0bea839696acc7b4769a68d6ff193a0
MD5 a71a1568e10becc2ce1b7d31d3e74546
BLAKE2b-256 b95d7ece58a4e0fb852d98005a6b97ac7b29523ced9f057814e26367603db4b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page