Questions tagged [thingsboard]

ThingsBoard is an open-source, multi-OS IoT platform for the rapid development, management and scaling of IoT projects. It allows the use of several protocols for delivering IoT data to the ThingBoard server. This tag should be used for specific programming questions related to ThingBoard. Questions regarding MQTT, HTTP, CoAp, and other protocols should include those protocol specific tags.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

In Rule Chain, how to aggregate data and calculate the average base on Time?

My_rule_chain Hi Im trying to create a Lever Meter Dashboard. I already getting the reading of the level in gallons, i calculate the percentage and calculate the consumption. I need to calculate the ...
Jediel Barreto's user avatar
0 votes
0 answers
6 views

ThingsBoard Inactivity Events Not creating alarms

I am working with the following guide:. I am not able to get any alarms created. According to the guide, I must create an inactivityTimeout, in the guide it sets it to 60000, I have set it to 10000. ...
Nicholas Bartlett's user avatar
0 votes
0 answers
6 views

Send large binary data from ThingsBoard to IoT device

We are using ThingsBoard as our device manager for our ESP32-based IoT devices. We're already using MQTT to publish telemetry data from the device. Now, we need to send data from ThingsBoard to our ...
Tobias Uhmann's user avatar
0 votes
0 answers
15 views

How to correctly set the TTL for MQTT messages to expire on ThingsBoard?

In order for MQTT messages to expire after a certain amount of time in ThingsBoard a Time-to-Live (TTL) parameter can be added to the message. Inside the ThingsBoard rule chains more logic can be ...
vortex123456's user avatar
0 votes
0 answers
12 views

I can't edit tb_gateway.yaml

While I'm Trying to edit GW_ACCESS_TOKEN it says permission denied I'm using raspberry pi 4 with raspian operating system and I have novice knowloge of using raspberry pi I tried to modify the file ...
Mohammad Elnewehi's user avatar
0 votes
0 answers
13 views

Thingsboard CE mobile application Device Dashboard not picking up entity context

I have configured a Mobile Dashboard for a Device Profile. In the TB provided mobile application built navigating to a device from the Devices listing does not pick the right device context, instead ...
Kalaivanan's user avatar
0 votes
0 answers
14 views

Toggle Switch hangs when changing state

Hello I am running ThingsBoard version 3.5.1. I am trying to use the Slide Toggle Control widget on my dashboard. Whenever I slide the switch, from ON to OFF and vice versa, it takes forever to change ...
Kabo Elliot Pule's user avatar
0 votes
0 answers
11 views

Connecting BLE Tags to Thingsboard Cloud

I'm looking for guidance the best way to connect Dewalt BLE Tags to ThingsBoard Cloud. I currently have the following in place - Lansitec Macro BLE beacons -> Tektelic macro gateway -> ...
Archangeljinx's user avatar
1 vote
2 answers
49 views

How could I run a function after the completion of a for loop in Javascript before E6. It should work in thingsboard

I'm working in thingsboard Which can use angular, I want to run a function after a for loop complete its execution and in the for loop i have a amount_users variable which gets increase and end of the ...
AADARSH BALLARI's user avatar
0 votes
0 answers
7 views

Extract the desired report from the output of the device

We have the equipment for monitoring workspace occupancy on the Thingsboard. We would like to receive updates on space utilization during the available hours from 8 am to 8 pm every day. The device ...
MohsenAIoT's user avatar
-2 votes
2 answers
41 views

In Thingsboard, How to make promise synchronous in for loop

