Skip to Content
ESP8266 Internet of Things Cookbook
book

ESP8266 Internet of Things Cookbook

by Marco Schwartz
April 2017
Intermediate to advanced
268 pages
5h 36m
English
Packt Publishing
Content preview from ESP8266 Internet of Things Cookbook

Retrieving your online data

The ESP8266 can be used to retrieve data from online servers so long as it is connected to the Internet. To demonstrate how to do that, we will use our ESP8266 module to retrieve the most recent sensor data that was posted to dweet.io, in our previous recipe. This will give you an idea of how to go about retrieving data from online sources.

Getting ready

For this recipe, you will only need your ESP8266 board and a USB cable. You can also leave your setup as it was in the second recipe in this chapter, although we won't need to read sensor input this time round.

How to do it…

Reading the most recent data from dweet.io is just as simple as posting it. All you've got to do is send an http request using the following URL: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Internet of Things with ESP8266

Internet of Things with ESP8266

Marco Schwartz
ESP8266 Robotics Projects

ESP8266 Robotics Projects

Pradeeka Seneviratne

Publisher Resources

ISBN: 9781787288102Supplemental Content