Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bootjp/ud-co2s-exporter
- Owner: bootjp
- License: apache-2.0
- Created: 2023-05-03T04:00:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-11T13:19:16.000Z (7 months ago)
- Last Synced: 2024-11-02T09:42:13.688Z (2 months ago)
- Topics: co2, iodata, prometheus-exporter, ud-co2s
- Language: Go
- Homepage:
- Size: 453 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)```