You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go get -v github.com/huhamhire/air-co2-exporter/...
cd [project_path]
go build
go install
sudo /home/[user]/go/bin/co2-exporter
Curl fails to return valid metrics. See logs
Note: node-co2-monitor test script does return the correct data
Logs
➜ ~ curl http://localhost:9110/metrics
# HELP air_co2 Relative Concentration of CO2 (CntR) in ppm.
# TYPE air_co2 gauge
air_co2{tag="default"} 0
# HELP air_temp Ambient Temperature (Tamb) in ℃.
# TYPE air_temp gauge
air_temp{tag="default"} 0
System
OS: Ubuntu 20.04
GO: go version go1.14.10 linux/amd64
CO2 Monitor: CO2Meter RAD-0301 Mini CO2 Monitor
Docker version 19.03.13, build 4484c46d9d
Note: I'm confident the CO2 monitor should be compatible, as I can run the test script based on node-co2-monitor project successfully.
The text was updated successfully, but these errors were encountered:
It seems that new CO2Meter devices does not require data decryption any more. The node-co2-monitor just added this feature to support the TFA AirCO2ntrol Coach. I haven't got one of these devices to actually test with.
However, if you have tested with your device, I think it should be ported to this golang version exporter.
Problem
Exporter does not report correct data
Steps to reproduce
go get -v github.com/huhamhire/air-co2-exporter/...
cd [project_path]
go build
go install
sudo /home/[user]/go/bin/co2-exporter
Logs
System
OS: Ubuntu 20.04
GO: go version go1.14.10 linux/amd64
CO2 Monitor: CO2Meter RAD-0301 Mini CO2 Monitor
Docker version 19.03.13, build 4484c46d9d
Note: I'm confident the CO2 monitor should be compatible, as I can run the test script based on node-co2-monitor project successfully.
The text was updated successfully, but these errors were encountered: