Slow response Dashticz over time on Android 5 and higher

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Slow response Dashticz over time on Android 5 and higher

Post 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.
Jimster
Posts: 82
Joined: Tuesday 04 February 2020 11:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Netherlands
Contact:

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

Post by Jimster »

Try adding the following to the CONFIG.js for OWM:

Code: Select all

config['use_cors'] = 1;
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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?
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post 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
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post 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!
User avatar
Sjonnie2017
Posts: 364
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

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

Post 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!
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest