Trendz with ThingsBoard 4.2.1 or Older
This guide explains how to connect Trendz with ThingsBoard 4.2.1 or older. We strongly recommend updating ThingsBoard to the latest version to access all Trendz and ThingsBoard features.
To install Trendz for ThingsBoard 4.2.1 or older:
- Start from step 1 of the installation guide.
- Before the
Start Trendz servicestep, configureTRENDZ_LICENSE_SECRETandTB_API_URL. - Complete all other steps, except for
Sync ThingsBoard With Trendz. - Perform post-installation steps.
Configure License Secret
To interact with ThingsBoard 4.2.1 or older, you need a Trendz license secret key. If you do not have one, obtain it from the ThingsBoard support team.
Edit the Trendz configuration file:
1
sudo nano /etc/trendz/conf/trendz.conf
Add the following line and replace YOUR_LICENSE_SECRET_HERE with your license key:
1
export TRENDZ_LICENSE_SECRET=YOUR_LICENSE_SECRET_HERE
For Docker installations, update the TRENDZ_LICENSE_SECRET environment variable with the correct value.
Configure TB_API_URL
By default, Trendz assumes ThingsBoard is hosted on the same instance and accessible at:
1
http://localhost:9090
If ThingsBoard is hosted on a different instance or port, update the configuration accordingly:
1
sudo nano /usr/share/trendz/conf/trendz.conf
Set the correct URL:
1
export TB_API_URL=http://localhost:9090
For Docker installations, update the TB_API_URL environment variable with the correct value.
Next Steps
-
Getting started guide - These guide provide quick overview of main Trendz features.
-
Metric Explorer - Learn how to explore and create new metrics with Trendz Metric Explorer.
-
Anomaly Detection - Learn how to identify anomalies in the data.
-
Calculated Fields - Learn about Calculated fields and how to use them.
-
States - Learn how to define and analyse states for assets based on raw telemetry.
-
Prediction - Learn how to make forecasts and predict telemetry behavior.
-
Filters - Learn how filter dataset during analysis.
-
Available Visualizations - Learn about visualization widgets available in Trendz and how to configure them.
-
Share and embed Visualizations - Learn how to add Trendz visualizations on ThingsBoard dashboard or 3rd party web pages.
-
AI Assistant - Learn how to utilize Trendz AI capabilities.