Read this article in Chinese | French | German | Spanish
This article applies to all TeamViewer IoT users who monitor their IoT network.
The TeamViewer IoT Node.js SDK is a development kit to facilitate integration of sensors to the IoT Agent MQTT API to allow for secure data registration and transfer to your TeamViewer IoT Cloud.
The SDK requires the following to be installed on the device:
sudo node -v
TeamViewer IoT Node.js SDK
Upon download completion, extract the contents of the application:
sudo tar -zxvf teamviewer-iot-sdk-nodejs-v1.0.2.tar.gzcd teamviewer-iot-sdk-nodejs-v1.0.2sudo npm install
cd teamviewer-iot-sdk-nodejs-v1.0.2sudo npm install
To run the SDK example, execute the following commands:
sudo node ./examples/create_metric.js