The goal of this tutorial is to demonstrate the basic usage of the most popular Volt features. You will learn how to:
We will connect and visualize data from the temperature sensor to keep it simple.
You will need to have Volt server up and running. The easiest way is to use Live Demo server.
The alternative option is to install Volt using Installation Guide. Windows users should follow this guide. Linux users that have docker installed should execute the following commands:
1 2 3 4 5 | mkdir -p ~/.mytb-data && sudo chown -R 799:799 ~/.mytb-data mkdir -p ~/.mytb-logs && sudo chown -R 799:799 ~/.mytb-logs docker run -it -p 9090:9090 -p 7070:7070 -p 1883:1883 -p 5683-5688:5683-5688/udp -v ~/.mytb-data:/data \ -v ~/.mytb-logs:/var/log/thingsboard --name mytb --restart always thingsboard/tb-postgres |
These commands install Volt and load demo data and accounts.
Volt UI will be available using the URL: http://localhost:8080. You may use username tenant@thingsboard.org and password tenant. More info about demo accounts is available here.
For simplicity, we will provision the device manually using the UI.
We will connect and visualize data from the temperature sensor to keep it simple.
To connect the device you need to get the device credentials first. Volt supports various device credentials. We recommend using default auto-generated credentials which is access token for this guide.
Now you are ready to publish telemetry data on behalf of your device. We will use simple commands to publish data over HTTP or MQTT.
Linux or macOS
Windows
Linux or macOS