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.
    • 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
                  • Homer.J.
                    Homer.J. @Dutchman last edited by

                    @Dutchman Bin jetzt mal zurück auf 0.2.26 läuft komplett unauffällig.

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

                      Einmal Homematic PSM

                      Screenshot_2019-03-21 objects - ioBroker.png

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

                        Und dann noch über Wiffi-WZ

                        Screenshot_2019-03-21 objects - ioBroker.png

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

                          Hier nochmal gesamt.

                          Screenshot_2019-03-21 objects - ioBroker.png

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

                            @Dutchman
                            Nach dem Update auf die Gitversion sind alle Datenpunkte da und werden auch beschrieben.

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

                              @Homer-J ich verstehe aus dem log her nicht was da bei dir genau schief läuft, mal bock auf ne teamviewer session ?

                              @Peoples danke fürs Feedback 😉

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

                                @Dutchman

                                Was sind eigentlich die
                                Meter_Readings?

                                Da habe ich keine Werte.........

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

                                  ist noch nicht fertig, diese Funktion wird den Zählerstand protokollieren zu den selben Zeitpunkten wie jetzt verbrauch und kosten

                                  Schermafbeelding 2019-03-21 om 22.07.13.png

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

                                    @Dutchman

                                    Super, bei mir geht auch Alles.....Ein Debug Log... vielleicht interessiert er dich ja.

                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	Test unit : kwh
                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	State value input for unit factore calculation : 2.218
                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	Object array input for unit factore calculation : {"type":"state","common":{"name":"Strom Drucker","type":"string","role":"value","desc":"totalMonthNow","unit":"kWh","def":0,"read":true,"write":true,
                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	Case result : Electricity consumption
                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	State object custom content: {"enabled":true,"alias":"","state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":true,"start_meassure":0,"start_day":2.136,"start_week":1.746,"sta
                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	State object content: {"type":"state","common":{"name":"Strom Drucker","type":"string","role":"value","desc":"totalMonthNow","unit":"kWh","def":0,"read":true,"write":true,"custom":{"history.0":{"enab
                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	Calc obj root sourceanalytix.0.hs100__0__192_168_178_43__totalMonthNow
                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	Write calculations for : hs100.0.192_168_178_43.totalMonthNow
                                    sourceanalytix.0	2019-03-21 22:06:19.313	debug	Instance name : sourceanalytix.0
                                    sourceanalytix.0	2019-03-21 22:06:19.313	info	state hs100.0.192_168_178_43.totalMonthNow changed : 2.218 SourceAnalytix calculation executed
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Meter Calculation executed
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated cost year : 0.15
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated cost quarter : 0.15
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated cost month : -0.04
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated cost week : 0.03
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated cost day : 0.01
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	example state string : sourceanalytix.0.hs100__0__192_168_178_43__totalMonthNow.cost.01_current_day
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	delivery type .consumption.
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	cost type .cost.
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	objroot sourceanalytix.0.hs100__0__192_168_178_43__totalMonthNow
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	year consumed 2.218
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	quarter consumed 2.218
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	month consumed -0.6320000000000001
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	week consumed 0.472
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	day consumed 0.08199999999999985
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated reading day : 2.218
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated reading quarter : 2.218
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated reading month : -0.632
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated reading week : 0.472
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	calculated reading day : 0.082
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Start consumption calculations
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Delivery state set to : .consumption.
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	year start : 0
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	quarter start 0
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	month start 2.85
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	week start : 1.746
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	day start : 2.136
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	reading_start : 0
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Handle meter history : true
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Handle consumption calculations : true
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Cost unit : 0.067
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Cost basic : 4
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Calculation Factor : 0.067
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Handle cost calculations : true
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Meter calculated reading : 2.218
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Meter current reading : 2.218
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	State value output of unit factore calculation : 2.218
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	Test unit : kwh
                                    sourceanalytix.0	2019-03-21 22:06:14.293	debug	State value input for unit factore calculation : 2.218
                                    
                                    Dutchman 1 Reply Last reply Reply Quote 0
                                    • Dutchman
                                      Dutchman Developer Most Active Administrators @sigi234 last edited by

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

                                      Super, bei mir geht auch Alles.....Ein Debug Log... vielleicht interessiert er dich ja.

                                      danke! sehr sogar das hilft bei optimalisierung !

                                      eine Sache fällt mir bei dir auf :

                                      calculated cost month : -0.04
                                      

                                      stimmt dein startwert Monat ?

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

                                        @Dutchman

                                        Hm.. ich habe 2 Geräte, einmal eine Homematic Funksteckdose (Geschirrspüler) und einmal eine TP-Link Funksteckdose ( Drucker)

                                        Screenshot (2490).png

                                        Screenshot (2491).png

                                        Screenshot (2493).png

                                        Screenshot (2495)_LI.jpg

                                        Screenshot (2499).png
                                        Screenshot (2498).png

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

                                          @sigi234

                                          Screenshot (2498).png

                                          wie kan der Zählerstand vom Anfang des Monats hoeher sein als dieser Woche 😀

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

                                            @Dutchman
                                            Ich hab da nichts eingetragen soweit ich weis.........
                                            Ist sowieso ein Problem-Gerät in der App sehe ich alle Werte in ioBroker nicht .
                                            Werde ich wieder deaktivieren.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            785
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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