Chapter 6. Machine-to-Machine Communications
In the previous chapters, we learned how to make the ESP8266 log data online, and also how to control it remotely from anywhere in the world. However, all those Internet of Things projects had something in common: they required your intervention at some point, either to look at the data or to click on buttons to control the device remotely.
In this chapter, we are going to look at another field of the Internet of Things: Machine-to-Machine (M2M) communications. Those are the cases where no human intervention is required, and when machines communicate directly with each other to accomplish particular tasks.
And this is exactly what we are going to illustrate with ESP8266 boards in this chapter. We are first going to make a very simple project to illustrate M2M communications, and then we are going to apply this knowledge to build a light-activated relay, based on two ESP8266 boards. Let's start!