-1

everyone

I already made a timeseries table and line graph in the dashboard. On 17 August 2022 is work properly, suddenly now I don't know why the data can't be displayed all the time on line graph and timeseries table. this a bugs or is there any way i can do to fix this problem?

Please give me an advice, thanks

*Update the device is still on, and can send the latest telemetry data telemetry data SS , but it can't display time series data and line graphs.

time series image

line graph image

didi
  • 1
  • 1
  • Welcome to Stackoverflow. Please have a look at https://stackoverflow.com/help/how-to-ask to improve your question. – wasserholz Aug 19 '22 at 18:43

2 Answers2

0

Without further information it's hard to tell what's the issue in your case. There could be several causes for this like device inactivity etc.

Please investigate the Log file thingsboard.log if there are any issues while sending the data to ThingsBoard.

Alternatively, take a look at the API Usage dashboard to verify that new data is stored in ThingsBoard.

mdeuchert
  • 248
  • 2
  • 8
  • Hello, the device is still on, and can send the latest telemetry data , but it can't display time series data and line graphs on dashboard. – didi Aug 22 '22 at 04:30
  • Do you see any new data if you select the `Latest Telemetry` Tab of the device? – mdeuchert Aug 22 '22 at 06:14
  • Yes, the telemetry data always update on latest telemetry tab. but cannot display on line graph and timeseries data. – didi Aug 23 '22 at 03:47
  • Then it may be a bug. Which ThingsBoard version are you running? Consider updating to the latest version. – mdeuchert Aug 23 '22 at 06:18
  • Also there is a similar issue which could be fixed by enable post-processing function as a workaround: https://github.com/thingsboard/thingsboard/issues/6238 – mdeuchert Aug 23 '22 at 06:18
  • we used ThingsBoard version 3.3.4.1, we tried to use enable post-processing function like this https://github.com/thingsboard/thingsboard/issues/6238, but still not working. – didi Aug 24 '22 at 01:11
  • Please try updating to the most recent Version of ThingsBoard. This bug may be fixed there. – mdeuchert Aug 24 '22 at 08:36
  • i've never update thingsboard before, there's any impact of my old device and dashboard in my system? cause this platform still running on my production. – didi Aug 26 '22 at 03:29
0

The Thingsboard time stamps the data. See https://thingsboard.io/docs/user-guide/telemetry/#data-points If you set the timestamp yourself (through setting element ts in metadata part of your script for examle) and you do it wrong, you may not see anything in the line graph. Try removing all your code that sets the ts (timestamp) and leave it to the thingsboard logic.

Pavel
  • 76
  • 1
  • 8