Page 1 of 5

Dashticz - Function - Graphs

Posted: Wednesday 12 July 2017 20:19
by robgeerts
Done some small changes to the graphs.
Could you test latest beta? Please report errors here.
If you encounter problems, please send me the output you get on:
http://[DOMOTICZ-URL]/json.htm?type=graph&sensor=counter&idx=[IDX]&range=[day,month,year]

Re: Dashticz - Function - Graphs

Posted: Wednesday 12 July 2017 20:43
by blacksn0w
Now none of my graphs are working anymore :(.
I mean the ones if you click on a temperature block and the frame opens.
Neither after the frame is loaded nor when you click a button for the timeframe.

Re: Dashticz - Function - Graphs

Posted: Wednesday 12 July 2017 20:55
by robgeerts
Do you get any errors?

Re: Dashticz - Function - Graphs

Posted: Wednesday 12 July 2017 21:37
by blacksn0w
No console errors so far, there seems to be a problem at line 253 of graph.js, typeof(data_com[0]) is always, for each graph, undefined, so the code will never go any further and create the morris area.

Re: Dashticz - Function - Graphs

Posted: Wednesday 12 July 2017 21:42
by EdwinK
No error messages, but no graphs as well

Re: Dashticz - Function - Graphs

Posted: Wednesday 12 July 2017 22:05
by robgeerts
Just pushed a new beta!
@EdKo66, could you test this one?
With @blacksn0w it is working now (thanks)

Re: Dashticz - Function - Graphs

Posted: Wednesday 12 July 2017 22:26
by EdwinK
Yes, it's working again ;)

Re: Dashticz - Function - Graphs

Posted: Thursday 13 July 2017 6:25
by Onrust
Will test in the weekend. Yesterday my PI didn't boot anymore after a short power outage. :(

Re: Dashticz - Function - Graphs

Posted: Thursday 13 July 2017 23:02
by pmalvino
hello Rob. It's possible to do the selection of two values [idx_1] or [idx_2], like we do on the blocks.
I don't know if you remember , i made a request for this some time ago. Thank you

Re: Dashticz - Function - Graphs

Posted: Friday 14 July 2017 11:10
by Onrust
Onrust wrote:Will test in the weekend. Yesterday my PI didn't boot anymore after a short power outage. :(
Graphs are working correctly now! Many thanks!

Re: Dashticz - Function - Graphs

Posted: Tuesday 18 July 2017 16:28
by Jonb
pmalvino wrote:hello Rob. It's possible to do the selection of two values [idx_1] or [idx_2], like we do on the blocks.
I don't know if you remember , i made a request for this some time ago. Thank you
Does it work?

Re: Dashticz - Function - Graphs

Posted: Tuesday 18 July 2017 16:40
by webrazor
Hello Rob,

Is it possible to select how many points you want in a graph?
Because for the solar panels i have a point every hour and for the p1 energy usage every 5 min?
And both i like to change solar more points and p1 energie usage less point for a smoother graph.

Re: Dashticz - Function - Graphs

Posted: Monday 24 July 2017 18:05
by jlites00
I'm wondering if the KWH logging graph could be setup differently. Is it possible to show weekly, monthly & yearly usage as a lump sum number as opposed to a graph? Anyone here knows of a plugin that does that?

Re: Dashticz - Function - Graphs

Posted: Monday 24 July 2017 18:24
by Onrust
Would be nice if you could select a period of time in the graph, and to see the total kWh's used in that selected period :)

Re: Dashticz - Function - Graphs

Posted: Tuesday 25 July 2017 23:16
by stlaha2007
Running with the fixed graphs... working great...
However, the graphs from P1 Energy gathers the 5 minute data. It takes noticeble time when loading. And has some drawback on the responsiveness on my tablet.

I'm thinking of removing the P1 Energy graph from the mainscreen. Actually would hate it to remove.
How about the other graphs. Do they also have a drawback on memory/performance?

Is there a hidden option for config.js to disable All or per block there graph(s)?

Grtz...

Sent from my D6603 using Tapatalk

Re: Dashticz - Function - Graphs

Posted: Tuesday 08 August 2017 9:58
by gielie
Does anyone know how i change the hight of the graphs?

Re: Dashticz - Function - Graphs

Posted: Thursday 10 August 2017 11:03
by edwin
@gielie: Try something like this in custom/custom.css:

Code: Select all

#graphoutput34 {height: 120px;}
This should change the height of 'graph_34'.

Re: Dashticz - Function - Graphs

Posted: Thursday 10 August 2017 15:29
by gielie
edwin wrote: Thursday 10 August 2017 11:03 @gielie: Try something like this in custom/custom.css:

Code: Select all

#graphoutput34 {height: 120px;}
This should change the height of 'graph_34'.
Thanks Edwin,

Works like a charm.

Re: Dashticz - Function - Graphs

Posted: Saturday 28 October 2017 16:50
by askmurphy
I am busy with my dashticz mainboard and graphs:

For example, I have now a graph displaying our SolarEdge kWh Meter.

I see a graph with 3 buttons on top: 'laatste uren', 'vandaag' and 'afgelopen maand'.
The graph 'laatste uren' is visable.

How can I show the graph 'vandaag' as the default instead of the graph 'visable' ?

Or is that not possible (yet)?

Great dashboard by the way, keep on the good work ;-)

Re: Dashticz - Function - Graphs

Posted: Saturday 28 October 2017 20:09
by dlefol
Hello,

You can use the option

Code: Select all

config['standard_graph'] = 'hours'; 
to set the default graph to hours, days or month.

Hope this helps