Open main menu

DAVE Developer's Wiki β

Changes

MISC-TN-021: SBCSPG and ThingsBoard IoT

587 bytes added, 11:41, 4 February 2022
no edit summary
==Introduction==
This Technical Note illustrates how to run [https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/ ''ThingsBoard IoT Gateway'' software] on the [[MISC-TN-004:_Running_Debian_(armbian)_on_SBCSPG#The_hardware_platform|SBCSBP gateway product]] running Debian Buster. The example also shows how to connect the gateway to a server running ''[https://thingsboard.io/docs/ ThingsBoard IoT platform Community Edition]''.
==Installing ''ThingsBoard IoT Gateway''==
To install  ''ThingsBoard IoT Gateway'' it is possible to make use of the .deb package as described in the [https://thingsboard.io/docs/iot-gateway/install/deb-installation/  official documentation]. In order to run the software, it was necessary to upgrade manually the package <code>protobuf</code> as shown in the following box: <pre class="board-terminal">
$ sudo pip3 install --upgrade protobuf
Requirement already satisfied: protobuf in /usr/local/lib/python3.7/dist-packages (3.10.0)
</pre>
==Installing''Mosquitto'' MQTT broker==
On the gateway, an MQTT broker was installed as well, namely ''[https://mosquitto.org/ Mosquitto]''. For more details, please refer to [https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-debian-9this tutorial].
<pre class="board-terminal">
</pre>
 == Testing armbian@sbcspg:~$ mosquitto_sub -h localhost -t test==
armbian@sbcspg:~$ mosquitto_pub -h localhost -t test -m "hello world"
4,650
edits