Strange behaviour with graphs after last update

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
madradrakie
Posts: 64
Joined: Wednesday 11 September 2019 21:24
Target OS: -
Domoticz version:
Contact:

Strange behaviour with graphs after last update

Post by madradrakie »

Hi all,

I experience some very strange behaviour with my dashticz graphs after the latest beta updates. It started after updating to beta version 3.4.6. Dashticz is running on an apple ipad with the latest IOS. It is running in fullscreen with the safari webbrowser and was always working perfectly. Since the upgrade the graphs are shown after i start dashticz in saferi, but after about 2 hours the graphs are not shown anymore. When i press at the screen at the place where the graph should be displayed, i see that dashticz still receives information form domoticz (see screenshot) but the graphs are not shown anymore.

Now i first have to shutdown saferi completley (kill the app) and after restart of dashticz the graphs are shown again.

Does anybody know what the issue could be? Thanks in advance
Knipsel.JPG
Knipsel.JPG (69.19 KiB) Viewed 1969 times
madradrakie
Posts: 64
Joined: Wednesday 11 September 2019 21:24
Target OS: -
Domoticz version:
Contact:

Re: Strange behaviour with graphs after last update

Post by madradrakie »

also after upgrading to the latest beta still no luck en still the same problem that after about 3 hours de graphs disappear?
I also started with a clean install and only implemented the graph in dashtich but still no luck.
Any other ideas are more than welcome.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange behaviour with graphs after last update

Post by Lokonli »

I'll do some more testing on my iPad and will let you know the results.

In the mean time: can you test with Dashticz standby disabled, and a very high value for dashticz_refresh?
madradrakie
Posts: 64
Joined: Wednesday 11 September 2019 21:24
Target OS: -
Domoticz version:
Contact:

Re: Strange behaviour with graphs after last update

Post by madradrakie »

i will disable dashticz standy this evening and do some testing. I already changed the refreshing rate to 4800sec. I lett you know my results. Thanks for your help!
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

Re: Strange behaviour with graphs after last update

Post by Mirkoser »

Hello any news on this topic? I’m running the latest beta of dashticz and I have the same issue on my iPad. I assume it could be the safari browser itself?
Or any orher ideas?
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange behaviour with graphs after last update

Post by Lokonli »

Is the issue you have exactly the same as described by the topic starter?

Is the screen of your iPad always on, or is the screen disabled after a while?
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

Re: Strange behaviour with graphs after last update

Post by Mirkoser »

Hi screen is always on. Yes exactly the same behavior. Data in the background available but graph not visible. I tested on another iPad and different browser. Same result. Also tried to increase refreshing rate, standby is off. And I can just solve it by killing safari app. Refreshing the link is not enough. Really annoying… will post my config tomorrow. Maybe I missed anything in the config
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange behaviour with graphs after last update

Post by Lokonli »

ok, I'll try to reproduce the issue coming night on my ipad. Let's see what happens...
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

Re: Strange behaviour with graphs after last update

Post by Mirkoser »

