Building the JavaScript Client

Let's face it. We really wouldn’t have an Internet of Things if it wasn’t for the internet. JavaScript, along with HTML and CSS, is one of the core technologies of the internet. At the heart of the Internet of Things is the protocol for communicating between devices, MQTT.

In this chapter, we will turn our attention away from Python and focus on using JavaScript to build a JavaScript client to subscribe to a topic on an MQTT server.

The following topics will be covered in this chapter:

  • Introducing JavaScript cloud libraries
  • Connect to Cloud Services using JavaScript

Get Internet of Things Programming Projects 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.