Dashticz v3.4.6 beta

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Aadr
Posts: 19
Joined: Tuesday 09 June 2015 21:26
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Nederlands
Contact:

Re: Dashticz v3.4.6 beta

Post by Aadr »

I simply made new graphs and the problem was gone
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.4.6 beta

Post by Lokonli »

Jimster wrote: Sunday 24 May 2020 10:02 Any news about the graph issues? They are also in 3.4.8
You mean the groupBy functionality?

Depending on the device type Dashticz will choose to sum or to take the average of the measurements values. You can select a certain aggregation function by defining the 'aggregate' block parameter which can be 'sum' or 'avg'.

In case of groupBy: 'month' Dashticz will receive exactly one year of data from Domoticz, meaning from 24-4-2019 onwards. That will also mean that the first month (May 2019) will be incomplete, and the sum of the values of that month will only contain just a few days of data, so will be low compared to other (full) months.

Can this explain what you are seeing, or are you experiencing other issues as well?
Jimster
Posts: 82
Joined: Tuesday 04 February 2020 11:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Dashticz v3.4.6 beta

Post by Jimster »

Lokonli wrote: Sunday 24 May 2020 12:31
Jimster wrote: Sunday 24 May 2020 10:02 Any news about the graph issues? They are also in 3.4.8
You mean the groupBy functionality?

Depending on the device type Dashticz will choose to sum or to take the average of the measurements values. You can select a certain aggregation function by defining the 'aggregate' block parameter which can be 'sum' or 'avg'.

In case of groupBy: 'month' Dashticz will receive exactly one year of data from Domoticz, meaning from 24-4-2019 onwards. That will also mean that the first month (May 2019) will be incomplete, and the sum of the values of that month will only contain just a few days of data, so will be low compared to other (full) months.

Can this explain what you are seeing, or are you experiencing other issues as well?
For the P1 meters, I added aggregate: sum now to the GroupBy week and GroupBy week parameter, now it's fine. Thanks!

The other issue is that the week starts on Sunday. Clickadink fixed this in this message: https://www.domoticz.com/forum/viewtopi ... 80#p245952 but now it's Sunday again (both locale nl_NL and en_US).

I tried to change graphs.js

Code: Select all

.day('Sunday')
to

Code: Select all

.day('1')
The graph now starts on Monday, but the value's are not correct. Today is Sunday, but there's already value for tomorrow visible.

Image
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest