Chapter 7. Implementing web Things

This chapter covers

  • Exploring the three possible patterns to implement web Things
  • Giving access to sensors and actuators via web protocols
  • Building REST and WebSockets APIs on your Pi with Node.js and Express
  • Building CoAP devices and connecting them to the web
  • Using MQTT on your Pi to connect to the EVRYTHNG API

In the previous chapter, we focused on how to design a clean web API for physical Things. This chapter builds on the principles you learned and describes how to actually implement those APIs for real Things.

The next sections detail the three different ways to implement a web Thing API so it deals with the implementation strategy. Here, we focus on the integration patterns of Things to the ...

Get Building the Web of Things 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.