Writing the JavaScript client code

Here is a screenshot of the T.A.R.A.S instance that I set up on my account. Please note the values in the list. These values are from my instance and yours will be different. We will use these values when writing our JavaScript client:

To write our JavaScript client code, we should use a computer other than Raspberry Pi on T.A.R.A.S. You may use whichever OS and HTML editor you desire. I wrote my JavaScript client code using macOS and Visual Studio Code. You will also need the Paho JavaScript library:

  1. Navigate to the Eclipse Paho downloads site at https://projects.eclipse.org/projects/technology.paho/downloads ...

Get Internet of Things Programming Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.