diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-15 06:40:24 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-15 06:40:24 +0100 |
commit | e1f04347124f58b1fb536e381c837684e084407a (patch) | |
tree | bac6ceafd559f4b785382d6b25ff9d59eebf420e | |
parent | e74712dc86a4d56928490c20a48748ae1b47db7e (diff) |
README: nits
-rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,8 +1,8 @@ # ESP8266 Lua/NodeMCU module for Vindriktning PM1006 particle monitor -This repository contains a Lua module (`pm1006.lua`) as well as ESP8266/NodeMCU -MQTT gateway application example (`init.lua`) for the **PM1006** particulate -matter (PM2.5) sensor found in IKEA Vindriktning. +This repository contains an ESP8266 NodeMCU Lua module (`pm1006.lua`) as well +as MQTT / HomeAssistant / InfluxDB integration example (`init.lua`) for the +**PM1006** particulate matter (PM2.5) sensor found in IKEA Vindriktning. ## Dependencies @@ -45,6 +45,7 @@ function uart_callback(data) end end ``` + ## Application Example **init.lua** is an example application with HomeAssistant integration. @@ -59,7 +60,7 @@ mqtt_host = "..." Optionally, it can also publish readings to an InfluxDB. To do so, configure URL and attribute: -``` +```lua influx_url = "..." influx_attr = "..." ``` |