Set up the Node-SDK (Linux)

Set up the Node-SDK (Linux)

October 9, 2020
TeamViewer IoT SDK

What you will need

Make sure that you have prepared the following points:

Setup

  1. Access the edge device remotely (Access the Edge Device via Remote Terminal).
  2. Download the SDK on the edge device. In the terminal type in the following command and press return.
wget https://download.teamviewer-iot.com/sdks/nodejs/v1.0.3/teamviewer-iot-sdk-nodejs-v1.0.3.tar.gz
  1. Extract and install the SDK. In the terminal type in the following commands and press return.
sudo tar -zxvf teamviewer-iot-sdk-nodejs-v1.0.3.tar.gz
cd teamviewer-iot-sdk-nodejs
sudo npm install
  1. Optional: run the SDKs’ examples. In the terminal type in the following command and press return.
sudo node ./examples/create_metric.js
 

 

Related posts

Want more? Exclusive deals, the latest news: Our Newsletter!