here my config

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192xxxx;
config['user_name'] = 'xxxxx';
config['pass_word'] = 'xxxxxx';
config['app_title'] = 'Unser Heim';
config['domoticz_refresh'] = 5;
config['dashticz_refresh'] = 240;
config['login_timeout'] = 9999;
config['loginEnabled'] = false;
config['pass_word'] ='';
config['user_name'] ='';
config['use_favorites'] = 0;
config['auto_positioning'] = 0;
config['language'] = 'de_DE';
config['background_image'] = 'img/bg14.jpg';
config['start_page'] = 1;
config['auto_swipe_back_to'] = 0;
config['auto_swipe_back_after'] = 0;
config['standby_after'] = 0;
config['slide_effect'] = 'fade';
config['standard_graph'] = 'day';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'de_DE';
config['last_update'] = 0;
config['boss_stationcloc'] = 'BlackBoss';
config['edit_mode'] = 0;
config['use_cors'] = 0;
config['theme'] = 'default';
config['speak_lang'] = 'de-DE';
config['owm_api'] = 'd3958d5f0fd887612c57117dc1907769';
config['owm_city'] = 'Marklohe';
config['owm_name'] = 'Lemke';
config['owm_country'] = 'de';
config['owm_lang'] = 'de';
config['owm_cnt'] = '4';
config['owm_min'] = true;
config['owm_days'] = true;
config['switch_horizon'] = 0;
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['auto_positioning'] = 0;
config['hide_topbar'] = 0;
config['security_button_icons'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['enable_websocket'] = true;
config['auto_slide_pages']=0;
config['batteryThreshold']= 75;


and here the graphs

Code: Select all

//Graph


blocks['graph_1066'] = {
devices: [1066],
title: 'Gesamtwärmeerzeugung',
graph: 'bar',
height: '200px',
spanGaps: true,
legend: false,
datasetColors: ['rgb(60,20,232)'],


}


blocks['graph_1429'] = {
   title: 'aktuelle PV Leistung',
   width: 12, 
   devices: [1429],
   
   graph: 'line',
   lineFill : true,
  height: '180px',
  beginAtZero: true,
  spanGaps: true,
  legend: false,
  maxTicksLimit: 15,
  datasetColors: ['rgb(255,255,102)'],
	options: {
	scales: {
	yAxes: [{
	ticks: {
	min: 0,
	}
		}]
	}
	}
  
  }
  
  
  
  
  



blocks['graph_1041'] = {
   title: ['Verdichterfrequenz','Gradminuten'],
   width: 12, 
   devices: [1041,1024],
   graph: ['bar','line'],
  height: '500px',
  maxTicksLimit: 25,
  datasetColors: ['rgb(60,20,232)','rgb(255,0,0)'],
  legend: {
'v_1041' : 'Verdichterfrequenz',
'v_1024' : 'Gradminuten',

 
}
}


	

blocks['graph_1020'] = {
   title: 'Außentemperatur',
   width: 12, 
graph: 'line',
height: '200px',
maxTicksLimit: 10,
datasetColors: ['rgb(60,20,232)'],
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

Re: Strange behaviour with graphs after last update

Post by Mirkoser »

maybe also the custum .css has an impact on that behaviour?

Code: Select all

/*
CUSTOM CSS FILE
*/

.titlegroups {background-color: black !important;}

div.mh.titlegroups {
height: 55px !important;
padding-top: 3px;
}



.titlegroups[data-id='blocktitle_10'] {background-color: grey !important;}
.titlegroups[data-id='blocktitle_10'] h3 {
font-size: 17px;
}
div.mh.titlegroups[data-id='blocktitle_10'] {
height: 40px !important;
padding-top: 1px;
}

.titlegroups[data-id='blocktitle_11'] {background-color: grey !important;}
.titlegroups[data-id='blocktitle_11'] h3 {
font-size: 17px;
}
div.mh.titlegroups[data-id='blocktitle_11'] {
height: 40px !important;
padding-top: 1px;
}

.titlegroups[data-id='blocktitle_12'] {background-color: grey!important;}
.titlegroups[data-id='blocktitle_12'] h3 {
font-size: 17px;
}
div.mh.titlegroups[data-id='blocktitle_12'] {
height: 40px !important;
padding-top: 1px;
}

.titlegroups[data-id='blocktitle_13'] {background-color: grey!important;}
.titlegroups[data-id='blocktitle_13'] h3 {
font-size: 17px;
}
div.mh.titlegroups[data-id='blocktitle_13'] {
height: 40px !important;
padding-top: 1px;
}
.titlegroups[data-id='blocktitle_14'] {background-color: grey!important;}
.titlegroups[data-id='blocktitle_14'] h3 {
font-size: 17px;
}
div.mh.titlegroups[data-id='blocktitle_14'] {
height: 40px !important;
padding-top: 1px;
}
.titlegroups[data-id='blocktitle_15'] {background-color: grey!important;}
.titlegroups[data-id='blocktitle_15'] h3 {
font-size: 17px;
}
div.mh.titlegroups[data-id='blocktitle_15'] {
height: 40px !important;
padding-top: 1px;
}


[data-id='graph_1066'] .graphbuttons {
   display: none;
}

[data-id='graph_1429'] .graphbuttons {
   display: none;
}
[data-id='graph_1041'] .graphbuttons {
   display: none;
}
[data-id='graph_1024'] .graphbuttons {
   display: none;
}
[data-id='graph_1020'] .graphbuttons {
   display: none;
}

.fas.fa-lightbulb {
color:#F1C300;
}
.far.fa-lightbulb {
color:#fff;
}

.transbg[class*="col-xs"] {
border: 3px solid rgba(255,255,255,0);

Here a picture from the dashboard

Image
Attachments
1E3986BF-E20F-458A-8EE8-AE493FDC1041.png
1E3986BF-E20F-458A-8EE8-AE493FDC1041.png (364.64 KiB) Viewed 1525 times
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange behaviour with graphs after last update

Post by Lokonli »

I did a test with my iPad and it was running without issues for 24 hours.
I'm using iOS 10 (old iPad).

I'm not sure what's going wrong. I propose to test with

Code: Select all

config['dashticz_refresh'] = 0
Currently, you have this set to 240, which is 4 hours, meaning Dashticz will refresh after 4 hours. Maybe something goes wrong with that.
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

Re: Strange behaviour with graphs after last update

Post by Mirkoser »

strange. did not fix the problem. I will do some more test with the custom . css
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

Re: Strange behaviour with graphs after last update

Post by Mirkoser »

so here some more input. its getting stranger...so the graph disappear after a couple of hours as i already mentioned but if i do nothing it returns after a couple of hours....and so on ...
Any idea ?
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange behaviour with graphs after last update

Post by Lokonli »

Mirkoser wrote: Monday 14 February 2022 14:59 so here some more input. its getting stranger...so the graph disappear after a couple of hours as i already mentioned but if i do nothing it returns after a couple of hours....and so on ...
Any idea ?
Domoticz itself is stable?

Still I would guess it relates to the Dashticz refresh.

Can you add:

Code: Select all

config['dashticz_refresh'] = 1
Dashticz should refresh every minute. Are the graphs updated correctly with this?
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

Re: Strange behaviour with graphs after last update

Post by Mirkoser »

Same behavior. It refreshes and after some hours the graphs disappear and appear again ( refreshing does not help to make the graph visible)
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange behaviour with graphs after last update

Post by Lokonli »

Mirkoser wrote: Tuesday 15 February 2022 11:33 Same behavior. It refreshes and after some hours the graphs disappear and appear again ( refreshing does not help to make the graph visible)
Can it be that Domoticz is restarting? What is the Domoticz up time?
Mirkoser
Posts: 32
Joined: Tuesday 28 August 2018 15:36
Target OS: Linux
Domoticz version: 2021/1
Location: Germany
Contact:

Re: Strange behaviour with graphs after last update

Post by Mirkoser »

Finally I found the reason. It was a sensor of my heatpump that did not work correctly and caused these graph abnormalities
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest