Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data decryption failed #2

Closed
baurmatt opened this issue Feb 12, 2021 · 1 comment · Fixed by #3
Closed

Data decryption failed #2

baurmatt opened this issue Feb 12, 2021 · 1 comment · Fixed by #3

Comments

@baurmatt
Copy link
Contributor

When running your exporter I get an error message about failed decryption:

s0me0ne@s0me0ne-T14s:/tmp$ sudo ~/go/bin/co2meter_exporter -d /dev/hidraw0
2021/02/12 14:36:34 Listening on http://0.0.0.0:9200/metrics
2021/02/12 14:36:35 Data decryption failed:  [0 234 204 41 204 0 155 24]

The python library for co2 meter seems to have run in the same problem and solve it by just skipping decryption of retrieved values -> vfilimonov/co2meter#16 / vfilimonov/co2meter@5d4187d

I will provide a PR.

baurmatt added a commit to baurmatt/co2meter_exporter that referenced this issue Feb 12, 2021
Some CO2 meter models seem miss encrypted responses. This change adds a
way to skip decryption.

Fixes rnurgaliyev#2.
baurmatt added a commit to baurmatt/co2meter_exporter that referenced this issue Feb 12, 2021
Some CO2 meter models seem miss encrypted responses. This change adds a
way to skip decryption.

Fixes rnurgaliyev#2.
@rnurgaliyev
Copy link
Owner

Thank you for reporting this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants