Dashticz / dashticz_v2

Alternative dashboard for Domoticz
107 stars 59 forks source link

High CPU #277

Open Miloune opened 6 years ago

Miloune commented 6 years ago

Hello,

On a fresh Raspbian, I've installed X11, XINIT, i3 and Kweb. Using Kweb in a kiosk mode pointing at my Dashticz URL. Dashticz is using 100% of my CPU. Actually my raspberry power isn't that good, but still decent to run any other webpage without using 100% of the CPU. Is any configuration I can customize to tweak my RP and use less CPU?

Here is my actual configuration:

config['domoticz_ip'] = '...';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['standby_after'] = 1;
config['language'] = 'en_US';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['last_update'] = 0;
config['hide_topbar'] = 1;

Regards

Failure404 commented 6 years ago

Hi, I am also experiencing high CPU usage on an older Intel quadcore desktop using Chrome. Quite frustrating, I spent a week setting up everything to my needs, just to find out that its continously using 25% CPU in Chrome.

aiolos commented 6 years ago

I also experience some high CPU sometimes. I can't completely point it yet, but the weather icons seem to cause some of it, if you have a forecast block, you can at least disable the rotating icons. You can do that by adding the following to your CONFIG.js:

config['static_weathericons'] = true;

I'm investigating where the rest of the high cpu comes from.

robgeerts commented 6 years ago

Could you test this with latest beta?