Golang Module to use co2meter code derived from https://hackaday.io/project/5301-reverse-engineering-a-low-cost-usb-co-monitor
Ubuntu
apt install libhidapi-dev libudev-dev golang
macOS
brew install hidapi golang
go build
./co2mini [-i <interval>]
{"time":1641003315,"co2":579,"temp":20.912500000000023}
{"time":1641003320,"co2":579,"temp":20.912500000000023}
{"time":1641003325,"co2":579,"temp":20.850000000000023}
{"time":1641003330,"co2":577,"temp":20.912500000000023}
{"time":1641003335,"co2":577,"temp":20.912500000000023}