Star

ThingsBoard Documentation

Documentation for using ThingsBoard IoT Platform.

How to enable remote shell feature on ThingsBoard IoT Gateway

This guide will help you to enable remote shell feature and control operation system with ThingsBoard IoT Gateway from your ThingsBoard platform instance.

For purpose of this guide, we will use following things:

  1. Instance of ThingsBoard platform (How to install you can read here). For this guide we will use demo.thingsboard.io
  2. Installed and configured ThingsBoard IoT Gateway (How to install you can read here).

Step 1. Remote shell activation


{: style=”color:red” } WARNING: This feature can cause security problems for your device, we strongly recommend using it with ssl encryption only and not enabling it if you don’t need it.

Example of the thingsboard section in the general configuration file:

thingsboard:
  host: demo.thingsboard.io
  port: 1883
  remoteShell: true
  remoteConfiguration: false
  security:
    accessToken: PUT_YOUR_GW_ACCESS_TOKEN_HERE

Step 2. Create a dashboard to use the remote shell

To use the remote shell we have to use the widget RPC remote shell from Control widget bundle. To do this we use following steps:

Next steps

Explore guides related to main ThingsBoard features: