Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

co2-info

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co2-info

A simple alert app for indoor air quality.

  • 24.10.27
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc