UD-CO2S-exporter

command module
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL