Page 2 of 2
Re: Dashticz v3.4.6 beta
Posted: Sunday 24 May 2020 11:46
by Aadr
I simply made new graphs and the problem was gone
Re: Dashticz v3.4.6 beta
Posted: Sunday 24 May 2020 12:31
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?
Re: Dashticz v3.4.6 beta
Posted: Sunday 24 May 2020 13:55
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
to
The graph now starts on Monday, but the value's are not correct. Today is Sunday, but there's already value for tomorrow visible.
