From fc6548b89650a04ece9e08ad32e4161692c2db41 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 26 May 2022 08:57:35 +0200 Subject: README: document temperature and ABC readings --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f6fed93..fa86ebd 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3