Page 1 of 1

Slow response Dashticz over time on Android 5 and higher

Posted: Tuesday 29 December 2020 19:43
by jake
I'm running Dashticz on a Samsung Tab 3 8.0.

When I use a 4.4.2 ROM, Dashticz has no problem to swipe between pages. However, I can't have the interface in full screen. Today I tried again and in Chrome the weather icons didn't want to download, in the standard browser there was a warning about an invalid certificate from openweather

On any ROM I have tried of Android 5 - 7, I am able to 'expand desktop' and run any chosen app full screen. When I open Dashticz, the swipe action is a little sluggish, but acceptable for an old tablet. Over the hours the weather icons, buiienradar become almost unresponsive and by the hour it takes more time for a swipe to either swipe at all or animate to the next page. It can take up to 10 seconds, if it want to slide to the next page at all. Killing the Chrome process and restarting Dashtics resets the process, but over time it becomes just as bad.

I've tried Fully Kiosk on most ROM's, but that runs very sluggish everywhere.

Any idea what is causing this? I don't know about the 4.4.2 (Slimkat) ROM, but the Anddroid 5 and higher versions are either based on Cyanogen Mod or Lineage OS.

Re: Slow response Dashticz over time on Android 5 and higher

Posted: Tuesday 29 December 2020 19:54
by Jimster
Try adding the following to the CONFIG.js for OWM:

Code: Select all

config['use_cors'] = 1;

Re: Slow response Dashticz over time on Android 5 and higher

Posted: Tuesday 29 December 2020 21:55
by Lokonli
jake wrote: Tuesday 29 December 2020 19:43 I'm running Dashticz on a Samsung Tab 3 8.0.

When I use a 4.4.2 ROM, Dashticz has no problem to swipe between pages. However, I can't have the interface in full screen. Today I tried again and in Chrome the weather icons didn't want to download, in the standard browser there was a warning about an invalid certificate from openweather

On any ROM I have tried of Android 5 - 7, I am able to 'expand desktop' and run any chosen app full screen. When I open Dashticz, the swipe action is a little sluggish, but acceptable for an old tablet. Over the hours the weather icons, buiienradar become almost unresponsive and by the hour it takes more time for a swipe to either swipe at all or animate to the next page. It can take up to 10 seconds, if it want to slide to the next page at all. Killing the Chrome process and restarting Dashtics resets the process, but over time it becomes just as bad.

I've tried Fully Kiosk on most ROM's, but that runs very sluggish everywhere.

Any idea what is causing this? I don't know about the 4.4.2 (Slimkat) ROM, but the Anddroid 5 and higher versions are either based on Cyanogen Mod or Lineage OS.
How many devices do you have?
What is your domoticz_refresh value?
Do you see a difference if you make domoticz_refresh 10 times bigger?

Re: Slow response Dashticz over time on Android 5 and higher

Posted: Tuesday 29 December 2020 22:21
by jake
Jimster wrote: Tuesday 29 December 2020 19:54 Try adding the following to the CONFIG.js for OWM:

Code: Select all

config['use_cors'] = 1;
Yes, this did the trick. Does enabling this option also have a downside? I use PHP locally to avoid a remote cors proxy server

Re: Slow response Dashticz over time on Android 5 and higher

Posted: Tuesday 29 December 2020 22:26
by jake
Lokonli wrote: Tuesday 29 December 2020 21:55 How many devices do you have?
What is your domoticz_refresh value?
Do you see a difference if you make domoticz_refresh 10 times bigger?
Altogheter I have 126 devices in domoticz (from the devices tab: used)
My refresh time was on 5. I have put it on 10, but to no avail. I finally came across a 4.4.4 ROM for the Tab 3, called SPIRIT. This ROM also has the option to expand desktop. Together with the config parameter use_cors = 1 I will give it a try. Somehow the ROMS above Android 4 have something in common that has gone for the worse, but I don't know what. If this ROM is stable and Dashticz doesn't degrade over time, I am happy!

Re: Slow response Dashticz over time on Android 5 and higher

Posted: Friday 01 October 2021 16:39
by Sjonnie2017
Jimster wrote: Tuesday 29 December 2020 19:54 Try adding the following to the CONFIG.js for OWM:

Code: Select all

config['use_cors'] = 1;
Perfect! This line of code worked to get my old Lenovo Yoga Tablet to show the animated weather icons.

Kudos to you!