Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter SourceAnalytix v0.2.x

    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

    Test Adapter SourceAnalytix v0.2.x

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

      OK, da ich in Litern messe, habe ich "l" (kleines L) eingetragen.
      Zumindest kommen keine Fehlermeldungen.
      In den Objekten von SourceAnalytix wird aber nur ein Objekt eingetragen und keinen Ordner.
      Vielleicht weil im Moment noch der Verbrauch fehlt?

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

        @hg6806 sagte in [Neuer Adapter Beta 0.2.21] SourceAnalytix (Verbrauch Protokollierung von Strom/Gas/Flüssigkeiten):

        Vielleicht weil im Moment noch der Verbrauch fehlt?

        sollte eigentlich kommen, Seite mal refresht ?
        richtigen Sachen eingetragen beim schraubschluessel (was er Protokollieren soll) ?

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

          @Dutchman Spitze das es weiter geht. Ich freue mich auf die nächsten Updates. 🙂

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

            Läuft jetzt. Es war ausgehakte was protokolliert werden soll.
            Zudem wird manchmal automatisch umgeswitched zwischen Wasser und Stromverbrauch.

            1 Reply Last reply Reply Quote 0
            • Peoples
              Peoples last edited by

              Leider lässt sich das gute Stück bei mir nicht installieren aber das wird bestimmt mit den nächsten Updates behoben sein

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

                @Peoples sagte in [Neuer Adapter Beta 0.2.21] SourceAnalytix (Verbrauch Protokollierung von Strom/Gas/Flüssigkeiten):

                Leider lässt sich das gute Stück bei mir nicht installieren aber das wird bestimmt mit den nächsten Updates behoben sein

                kommt drauf an 🙂 wie lautet die Fehlermeldung ?

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

                  @Dutchman
                  Hey, bei der Installation kommt kein Fehler, erst beim anlegen der Instanz.
                  Hab dir auch ein issue auf Git erstellt.

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

                    @Peoples sagte in [Neuer Adapter Beta 0.2.21] SourceAnalytix (Verbrauch Protokollierung von Strom/Gas/Flüssigkeiten):

                    Hey, bei der Installation kommt kein Fehler, erst beim anlegen der Instanz.

                    was passiert wen du ihn über den admin installierst ?

                    also repository auf latest und dan aus dem admin raus anstatt GitHub

                    1 Reply Last reply Reply Quote 0
                    • Peoples
                      Peoples last edited by Peoples

                      Dann installiert er sich auch wie aus Github auch, der Unterschied ist hier dass auch eine Instanz angelegt wird, doch wie im ersten Beitrag zu sehen Objekte die ich dann auswerten könnte (Wochen, Monate usw.) werden nicht angelegt. Obwohl ich die Objektzustände "aktiviert" habe.
                      Vielleicht hab ich aber auch einen Denkfehler drin 😅

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

                        setze mal bitten den haken in den Einstellungen von protokollieren für Problembehebung an und poste was dan im log kommt hier (wird n häufen text sein)

                        PS: ich habe gestern 0.2.71 auf GitHub geladen, die basis ist ok aber Berechnungen leider noch fehlerhaft darum bitte nur die version aus dem admin installieren und nicht git !

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

                          so freunde der Sonne 🙂

                          ich habe soeben version 0.2.272 veröffentlicht diese kan ab sofort per GitHub installiert werden und wird voraussichtlich in max 24 Stunden auch über den admin angeboten.

                          Ich bitte euch wiederum zu testen, die meisten gemeldeten Fehler sollten in dieser version behoben sein

                          Changelog :

                          0.2.272

                          • (Dutchman) change logic of initialization
                          • (Dutchman) fix issue in calculation handling
                          • (Dutchman) extract unit definition to central function
                          • (Dutchman) removed "logging to troubleshoot", use "debug" in adapter setting

                          0.2.271

                          • (Dutchman) implement compact mode
                          • (Dutchman) fix testing issues
                          • (Dutchman) fix error "unit" or "tolowercase" is undefind
                          • (Dutchman) fixed installation issues
                          1 Reply Last reply Reply Quote 1
                          • Homer.J.
                            Homer.J. last edited by

                            Hallo Dutchman,

                            Adapter geht auf rot und das steht im Log.

                            Grüße

                            host.iobroker 2019-03-21 13:53:24.632 info Restart adapter system.adapter.sourceanalytix.0 because enabled
                            host.iobroker 2019-03-21 13:53:24.632 error instance system.adapter.sourceanalytix.0 terminated with code 0 (OK)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:237:14)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at decodeString (/opt/iobroker/node_modules/socket.io-parser/index.js:325:9)
                            Caught 2019-03-21 13:53:24.632 error by controller[0]: at tryParse (/opt/iobroker/node_modules/socket.io-parser/index.js:336:12)
                            Caught 2019-03-21 13:53:24.631 error by controller[0]: RangeError: Maximum call stack size exceeded
                            sourceanalytix.0 2019-03-21 13:53:24.568 error Error in case handling of cost type identificaton : undefined
                            sourceanalytix.0 2019-03-21 13:53:24.565 info Adapter SourceAnalytix stopped !
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:237:14)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at decodeString (/opt/iobroker/node_modules/socket.io-parser/index.js:325:9)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error at tryParse (/opt/iobroker/node_modules/socket.io-parser/index.js:336:12)
                            sourceanalytix.0 2019-03-21 13:53:24.564 error RangeError: Maximum call stack size exceeded
                            sourceanalytix.0 2019-03-21 13:53:24.564 error uncaught exception: Maximum call stack size exceeded

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

                              @Homer-J sagte in [Neuer Adapter Beta 0.2.227] SourceAnalytix (Verbrauch Protokollierung von Strom/Gas/Flüssigkeiten):

                              sourceanalytix.0 2019-03-21 13:53:24.568 error Error in case handling of cost type identificaton : undefined

                              setze mal bitte auf debug und poste das komplette log

                              1 Reply Last reply Reply Quote 0
                              • Homer.J.
                                Homer.J. last edited by

                                Hab gerade noch Probleme da sich ioBroker immer wieder verabschiedet.

                                1 Reply Last reply Reply Quote 0
                                • Homer.J.
                                  Homer.J. last edited by Homer.J.

                                  Schau mal ob dir das reicht. ?

                                  2019-03-21 13:59:40.585 - debug: sourceanalytix.0 Object array input for unit factore calculation : {"_id":"sonoff.0.Sonoff-Pow-2.ENERGY_Total","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Sonoff-Pow-2 ENERGY Total","custom":{"sourceanalytix.0":{"enabled":true,"alias":"Waschmaschine","state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":true,"start_day":27.213,"start_week":27.213,"start_month":22.293,"start_quarter":0,"start_year":0}}},"native":{},"type":"state","from":"system.adapter.sourceanalytix.0","ts":1552604400049,"acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"user":"system.user.admin"}
                                  2019-03-21 13:59:40.585 - debug: sourceanalytix.0 State value input for unit factore calculation : 27.213
                                  2019-03-21 13:59:40.585 - debug: sourceanalytix.0 Test unit : kwh
                                  2019-03-21 13:59:40.585 - debug: sourceanalytix.0 State value output of unit factore calculation : 27.213
                                  2019-03-21 13:59:40.585 - debug: sourceanalytix.0 Meter current reading : 27.213
                                  2019-03-21 13:59:40.585 - debug: sourceanalytix.0 Meter calculated reading : 27.213
                                  2019-03-21 13:59:40.585 - debug: sourceanalytix.0 Handle cost calculations : true
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 Calculation Factor : 0.277
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 Cost basic : 11.20
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 Cost unit : 0.277
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 Handle consumption calculations : true
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 Handle meter history : true
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 reading_start : 0
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 day start : 27.213
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 week start : 27.213
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 month start 22.293
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 quarter start 0
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 year start : 0
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 Delivery state set to : .consumption.
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 Start consumption calculations
                                  2019-03-21 13:59:40.586 - debug: sourceanalytix.0 calculated reading day : 0.000
                                  2019-03-21 13:59:40.587 - debug: sourceanalytix.0 calculated reading week : 0.000
                                  2019-03-21 13:59:40.589 - debug: sourceanalytix.0 calculated reading month : 4.920
                                  2019-03-21 13:59:40.589 - debug: sourceanalytix.0 calculated reading quarter : 27.213
                                  2019-03-21 13:59:40.607 - debug: sourceanalytix.0 calculated reading day : 27.213
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 day consumed 0
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 week consumed 0
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 month consumed 4.920000000000002
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 quarter consumed 27.213
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 year consumed 27.213
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 objroot sourceanalytix.0.sonoff__0__Sonoff-Pow-2__ENERGY_Total
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 cost type .cost.
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 delivery type .consumption.
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 example state string : sourceanalytix.0.sonoff__0__Sonoff-Pow-2__ENERGY_Total.cost.01_current_day
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 calculated cost day : 0.00
                                  2019-03-21 13:59:40.608 - debug: sourceanalytix.0 calculated cost week : 0.00
                                  2019-03-21 13:59:40.609 - debug: sourceanalytix.0 calculated cost month : 1.36
                                  2019-03-21 13:59:40.609 - debug: sourceanalytix.0 calculated cost quarter : 7.54
                                  2019-03-21 13:59:40.609 - debug: sourceanalytix.0 calculated cost year : 7.54
                                  2019-03-21 13:59:40.609 - debug: sourceanalytix.0 Meter Calculation executed
                                  2019-03-21 13:59:40.622 - info: host.iobroker instance system.adapter.feiertage.0 terminated with code 0 (OK)
                                  2019-03-21 13:59:41.028 - info: broadlink2.0 Adapter broadlink2.0 started and found 1 devices named 'RM:192-168-178-56'.
                                  2019-03-21 13:59:41.084 - debug: sourceanalytix.0 Object array of all activated states : ["sonoff.0.Sonoff-Pow-2.ENERGY_Total","sonoff.0.Sonoff-Pow-3.ENERGY_Total","wiffi-wz.0.root.192_168_178_121.w_counter_1","wiffi-wz.0.root.192_168_178_121.w_counter_2","wiffi-wz.0.root.192_168_178_121.w_counter_3","sonoff.0.Sonoff-Pow-4.ENERGY_Total","sonoff.0.Sonoff-Pow-4.ENERGY_Power","hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER"]

                                  1 Reply Last reply Reply Quote 0
                                  • Homer.J.
                                    Homer.J. last edited by

                                    Musste den Adapter erstmal abschalten da sich mein gesamtes System immer wieder lahm gelegt hat.

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

                                      @Homer-J sagte in [Neuer Adapter Beta 0.2.227] SourceAnalytix (Verbrauch Protokollierung von Strom/Gas/Flüssigkeiten):

                                      Musste den Adapter erstmal abschalten da sich mein gesamtes System immer wieder lahm gelegt hat.

                                      bin am analysieren

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

                                        @Homer-J

                                        Ich sehe in diesem logging keine Sachen was den adapter abstürzen lässt, fehlt da eventuell etwas ?
                                        Die werte sehen auch alle ok aus, wen du wieder auf 0.2.26 gehst ist alles OK ?
                                        Welche node und npm version benutzt du ?

                                        Wies sieht es bei anderen aus ?

                                        Kan es sein das du Geräte aktiviert hast die keinen kWh bzw wh wert haben sonder nur w (watt) ?
                                        Wen ja deaktiviere diese mal bitte und schaue ob er dan läuft, wen ja haben wir den Fehler gefunden.
                                        (habe w nach kWh Berechnung vorbereitet das ist aber noch nicht fertig einige stellen im code greifen aber darauf zu {Fehler}

                                        1 Reply Last reply Reply Quote 0
                                        • Homer.J.
                                          Homer.J. last edited by

                                          Hallo Duchtman,
                                          hier nochmal die aktuelle Ausgabe, der Adapter geht kurz auf grün und dann sofort auf rot.

                                          2019-03-21 16:49:36.962 - debug: sourceanalytix.0 Instance name : sourceanalytix.0
                                          2019-03-21 16:49:36.962 - debug: sourceanalytix.0 Write calculations for : hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER
                                          2019-03-21 16:49:36.962 - debug: sourceanalytix.0 Calc obj root sourceanalytix.0.hm-rpc__2__0001D7098D9B8D__6__ENERGY_COUNTER
                                          2019-03-21 16:49:36.962 - debug: sourceanalytix.0 Object array : ["wiffi-wz.0.root.192_168_178_121.w_counter_1","wiffi-wz.0.root.192_168_178_121.w_counter_2","wiffi-wz.0.root.192_168_178_121.w_counter_3","hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER"]
                                          2019-03-21 16:49:37.345 - debug: sourceanalytix.0 Object array of all activated states : ["wiffi-wz.0.root.192_168_178_121.w_counter_1","wiffi-wz.0.root.192_168_178_121.w_counter_2","wiffi-wz.0.root.192_168_178_121.w_counter_3","hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER"]
                                          2019-03-21 16:49:38.727 - debug: sourceanalytix.0 State object content: {"type":"state","common":{"name":"Hausstrom","desc":"w_counter_1","unit":"kWh","role":"value","id":"w_counter_1","type":"number","read":true,"write":false,"custom":{"sourceanalytix.0":{"enabled":true,"alias":"Hausstrom","interval":3,"start_meassure":"","cost_earning":false,"CalcCost":true,"CalcCons":true,"previous_periode":true,"meter_history":true,"unit_price":0,"basic_price":0,"monthly_payment":0,"start_day":154180.64,"start_week":154147.12,"start_month":153937.37,"start_quarter":"153230","start_year":"153230","keep_day":7,"keep_week":4,"keep_month":4,"keep_quarter":4,"keep_year":1,"state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":true}}},"native":{},"from":"system.adapter.sourceanalytix.0","ts":1552604400046,"_id":"wiffi-wz.0.root.192_168_178_121.w_counter_1","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator","state":1636},"user":"system.user.admin"}
                                          2019-03-21 16:49:38.727 - debug: sourceanalytix.0 State object custom content: {"enabled":true,"alias":"Hausstrom","interval":3,"start_meassure":"","cost_earning":false,"CalcCost":true,"CalcCons":true,"previous_periode":true,"meter_history":true,"unit_price":0,"basic_price":0,"monthly_payment":0,"start_day":154180.64,"start_week":154147.12,"start_month":153937.37,"start_quarter":"153230","start_year":"153230","keep_day":7,"keep_week":4,"keep_month":4,"keep_quarter":4,"keep_year":1,"state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":true}
                                          2019-03-21 16:49:38.727 - debug: sourceanalytix.0 Case result : Electricity consumption
                                          2019-03-21 16:49:38.728 - debug: sourceanalytix.0 Object array of all activated states : ["wiffi-wz.0.root.192_168_178_121.w_counter_1","wiffi-wz.0.root.192_168_178_121.w_counter_2","wiffi-wz.0.root.192_168_178_121.w_counter_3","hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER"]
                                          2019-03-21 16:49:38.773 - debug: sourceanalytix.0 Object array of all activated states : ["wiffi-wz.0.root.192_168_178_121.w_counter_1","wiffi-wz.0.root.192_168_178_121.w_counter_2","wiffi-wz.0.root.192_168_178_121.w_counter_3","hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER"]
                                          2019-03-21 16:49:39.059 - debug: sourceanalytix.0 Object array input for unit factore calculation : {"type":"state","common":{"name":"Hausstrom","desc":"w_counter_1","unit":"kWh","role":"value","id":"w_counter_1","type":"number","read":true,"write":false,"custom":{"sourceanalytix.0":{"enabled":true,"alias":"Hausstrom","interval":3,"start_meassure":"","cost_earning":false,"CalcCost":true,"CalcCons":true,"previous_periode":true,"meter_history":true,"unit_price":0,"basic_price":0,"monthly_payment":0,"start_day":154180.64,"start_week":154147.12,"start_month":153937.37,"start_quarter":"153230","start_year":"153230","keep_day":7,"keep_week":4,"keep_month":4,"keep_quarter":4,"keep_year":1,"state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":true}}},"native":{},"from":"system.adapter.sourceanalytix.0","ts":1552604400046,"_id":"wiffi-wz.0.root.192_168_178_121.w_counter_1","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator","state":1636},"user":"system.user.admin"}
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 State value input for unit factore calculation : 154188.23
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Test unit : kwh
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 State value output of unit factore calculation : 154188.23
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Meter current reading : 154188.23
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Meter calculated reading : 154188.23
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Handle cost calculations : true
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Calculation Factor : 0.277
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Cost basic : 11.20
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Cost unit : 0.277
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Handle consumption calculations : true
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 Handle meter history : true
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 reading_start : 0
                                          2019-03-21 16:49:39.060 - debug: sourceanalytix.0 day start : 154180.64
                                          2019-03-21 16:49:39.061 - debug: sourceanalytix.0 week start : 154147.12
                                          2019-03-21 16:49:39.061 - debug: sourceanalytix.0 month start 153937.37
                                          2019-03-21 16:49:39.061 - debug: sourceanalytix.0 quarter start 153230
                                          2019-03-21 16:49:39.061 - debug: sourceanalytix.0 year start : 153230
                                          2019-03-21 16:49:39.061 - debug: sourceanalytix.0 Delivery state set to : .consumption.
                                          2019-03-21 16:49:39.061 - debug: sourceanalytix.0 Start consumption calculations
                                          2019-03-21 16:49:39.061 - debug: sourceanalytix.0 calculated reading day : 7.590
                                          2019-03-21 16:49:39.062 - debug: sourceanalytix.0 calculated reading week : 41.110
                                          2019-03-21 16:49:39.063 - debug: sourceanalytix.0 calculated reading month : 250.860
                                          2019-03-21 16:49:39.063 - debug: sourceanalytix.0 calculated reading quarter : 958.230
                                          2019-03-21 16:49:39.063 - debug: sourceanalytix.0 calculated reading day : 958.230
                                          2019-03-21 16:49:39.063 - debug: sourceanalytix.0 day consumed 7.5899999999965075
                                          2019-03-21 16:49:39.063 - debug: sourceanalytix.0 week consumed 41.110000000015134
                                          2019-03-21 16:49:39.063 - debug: sourceanalytix.0 month consumed 250.86000000001513
                                          2019-03-21 16:49:39.064 - debug: sourceanalytix.0 quarter consumed 958.2300000000105
                                          2019-03-21 16:49:39.064 - debug: sourceanalytix.0 year consumed 958.2300000000105
                                          2019-03-21 16:49:39.064 - debug: sourceanalytix.0 objroot sourceanalytix.0.wiffi-wz__0__root__192_168_178_121__w_counter_1
                                          2019-03-21 16:49:39.064 - debug: sourceanalytix.0 cost type .cost.
                                          2019-03-21 16:49:39.064 - debug: sourceanalytix.0 delivery type .consumption.
                                          2019-03-21 16:49:39.064 - debug: sourceanalytix.0 example state string : sourceanalytix.0.wiffi-wz__0__root__192_168_178_121__w_counter_1.cost.01_current_day
                                          2019-03-21 16:49:39.064 - debug: sourceanalytix.0 calculated cost day : 2.10
                                          2019-03-21 16:49:39.065 - debug: sourceanalytix.0 calculated cost week : 11.39
                                          2019-03-21 16:49:39.065 - debug: sourceanalytix.0 calculated cost month : 69.49
                                          2019-03-21 16:49:39.065 - debug: sourceanalytix.0 calculated cost quarter : 265.43
                                          2019-03-21 16:49:39.065 - debug: sourceanalytix.0 calculated cost year : 265.43
                                          2019-03-21 16:49:39.065 - debug: sourceanalytix.0 Meter Calculation executed
                                          2019-03-21 16:49:39.240 - debug: sourceanalytix.0 Object array of all activated states : ["wiffi-wz.0.root.192_168_178_121.w_counter_1","wiffi-wz.0.root.192_168_178_121.w_counter_2","wiffi-wz.0.root.192_168_178_121.w_counter_3","hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER"]
                                          2019-03-21 16:49:39.297 - debug: sourceanalytix.0 Object array of all activated states : ["wiffi-wz.0.root.192_168_178_121.w_counter_1","wiffi-wz.0.root.192_168_178_121.w_counter_2","wiffi-wz.0.root.192_168_178_121.w_counter_3","hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER"]
                                          2019-03-21 16:49:39.372 - debug: sourceanalytix.0 Object array of all activated states : ["wiffi-wz.0.root.192_168_178_121.w_counter_1","wiffi-wz.0.root.192_168_178_121.w_counter_2","wiffi-wz.0.root.192_168_178_121.w_counter_3","hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","hm-rpc.2.0001D7098D9B8D.6.ENERGY_COUNTER"]
                                          2019-03-21 16:49:39.800 - error: sourceanalytix.0 uncaught exception: Maximum call stack size exceeded
                                          2019-03-21 16:49:39.800 - error: sourceanalytix.0 RangeError: Maximum call stack size exceeded
                                          at tryParse (/opt/iobroker/node_modules/socket.io-parser/index.js:336:12)
                                          at decodeString (/opt/iobroker/node_modules/socket.io-parser/index.js:325:9)
                                          at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:237:14)
                                          at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                                          at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                          at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                                          at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                                          at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                                          at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                                          at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                                          2019-03-21 16:49:39.801 - info: sourceanalytix.0 Adapter SourceAnalytix stopped !
                                          2019-03-21 16:49:39.802 - debug: sourceanalytix.0 State object content: {"type":"state","common":{"name":"Mietwohnung","desc":"w_counter_2","unit":"kWh","role":"value","id":"w_counter_2","type":"number","read":true,"write":false,"custom":{"sourceanalytix.0":{"enabled":true,"alias":"Mietwohnung","state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":true,"start_day":716.33,"start_week":699.99,"start_month":596.53,"start_quarter":267,"start_year":267}}},"native":{},"from":"system.adapter.sourceanalytix.0","ts":1552604400048,"_id":"wiffi-wz.0.root.192_168_178_121.w_counter_2","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator","state":1636},"user":"system.user.admin"}
                                          2019-03-21 16:49:39.802 - debug: sourceanalytix.0 State object custom content: {"enabled":true,"alias":"Mietwohnung","state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":true,"start_day":716.33,"start_week":699.99,"start_month":596.53,"start_quarter":267,"start_year":267}
                                          2019-03-21 16:49:39.802 - debug: sourceanalytix.0 Case result : Electricity consumption
                                          2019-03-21 16:49:39.802 - debug: sourceanalytix.0 State object content: {"type":"state","common":{"name":"Wärmepumpe","desc":"w_counter_3","unit":"kWh","role":"value","id":"w_counter_3","type":"number","read":true,"write":false,"custom":{"sourceanalytix.0":{"enabled":true,"alias":"Wärmepumpe","state_type":"kWh_heatpomp","costs":true,"consumption":true,"meter_values":true,"start_day":2693.63,"start_week":2592.77,"start_month":2103.23,"start_quarter":0,"start_year":0}}},"native":{},"from":"system.adapter.sourceanalytix.0","ts":1552604400048,"_id":"wiffi-wz.0.root.192_168_178_121.w_counter_3","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator","state":1636},"user":"system.user.admin"}
                                          2019-03-21 16:49:39.802 - debug: sourceanalytix.0 State object custom content: {"enabled":true,"alias":"Wärmepumpe","state_type":"kWh_heatpomp","costs":true,"consumption":true,"meter_values":true,"start_day":2693.63,"start_week":2592.77,"start_month":2103.23,"start_quarter":0,"start_year":0}
                                          2019-03-21 16:49:39.802 - debug: sourceanalytix.0 Case result : Heat Pump
                                          2019-03-21 16:49:39.803 - debug: sourceanalytix.0 State object content: {"type":"state","common":{"def":0,"type":"number","read":true,"write":false,"min":0,"max":838859.1,"unit":"Wh","name":"HMIP-PSM Geschirrspüler:6.ENERGY_COUNTER","custom":{"sourceanalytix.0":{"enabled":true,"alias":"Geschirrspüler","state_type":"kWh_consumption","state_unit":"automatically","costs":true,"consumption":true,"meter_values":true,"start_day":7.1902,"start_week":4.93,"start_month":0,"start_quarter":0,"start_year":0}}},"native":{"MIN":0,"UNIT":"Wh","OPERATIONS":5,"MAX":838859.1,"FLAGS":1,"ID":"ENERGY_COUNTER","TYPE":"FLOAT","DEFAULT":0,"CONTROL":"POWERMETER_PSM.ENERGY_COUNTER"},"from":"system.adapter.sourceanalytix.0","user":"system.user.admin","ts":1552690800054,"_id":"hm-rpc.2.0001D3C99CB161.6.ENERGY_COUNTER","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                                          2019-03-21 16:49:39.803 - debug: sourceanalytix.0 State object custom content: {"enabled":true,"alias":"Geschirrspüler","state_type":"kWh_consumption","state_unit":"automatically","costs":true,"consumption":true,"meter_values":true,"start_day":7.1902,"start_week":4.93,"start_month":0,"start_quarter":0,"start_year":0}
                                          2019-03-21 16:49:39.803 - debug: sourceanalytix.0 Case result : Electricity consumption
                                          2019-03-21 16:49:39.803 - debug: sourceanalytix.0 State object content: {"type":"state","common":{"def":0,"type":"number","read":true,"write":false,"min":0,"max":838859.1,"unit":"Wh","name":"HMIP-PSM Waschmaschine:6.ENERGY_COUNTER","custom":{"sourceanalytix.0":{"enabled":true,"alias":"Waschmaschine","state_type":"kWh_consumption","state_unit":"automatically","costs":true,"consumption":true,"meter_values":true,"start_day":3.0545999999999998,"start_week":1.4188,"start_month":0,"start_quarter":0,"start_year":0}}},"native":{"MIN":0,"UNIT":"Wh","OPERATIONS":5,"MAX":838859.1,"FLAGS":1,"ID":"ENERGY_COUNTER","TYPE":"FLOAT","DEFAULT":0,"CONTROL":"POWERMETER_PSM.ENERGY_COUNTER"},"from":"system.adapter.sourceanalytix.0","user":"system.user.admin","ts":1552777200075,"_id":"hm-rpc.2.0001D3C98DD8B9.6.ENERGY_COUNTER","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                                          2019-03-21 16:49:39.803 - debug: sourceanalytix.0 State object custom content: {"enabled":true,"alias":"Waschmaschine","state_type":"kWh_consumption","state_unit":"automatically","costs":true,"consumption":true,"meter_values":true,"start_day":3.0545999999999998,"start_week":1.4188,"start_month":0,"start_quarter":0,"start_year":0}
                                          2019-03-21 16:49:39.803 - debug: sourceanalytix.0 Case result : Electricity consumption
                                          2019-03-21 16:49:39.846 - error: Caught by controller[0]: RangeError: Maximum call stack size exceeded
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at tryParse (/opt/iobroker/node_modules/socket.io-parser/index.js:336:12)
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at decodeString (/opt/iobroker/node_modules/socket.io-parser/index.js:325:9)
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:237:14)
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                                          2019-03-21 16:49:39.847 - error: Caught by controller[0]: at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                                          2019-03-21 16:49:39.848 - error: Caught by controller[0]: at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)

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

                                            @Homer-J

                                            kommen der Sache etwas näher, würdest du mir mal bitte die Datenpunkte als screenshot zeigen wofür die SourceAnalytix aktiviert hast ?

                                            Oben rechst kannst du einen filter einstellen dan hast du alle Datenpunkte auf einer Übersicht

                                            Homer.J. 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            894
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter test
                                            103
                                            958
                                            246092
                                            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