Creating automated alerts based on the measured data
In this recipe, we will be looking at how to create alerts based on the data you logged online. Alerts are available for locked dweets. They send notifications to you when the posted data exceeds a certain limit. This is an important feature for real-time monitoring. To demonstrate this, we will create an alert to inform us when the temperature exceeds 25 degrees Celsius.
Getting ready
You will need an ESP8266 board, a USB cable, and several other hardware components:
- DHT11 (https://www.sparkfun.com/products/10167)
- Soil moisture sensor (https://www.sparkfun.com/products/13322)
- 220 Ω resistor
- 100 Ω resistor
- 10 kΩ resistor
- Breadboard
- Jumper wires
Set up the hardware as we did in the, Connecting sensors ...
Get ESP8266 Internet of Things Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.