This little applicaiton reads data off of a CCS811 Gas sensor and exposes the data to a Prometheus endpoint.
go get github.com/xswordsx/2co_reader/go
Current project presumptions:
- The sensor runs in its default mode (address
0x5A
for the registry). - The sensor does NOT use the
nINT
signal wire.
$ ./co2_reader_go
$ go get ./... && go build .
This project is licensed under the MIT license
Use the repository issues board