Announcements

Did you already try the new Windows 10 October 2020 Update?


Share your feedback and experience with TeamViewer on the new Windows build with our developers here.

Highlighted
Posted by
Former Staff

TeamViewer IoT Device SDK for Python

This article applies to all TeamViewer IoT users who monitor their IoT network.

General

The TeamViewer IoT Python-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.

Caution: The Python SDK is currently being provided via IoT Labs for trial purposes as it may not be backwards compatible with future versions. 

 

Download & Installation

Step 1 - Download the SDK

Download the SDK by either Clicking on the link or using the command line:

TeamViewer IoT Python SDK

or

wget https://download.teamviewer-iot.com/sdks/python/v1.1.0/teamviewer_iot_python_sdk-1.1.0-py3-none-any.whl

Step 2 - Install dependencies

The SDK requires the following to be installed on the device:

Step 3 - Install the SDK

sudo pip3 install teamviewer_iot_python_sdk-1.1.0-py3-none-any.whl

 Step 4 - Extract Package

unzip teamviewer_iot_python_sdk-1.1.0-py3-none-any.whl -d teamviewer_iot_python_sdk

Step 5 - Run Examples

To run the SDK example, execute the following command:

cd teamviewer_iot_python_sdk
sudo python3 ./examples/create_metric.py