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.

Thingsboard is an open-source IoT platform that enables rapid development, management and scaling of IoT projects.

With Thingsboard, you are able to:

  • Provision and control devices.
  • Collect and visualize data from devices.
  • Analyze device data and trigger alarms.
  • Deliver device data to other systems.
  • Enable use-case specific features using customizable rules and plugins.

Thingsboard is:

  • scalable: horizontally scalable platform, build using leading open-source technologies.
  • fault-tolerant: no single-point-of-failure, every node in the cluster is identical.
  • robust and efficient: single server node can handle tens or even hundreds thousands of devices depending on use-case. Thingsboard cluster can handle millions of devices.
  • customizable: adding new functionality is easy with customizable widgets, rule engine and plugin system.
  • durable: never lose your data.

    Documentation Page

609 questions
2
votes
1 answer

ThingsBoard change background color of simple card widget element dynamically

In my ThingsBoard dashboard i have a simple card widget element. I want to change the background color of this element dynamically regarding of the value that is sent. Does anyone know how to implement this behavior? Thank you very much.
DanLand
  • 45
  • 6
2
votes
1 answer

thingsboard dashboard, dashbord, gauges

Hi i am trying to create an dashboard in thingsboard, so my telemetry data is a Json { "temperature": 42.2, "humidity": 70, "hvacEnabled": true, "hvacState": "IDLE", "config": { "svm": 42, "dps": 89 } } I am receiving this data in thingsboard…
2
votes
0 answers

Can thingsboard Gateway handle nested loop, which can create device in bulk

is there ant way which can create devices based on input json payload. Lets suppose input payload is { "success": true, "msg": [{ "deviceName": "new sensor 05", "deviceType": "temperature sensor", "temperature": 39, …
anjali
  • 21
  • 3
2
votes
1 answer

Thingsboard issue: How Can I get the currently logged in user in my custom widget

I created my own custom widget. But the problem is I can't access the currently logged in user in my widget. I searched for many times but found only 1 solution. var $injector = self.ctx.$scope.$injector; var userService =…
2
votes
1 answer

How use RxJs in thingsboard widgets

does anyone know how to use RxJs in widgets? create streams for example. the only thing that found it self.ctx.rxjs.of(). but there is no use. thanks
Anzor
  • 51
  • 5
2
votes
1 answer

How to make custom widget in things board?

Can any one tell me how to create custom widget in things board? I want to create widget for operator position where operator can enter reason why machine is not working? like answers.
Challenger
  • 31
  • 1
  • 5
2
votes
0 answers

Deque Full Exception - Thingsboard

Im having trouble using Thingsboard platform (IoT) when simulating 7.5K devices sending data to the platform. I have the following error in the logs as soon as I start sending data (over MQTT): 2020-08-01 01:17:06,946 [ForkJoinPool-12-worker-0]…
2
votes
1 answer

How to get JWT_TOKEN through /api/auth/login in Thingsboard?

When I tried to get telemetry time series data through Data Query API, I need JWT_TOKEN. I followed the documentation and applied: get_token.sh: curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d…
BaerS
  • 21
  • 3
2
votes
2 answers

Can I use the claim device feature in the community edition of thingsboard

The MQTT-API from thingsboard describes: Claiming devices Please see the corresponding article to get more information about the Claiming devices feature. In order to initiate claiming device, send PUBLISH message to the following…
Collin01
  • 41
  • 1
2
votes
2 answers

How to convert base64 to hex string without using builtin function in JavaScript

I want to convert a base64 value i.e: AQ0gIAcDExUQAQECAWQW to a hexadecimal string 010D20200703131510010102016416 using JavaScript in thingsboard. While using atob function i am getting this error javax.script.ScriptException: ReferenceError: "atob"…
2
votes
1 answer

Thingsboard's control widgets claim that "Device is offline."

I got a python program on Raspberry Pi 3B sending data on Thingsboard. The device in Thingsboard is connected as a single entity to the dashboard. When running the program, showing the data on dashboard's charts and cards works, and server-side RPC…
J-Dobu
  • 23
  • 5
2
votes
1 answer

Thingsboard performance tests

I try to execute the thingsboard performance test Thingsboard performance tests $ sudo docker run -it --env-file .env --name tb-perf-test thingsboard/tb-performance-test but I get this result, anyone can help, please Starting ThingsBoard…
2
votes
1 answer

What are the JavaScript functions supported in post-processing function

In thingsboard I have a post-processing function for an server attribute update dialog. update server attribute widget post-processing date value post-processing date value fails I need to convert a text value (entered by the user in a widget) into…
daur
  • 21
  • 1
2
votes
0 answers

I cannot get my HERE Map javascript code to work in a Thingsboard Widget

I am trying to build a custom map widget in Thingsboard using Here Maps API for JavaScript, as a base map for IoT device reporting on an interactive map. The code comes back as no error, but it does not load. I am new to JavaScript and APIs. So I'm…
2
votes
1 answer

Coloring markers in map widget by alarm presence

I'm using the map widget to show markers for assets and want to color the markers by the presence of alarms for the associated devices, i. e. if there's no (active) alarm for any of the devices associated with the asset, change the color of the…
wexman
  • 1,217
  • 10
  • 19
1 2
3
40 41