Open georgevbsantiago opened 10 months ago
We carried out some tests, we identified that the Tachometer widget is updating on the second access after turning off the smartphone screen.
The Time Series widget does not update the data in the chart (as shown in the image).
Apparently, the Buttons and Switches widgets are also having problems updating (reestablishing the connection) on a second access, after the user turns off the smartphone screen (at this point, Android and Chrome Mobile probably disconnect the Dashboard from the Thinger Server to save energy). The same problem that occurs with Time Series widgets.
Version 6.0 Enhancements:
- Time series data should not present data wraps anymore.
- Dashboard internals.
We identified that this problem persists, even with recent improvements made to the Dashboard.
As far as we can tell, the issue specifically affects the Time Series Widget. We tested with Chrome Mobile browsers as well as Desktop.
Everything works fine with the Tarchometer widget
Everything works correctly when the user first accesses the Dashboard via smartphone (Android and Chrome mobile).
However, if the user turns off the smartphone screen for a few minutes, the Dashboard connection with the Thinger Server is lost. Probably, the Operating System (Android) and the browser (chorme Mobile) disconnect the Thinger Server Dashboard to save smartphone power.
Is there an approach that automatically renews the Dashboard connection with the Thinger Server when the user turns on the smartphone screen and accesses the Dashboard again?
Example: When the user turns on the smartphone screen and accesses the browser again for the second time, the Dashboard would check if there is a connection with the Thinger Server. If the Dashboard does not identify a connection to the Server, the web page would refresh (F5) to renew the connection between the Dashboard and the Thinger Server.
This issue is especially critical when the user tries to activate device features via the Dashboard (Ex: Press a button to turn a lamp on and off). Many of our users (Project Member) do not know that they have to refresh the web page to reestablish the connection with the Thinger Server after turning off the smartphone screen.