Loading README.md +7 −6 Original line number Diff line number Diff line # ESP8266 Lua/NodeMCU module for MH-Z19 CO₂ sensor # ESP8266 Lua/NodeMCU module for MH-Z19 CO₂ sensors This repository contains an ESP8266 NodeMCU Lua module (`mh-z19.lua`) as well as MQTT / HomeAssistant / InfluxDB gateway application example (`init.lua`) for the **MH-Z19** carbon dioxide (CO₂) sensor.  **MH-Z19** carbon dioxide (CO₂) sensors connected via UART. ## Dependencies Loading @@ -21,7 +19,6 @@ following modules. * node * softuart * tmr * uart * wifi ## Setup Loading Loading @@ -80,5 +77,9 @@ influx_url = "..." influx_attr = "..." ``` Readings will be stored as `mh_z19[influx_attr] co2_ppm=...`. Readings will be stored as `mh_z19[influx_attr] co2_ppm=…`. So, unless `influx_attr = ''`, it must start with a comma, e.g. `influx_attr = ',device=' .. device_id`. ## Images  Loading
README.md +7 −6 Original line number Diff line number Diff line # ESP8266 Lua/NodeMCU module for MH-Z19 CO₂ sensor # ESP8266 Lua/NodeMCU module for MH-Z19 CO₂ sensors This repository contains an ESP8266 NodeMCU Lua module (`mh-z19.lua`) as well as MQTT / HomeAssistant / InfluxDB gateway application example (`init.lua`) for the **MH-Z19** carbon dioxide (CO₂) sensor.  **MH-Z19** carbon dioxide (CO₂) sensors connected via UART. ## Dependencies Loading @@ -21,7 +19,6 @@ following modules. * node * softuart * tmr * uart * wifi ## Setup Loading Loading @@ -80,5 +77,9 @@ influx_url = "..." influx_attr = "..." ``` Readings will be stored as `mh_z19[influx_attr] co2_ppm=...`. Readings will be stored as `mh_z19[influx_attr] co2_ppm=…`. So, unless `influx_attr = ''`, it must start with a comma, e.g. `influx_attr = ',device=' .. device_id`. ## Images 