+ Antworten
Ergebnis 1 bis 3 von 3
  1. #1
    Registriert seit
    Sep 2017
    Ort
    Tromsø, Norway
    Beiträge
    32

    Standard Webfront graph showing wrong values.

    Hi community,

    I have a script with a query once a day to get yesterdays total power consumption for my house from an API.
    In the archive the values show up correctly with the correct timestamp.
    This script runs sometime after midnight and adds the value and the timestamp to the archive with yesterdays date.

    Klicken Sie auf die Grafik für eine größere Ansicht 

Name:	Capture.PNG 
Hits:	24 
Größe:	10.9 KB 
ID:	52694

    The float value is showing 91 in the archive and the variable, but in the webfront it is showing only around 3....?

    Klicken Sie auf die Grafik für eine größere Ansicht 

Name:	Capture2.PNG 
Hits:	25 
Größe:	188.3 KB 
ID:	52695

    I tried the same with hourly consumption an here also the webfront trend is showing completely faulty values, and I have no clue why.

    The script is reaggregating the variable every time the script runs also.'
    The variable has aggregation set as "Counter" as I believe should be with KWH? If set to "Standard" then the value is displayed correctly.
    Any idea why??

    Andreas

  2. #2
    Registriert seit
    Feb 2017
    Beiträge
    1,743

    The aggregation "Counter" displays the delta between the new and the current value. I assume the counter was at 88 kWh the day before and thus it shows 3 kWh. The counter aggregation is meant for increasing counters that usually only count upwards. As the value of that counter is not that interesting, but rather the energy consumption of a day, the delta is shown.

    In your case, I see two solutions: You can just add the daily consumption to the variable instead of setting it or you reset the variable to 0 before. The aggregation interprets that as resetting the counter and will start again at 0.

  3. #3
    Registriert seit
    Apr 2017
    Beiträge
    810

    I'm not sure what you want to see in the diagram? If the logged value is the daily delta, and not a counter value, then aggregation "Standard" is the correct choice.

    If you log the counter, and want see the delta, then aggregation "Counter" is fine. But if you just increase the counter value once per day, then obviously the hourly values have no meaning ... you will just see one large jump at that moment when the daily addition was done.
    Geändert von volkerm (19.02.20 um 10:18 Uhr)
    Viele Grüße
    Volker

    KNX-TP, KNX-RF

Ähnliche Themen

  1. Too many values for a raw graph
    Von bumaas im Forum Allgemeine Diskussion
    Antworten: 11
    Letzter Beitrag: 16.04.19, 18:49
  2. Antworten: 8
    Letzter Beitrag: 03.09.18, 08:43
  3. Problem showing objects inside a Dummy Module IPS 3.0
    Von albertoosten im Forum General Discussion
    Antworten: 2
    Letzter Beitrag: 17.08.13, 13:25
  4. graph shows data wrong timezone
    Von robertg im Forum General Discussion
    Antworten: 0
    Letzter Beitrag: 03.07.10, 09:19
  5. Showing forces
    Von sysrun im Forum Allgemeine Diskussion
    Antworten: 4
    Letzter Beitrag: 13.10.05, 07:17