This article applies to TeamViewer IoT users who want to monitor their IoT networks.
The solution presented in this article requires TeamViewer IoT Agent v 1.1.102 (or higher). To identify the version of your agent, run: sudo teamviewer-iot-agent info (an error, or no result, indicates an older version of the agent is installed).
It is recommended to review the TeamViewer MQTT API documentation prior to proceeding with this article.
The TeamViewer IoT Agent acts as a centralized hub bringing the TeamViewer IoT solution to your IoT network. In order to securely integrate your IoT devices and sensors, you must create trusted Clients (Reference TeamViewer MQTT API documentation for details) which can communicate with the TeamViewer IoT Agent.
Remote Clients allows you to extend your clients to trusted remote devices rather than being limited to the localhost (the device hosting the agent). The following quick-guide will illustrate how to enable Remote Clients and how to use the TeamViewer MQTT API to remotely create Clients and send your sensor data for monitoring & visualization.
By default, TeamViewer IoT Agent only allows localhost connections; to enable remote connection: