Crates.io | rs-co2-mini-monitor |
lib.rs | rs-co2-mini-monitor |
version | 0.1.0 |
source | src |
created_at | 2021-03-13 13:06:57.381158 |
updated_at | 2021-03-13 13:06:57.381158 |
description | CUI monitor for CO2Mini Indoor Air Quality Monitor |
homepage | |
repository | https://github.com/lambdalisue/rs-co2-mini-monitor |
max_upload_size | |
id | 368275 |
size | 11,994 |
An CUI application to log output of CO2Mini Indoor AirQuality Monitor or CUSTOM CO2 MONITOR CO2-mini to stdout.
$ co2-mini-monitor
{"time":"2021-03-13T12:41:26.632033+00:00","type":"co2","value":1100}
{"time":"2021-03-13T12:41:29.271876+00:00","type":"temp","value":21.7}
{"time":"2021-03-13T12:41:31.647808+00:00","type":"co2","value":1100}
{"time":"2021-03-13T12:41:34.295843+00:00","type":"temp","value":21.7}
{"time":"2021-03-13T12:41:36.671795+00:00","type":"co2","value":1104}
{"time":"2021-03-13T12:41:39.319682+00:00","type":"temp","value":21.7}
{"time":"2021-03-13T12:41:41.687658+00:00","type":"co2","value":1104}
{"time":"2021-03-13T12:41:44.335507+00:00","type":"temp","value":21.7}
{"time":"2021-03-13T12:41:46.711509+00:00","type":"co2","value":1108}
Note that this one does NOT handle packet decryption while it seems the packet is no longer encrypted in recent models. Use alternatives if you cannot get correct result due to the encryption.
cargo install co2-mini-monitor
The code follows MIT license written in LICENSE. Contributors need to agree that any modifications sent in this repository follow the license.