## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
Kapil Surendra Shinde
@kapeel45
can some one resolve this issue on windows
Joe Hughes
Is there a known issue with the Azure Appliance for Thingsboard PE? I've followed the guide twice and on both occasions, the key is rejected for SSH.
I spotted a couple of other people with similar issues.
Holger Brandl
@holgerbrandl

Hi there, is there a way to process more structured data such as

{
"site_id": "foo",
"tool_id": "bar",
"sensor_id": "osci",
"timestamp": "34242323",
"features": {
"foo": 3.4,
"bar": 3.0,
"hu": 12
}
}

in rules and dashboard?I've tried a postproc function value.foo in the datakey definition when building a dashboard, but no luck (yet). Thanks!

Hello, i have successfully requested shared attribute via MQTT API, but the response took too long (20sec to 1 min range), I'm going to use the feature on a battery powered application to notif the device that there is an new firmware version. 20sec to 1 min is quite bad for a battery powered application. is there anyway to make the response faster? or someone has this problem too?
Ktysai
@Ktysai
@ktannady if you post telemetry how fast the server updates? Do you use NO SSL MQTT?
thomasoggiersoprod
@thomasoggiersoprod
Hello, I've dashboard functionnality's question.
I have a system which take some measure each 10ms during a short period (10 seconds) and then stop measure during 1 hour.
Is it possible to configure a dashboard to see the lasts 10 seconds measures (and not the last real time 10 seconds)?
If yes how to do it? Someone has already do something like that?
Niranjoyyengkhom
@Niranjoyyengkhom
Can someone help me to integrade mqtt with tb gateway iot
martaaay
@martaaay
I connected chirpstack > thingsboard and can get telemetry in thingsboard, but can't figure out how to get downlinks to work. I get errors like "RPC Error: NO_ACTIVE_CONNECTION". Does anybody have any documentation on setting this up? Or where to go for debug help? I can't even figure out how thingsboard knows where to send the rpc request or by what protocol. Do I need to set up an additional mqtt server as a go between?
Related - is this even possible in the community edition?

@Ktysai Hello thanks for your reply, im using NO SSL MQTT and when i post the telemetry the server update quite fast within a second..

here is some proof that the response took a long time :

10:24:53.580 -> Connecting to ThingsBoard node ...connected
10:25:42.328 -> Sleep Time = 57
10:25:42.328 -> Error Sleep Time = 60
10:25:42.367 -> latest firmware version = 100
10:25:42.367 -> battery Calibration = 1.08

10:26:44.536 -> Connecting to ThingsBoard node ...connected
10:27:35.030 -> Sleep Time = 57
10:27:35.072 -> Error Sleep Time = 60
10:27:35.072 -> latest firmware version = 100
10:27:35.072 -> battery Calibration = 1.08

as you can see it took a long time, here is what i do :
when I connected, I subscribed to the attribute response, and I publish a request and then I wait for the callback to be fired.

Hopper-2901
@Hopper-2901
I update a server attribute on an Asset. In rules, the message type switch is set for 'Attribute Updated' and sees the changed attribute. But the msg data only contains the attribute name & value, not the Asset name. how can I identify the asset that has been updated?
Ktysai
@Ktysai
@ktannady are we talking about Thingsboard Community Edition or Live Demo? In my case using my PC to request attributes status using SSL MQTT the response is less than 1sec. I din not use MQTT onmy mobile device yet, since now it seems it best for me to use REST API. In your case I'll try to use the mosquitto installed on your PC to check Thingsboard parameters and than to port it to your mobile device.
@Ktysai Hello, I'm using Thingsboard CE that I install on my VPS, did you mean that I shall try to use mosquitto to perform the request to see if the response faster or not?
amber-aw
@amber-aw
@Hopper-2901 You can grab the Asset details from the metadata and put them in the msg.details using a script. This is an example using the script transform node:

@Hopper-2901 [ctd]
{
}

2 replies
Terran
您好，请教一个问题，您这边的规则引擎是怎么实现的，用了什么技术；
Zeynel Abidin Fincan

