Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Statistics Adapter zählt Impulse nicht mehr

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    623

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Statistics Adapter zählt Impulse nicht mehr

Scheduled Pinned Locked Moved Off Topic
3 Posts 2 Posters 240 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DerRon
    wrote on last edited by
    #1

    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-automatisierungH 1 Reply Last reply
    0
    • D DerRon

      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-automatisierungH Offline
      haus-automatisierungH Offline
      haus-automatisierung
      Developer Most Active
      wrote on last edited by haus-automatisierung
      #2

      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?

      🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
      🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
      📚 Meine inoffizielle ioBroker Dokumentation

      D 1 Reply Last reply
      0
      • haus-automatisierungH 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 Offline
        D Offline
        DerRon
        wrote on last edited by
        #3

        @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
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        318

        Online

        32.7k

        Users

        82.6k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe