Connecting the PIR module to the internet

Everything that we did until now can also be achieved with an Arduino, so where is the value added by the ESP8266? Well, what if you receive a notification as an email and a sound on your phone when a motion is detected at home. Also, you can later combine the detected motion with turning on lights, the TV, or turning on an alarm siren.

In order to do this, we will use a library named blynk that can be downloaded from the following link:

https://github.com/blynkkk/blynk-library or their mobile application.

Now we shall see how to set it up:

  1. First let's download and install the library:
  1. Click the ...

Get ESP8266 Home Automation Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.