Esp8266 water sensor mqtt. An ESP8266 board connected with DHT22, BME280, and DS18B20 sensors will connect to the MQTT broker. 4) A Wemos D1 Mini with Mini OLED (I also use a battery shield and a dual base shield, but these aren't required) The un-push position in the switch is connected to the GPIO 1 or 2 in the ESP8266 for PWM signal. Jan 22, 2019 · mqtt esp8266 For Sending the temperature sensor data to Node-Red by using MQTT, we will be using PubSub Client library , available on Github . (25 ℃) ESP8266 Based Temperature Sensor Connected to Home Assistant and MQTT: In this instructable I will show you how to make room sensor to monitor temperature and humidity and with an additional sensor to monitor water temperature in an aquarium. Smart Metering often refers to monitor the After selecting a block, Adafruit IO prompts you to choose a feed. 1; Arduino Http Client 0. ESP8266, BMP280, MQTT Weather Station: This will guide you trough making a simple weather station with good accuracy. 0) collector & publish to MQTT for use in Home Assistant or Node-Red. Since I live working with MQTT, I found a nice MQTT Framework for ESP8266 that works beautifully called Homie. When starting this sketch for the first time, it will show up as a new WiFi access point where you need to connect to Once connected, configure the parameters via the web interface. Schroefterminal OpenCircuit. For other functions, use the API documentation for Languages. Then using the WiFi connectivity, the data will be sent to the Ubidtos MQTT Cloud. I contacted Peter and he confirmed that in a standby mode the switch was not consuming much at all (official spec says 0. On topic_alert, the valve send every second the sensor condition state, dry or wet. The LDR light sensor module can sense and measure the amount of light around it. Feb 2, 2019 · Download DHT22-MQTT-Sensor-ESP8266 (NodeMCU) for free. in our case A sensor connected to ESP8266 will publish a value let's say a temperature value , and user form a smart phone or a computer can read this value by subscribing to this value The rain sensor detects and measures rain/snow levels, offering both digital (LOW/HIGH) and analog outputs. Learn how to publish temperature and humidity readings from a DHT11 or DHT22 sensor via MQTT with the ESP8266 NodeMCU to any platform that supports MQTT or any MQTT client. This sensor sits in line with your water line and contains a pinwheel sensor to measure how much liquid has moved Oct 11, 2015 · Open the serial monitor ( Tools -> Serial Monitor) to see the output from your device. 01 micro Amperes). FEEL FREE TO CUSTOMIZE AS NEEDED. The JSN-SR04T waterproof ultrasonic sensor, positioned at the top of the tank, measures water levels. Prepare and upload sketch. I was tired of regularly checking whether I had to put new blocks of salt in it, and often forgot to do it on time. So we will use YFS201 Hall Effect Water Flow Sensor with ESP8266 & design simple IoT Based Water Flow Meter. We need 3 feeds to hold the temperature and humidity values of the DHT sensor, and the status of the LED. Let’s discuss what actually a MQTT client and MQTT broker is: MQTT Client: An MQTT client runs a MQTT library and connects to an MQTT broker over a network. ESP8266 + (HC-SR04 or SN-SR04T-v3. Start by building the physical gateway by following ethernet gateway instructions. In this tutorial we measure the soil moisture with a soil moisture sensor. Next, configure the block settings as shown below. 1 port: 1883 keepalive: 1000 protocol: 3. 1 standards providing a lightweight method to transport messages, enabling the pub/sub pattern for low power sensors, mobile devices, embedded computers, and microcontrollers. Programming the ESP8266 to measure {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"README. connects the Ventus W132 sensors via mqtt e. The HC-SR04 ultrasonic sensor uses sonar to determine the distance to an object. Operating temperature range: -55ºC to +125ºC. 5V. Before we install this, it is always best to update our Raspberry Pi. May 29, 2023 · There are so many Water Flow Sensors available in the market but are too expensive to use and afford. I used a VL53L0X time of flight sensor to measure the distance from the top of the water softener to the salt blocks and a ESP8266 This time the integration of ESP8266 and the Node-RED platform was realized integrating a sensor DS18B20 of Protocol of Temperature Onewire. We will first display the Pulse Rate Data on OLED Display. Integrates into openHAB2 through MQTT. ThingSpeak takes the message and stores its Jan 10, 2017 · Hi, I have an ESP8266 ESP-01 module connected to an Arduino Uno trough a Software Serial connection in Pins 2 and 3 like this: I'm able to successful connect to the dweet. 8inch to 157inch) with an accuracy of 0. From an HMI or SCADA Web creator on Node-Red-Dashboard using as base the MQTT Protocol and pubsubclient library converting the ESP8266 into MQTT Client. ESP8266/ESP-01 Arduino Powered MQTT Leak Detector & Remote Alarm Receiver: NO ONE enjoys water/liquid of any kind leaking into places that it just doesn't belong. Hardware. 5 ºC (between the range -10ºC to 85ºC) For more information consult the DS18B20 datasheet. Find this and other ESP8266 Open Arduino IDE on your computer. The rain sensor detects and measures rain/snow levels, offering both digital (LOW/HIGH) and analog outputs. Oct 19, 2019 · water quality monitoring- how to make an IoT based water quality monitoring system using Arduino, pH Sensor, Nodemcu esp8266 module and Blynk Application. This board has built-in wifi and supports I2C which I need for the sensor. Arduino sketch for ESP8266 to send temperature and humidity measures from a DHT11 sensor to an MQTT server - xlogerais/esp8266-mqtt-sensor-dht11 Sep 9, 2017 · In order to monitor the temperature and humidity I've created a simple ESP8266-based device which tracks that data and sends it to Home Assistant via MQTT. This tutorial demonstrates using an ESP8266 to connect and utilize the rain sensor, covering: Connecting the rain sensor to the ESP8266. 1 and v. 0 waterproof sensor. Mar 9, 2019 · This program enables the ESP8266 to become the central node in a small distributed IoT system. Download and open arduino-dht-esp8266-mqtt. As an example, we’ll publish sensor readings to Node-RED Dashboard. io HTTP server and send the light sensor rea… Apr 3, 2021 · ⬇ ⬇ Kanal Unterstützung & weitere Videos zum Thema ⬇ ⬇»Im Video verwendet«:»DS18B20«: ☛https://amzn. - esp8266-water-pump-mqtt/esp8266-water-pump-mqtt. A technology for monitoring the plant environment and soil moisture levels, also to controlling the water pump, is used in this smart garden project. This section is about how to publish temperature and humidity readings from DHT11 or DHT22 sensors via MQTT with ESP8266 NodeMCU to any platform that supports MQTT or any MQTT client. Grafana reads the data from the InfluxDB database and visualizes it on a custom dashboard. 0. 96″ I2C OLED Display; Connecting Jumper Wires (10) Breadboard; YF-S201 Hall-Effect Water Flow Sensor. After you learn how to wire the sensor to your Arduino, ESP8266 or ESP32 microcontroller board mqtt is an extremely simple and lightweight messaging protocol,based on lightweight publish/subscribe messaging transport. 1inches), which is good for most hobbyist projects. The alarm has two sensors, one located near water heater and the other located in sump pump pit. NodeMCU 1. Step 1 - Running a Mosquitto MQTT server Step 2: Installing the MQTT Broker on the Raspberry Pi. Step 3: Motion Sensor Is Separated From the LED Light. Mar 12, 2019 · Modified basic water alarm by adding WiFi to allow for notification by email. md","path":"README. We are using an Android app as the publishing client and the Mosquitto MQTT broker running on a Linux machine. The ESP8266 is publishing temperature readings every 10 seconds on the esp/bme280/temperature, esp/bme280/humidity, and esp/bme280/pressure topics. To test the setup, do the followings: Preparation: Connect the servo to the ESP8266 and then power up the ESP8266. nl. MQTT is used to pass short messages to and from a broker. or. 68 each. temperature & light sensors on ESP8266, pushed to MQTT - ycardon/esp8266-dht22-mqtt. This function waits every 3 seconds and returns 0 when connected The tank Sensor also sends a stop message in MQTT when the water level reaches 98%, which is helpful in case the pump is manually started from the panel. This tutorial refers to the TDS Meter V1. You can also control two outputs from an ESP8266 using MQTT protocol. Can somebody help me out pleas. Sep 24, 2023 · In this beginner’s guide, we will walk you through the process of setting up an ESP8266 microcontroller to connect to Wi-Fi, read data from a DHT11 sensor, publish that data to an MQTT topic, and… Learn how to connect two ESP8266 via MQTT, a button/switch connected to an ESP8266 remotely controls an LED connected to another ESP8266 via MQTT. Here are the parts list. Creating the Flow. This project opens doors to countless possibilities in the world of home automation, remote monitoring, and IoT applications. Controls a small water pump based on readings of a soil moisture sensor. Stars. The ultrasonic sensor uses sonar to determine the distance to an object. Drag the following nodes to the flow – see figure below: Node-RED and the MQTT broker need to be connected. TDS Measurement Accuracy: ± 10% F. 4; ArduinoJSON 6. 8K Weerstand OpenCircuit. A message might contain the current temperature in an office collected by a sensor. To connect the MQTT broker to Node-Red, double-click the MQTT output node. Programming the ESP8266 to measure A project to read a Proximity sensor and output this to MQTT. IoT Weather Station With RPi and ESP8266: On previous tutorials, we have been playing with NodeMCU, sensors and learning how to capture and log data on ThingSpeak (an Internet of Things (IoT) platform that lets you collect and store sensor data in the cloud and develop IoT applications): IO… Jan 17, 2023 · Watch this video to learn how to use the Arduino IDE to program an ESP8266 microcontroller for reading sensor data and publishing it using MQTT to a HiveMQ Cloud MQTT broker. By counting the pulses from the output of the sensor, you can easily calculate water flow. Prepare and upload a sketch. 1 client_id: home-assistant-1 sensor: platform: mqtt state_topic: "ha/_temperature1" name: "Back garden" unit_of_measurement: "°C" qos: 1. Feb 8, 2023 · Learn how to send temperature and humidity data from a DHT11 sensor to Adafruit IO platform via MQTT in this comprehensive tutorial. 3 watching Step 1: Boodschappenlijst. Create the Feeds in the adafruit io, and then add them in the code with variables. Data is visualized using built-in customizable dashboard. ino sketch. g. 3. 3V. In this example I connected it to a water meter. GPIO as GPIO import time import This simple project uses a NodeMCU - Aka Espressif ESP8266 - and cheap chinese water flow sensor YF-B1 and MicroPython. Another illustration on ESP8266 12/12E as smart metering using liquid/Water flow sensor. Note You need to edit following constants and variables in the sketch: WIFI_AP - name of your access point Sep 1, 2021 · Water Flow Sensor – YF-S201 Hall-Effect Water Flow Sensor; OLED Display – 0. Each pulse is approximately 2. Choose the correct ESP8266 board, such as (e. If either one detects water an audible alarm will sound and MQTT message will be Sep 20, 2016 · Homie is an Arduino Library for the ESP8266 which provides a framework for the MQTT convention to use with IoT implementations. As an example, we’ll publish sensor readings to Node-RED Dashboard and the ESP8266 will be programmed using Arduino IDE. It will read the temperature and humidity from the sensor every second. mqtt is an extremely simple and lightweight messaging protocol,based on lightweight publish/subscribe messaging transport. in our case A sensor connected to ESP8266 will publish a value let's say a temperature value , and user form a smart phone or a computer can read this value by subscribing to this value Mar 12, 2019 · Using MQTT you can send a command with a client to control output or you can read data from a sensor and publish it to a client. Create a feed using the create button on the right. 13 stars Watchers. Remote configure the ESP8266 wifi settings by connecting a computer or handphone to the 'myAP' wifi network. This approach does not limit the number clients can be controlled by one motion sensor. The sketch: #include <ESP8266WiFi. Nov 10, 2019 · Now i want to print the distance (in L) to a mqtt local server. Feb 28, 2022 · In this tutorial I explain how the IoT core, through AWS services, can communicate with our devices. The sensor comes with three wires: red (5-24VDC power), black (ground) and yellow (Hall effect pulse output). Our ESP8266 MQTT Publisher is connected with a DS18B20 sensor. Mar 1, 2017 · ESP8266 and DHT22 sensors are used, telegram as system output in the form of notifications. This sensor can be hooked up to your MQTT server, IFTTT, or many other frameworks that support the ESP8266. 10. Here we use a ESP8266 WIFI development board to connect the sensor to the internet to save the data. h> Open this and you'll need to add a section for the MQTT server and add a new sensor to it as follows: mqtt: broker: 127. 1x 12V Adapter. Printplaatje OpenCircuit. Jul 24, 2022 · The MQTT gateway is basically a Ethernet Gateway with modified software which makes it act as a MQTT client. Like this one; AMS1117 3. A lot of flavorous exist and will work and I will use the one I have… Aug 20, 2022 · We can use the Ubidots platform to send data to the cloud from any Internet-enabled device. 0V to 5. S. 0 from keystudio. 0; Step 3. The complete code for MQTT with Wemos D1 WiFi-ESP8266 will be available in example after installing PubSubClient library. Sep 23, 2021 · Learn how to program the ESP32 or ESP8266 boards with MicroPython to publish DHT11 or DHT22 sensor readings (temperature and humidity) via MQTT to any platform that supports MQTT or any MQTT client. Features: Automatic connection/reconnection to Wi-Fi/MQTT. It can act as STA, as AP, or as both and it can connect to another MQTT broker (i. ino file in the repo for the hc-sr04 sensor Jan 19, 2020 · Soil Moisture Sensor Tutorial for Arduino, ESP8266 and ESP32. DS18B20 is a temperature sensor which is single wire programmable in nature. An ESP32 board connected with DHT22, BME280, and DS18B20 sensors will connect to the MQTT broker. Accuracy +/-0. Features and Specifications. JSON configuration file to configure the device. /** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. 78/pcs like this one; Btw. The esp8266 connects via WiFi to a local Raspberry PI server running Node-RED and MQTT. With the power of ESP8266, we can do all kinds of sensors. YL-69 Soil Moisture sensor which is integrated with a water pump as a watering system (Ismail et al Mar 6, 2022 · For the last few months I’ve been busy creating a device to monitor when it is time to refill the salt blocks in my water softerner (Aquacell). TDS Measurement Range: 0 ~ 1000ppm. Power supply range: 3. Thus, if it detects water via its rust-proof probes, it can notify Home Assistant via an MQTT message Aug 31, 2022 · In this section, we’re going to test an MQTT communication using the Node-RED nodes. #include <ESP8266WiFi. ESP8266 - LDR Module. 10x samples read with 100ms delay between samples; Publish sensor data to MQTT; Apply Kalman filter to the average of the samples. This tutorial instructs you how to use an ESP8266 and an LDR light sensor module to detect and measure the light. Water flow sensor is capable of measuring flows in pipes from 0. 3. NPN Sensor OpenCircuit. The most commonly used broker is the Eclipse's Mosquitto library: an open-source implementation of the MQTT v3. ESP32 MQTT Publish Multiple Sensors to Node-Red. 96" OLED screen. Sep 22, 2022 · The device is based on the ESP8266, allowing it to wirelessly communicate with Home Assistant. Also supported are 2 status LED's and a SPI diaplay. LEIDS is an IOT sensor that is based around the ESP8266. A new window pops up – as shown in the figure below. 15 to 60 liters per minute, suitable for measuring water consumption or detecting pipe leakage and monitoring agricultural irrigation. The diagram below illustrates the process that we will follow in our ESP32 MQTT Publisher Subscriber project involving multiple sensors. Readme Activity. The node also listens to MY_MQTT_TOPIC_PREFIX and sends Its use 2 mqtt topics. 0 (ESP-12E Module) ), and its respective COM port. Dec 13, 2022 · In this article, we’ll use the ESP8266, MQTT, and Adafruit IO to build an IoT-based smart gardening system. The detail instruction, code, wiring diagram, video tutorial, line-by-line code explanation are provided to help you quickly get started with ESP8266. A project to read a Proximity sensor and output this to MQTT. As you can see the state_topic is the Sep 21, 2023 · Here’s a summary of the most relevant specs of the DS18B20 temperature sensor: Communicates over one-wire bus. PubSubClient library is used for developing MQTT subscribe client running on ESP8266. 3cm (0. The leak sensor can be created from two wires that are close enough. Copy the above code and open with Arduino IDE. Monitor moisture readings and receive notifications when level is too low through the openHAB smart home system and the MQTT messaging protocol. Use DHT22 temperature / humidity sensor on NodeMCU (ESP8266) with MQTT. In this IoT MQTT Based Heart Rate Monitor Project, we will interface the Easy Pulse Sensor with Arduino & ESP8266. This sensor reads from 2cm to 400cm (0. topic_alert: on this topic the leak sensor send alert if there is any leakage . It will report it to the MQTT server if the difference is > 1 since last reported value. In addition, this particular module comes with ultrasonic transmitter and receiver modules. md","contentType":"file"},{"name":"Water_flow_sensor_MQTT_D1_Water Jan 13, 2024 · To have an overview of the supported PIR, door, water, temperature, smoke sensors, sirens, rings, beacons, switches & weather stations you can take a look to the compatible devices list (opens new window) You can run OpenMQTTGateway on a wide variety of boards (opens new window), ESP32, ESP8266 Mqtt: If you have multiple Sonoff's they can all use the same mqtt topic as long as they don't have the same child id. Because there are two different types of sensors, we describe the functionality of each one in the first chapter. or . 4. Jan 2, 2022 · The ESP8266-12E module comes with an on-board LED connected to GPIO 2. The W5100 MQTT gateway sends radio network (or locally attached sensors) data to your MQTT broker. 1) A NodeMCU board and a I2C 0. those links are for the convenience. As a result, a low-cost water flow meter is required. 3 ~ 5. Aug 25, 2020 · The ESP8266 reads the data from the temperature sensor and sends it to an MQTT broker. Jan 20, 2017 · MQTT is a common protocol used in IoT systems to connect low-level devices and sensors. Bridge Cayenne to MQTT Broker Server; State machine; Sensors control; LCD display all commands and messages; Future project will includes Bridge Alexa MQTT Broker Project (red color) 4. This string is converted to a C char array and send to the MQTT server. The switch he used was an answer - Pololu - Mini Pushbutton Power Switch with Reverse Voltage Protection, LV . Apr 13, 2017 · Downloads. h>// Import PubSubClient library to Aug 1, 2022 · The DHT11 sensor data, temperature and humidity, are captured and manually parsed together to a JSON string. Mar 16, 2017 · In this project you’ll create a standalone web server with a Raspberry Pi that displays temperature and humidity readings with a DHT22 sensor. 2; DHT sensor library 1. We control these two GPIOs upon receiving messages from an MQTT Publish client. Now, you can use any dashboard that supports MQTT or any other device that supports MQTT to subscribe to those topics and receive the readings. i have try serval ways but i can't find the good way. Client and Broker. Soldering and uploading: . topic_state : to send and receive the valve status. - Devices like pumps, valves, light, sensors and LCD display controlled by ESP8266 + MCP23008 Dec 13, 2022 · 2. 1 to setup the wifi connection of the ESP8266. Programming the ESP8266 to detect rain through the digital signal. 25 milliliters. It is widely used to measure temperature of chemical solutions and substances which are present in a hard environment. thx ! Here my code. 3 MQTT you need any of the following. Feeds can also be called MQTT topics. Write a function to connect to the MQTT. Following are the components required for making this project. It implements an MQTT Broker and a simple scripted rule engine with event/action statements that links together the MQTT sensors and actors. To make the recommended (MQTT) version 1. Cute HTTP API / Web UI / App to remotely send the configuration to the device and get information about it. We would like to show you a description here but the site won’t allow us. There are two main terms in MQTT i. May 4, 2020 · I used an ESP8266-01 and water proof ultrasonic sensor Example code for rpi to hass mqtt: #%%Sensor #Libraries import RPi. To setup our MQTT system, we need a broker, as explained in the previous step. * The sensors forms a self healing radio network with optional repeaters. Telegraf subscribes to the MQTT topic and saves the received that into the InfluxDB database. Apr 23, 2020 · Preparing Node-RED Dashboard. Working Current: 3 ~ 6mA. In the above image you can see the sensor. The diagram below illustrates the process that we will follow in our ESP8266 MQTT Publisher Subscriber project involving multiple sensors. sudo apt-get update. 2x Dupont Male-Female OpenCircuit. ESP8266 01, $1. A 0. Sep 25, 2022 · In the last tutorial we learned the basic of MQTT protocol, we have seen how to publish text messages with MQTT Broker using ESP8266. Dec 21, 2016 · The DHT22 sensor is connected to ESP8266 . Tutorial Complete: May 15, 2023 · Utilizing the ESP8266 WiFi Module as the primary controller, the system manages all electronic components and executes actions based on WiFi network connectivity. Then access the webpage at 192. Learn how to use HC-SR04 Ultrasonic Sensor with the ESP8266 NodeMCU using the Arduino core. Now let's go through the esp8266 connection steps. how to control LED on an ESP8266 by a button in other ESP8266. Learn to connect the NodeMCU ESP8266 to Ubidots Application Development Platform over MQTT. Here are the sensor parameters: TDS Meter: Input Voltage: DC 3. ESP8266 offers a complete and self-contained Wi-Fi networking solution. 0; Arduino ThingsBoard SDK 0. Output Voltage: 0 ~ 2. Feb 17, 2019 · Then I ran into Peter Jennings’ work on his water sensor - ESP8266 Water Alarm. to/3SJ7Q2K»ESP8266«: ☛https://amzn. In order to create the web server you will be using a Python microframework called Flask. This project was very simple - only two components are needed: Adafruit Feather HUZZAH with ESP8266 WiFi. begin (9600); pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); // Write a pulse to the HC-SR04 Trigger Pin. This sketch will connect to your WiFi network and MQTT broker. 168. I always wanted to track the temperature of my pool water and wanted a cheap/easy way to do it. in the cloud). 2; Adafruit Unified Sensor 1. #include <PubSubClient. 2) A ESP32 board with a OLED screen on board. to/3SKWpYl ESP8266 NodeMCU as an MQTT DS1820 Publisher. 1. This is a Sketch for the arduino IDE to enable the usage of a DHT22 sensor connected to a NodeMCU (ESP8266) with MQTT. 96″ I2C OLED screen displays these water levels for easy monitoring. My sensor supports multiple sensors, uses Wifi and MQTT to publish status updates. 6; WiFiEsp 2. Other. In particular, let's see the use of the MQTT protocol. This is where using MQTT to replay the motion status shines. 3 V, a voltage regulator for ESP8266, some capacitors ; A USB module to flash ESP8266, $0. ESP8266-01; Generic PCB Board; FT232RL USB to Serial Adafruit Unified Sensor 1. Afterwards, the sensor goes into deep sleep mode, waits for 30 minutes, and repeats these steps. Here’s the high level overview of the Water them automatically with a pump whenever needed. This sensor makes use of this board, a soft latching circuit, a reed switch, and some magnets to create a door sensor that will send you an alert when your door opens and closes. with HomeAssistant (wind speed, wind direction, wind gust, temperature and huminity) - lebherz/Anemometer_ESP8266_W132_mqtt Welcome to the GitHub repository of the Water-Leaker-Sensor IoT project! This project aims to provide real-time monitoring of water levels and water presence using ESP8266, Arduino, and MQTT integration. Click Upload button on Arduino IDE to upload code to ESP8266. ESP8266 push data to Thingsboard server via MQTT protocol by using PubSubClient library for Arduino. Bill of Materials. May 12, 2021 · The code snippet provided showcases how to connect and interact with the ESP8266 over a web server. 6. e. ino Jan 16, 2023 · This MicroPython tutorial demonstrates the seamless integration of MQTT, DHT11 Temperature and Humidity Sensor, and ESP32-ESP8266 Development boards. ThingSpeak has recently added an MQTT broker so devices can send messages to ThingSpeak. Serial. We will use Mosquitto broker on Raspberry Pi. ino file in the repo for the sn-sr04t-v3. Additionally, see how MicroPython ESP8266 MQTT Publish Multiple Sensors to Node-Red. The motion sensor published to one specific topic, and other clients, either LED light or a database, to listen in. We will then set it up to work with Home assistant through MQTT The hall effect sensor is sealed from the water pipe and allows the sensor to stay safe and dry. Dec 21, 2016 · Adafruit Unified Sensor by Adafruit; DHT sensor library by Adafruit; Note that this tutorial was tested with the following versions of the libraries: PubSubClient 2. Om de watermeter goed werkend te krijgen hebben we de volgende producten nodig: NodeMCU (ESP8266) voorzien van ESPEasy OpenCircuit. - Control server running at ESP8266. h> // Import ESP8266 WiFi library. It has two outputs: one that gives a digital signal (either LOW or HIGH) and another that gives an analog signal. 3) A ESP8266 board with a OLED screen on board. I used two plants in this example, and two analog sensor readings were done. For the Raspberry Pi, we will be using the " Mosquitto " MQTT broker. Combining Mysensors Water Meter Pulse Sensor with GoodWeLogger to create a mqtt esp8266 watermeter Resources. Place the MQ2 gas sensor near the smoke/gas you want to detect. gl vd xj tj mb sj tz pi qt qt