diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-05-26 08:57:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-05-26 08:57:35 +0200 |
commit | fc6548b89650a04ece9e08ad32e4161692c2db41 (patch) | |
tree | 9770ca4f829546d6f9a63c182f4630488110a7ef | |
parent | f4d699388cf65b5c883473eb9c7a12109e19ef11 (diff) |
README: document temperature and ABC readings
-rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -47,13 +47,18 @@ port:on("data", 9, uart_callback) function uart_callback(data) if mh_z19.parse_frame(data) then - -- mh_z19.co2 contains the CO₂ concentration in ppm + -- mh_z19.co2 : CO₂ concentration [ppm] + -- mh_z19.temp : device temperature [°c] + -- mh_z19.abc_ticks : ticks since last Automatic Baseline Correction + -- mh_z19.abc_count : number of Automatic Baseline Corrections performed since power-on end end port:write(mhz19.c_query) ``` +The sensor performs a CO₂ measurement every one to five seconds, depending on hardware revision. + ## Application Example **init.lua** is an example application with HomeAssistant integration. |