Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [SourceAnalytix 0.4.8-Final] Released !

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [SourceAnalytix 0.4.8-Final] Released !

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Laser @crunchip last edited by

      @crunchip dieser Punkt ist aktiviert. Beim direkten Shelly Datenpunkt und bei seinem Alias.

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators @crunchip last edited by

        @crunchip sagte in [SourceAnalytix 0.4.8-Final] Released !:

        @dutchman ich verwende das script nebenbei, weil ich es bis dato noch nie hinbekommen habe, das ein device reset funktioniert, ich hab schon sämtliche Varianten durchprobiert

        zumal ich auch bei bei 4 von 11 meiner tasmota Geräten das Problem habe, sich nach einem Stromausfall zurück setzen
        und gerade bei den tasmota Geräten man den Zähler wieder korrigieren kann. (hab es gerne überschaubar gleich mit den Zählerständen)

        das wierde ich dan gerne mal nach dem umbau spezifisch mir dir testen, wir haben ja auch auf git und allgemein situational derartige Meldungen die wir nicht nachvollziehen können aber allgemein läuft es bei vielen sehr gut.

        Eventuell haben wir hier den hotspot 🙂

        L 1 Reply Last reply Reply Quote 1
        • L
          Laser @Dutchman last edited by Laser

          @dutchman Hier mal eine Kurve, wie der von der Influx- DB aufgezeichnete Wert aussieht: (Energie vom Shelly)
          f5173b01-2cb1-4728-8480-773bd961266e-image.png
          Kommt SA mit den Zacken nach unten nicht klar?

          Dutchman 1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators @Laser last edited by Dutchman

            @laser sagte in [SourceAnalytix 0.4.8-Final] Released !:

            @dutchman Hier mal eine Kurve, wie der von der Influx- DB aufgezeichnete Wert aussieht: (Energie vom Shelly)
            f5173b01-2cb1-4728-8480-773bd961266e-image.png
            Kommt SA mit den Zacken nach unten nicht klar?

            Wen er nach 0 geht ja aber was passiert da bei dir?
            In diesem Fall gibt dein Shelly immer den gesamt wert und hat niemals nen reset schreibt nur komischer Weise mal nen niedrigeren wert .

            Also Device reset ausschalten und SA kommt ohne Probleme damit klar. Device reset sorgt nämlich dafür das er kumulative hoch zählt und das ist genau was du nicht möchtest

            L 1 Reply Last reply Reply Quote 0
            • L
              Laser @Dutchman last edited by

              @dutchman OK, Device Reset ausschalten, ich hatte es eingeschaltet. Werde ich versuchen. Ich habe über einen Alias vom Shelly- Wert einen Alias- Wert gemacht. Ist das ein Problem?

              Dutchman 1 Reply Last reply Reply Quote 0
              • Dutchman
                Dutchman Developer Most Active Administrators @Laser last edited by Dutchman

                @laser sagte in [SourceAnalytix 0.4.8-Final] Released !:

                @dutchman OK, Device Reset ausschalten, ich hatte es eingeschaltet. Werde ich versuchen. Ich habe über einen Alias vom Shelly- Wert einen Alias- Wert gemacht. Ist das ein Problem?

                Nein, und bringt dir auch nichts wenn da von der source so ein Quatsch kommt

                Wie kan es sein das eine Messung so aussieht

                11 Uhr 12 kWh
                12 Uhr 13 kWh
                13uhr 8kwh
                14uhr 15 kWh

                Die Situation hier um 13uhr ist das Problem den der Wert is kleiner als vorige also denk SA das das Gerät sich resettet hat (sollte also 0 sein) und addiert den Wert Dan zu dem Wert (kumulative) den er kannte

                Bei Geräte die immer nur > als voriger lieber ist das kein Problem

                Bei Geräten die sich resetten nach 0 auch nicht

                Bei Geräten die irgendwas dazwischen machen wird es logischerweise ein Problem 😉

                L 1 Reply Last reply Reply Quote 0
                • L
                  Laser @Dutchman last edited by

                  @dutchman Die Ausreißer nach unten kommen doch garantiert nicht vom Shelly. Vermutlich ein Problem der Datenübertragung. Der Shelly zählt ja mit seinem "alten" wert weiter. Also hat kein Reset stattgefunden. Eine WLAN Übertragung ist immer ein "Wackelkandidat". Ist es möglich, in SA eine Plausibilitätsprüfung einzufügen, die solche kurzen Ausreißer ignoriert?

                  Dutchman 1 Reply Last reply Reply Quote 0
                  • Dutchman
                    Dutchman Developer Most Active Administrators @Laser last edited by

                    @laser sagte in [SourceAnalytix 0.4.8-Final] Released !:

                    @dutchman Die Ausreißer nach unten kommen doch garantiert nicht vom Shelly. Vermutlich ein Problem der Datenübertragung. Der Shelly zählt ja mit seinem "alten" wert weiter. Also hat kein Reset stattgefunden. Eine WLAN Übertragung ist immer ein "Wackelkandidat". Ist es möglich, in SA eine Plausibilitätsprüfung einzufügen, die solche kurzen Ausreißer ignoriert?

                    das glaube ich kaum den es sind Datenbank Einträge, schau dir die werte mal in der DB an oder wie erklärst du dir das hier:

                    Screenshot 2023-11-07 at 09.23.07.png

                    wen die Verbindung schlecht ist kommen keine daten an, aber nicht nur die hälfte eines wertes 😉

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      Laser @Dutchman last edited by Laser

                      @dutchman Die Kurve ist mit Grafana erzeugt. Dummerweise mit einer Mittelwertbildung (bei "min" geht der Wert auf Null). Der Wert bleibt nicht auf einem Zwischenwert stehen. Wie soll ein Zähler im Shelly "rückwärts" zählen, impulsartig, und dann mit seinem alten Wert weitermachen?
                      Hier mit "min" statt "Mittelwert":
                      798ff1ef-fb2c-47a5-a08b-375e34fe8c33-image.png

                      Dutchman 1 Reply Last reply Reply Quote 0
                      • Dutchman
                        Dutchman Developer Most Active Administrators @Laser last edited by

                        @laser sagte in [SourceAnalytix 0.4.8-Final] Released !:

                        @dutchman Die Kurve ist mit Grafana erzeugt. Dummerweise mit einer Mittelwertbildung (bei "min" geht der Wert auf Null). Der Wert bleibt nicht auf einem Zwischenwert stehen. Wie soll ein Zähler im Shelly "rückwärts" zählen, impulsartig, und dann mit seinem alten Wert weitermachen?
                        Hier mit "min" statt "Mittelwert":
                        798ff1ef-fb2c-47a5-a08b-375e34fe8c33-image.png

                        wir brauchten dan mal das log von so einer situation, du sagst null das wahre ein Ansatz und erklärt eventuell auch das problem von @crunchip + was bei manch anderen auftritt

                        crunchip L 2 Replies Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Dutchman last edited by

                          @dutchman also, wenn ich bei mir z.b die Sicherung in der Küche raus und wieder rein mach, sind meine 3 Tasmota Geräte auf 0, SA addiert aber auf und bekomm falsche Werte.

                          angegeben ist der Gesamtzähler in kwh

                          Dutchman 1 Reply Last reply Reply Quote 0
                          • Dutchman
                            Dutchman Developer Most Active Administrators @crunchip last edited by

                            @crunchip sagte in [SourceAnalytix 0.4.8-Final] Released !:

                            @dutchman also, wenn ich bei mir z.b die Sicherung in der Küche raus und wieder rein mach, sind meine 3 Tasmota Geräte auf 0, SA addiert aber auf und bekomm falsche Werte.

                            angegeben ist der Gesamtzähler in kwh

                            das verstehe ich nicht, was addiert er auf ?
                            wen die tasmota nach 0 gehen, muss er ja was ab jetzt reinkommt kumulativ hoch zählen sonst ist dein Verbrauch auch auf einmal 0 geworden

                            crunchip 1 Reply Last reply Reply Quote 0
                            • L
                              Laser @Dutchman last edited by Laser

                              @dutchman

                              2023-11-05 14:57:20.876  - error: modbus.0 (4041450) Request timed out.
                              2023-11-05 14:57:20.877  - warn: modbus.0 (4041450) Poll error count: 1 code: {"err":"timeout","timeout":5000}
                              2023-11-05 14:57:23.530  - info: host.raspberrypi stopInstance system.adapter.vedirect.0 (force=false, process=true)
                              2023-11-05 14:57:23.542  - error: vedirect.0 (4061474) Sentry disabled, error catched : [onUnload] TypeError: SerialPort.close is not a function
                              2023-11-05 14:57:23.576  - info: host.raspberrypi stopInstance system.adapter.vedirect.0 send kill signal
                              2023-11-05 14:57:24.143  - info: host.raspberrypi instance system.adapter.vedirect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                              2023-11-05 14:57:25.905  - info: host.raspberrypi instance system.adapter.vedirect.0 started with pid 4063780
                              2023-11-05 14:58:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 14:59:00.002  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:00:00.013  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:01:00.005  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:01:01.013  - info: javascript.0 (53524) script.js.Heizung.TagNachtZeitraum: Tag: 
                              2023-11-05 15:02:00.004  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:03:00.004  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:04:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:05:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:06:00.002  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:07:00.002  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:08:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:09:00.021  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:10:00.004  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:10:01.007  - info: javascript.0 (53524) script.js.Heizung.TagNachtZeitraum: Tag: 
                              2023-11-05 15:11:00.005  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:12:00.005  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:13:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:14:00.011  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:15:00.023  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:16:00.014  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:17:00.009  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:18:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:19:00.009  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              2023-11-05 15:20:00.004  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                              

                              OK, diesen JS- Fehler werde ich eliminieren (ist eine andere Baustelle).

                              Dutchman 1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @Dutchman last edited by

                                @dutchman sagte in [SourceAnalytix 0.4.8-Final] Released !:

                                das verstehe ich nicht,

                                Ich ja eben auch nicht, muss ich mir in einer ruhigen Minute nochmal genauer ansehen.

                                Schöner wäre es allerdings, ich würde die paar Tasmota auch hinbekommen, das sie sich nicht zurück setzen. Aber auch das gelingt mir nicht

                                Dutchman 1 Reply Last reply Reply Quote 0
                                • Dutchman
                                  Dutchman Developer Most Active Administrators @Laser last edited by

                                  @laser sagte in [SourceAnalytix 0.4.8-Final] Released !:

                                  @dutchman

                                  2023-11-05 14:57:20.876  - error: modbus.0 (4041450) Request timed out.
                                  2023-11-05 14:57:20.877  - warn: modbus.0 (4041450) Poll error count: 1 code: {"err":"timeout","timeout":5000}
                                  2023-11-05 14:57:23.530  - info: host.raspberrypi stopInstance system.adapter.vedirect.0 (force=false, process=true)
                                  2023-11-05 14:57:23.542  - error: vedirect.0 (4061474) Sentry disabled, error catched : [onUnload] TypeError: SerialPort.close is not a function
                                  2023-11-05 14:57:23.576  - info: host.raspberrypi stopInstance system.adapter.vedirect.0 send kill signal
                                  2023-11-05 14:57:24.143  - info: host.raspberrypi instance system.adapter.vedirect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  2023-11-05 14:57:25.905  - info: host.raspberrypi instance system.adapter.vedirect.0 started with pid 4063780
                                  2023-11-05 14:58:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 14:59:00.002  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:00:00.013  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:01:00.005  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:01:01.013  - info: javascript.0 (53524) script.js.Heizung.TagNachtZeitraum: Tag: 
                                  2023-11-05 15:02:00.004  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:03:00.004  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:04:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:05:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:06:00.002  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:07:00.002  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:08:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:09:00.021  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:10:00.004  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:10:01.007  - info: javascript.0 (53524) script.js.Heizung.TagNachtZeitraum: Tag: 
                                  2023-11-05 15:11:00.005  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:12:00.005  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:13:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:14:00.011  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:15:00.023  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:16:00.014  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:17:00.009  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:18:00.003  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:19:00.009  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  2023-11-05 15:20:00.004  - warn: javascript.0 (53524) State "javascript.0.variables.dayTime" has no existing object, this might lead to an error in future versions
                                  

                                  OK, diesen JS- Fehler werde ich eliminieren (ist eine andere Baustelle).

                                  Ich sehe hier keine Fehler von SA ? 😅

                                  L 1 Reply Last reply Reply Quote 0
                                  • Dutchman
                                    Dutchman Developer Most Active Administrators @crunchip last edited by Dutchman

                                    @crunchip sagte in [SourceAnalytix 0.4.8-Final] Released !:

                                    @dutchman sagte in [SourceAnalytix 0.4.8-Final] Released !:

                                    das verstehe ich nicht,

                                    Ich ja eben auch nicht, muss ich mir in einer ruhigen Minute nochmal genauer ansehen.

                                    Schöner wäre es allerdings, ich würde die paar Tasmota auch hinbekommen, das sie sich nicht zurück setzen. Aber auch das gelingt mir nicht

                                    Können gerne mal zusammen schauen oder das du mir wieder deine Logs von SA an meinen zentralen SEQ schickst
                                    Dan kan alles weiterlaufen und wen der Fehler auftritt hab ich die Info die ich brauche

                                    Wen möglich hätte ich das am liebsten, kan ich selber durch die log Daten stöbern.

                                    crunchip 1 Reply Last reply Reply Quote 0
                                    • L
                                      Laser @Dutchman last edited by Laser

                                      @dutchman ich sehe auch keine! Auch zu anderen Zeiten mit der Zacke nach unten sehe ich keine SA-Fehler im Protokoll.

                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @Dutchman last edited by

                                        @dutchman machen wir bei Gelegenheit, hab allerdings aktuell anderweitig einiges um die Ohren.
                                        Wenn mal bisserl Luft ist, meld ich mich bei dir

                                        1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @Laser last edited by

                                          @laser da müste dann allerdings ne Meldung im Log erscheinen,... device reset....Erkannt

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            Laser @crunchip last edited by Laser

                                            @crunchip Es kommt zu keiner Zeit diese Meldung! Ich werde das runtergeladene Log aber nochmal durchsuchen! Bisher nichts dergleichen gefunden. Zumindest nicht zu den Zeiten mit den Zacken. Woanders schon!

                                             Device reset detected for alias.0.EnergieBattEntnahme.TotalEM0 store current cumulatedReading 676.0043000000001 as valueAtDeviceReset (previous valueAtDeviceReset : 424.93600000000004)
                                            2023-11-05 05:10:57.102  - warn: sourceanalytix.0 (3493514) Device reset detected for alias.0.ACLaden_Total-EM1.Total-EM1 store current cumulatedReading 257.5341 as valueAtDeviceReset (previous valueAtDeviceReset : 165.17810000000003)
                                            2023-11-05 05:10:57.105  - warn: sourceanalytix.0 (3493514) Device reset detected for shelly.1.SHEM#244CAB419A03#1.Emeter1.Total store current cumulatedReading 257.5341 as valueAtDeviceReset (previous valueAtDeviceReset : 165.17810000000003)
                                            2023-11-05 05:10:57.148  - warn: sourceanalytix.0 (3493514) Object of state "sourceanalytix.0.alias__0__ACLaden_Total-EM1__Total-EM1.cumulativeReading" is missing the required property "common.type"
                                            2023-11-05 05:10:57.161  - warn: sourceanalytix.0 (3493514) Object of state "sourceanalytix.0.shelly__1__SHEM#244CAB419A03#1__Emeter1__Total.cumulativeReading" is missing the required property "common.type"
                                            2023-11-05 05:10:57.185  - warn: sourceanalytix.0 (3493514) Object of state "sourceanalytix.0.alias__0__ACLaden_Total-EM1__Total-EM1.2023.readingCumulative" is missing the required property "common.type"
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            941
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            180
                                            2279
                                            814769
                                            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