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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [SourceAnalytix 0.4.8-Final] Released !

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

      @crunchip

      Ja stimmt schon, aber im Flot gebe ich quasi einen Datenpunkt ein und er macht mir dann eine schöne Tabelle.
      Egal, dann mache ich das mit weiteren Datenpunkten, war nur eine Frage ob ich was übersehe oder ob der Adapter für diese Funktion nicht geeignet ist.

      Danke auf jedenfall für die schnellen Antworten👍

      1 Reply Last reply Reply Quote 0
      • hg6806
        hg6806 Most Active last edited by

        @crunchip
        Das wäre aber vielleicht eine Idee das in SA zu implementieren für Stromzähler die nur rein zählen aber keine momentane Leistung anzeigen.
        Wäre dann die Differenz aus neuem Zählerwert und altem Zählerwert und das mit einem Zeitfaktor versehen dass man auf eine Stunde kommt, weil der Stromzähler ja kWh ausgibt.

        Ich habe im Prinzip das Problem mit dem Wasserzähler, der auch nur die Zählerstände ausgibt. Hier bekomme ich allerdings nur alle 1-3 Stunden einen Wert und kann daraus schlecht den "aktuellen" Verbrauch berechnen. Beim Stromzähler geht das besser.

        nik82 1 Reply Last reply Reply Quote 0
        • nik82
          nik82 Most Active @hg6806 last edited by

          Habe den Adapter jetzt mal über Nacht laufen gelassen, es gäbe schon den Datenpunkt den ich bräuchte:
          "previousDay", leider wird dieser immer um 0:00 geschrieben:

          029f3ec3-6778-4ec6-a2f9-96f5dfcb6081-image.png

          Somit ist dieser Punkt für Flot unbrauchbar.
          Gibt es irgendeine Möglichkeit das dieser nicht um 0:00 Uhr, sondern um 23:59 Uhr speichert?
          Wahrscheinlich nicht oder?

          Dann muss ich doch auf den Statistics Adapter gehen (obwohl der Sourceanalytix schon auch seine Vorteile hat), dieser Speichert nämlich genau um 23:59 und ist somit auch für ein schönes Flotchart verwendbar:

          58bfec6d-74a2-4a29-887e-ac1714f0a38f-image.png

          nik82 1 Reply Last reply Reply Quote 0
          • nik82
            nik82 Most Active @nik82 last edited by

            Hallo,
            ich habe das Problem, dass meine "meterReadings" leer bleiben:

            2a8484e8-bd6e-4f16-ac35-8fdc5a346f03-image.png

            Die stehen alle auf 0.

            Ich habe aber den Verbrauch angehakt:

            beb3056a-8d38-4852-ae51-1f08349ec58a-image.png

            Und anscheinend checkt er auch den momentanen Stand von 59 kWh.
            Aber der Datenpunkt "previousDay" wird einfach nicht geschrieben.

            Bei den Preisen funktionierts aber:

            2003985f-24d5-42ee-86d9-2d85c8bf1bcb-image.png

            Kann sich das jemand erklären? 🙂

            Danke im Voraus.

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

              @nik82 du bist im falschen Ordner, klick mal im 2022 auf meterReadings

              nik82 1 Reply Last reply Reply Quote 0
              • nik82
                nik82 Most Active @crunchip last edited by

                @crunchip
                Da gibts keinen "previousDay" 🙂
                Mir gehts ja um die Vortagesmenge.

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

                  @nik82 die gibts auch nicht für Zählerstände

                  nik82 1 Reply Last reply Reply Quote 0
                  • nik82
                    nik82 Most Active @crunchip last edited by

                    @crunchip
                    ? Verstehe ich nicht, der Punkt "01_previousDay" unter meterReadings ist doch genau dazu da um zu sehen wieviel kWh man am Vortag gebraucht hat.
                    Und dieser steht bei mir seit zwei Tagen auf 0, dass kann doch nicht stimmen...

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

                      @nik82 nö, das wäre dein Zählerstand vom Vortag

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

                      um zu sehen wieviel kWh man am Vortag gebraucht hat.

                      sourceanalytix.0.xyz.currentYear.consumed.01_previousDay

                      nik82 1 Reply Last reply Reply Quote 0
                      • nik82
                        nik82 Most Active @crunchip last edited by

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

                        sourceanalytix.0.xyz.currentYear.consumed.01_previousDay

                        Sch..., ich Idiot, unter consumed ist das das drin. Das habe ich voll verpeilt 🙂

                        Vielen, vielen Dank für die Info!

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

                          es geht wieder n bissl weiter, sorry Guys & girls fuers lange warten dafuer jetzt ein lang erwartetes feature realisiert 🙂

                          0.4.14 (2022-02-23) Optimize Device reset handling
                          
                          (DutchmanNL) Small code updates, lifecycle patches
                          (DutchmanNL) Option to disable device reset feature added
                          (DutchmanNL) Bugfix: Cannot read property 'name' of undefined solved
                          
                          1 Reply Last reply Reply Quote 1
                          • Dutchman
                            Dutchman Developer Most Active Administrators @nik82 last edited by

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

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

                            sourceanalytix.0.xyz.currentYear.consumed.01_previousDay

                            Sch..., ich Idiot, unter consumed ist das das drin. Das habe ich voll verpeilt 🙂

                            Vielen, vielen Dank für die Info!

                            meter readings => zaehlerstande
                            consumed => verbrauch

                            H 1 Reply Last reply Reply Quote 1
                            • H
                              hertob81 @Dutchman last edited by

                              Hallo zusammen,

                              ich habe das Problem, das keine Werte in gespeichert werden. Ich zapfe an der Schelly-Steckdose den Momentanverbrauch ab, siehe Screenshot.
                              Ich möchte nur den Verbrauch in kWh pro Monat und Jahr anschauen.

                              Einstellungen:
                              Bildschirmfoto 2022-02-26 um 19.13.40.png

                              SA:
                              Bildschirmfoto 2022-02-26 um 19.12.19.png

                              Datenpunkt Steckdose:
                              Bildschirmfoto 2022-02-26 um 19.13.24.png

                              Hat jemand eine Idee?

                              VG Tobias

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

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

                                SA:

                                im falschen ordner
                                sourceanalytix.0.xyz.currentYear.consumed

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  hertob81 @crunchip last edited by

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

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

                                  SA:

                                  im falschen ordner
                                  sourceanalytix.0.xyz.currentYear.consumed

                                  Auch nix:

                                  Bildschirmfoto 2022-02-26 um 21.02.06.png

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

                                    @hertob81 was zeigt das log?

                                    setzt sich der Zähler energy(wh) eigendlich zurück, oder ist der Fortlaufend? Oder warum nimmst du den Power DP

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      hertob81 @crunchip last edited by

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

                                      @hertob81 was zeigt das log?

                                      Hilf mir kurz, was meinst Du genau?

                                      setzt sich der Zähler energy(wh) eigendlich zurück, oder ist der Fortlaufend? Oder warum nimmst du den Power DP

                                      Energy (wh) ist fortlaufen. Wenn ich aber richtig informiert bin, wird der DP bei einem Software-Update auf Null gesetzt.
                                      Ich dachte ich nutze daher den DP POWER, da ja SA das aufsummieren und speichern übernimmt...

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

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

                                        Wenn ich aber richtig informiert bin, wird der DP bei einem Software-Update auf Null

                                        deshalb fragte ich, power ist halt nur Schätzwert

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

                                        Hilf mir kurz, was meinst Du genau?

                                        als du Sa eingerichtet und das Logging für den DP gestartet hast, kamen da irgendwelche Meldungen im Log, bzw stell die Instanz mal auf debug um zu sehen ob es Fehler gibt in deiner Konfiguration(Startwerte)

                                        zeig mal das Raw von deinem Power Datenpunkt(Bleistift)

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          hertob81 @crunchip last edited by hertob81

                                          @crunchip

                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:24.788	info	Successfully activated SourceAnalytix for 3 of 4 states, will do my Job until you stop me!
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:24.788	warn	Cannot handle calculations for 1 of 4 enabled states, check error messages
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:24.780	error	Initialization of zigbee.0.04cd15fffe02cb39.energy failed, check warn messages !
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:24.778	error	Cannot handle calculations for zigbee.0.04cd15fffe02cb39.energy, check log messages and adjust settings!
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:24.778	error	No cost type defined for zigbee.0.04cd15fffe02cb39.energy, please Select Type of calculation at state setting
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:24.725	info	Initialising (4 of 4) "zigbee.0.04cd15fffe02cb39.energy"
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:24.725	info	Initialization of zigbee.0.04cd15fffe02cb39.load_power successfully
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:22.727	info	Initialising (3 of 4) "zigbee.0.04cd15fffe02cb39.load_power"
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:22.726	info	Initialization of zigbee.0.04cd15fffe02c35d.load_power successfully
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:20.791	info	Initialising (2 of 4) "zigbee.0.04cd15fffe02c35d.load_power"
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:20.790	info	Initialization of shelly.0.SHPLG2-1#4A32B5#1.Relay0.Power successfully
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:18.949	info	Initialising (1 of 4) "shelly.0.SHPLG2-1#4A32B5#1.Relay0.Power"
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:18.948	info	Found 4 SourceAnalytix enabled states
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:18.811	info	Welcome to SourceAnalytix, making things ready ...
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:18.753	info	starting. Version 0.4.14 in /opt/iobroker/node_modules/iobroker.sourceanalytix, node: v12.22.7, js-controller: 3.3.22
                                          host.raspberrypi
                                          2022-02-26 21:39:16.676	info	instance system.adapter.sourceanalytix.0 started with pid 15702
                                          host.raspberrypi
                                          2022-02-26 21:39:16.418	info	"system.adapter.sourceanalytix.0" enabled
                                          host.raspberrypi
                                          2022-02-26 21:39:13.936	info	instance system.adapter.sourceanalytix.0 terminated with code 0 (NO_ERROR)
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.841	error	Cannot check object existence of "sourceanalytix.0.zigbee__0__04cd15fffe02cb39__load_power.currentYear.consumed.04_previousQuarter": Connection is closed.
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.835	info	Default value for state "sourceanalytix.0.zigbee__0__04cd15fffe02cb39__load_power.currentYear.meterReadings.03_previousMonth" could not be set: DB closed
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.834	warn	get state error: Connection is closed.
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.829	warn	redis get sourceanalytix.0.zigbee__0__04cd15fffe02cb39__load_power.currentYear.meterReadings.03_previousMonth, error - Connection is closed.
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.316	info	Terminated (NO_ERROR): Without reason
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.314	info	terminating
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.313	info	Got terminate signal TERMINATE_YOURSELF
                                          host.raspberrypi
                                          2022-02-26 21:39:13.310	info	stopInstance system.adapter.sourceanalytix.0 send kill signal
                                          host.raspberrypi
                                          2022-02-26 21:39:13.294	info	stopInstance system.adapter.sourceanalytix.0 (force=false, process=true)
                                          host.raspberrypi
                                          2022-02-26 21:39:13.294	info	"system.adapter.sourceanalytix.0" disabled
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.289	info	SourceAnalytix stopped, now you have to calculate by yourself :'( ...
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:13.287	info	Adapter is disabled => stop
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:11.715	info	Initialising (3 of 4) "zigbee.0.04cd15fffe02cb39.load_power"
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:11.714	info	Initialization of zigbee.0.04cd15fffe02c35d.load_power successfully
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:09.789	info	Initialising (2 of 4) "zigbee.0.04cd15fffe02c35d.load_power"
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:09.789	info	Initialization of shelly.0.SHPLG2-1#4A32B5#1.Relay0.Power successfully
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:07.466	info	Initialising (1 of 4) "shelly.0.SHPLG2-1#4A32B5#1.Relay0.Power"
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:07.465	info	Found 4 SourceAnalytix enabled states
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:07.376	info	Welcome to SourceAnalytix, making things ready ...
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:07.338	info	starting. Version 0.4.14 in /opt/iobroker/node_modules/iobroker.sourceanalytix, node: v12.22.7, js-controller: 3.3.22
                                          host.raspberrypi
                                          2022-02-26 21:39:05.510	info	instance system.adapter.sourceanalytix.0 started with pid 15678
                                          host.raspberrypi
                                          2022-02-26 21:39:03.004	info	instance system.adapter.sourceanalytix.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:02.927	info	Default value for state "sourceanalytix.0.shelly__0__SHPLG2-1#4A32B5#1__Relay0__Power.2022.meterReadings.weeks.08" could not be set: DB closed
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:02.925	warn	get state error: Connection is closed.
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:02.924	warn	Could not perform strict object check of state sourceanalytix.0.shelly__0__SHPLG2-1#4A32B5#1__Relay0__Power.2022.meterReadings.weeks.08: Connection is closed.
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:02.919	warn	redis get sourceanalytix.0.shelly__0__SHPLG2-1#4A32B5#1__Relay0__Power.2022.meterReadings.weeks.08, error - Connection is closed.
                                          host.raspberrypi
                                          2022-02-26 21:39:02.413	info	stopInstance system.adapter.sourceanalytix.0 send kill signal
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:02.405	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:02.404	info	terminating
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:02.403	info	SourceAnalytix stopped, now you have to calculate by yourself :'( ...
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:02.402	info	Got terminate signal TERMINATE_YOURSELF
                                          host.raspberrypi
                                          2022-02-26 21:39:02.380	info	stopInstance system.adapter.sourceanalytix.0 (force=false, process=true)
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:01.923	info	Initialising (1 of 4) "shelly.0.SHPLG2-1#4A32B5#1.Relay0.Power"
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:01.922	info	Found 4 SourceAnalytix enabled states
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:01.844	info	Welcome to SourceAnalytix, making things ready ...
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:01.810	info	starting. Version 0.4.14 in /opt/iobroker/node_modules/iobroker.sourceanalytix, node: v12.22.7, js-controller: 3.3.22
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:39:01.792	info	Plugin sentry Sentry Plugin disabled for this process because data reporting is disabled on instance
                                          host.raspberrypi
                                          2022-02-26 21:39:00.165	info	instance system.adapter.sourceanalytix.0 started with pid 15662
                                          host.raspberrypi
                                          2022-02-26 21:38:57.653	info	instance system.adapter.sourceanalytix.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:38:57.050	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:38:57.049	info	terminating
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:38:57.048	info	SourceAnalytix stopped, now you have to calculate by yourself :'( ...
                                          host.raspberrypi
                                          2022-02-26 21:38:57.049	info	stopInstance system.adapter.sourceanalytix.0 send kill signal
                                          
                                          sourceanalytix.0
                                          2022-02-26 21:38:57.047	info	Got terminate signal TERMINATE_YOURSELF
                                          
                                          {
                                            "type": "state",
                                            "common": {
                                              "name": "Power",
                                              "type": "number",
                                              "role": "value.power",
                                              "read": true,
                                              "write": false,
                                              "def": 0,
                                              "unit": "W"
                                            },
                                            "native": {},
                                            "_id": "shelly.0.SHPLG2-1#4A32B5#1.Relay0.Power",
                                            "acl": {
                                              "object": 1636,
                                              "state": 1636,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            },
                                            "from": "system.adapter.admin.0",
                                            "user": "system.user.admin",
                                            "ts": 1645908378921
                                          }
                                          
                                          crunchip 1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @hertob81 last edited by

                                            @hertob81 bin nur am handy, bisschen blöd zu lesen.
                                            Aber irgendwie hast du ein zigbee Gerät nicht korrekt konfiguiert.
                                            Und
                                            Im Raw steht nix von Sa.

                                            Am besten du deaktivierst nochmal deine Datenpunkte, stoppst SA, dann löscht du die jeweiligen Ordner in den Objekten, startest SA wieder und richtest deine Datenpunkte fürs Logging nochmal von vorne ein.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            847
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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