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 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.