GitXplorerGitXplorer
b

ud-co2s-exporter

public
9 stars
2 forks
0 issues

Commits

List of commits on branch main.
Verified
41135b9ee6fd8f1836f0e16afa93388662f821b1

fix asset name

bbootjp committed 2 years ago
Verified
481fa62df65f2039047c53a8062ddc5aa925d328

fix ci

bbootjp committed 2 years ago
Verified
0faa1a398a05f3e768e3626e455dfcc7fdce3cc4

fix release

bbootjp committed 2 years ago
Verified
51876adfef8f0149dd5728fd0451060b89022102

fix release ci

bbootjp committed 2 years ago
Verified
a1dca5fdc87467f23da2751c411183177675cc8f

setup ci and support cli params

bbootjp committed 2 years ago
Verified
3c64e511a9d28167ad950b1faf0d6e17539d3a92

init

bbootjp committed 2 years ago

README

The README file for this repository.

UD-CO2S-exporter

IODATA CO2 Sensor UD-CO2S prometheus exporter

how to use

example arm64 on linux

curl -LO https://github.com/bootjp/ud-co2s-exporter/releases/latest/download/udco2s-exporter-linux-arm64.tar.gz
tar xf udco2s-exporter-linux-arm64.tar.gz
./ud-co2s-exporter
docker run -v /dev/ttyACM0:/dev/ttyACM0 -p 9233:9233 ghcr.io/bootjp/ud-co2s-exporter:latest

cli flags

usage: main [<flags>]


Flags:
  -h, --[no-]help              Show context-sensitive help (also try --help-long and --help-man).
      --device.name="/dev/ttyACM0"
                               Specify the UD-CO2S device path.(default /dev/ttyACM0)
      --exporter.addr=":9233"  Specifies the address on which the exporter listens (default :9233)