Chapter 5. Interacting With Web Services

In this book so far, we have seen how to monitor and control our ESP8266 Wi-Fi module from anywhere in the world. However, that's only a small part of what we can do within the Internet of Things framework.

What we will do in this chapter is use the ESP8266 to interact with existing web services, and therefore make the physical world interact with those services via the ESP8266. As examples, we'll connect the chip to the Yahoo Weather service, and then to Twitter and Facebook. Let's start!

Hardware and software requirements

For this project, you will of course need an ESP8266 chip. As for most of this book, I used the Adafruit Huzzah ESP8266 module, but any ESP8266 module will work fine here.

At some point, ...

Get Internet of Things with ESP8266 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.