Hello
I have installed thingsboard on my windows pc successfully. thingsboard service is running. Last line in the log file is "2020-09-21 13:05:52,455 [main] INFO o.t.s.ThingsboardServerApplication - No active profile set, falling back to default profiles: default". "http://localhost:8080/" link does not open a WebUI. When I try the link, the service stops. I see an exception in the log file as below:

Caused by: java.lang.IllegalArgumentException: No enum constant org.thingsboard.server.common.data.EntityType.RULE_CHA?N
at java.lang.Enum.valueOf(Unknown Source)
at org.thingsboard.server.common.data.EntityType.valueOf(EntityType.java:21)
at org.thingsboard.server.dao.audit.AuditLogLevelFilter.lambda$new$0(AuditLogLevelFilter.java:31)
at java.util.HashMap.forEach(Unknown Source)
at org.thingsboard.server.dao.audit.AuditLogLevelFilter.<init>(AuditLogLevelFilter.java:30)
at org.thingsboard.server.config.ThingsboardSecurityConfiguration.auditLogLevelFilter(ThingsboardSecurityConfiguration.java:233)
at org.thingsboard.server.config.ThingsboardSecurityConfiguration$EnhancerBySpringCGLIB$4d27f379.CGLIB$auditLogLevelFilter$7(<generated>)
at org.thingsboard.server.config.ThingsboardSecurityConfiguration$EnhancerBySpringCGLIB$4d27f379$FastClassBySpringCGLIB$5c478970.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
at org.springframework.context.annotation.ConfigurationClassEnhancer\$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
at org.thingsboard.server.config.ThingsboardSecurityConfiguration$EnhancerBySpringCGLIB$4d27f379.auditLogLevelFilter(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 112 common frames omitted

Zeynel Abidin Fincan
Hopper-2901
@Hopper-2901
Ktysai
@Ktysai
@ktannady , yes! This is my assumption... You have to try it by yourself, the delay you've presented is way to big. It seems like you are using a connection with NB-IOT on your mobile device. Test, test, a lot:) Good luck! I'm a beginner too and testing is what I do the most:)
HaydenGriffin
@HaydenGriffin
Hey all. I have recently installed ThingsBoard CE on my Windows PC. I am looking for the system-wide root rule chain. Does anyone know if this exists? (not on tenant level - system admin level) And if so, how can I see this and configure it?
CloudOnWings
@CloudOnWings
Terran
@CloudOnWings 感谢
@node-red 相关技术吗
Terran
那后端是使用drools来实现的吗
CloudOnWings
@CloudOnWings
Terran
@CloudOnWings 有没有drools相关教程嘛
CloudOnWings
@CloudOnWings
Terran
@CloudOnWings 规则引擎是怎么实现的呢
CloudOnWings
@CloudOnWings
先看文档吧，我也是刚发现这个项目。
Terran
@CloudOnWings 老哥能不能加个微信
Torsten Lauter
@Collin01
Hi, exist here any example, how can I create a alarm in a rule chain, with the enabled "Use message alarm data". I use a script node to send the right msg to the "create alarm". How is the right structure of the needed message?
Torsten Lauter
@Collin01
"Create Alarm" say success. But I don't see any alarm in the system.
Torsten Lauter
@Collin01
@amber-aw
@amber-aw : I receive a message with following content:
{
"alarm": {
"id": 1,
"sourceid": "SH0",
"alarmstatus": 2,
"alarmstatusprev": 1,
"alarmtext": "F001",
"revision": 38377,
"event": "alarm",
"machineid": "502",
"commission": "218000124",
"time": 1600772334031}
}
What should i do in the alarm-node with this?
Torsten Lauter
@Collin01
@amber-aw : I have solved my problem. Thanx
dasberliner
@dasberliner
@Collin01 : Sorry it took me a week to reply (holidays). But I got it working! You were right, it was a network configuration error (port forwarding on the server side gateway was not accepting any IP addresses...). Next challenge is using encryption :). Thank you for the help!
Torsten Lauter
@Collin01
@dasberliner : You use thingsboard CE and you wish to encrypt the mqtt data? That is also my next challange. Maybe this time I can learn from you. Please keep me updated.
t0mmyz7
@t0mmyz7
guys do you know if thingsboard data converter supports JS ES6?
Josh and Christine