Open main menu

DAVE Developer's Wiki β

Changes

Enabling the connection to ThingsBoard IoT platform
=== Enabling the connection to ThingsBoard IoT platform ===
In order to upload collected data to ThingsBoard platform, a simple North plugin was developed. To this end, the Microsoft Azure plugin was used as reference. The ThingsBoard South plugin is minimalist and '''unfit for a real-world production environment'''. Nevertheless, it was enough to perform the basic tests described in this TN. Before testing this new plugin, the mosquitto-clients package was installed as the plugin invokes the <code>mosquitto_pub</code> command line tool.
<pre class="board-terminal">
The following box shows the code of the ThingsBoard plugin.
<syntaxhighlight lang="python" class"mw-collapsible ="" mw-collapsed"="">
# -*- coding: utf-8 -*-
4,650
edits