thingsboard / thingsboard

Open-source IoT Platform - Device management, data collection, processing and visualization.
https://thingsboard.io
Apache License 2.0
17.4k stars 5.14k forks source link

Showing data from the future using a configurable look-ahead interval #664

Closed MarsWarrior closed 2 years ago

MarsWarrior commented 6 years ago

Expected Behaviour

If sensor data exists in the future, say for predictions, that data is displayed on the available charts. The look-ahead time interval can be configured.

Current Behaviour

Data with a future timestamp can be ingested into TB, but is not shown on the dashboard until that future time becomes the current or past time.

Possible Solution

Configurable look-ahead time interval (default 0, ie use current time) makes it possible to show data in te future.

Steps to Reproduce (for bugs)

  1. Data aggregation does not work anymore when there exists data in the future. Unless set to NONE, no data is showed on the graphs.

Context

We want to show the weather forecast for the upcoming weeks.

Your (Docker) Environment

Diagnostic information

N/A

AbCthings commented 5 years ago

Hi @MarsWarrior , did you managed to solve this issue?

Ultrazombie commented 2 years ago

Hello @MarsWarrior Is your problem still relevant on the latest ThingsBoard version?

apachler commented 1 month ago

How is the state of this for TB 3.7.0?