Building a smart gas sensor for your home is an easy and fun project, which can also help to prevent serious damage. The gas plumbing in my house is rather old, and even though it is checked regularly by professionals from the gas company when they come to replace the gas tanks, I still want […]
Using WiFi events on Arduino can be very useful, as I previously wrote in the article Best Practices on Connecting ESP8266 to WiFi Network. It helps in managing the wifi connection in the sketch’s code.
In this post, I wanted to share with you the list (as far as I know) of events.
Sending an email is probably the most convenient way of communicating data or informing us of an event from our ESP8266. It’s cross-platform, works on every device and very reliable. It can alert us when one of the sensors detected something (PIR sensor for movement, MQ2 for air quality or any other environmental sensor).
There are a few ways to get that done, and in this post, I’ll show you my preferable way.
This seems like a topic that has a lot of cover on the internet, and many sites have code snippets for connecting ESP8266 to WiFi networks, however, after using a lot of ESP8266 in my projects I want to recommend my own take on how to achieve this.
Motivation for this project
Every time I add a new device (IOT, server or other) to my home network, I want to make sure that I can rely on it to do its job and keep being connected.
When a device has a critical part to play in my home or office, I want to be alerted when it fails or if it disconnects from the network/internet.