Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bootjp/ud-co2s-exporter

IODATA CO2 Sensor UD-CO2S prometheus exporter
https://github.com/bootjp/ud-co2s-exporter

co2 iodata prometheus-exporter ud-co2s

Last synced: about 2 months ago
JSON representation

IODATA CO2 Sensor UD-CO2S prometheus exporter

Awesome Lists containing this project

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
```

```bash

docker run -v /dev/ttyACM0:/dev/ttyACM0 -p 9233:9233 ghcr.io/bootjp/ud-co2s-exporter:latest

```

cli flags
```
usage: main []

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)

```