`I've made calls to six built-in APIs within a for loop, where each API call depends on the result of the previous one. I've attempted to execute these API calls synchronously; however, due to varying ...
user22536823's user avatar
0 votes
0 answers
12 views

How can I send a request from Thingsboard dashboard to multi devices?

i want send a request from Thingsboard dashboard to multi devices, but i couldn't! my question is how can i send a request to multi devices from Thingsboard dashboard? i use this setting in entity ...
HL Dev's user avatar
  • 11
-1 votes
0 answers
3 views

Problem with RPC request, how to avoid error 503?

I am doing the following request: curl -v -X GET http://$THINGSBOARD_HOST_NAME/api/v1/$ACCESS_TOKEN/rpc?timeout=60000 Where I have replaced thingsboard hostname and access token by my own value. When ...
Alexandre's user avatar
0 votes
0 answers
10 views

turn the entityId into a breadcrumbs, and filter them in order then print in dynamic html

In this code, the self.onInit function is responsible for starting the process. It retrieves the relations data, defines the indexed relations, and calls the printOrderedRelations function to print ...
JS main learner's user avatar
0 votes
0 answers
23 views

Dynamic filtering on relationship in ThingsBoard

I am building a dashboard where assets are organized into different "regions" using relationships. This is similar to the examples shown in ThingsBoard documentation. In this documentation, ...
DurandA's user avatar
  • 1,105
0 votes
0 answers
16 views

Generating Dashboard Reports in Thingsboard: Backend vs. Frontend Approach

I am currently working on generating reports from a dashboard in Thingsboard. Initially, I attempted to create reports from the frontend, but encountered issues with missing images. Now, I'm ...
Magic Developement's user avatar
0 votes
0 answers
17 views

Problems in starting the ThingsBoard GUI

I’ve been playing with ThingsBoard PE for educational purposes (I’m a professor of Databases at L’AQuila University, Italy) for a couple of weeks. TB runs on a Virtual machine under Ubuntu 20.4. ...
user115418's user avatar
1 vote
1 answer
34 views

creation of custom widget in thingsboard v 3.5.1

i want a widget with 2 button only for navigation purpose ' button 1 ' is using for navigating to next dashboard & ' button 2' is using for previous dashboard *So basically this same widget will ...
Akhil's user avatar
  • 11
1 vote
0 answers
53 views

Error when running OPC Client on Node Red using Python

I'm using Python for the OPC Client which I run on Node-Red. The OPC Client functions to send sensor data to the Thingsboard. However, after 1 hour of running on Node-Red, an error appears as below My ...
Hendrianto29's user avatar
0 votes
0 answers
18 views

How to edit/update timeseries data with a timestamp using thingsboard widget action

I want to edit/update timeseries data from thingsboard Timeseries table widget using widget action with html. But I only change the latest timeseries data. I need to update/edit timeseries data with a ...
Pallab Chowdhury's user avatar
1 vote
2 answers
34 views

Thingsboard in an Azure VM does not listen in specified port

I am trying to install and get working a thingsboard server in a VM instance in the Azure cloud. I have followed the tutorial for Ubuntu 20.04 and the service seems to start alright, but I cannot seem ...
Alejandro Hontanilla's user avatar
0 votes
0 answers
29 views

Thingsboard microservice crashes on AWS EC2 with kafkajs errors

I would like to run Thingsboard in the microservice configuration on a AWS EC2 machine but when I try to launch the services the CPU goes at 100% and the machine crashes. At first I thought that the ...
Manuel Romano's user avatar
0 votes
0 answers
34 views

Flutter ThingsBoard PE: Dashboards Not Loading on Android API 21-30

I am facing a specific issue while attempting to run my Flutter application with the latest version of ThingsBoard PE (1.0.7) on Android devices with API 21 to 30. The application is not loading ...
Anderson André's user avatar
0 votes
1 answer
26 views

Bing maps does not load everytime in Thingsboard

I am new to Javascript and Thingsboard, I was trying to implement Bing Maps into a Thingsboard widget, and I am facing an issue where the widget does not successfully load everytime issue Here is my ...
srihari-bg's user avatar
2 votes
1 answer
33 views

Thingsboard draw line on map not a polygon

I want to know how to draw lines on the map using custom widget in Thingsboard. Is there anyone who tried to modified inside using javascript? how to do it here self.onInit = function() { self....
Bevin NIno's user avatar
0 votes
0 answers
27 views

Thingsboard Widget Data Manipulation and the tooltip not working

I am updating widget data and when I do this the tooltip no longer works on hover. Is there something I need to do to refresh this? Context: I am creating my own version of the time series widget and ...
Mike Merritt-Holmes's user avatar
0 votes
0 answers
26 views

Remote Integration - UDP/TCP protocols

I'm about to add some devices to my Thinsgboard instance, although I'm not sure if they can be easily integrated with. Someone can tell if with a UDP or TCP remote integration I can receive messages ...
Andmac12's user avatar
1 vote
0 answers
60 views

How to update Thingsboard dashboard state without having to click on a row

On my thingsboard dashboard, the card and time series widget only displays a value when I click on a row of the entities table widget on the dashboard, thereby populating the dashboard state, I want ...
Taiwo Mercy's user avatar
1 vote
0 answers
58 views

Error when upgrading ThingsBoard CE from 3.4.4 to 3.5.0

Starting upgrade ...
Aslanbek Aitbaev's user avatar
1 vote
1 answer
78 views

Thingsboard How to get ${entityName} inside a 'Static Widget (inside a Dashboard State)'

I'm trying to develop a widget based in the 'Static Widget'. I can access almost everything using $injector: var $injector = self.ctx.$scope.$injector; var attributeService = $injector.get(self.ctx....
Maadaf's user avatar
  • 15
-1 votes
2 answers
41 views

ThingsBoard whitelabelling Menu Item cannot be found

We have ThingsBoard white labelling as part of our subscription. My colleagues who is currently on holidays applied it a while ago and we have our logo, etc; yesterday while trying to change something ...
Kevin F's user avatar
  • 11
1 vote
1 answer
26 views

Data Not Displayed in Telemertry tab

I am new at using thingsboard, recently I have created a device on thingsboard and trying to send data to it through mosquitto. The device profile is set to MQTTv2 and MQTT credentials are set. the ...
ahmad sultan's user avatar
2 votes
1 answer
105 views

How to create and use an Angular component in ThingsBoard widget

The Widgets Development Guide of ThingsBoard describes how to develop widgets with JavaScript hooked to the Widget API. For the development of reusable widget component, I'd like to develop TypeScript ...
DurandA's user avatar
  • 1,105
-3 votes
1 answer
73 views

Thingsboard Dashboard for All Customers

I have multiple customers with users for each of the customer groups. I have created a single dashboard which will be managed by myself (Tenant Admin). So if customer "A" logs in, I want ...
GGonzales0603's user avatar
0 votes
1 answer
38 views

Storing Data in Cassandra and Visualizing it in ThingsBoard Dashboard

I'm working on a project where I need to store data in Cassandra and visualize it in a dashboard using ThingsBoard. I have already set up a Cassandra cluster and designed the data schema. However, I'm ...
Magic Developement's user avatar
0 votes
0 answers
21 views

Thingsbaord esp32-ota update failed

enter image description here Getting this error ?? am using thingsbaord cloud account for ESP32-ota ..using sample code provideed by thingsbaord with server_certs..when new firmware bin v1.2 (https://...
Shiv's user avatar
  • 1
0 votes
0 answers
11 views

Error when adding or deleting a tenant [thingsboard]

I get the following error when adding or deleting a tenant on thingsboard: "could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not ...
Elnu van Rensburg's user avatar
0 votes
1 answer
34 views

Thingsboard PE user limit

I wanted to know if there are limits to the number of users in different types of the PE license. In the pricing page of Thingsboard it only shows the number of devices and assets: So I suppose that ...
Sdaia's user avatar
  • 122
1 vote
1 answer
96 views

Thingsboard - Custom timeseries widget injected with Chart.js library

I want to create my linear timeseries widget in thingsboard but i need some custom features not included in the default version. Configuration provided as an example byThingsboard: The Chart.js ...
Denis Pintea's user avatar
0 votes
0 answers
62 views

Build ThingsBoard Server UI Could not extract the Yarn archive

I try to build github project ThingsBoard from source,when it comes to the **Server UI ** part.there comes a error: [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:...
AlexFu's user avatar
  • 1
0 votes
0 answers
42 views

Thingsboard API get all devices and time of latest activity

Using the python tb_rest_client.rest_client_ce API, I'm fetching all customer devices like this: installations = { "installations": [ ] } has_next = True page = 0 while has_next: ...
Johan's user avatar
  • 5,003
0 votes
0 answers
34 views

How to retrieve attribute name for custom widget in Thingsboard with Angular?

I am trying to retrieve an attribute name in HTML by calling a javascript in scope function called AttributeName however I keep being returned ctx.AttributeName is not a function in the widget window. ...
jabroni's user avatar
  • 167
0 votes
1 answer
32 views

is there a way to export the notification center from thingsboard?

I am trying to find a way to export my notification center from one thingsboard server to a different one. is it possibale? if not the whole center maybe there is a way of exporting the templates/...
ניב טורס's user avatar
0 votes
0 answers
24 views

Thingsboard sessionId Error in rpc getValue() reply call - Session id is not present in the metadata

Did everyone encounter an error in the rpc call reply node at the rule engine? java.lang.RuntimeException: Session id is not present in the metadata I use the knob widget in the dashboard but the ...
JustTesting's user avatar
0 votes
1 answer
24 views

How do I get Thingsboard Cloud Integration to return a 200 or 201 and not 204 Http response?

I have created a ThingsBoard http integration with uplink converter and no downlink converter. When I use curl to test the endpoint, it returns Http Error 500 with the error details. When it is ...
user1622343's user avatar
0 votes
0 answers
24 views

RPC getValue logic - Service id Error in reply RPC Call reply node - Thingsboard

I am performing an rpc getValue function in Thingsboard using the Knob Widget element. While i am trying to reply to the rpc call i receive the following error: java.lang.RuntimeException: Service id ...
JustTesting's user avatar
0 votes
1 answer
95 views

How to override the default color properties in the CSS of a Widget?

I am using a widget from Thingsboard's library to update a shared attribute value. The widget allows for customization through the settings, but I am only able to update the background and title ...
jabroni's user avatar
  • 167
0 votes
1 answer
73 views

two machines with thingsboard connected to the same database is possible?

I'm deploying Thingsboard CE on Azure. For availability and resiliency reasons, I would like to have two VMs working simultaneously connected to the same database. Is there any way to do this, is this ...
Diogo Mesquita's user avatar
0 votes
0 answers
17 views

how can I fetch alarms in related Asset to special Device by thingsboard library in flutter?

I set the device profile in web UI of ThingsBoard to create alarms when some telemetries are out of the accepted range. My device is related to the special Asset. In the web UI of ThingsBoard, I can ...
Mahshad Parsa's user avatar
0 votes
1 answer
63 views

Can't connect device via LwM2M to Thingsboard live demo server

I was following the instructions provided at Thingsboard LwM2M-API. When trying to connect a Wakaama example client, I get a Connection creation failed. log message: $ ./lwm2mclient -h lwm2m....
Michael Jung's user avatar

1
2 3 4 5
13