Page 1 of 1
No "month" usage
Posted: Sun Jul 29, 2018 12:26 pm
by MyZ
Hi all,
I'm running on 4.15.6 and don't have any month usage displayed for electricity nor gas. Hours, daily, weeks and years are working fine. Also I'm seeing "ingeschat verbruik" in the month overview. Any ideas to fix this?
Re: No "month" usage
Posted: Thu Nov 22, 2018 11:26 am
by Rudolf
Same issue here, only missing the bars in the months-view.
Hours, days, weeks and years work, but not months.
No smart-meter here, just analog sensors.
I tried changing the endDate from -1 to 1627485995 a suggested here, but to no avail.
viewtopic.php?f=104&t=12165&p=87517&hilit=month#p87495
Already disabled other_provider_gas and _elec in global settings, but that didn't help. Not after gui restart or reboot.
It seems that the Month-usage originates from another datasource (not RRD)
Code: Select all
// create arguments for rrd request based on currently selected type/period/dateTime/usage/costs
function requestData() {
// month data are not requested from rrd, there is an individual dataset, the data are stored in app, don't use for heating beat
if (bottomTabBar.currentIndex === 3 && topLeftTabBarControlGroup.currentControlId !== 3) {
p.populateBarGraphMonth();
return;
}
Any hints?
Re: No "month" usage
Posted: Thu Nov 22, 2018 11:47 am
by TerrorSource
That is correct.
Month data is not saved in the database.
Toonz and I already noticed this issue but no real solution yet (we did not spend more time on it)
The month data is retrieved from the config_happ_pwrusage.xml
Re: No "month" usage
Posted: Thu Dec 13, 2018 9:51 pm
by MyZ
TerrorSource wrote:That is correct.
Month data is not saved in the database.
Toonz and I already noticed this issue but no real solution yet (we did not spend more time on it)
The month data is retrieved from the config_happ_pwrusage.xml
Any idea of it can be fixed? Would like to help, but my programming skills are not so good unfortunately.... Would be really nice to have all the stats working.
Re: No "month" usage
Posted: Thu Dec 13, 2018 10:33 pm
by TheHogNL
Don't use the Toon for stats

Only for displaying the realtime data. For the rest use the good stuff for it, like domoticz

Re: No "month" usage
Posted: Fri Dec 14, 2018 1:55 pm
by MyZ
I don't have Domoticz, so I will be stuck with the Toon stats. They're slow but work.
Do I understand you right the priority on solving this is (very) low?

Re: No "month" usage
Posted: Fri Dec 14, 2018 3:36 pm
by TheHogNL
Yes VERY low

Re: No "month" usage
Posted: Fri Dec 14, 2018 8:16 pm
by MyZ
TheHogNL wrote:Yes VERY low

Bummer....

Re: No "month" usage
Posted: Thu Mar 07, 2019 4:09 pm
by flamingbob
MyZ wrote:TheHogNL wrote:Yes VERY low

Bummer....

Suspect we can do this with reading the RRD for the days and calculate what it did in a month? Maybe like that we can fill up the xml and then get this also back in it. I also want to dig in a bit more into this.
Re: No "month" usage
Posted: Thu Mar 07, 2019 10:46 pm
by MyZ
Would be very nice to have this "fixed" / "working"!