Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Statistics Adapter zählt Impulse nicht mehr

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Statistics Adapter zählt Impulse nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DerRon last edited by

      Hallo zusammen,

      seit meinem letzten Update auf die Version V2.3.0 zählt mein Gaszähler nicht mehr richtig. Die Werte logge ich seit einem halben Jahr mit dem Statistics Adapter. Die Werte kommen als Impulse. Also müssen diese zusammengezählt werden.
      Seit dem Update passiert das nicht mehr. Stattdessen wird immer das Delta berechnet.

      Kommt also eine 1, dann wird 1 addiert.
      Kommt also eine 1, dann passiert nix, weil der Wert gleich ist.
      Kommt danach eine 0, dann wird -1 addiert. Mein Wert bleibt also immer auf 0.

      Man konnte vorher in den Optionen beim bei den Objekten auswählen, dass es sich um Impulse handelt. Diese Option gibt es nicht mehr.

      Ist diese Einstellung wirklich verwunden?

      Wäre über einen Tipp dankbar.

      Zur Zeit rechne ich die Impulse erstmal selber zusammen und übergebe diese dann an den Adapter...

      haus-automatisierung 1 Reply Last reply Reply Quote 0
      • haus-automatisierung
        haus-automatisierung Developer Most Active @DerRon last edited by haus-automatisierung

        Bitte mal ein Debug-Log teilen mit dem entsprechenden Datenpunkt.

        @derron sagte in Statistics Adapter zählt Impulse nicht mehr:

        Man konnte vorher in den Optionen beim bei den Objekten auswählen, dass es sich um Impulse handelt. Diese Option gibt es nicht mehr.

        Welche Version hattest Du denn vorher?

        D 1 Reply Last reply Reply Quote 0
        • D
          DerRon @haus-automatisierung last edited by

          @haus-automatisierung

          2023-04-30 12:43:10.054 - debug: statistics.0 (28447) [CREATION] ============================== 0_userdata.0.Gaszaehler.GasZaehlerAktuell =============================
          2023-04-30 12:43:10.055 - debug: statistics.0 (28447) [CREATION] setup of object 0_userdata.0.Gaszaehler.GasZaehlerAktuell: {"enabled":true,"count":false,"fiveMin":false,"sumCount":false,"impUnitPerImpulse":1,"impUnit":"","timeCount":false,"avg":true,"minmax":true,"sumDelta":true,"sumIgnoreMinus":false,"groupFactor":1,"logName":"Gas_Zaehler_Aktuell","sumGroup":"GasNeu"}

          2023-04-30 12:43:48.814 - debug: statistics.0 (28447) [STATE CHANGE] ======================= 0_userdata.0.Gaszaehler.GasZaehlerAktuell =======================
          2023-04-30 12:43:48.815 - debug: statistics.0 (28447) [STATE CHANGE] stateChange => 0.2

          2023-04-30 12:43:48.816 - debug: statistics.0 (28447) [STATE CHANGE] schedule onStateChangeSumDeltaValue for 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:43:48.817 - debug: statistics.0 (28447) [EXECUTING] sum delta 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:43:48.818 - debug: statistics.0 (28447) [STATE CHANGE] schedule onStateChangeMinMaxValue for 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:43:48.835 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.15Min on 0 to 0.2

          2023-04-30 12:43:48.887 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.hour on 0 to 0.2

          2023-04-30 12:43:48.894 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.day on 0 to 0.2

          2023-04-30 12:43:48.901 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.week on 0 to 19.8

          2023-04-30 12:43:48.909 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.month on 0 to 129.7

          2023-04-30 12:43:48.916 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.quarter on 0 to 129.7

          2023-04-30 12:43:48.967 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.year on 0 to 831.7

          2023-04-30 12:43:48.974 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.15Min on 0 to 0.244

          2023-04-30 12:43:48.985 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.hour on 0 to 0.244

          2023-04-30 12:43:48.991 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.day on 0 to 0.244

          2023-04-30 12:43:48.998 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.week on 0 to 24.156

          2023-04-30 12:43:49.005 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.month on 0 to 158.234

          2023-04-30 12:43:49.019 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.year on 0 to 1014.674

          2023-04-30 12:43:49.067 - debug: statistics.0 (28447) [EXECUTING] minmax 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:43:49.068 - debug: statistics.0 (28447) [STATE CHANGE] new last for "temp.minmax.0_userdata.0.Gaszaehler.GasZaehlerAktuell.last: 0.2

          2023-04-30 12:43:49.076 - debug: statistics.0 (28447) [EXECUTING] avg call 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:43:49.076 - debug: statistics.0 (28447) [STATE CHANGE] new last for "temp.avg.0_userdata.0.Gaszaehler.GasZaehlerAktuell.last: 0

          2023-04-30 12:45:30.214 - silly: statistics.0 (28447) States user redis pmessage 0_userdata.0.Gaszaehler.GasZaehlerAktuell/0_userdata.0.Gaszaehler.GasZaehlerAktuell:{"val":0,"ack":true,"ts":1682851530204,"q":0,"c":"script.js.HomeMatic.Gaszähler","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1682851530204}

          2023-04-30 12:45:30.217 - debug: statistics.0 (28447) [STATE CHANGE] ======================= 0_userdata.0.Gaszaehler.GasZaehlerAktuell =======================
          2023-04-30 12:45:30.220 - debug: statistics.0 (28447) [STATE CHANGE] stateChange => 0

          2023-04-30 12:45:30.221 - debug: statistics.0 (28447) [STATE CHANGE] schedule onStateChangeSumDeltaValue for 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:45:30.222 - debug: statistics.0 (28447) [EXECUTING] sum delta 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:45:30.223 - debug: statistics.0 (28447) [STATE CHANGE] schedule onStateChangeMinMaxValue for 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:45:30.261 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.15Min on -0.2 to -0.2

          2023-04-30 12:45:30.271 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.hour on -0.2 to 0

          2023-04-30 12:45:30.327 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.day on -0.2 to 0

          2023-04-30 12:45:30.333 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.week on -0.2 to 19.6

          2023-04-30 12:45:30.340 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.month on -0.2 to 129.5

          2023-04-30 12:45:30.346 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.quarter on -0.2 to 129.5

          2023-04-30 12:45:30.353 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Gaszaehler.GasZaehlerAktuell.year on -0.2 to 831.5

          2023-04-30 12:45:30.359 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.15Min on -0.244 to -0.244

          2023-04-30 12:45:30.407 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.hour on -0.244 to 0

          2023-04-30 12:45:30.413 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.day on -0.244 to 0

          2023-04-30 12:45:30.420 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.week on -0.244 to 23.912

          2023-04-30 12:45:30.426 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.month on -0.244 to 157.99

          2023-04-30 12:45:30.476 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.quarter on -0.244 to 157.99

          2023-04-30 12:45:30.483 - debug: statistics.0 (28447) [STATE CHANGE] Increase temp.sumGroup.GasNeu.year on -0.244 to 1014.43

          2023-04-30 12:45:30.489 - debug: statistics.0 (28447) [EXECUTING] minmax 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:45:30.489 - debug: statistics.0 (28447) [STATE CHANGE] new last for "temp.minmax.0_userdata.0.Gaszaehler.GasZaehlerAktuell.last: 0

          2023-04-30 12:45:30.497 - debug: statistics.0 (28447) [EXECUTING] avg call 0_userdata.0.Gaszaehler.GasZaehlerAktuell

          2023-04-30 12:45:30.497 - debug: statistics.0 (28447) [STATE CHANGE] new last for "temp.avg.0_userdata.0.Gaszaehler.GasZaehlerAktuell.last: -0.2

          Erst werden 0,2 addiert, da der Wert 0,2 ist. Danach kommt eine 0 und die 0,2 werden wieder subtrahiert.
          Ich bin mir nicht sicher, aber ich vermute, dass es die Option "sumCount" ist, die jetzt "false" ist. Ich kann sie aber nicht mehr aktivieren?

          Die Version davor müsste 2.20 gewesen sein. Kann es leider nicht mehr nachvollziehen, da ich viele Adapter upgedatet habe.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          792
          Online

          31.7k
          Users

          79.8k
          Topics

          1.3m
          Posts

          2
          3
          146
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo