Skip to main content

Python package for reading sensor data from IODATA UD-CO2S or Pocket CO2 Sensor

Project description

IODATA UD-CO2S Sensor Data Reader

CI Status Documentation Status Test coverage percentage

uv Ruff pre-commit

PyPI Version Supported Python versions License


Documentation: https://ud-co2s.readthedocs.io

Source Code: https://github.com/34j/ud-co2s


Python package for reading sensor data from IODATA UD-CO2S or Pocket CO2 Sensor

Installation

Install this via pip or pipx (or your favourite package manager):

pipx install ud-co2s

Usage

ud-co2s --plot --log

CLI

Icon

In Linux you may additionally need to set permissions for the serial device:

sudo chmod 666 /dev/ttyACM0

or

sudo usermod -aG dialout $USER
users.users.<name>.extraGroups = [ "dialout" ];

Run on startup

Windows

%appdata%/Microsoft/Windows/Start Menu/Programs/Startup/ud-co2s.bat:

ud-co2s

NixOS

{...}:
{
  systemd.user.services.ud-co2s = {
    Unit = {
      Description = "UD-CO2S Service (CO2 Sensor Data Logger)";
    };
    Install = {
      WantedBy = [ "default.target" ];
    };
    Service = {
        ExecStart = "uvx ud-co2s";
    };
  };
}

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Alternatives

非公式

公式

Credits

Copier

This package was created with Copier and the browniebroke/pypackage-template project template.

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

ud_co2s-1.1.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

ud_co2s-1.1.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file ud_co2s-1.1.0.tar.gz.

File metadata

  • Download URL: ud_co2s-1.1.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ud_co2s-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6858bcbef32d9605ea3f1623ffbd591c4369ccb0b33abea7494f23ac7c825465
MD5 2c5de0d5a851e11a989dff39ce43c300
BLAKE2b-256 0c4b9f45eb12bb91525f0f74736af0962f2e875b3e4cfe500ab807261f6f4991

See more details on using hashes here.

Provenance

The following attestation bundles were made for ud_co2s-1.1.0.tar.gz:

Publisher: ci.yml on 34j/ud-co2s

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ud_co2s-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ud_co2s-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ud_co2s-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a807298c6a0ac974a5e1b764f02f6189c9c2360165dc748ef60a7bacc8bf182
MD5 702d61e9f7eda438fd24bf2e14ede70d
BLAKE2b-256 78c862571891cc20efebf366e65dc55a4ba07e202b8324e6a1b49ed475623891

See more details on using hashes here.

Provenance

The following attestation bundles were made for ud_co2s-1.1.0-py3-none-any.whl:

Publisher: ci.yml on 34j/ud-co2s

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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