No "month" usage

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, Toonz

Post Reply
MyZ
Member
Member
Posts: 53
Joined: Mon Jun 04, 2018 6:57 pm

No "month" usage

Post 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?
Attachments
rsz_rsz_20180729_122149.jpg
rsz_rsz_20180729_122149.jpg (23.4 KiB) Viewed 7797 times
Rudolf
Member
Member
Posts: 136
Joined: Mon Dec 04, 2017 8:50 pm

Re: No "month" usage

Post 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?
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: No "month" usage

Post 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
MyZ
Member
Member
Posts: 53
Joined: Mon Jun 04, 2018 6:57 pm

Re: No "month" usage

Post 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.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: No "month" usage

Post 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 :-)
Member of the Toon Software Collective
MyZ
Member
Member
Posts: 53
Joined: Mon Jun 04, 2018 6:57 pm

Re: No "month" usage

Post 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? ;-)
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: No "month" usage

Post by TheHogNL »

Yes VERY low :)
Member of the Toon Software Collective
MyZ
Member
Member
Posts: 53
Joined: Mon Jun 04, 2018 6:57 pm

Re: No "month" usage

Post by MyZ »

TheHogNL wrote:Yes VERY low :)
Bummer.... ;-)
flamingbob
Starting Member
Starting Member
Posts: 32
Joined: Wed Nov 23, 2016 4:11 pm

Re: No "month" usage

Post 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.
MyZ
Member
Member
Posts: 53
Joined: Mon Jun 04, 2018 6:57 pm

Re: No "month" usage

Post by MyZ »

Would be very nice to have this "fixed" / "working"!
Post Reply

Return to “Toon issues and support (Nederlands toegestaan)”