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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter SourceAnalytix v0.2.x

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Test Adapter SourceAnalytix v0.2.x

Geplant Angeheftet Gesperrt Verschoben Tester
adaptertest
958 Beiträge 103 Kommentatoren 291.4k Aufrufe 71 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • hg6806H hg6806

    @Dutchman
    Hier mal die RAW Daten des Objektes, vielleicht hilft das:

    {
      "from": "system.adapter.admin.0",
      "ts": 1552935260328,
      "common": {
        "name": "Wasserzaehler.Zaehlerstand",
        "role": "",
        "type": "number",
        "desc": "Manuell erzeugt",
        "read": true,
        "write": true,
        "def": false,
        "custom": {
          "history.0": {
            "enabled": true,
            "changesOnly": true,
            "debounce": 0,
            "maxLength": "10",
            "retention": "31536000",
            "changesRelogInterval": 0,
            "changesMinDelta": 0,
            "aliasId": ""
          },
          "sourceanalytix.0": {
            "enabled": true,
            "alias": "Wasserzaehler",
            "state_type": "water_m3",
            "state_unit": "l",
            "costs": false,
            "consumption": true,
            "meter_values": true,
            "start_day": "330980",
            "start_week": "330900",
            "start_month": "330500",
            "start_quarter": "330000",
            "start_year": "330000"
          }
        }
      },
      "native": {},
      "acl": {
        "object": 1636,
        "owner": "system.user.admin",
        "ownerGroup": "system.group.administrator",
        "state": 1636
      },
      "_id": "javascript.0.Wasserzaehler.Zaehlerstand",
      "type": "state"
    }
    
    DutchmanD Offline
    DutchmanD Offline
    Dutchman
    Developer Most Active Administrators
    schrieb am zuletzt editiert von Dutchman
    #425

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

    Hier mal die RAW Daten des Objektes, vielleicht hilft das:

    jup ! genau das ist das problem womit mein code im moment noch nicht umgehen kan er erwartet einen unit in diesem state.

    also um das mal als workaround zu lösen könntest du :

      "common": {
        "name": "Wasserzaehler.Zaehlerstand",
        "role": "",
        "type": "number",
        "desc": "Manuell erzeugt",
        "read": true,
        "write": true,
        "def": false,
    

    in

    
      "common": {
        "name": "Wasserzaehler.Zaehlerstand",
        "role": "",
        "type": "number",
        "desc": "Manuell erzeugt",
        "read": true,
        "write": true,
        "unit" : "m3",
        "def": false,
    
    

    in der naesten version wird er die Einstellungen beim state nemen wen die unit nicht definiert ist.
    Der Fehler entsteht weil er diese unit erwartet, da diese nicht existiert kommt ein undefined und Crash der adapter.

    (wird am wochenende gefixt sein)

    1 Antwort Letzte Antwort
    0
    • hg6806H Offline
      hg6806H Offline
      hg6806
      Most Active
      schrieb am zuletzt editiert von
      #426

      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?

      DutchmanD 1 Antwort Letzte Antwort
      0
      • hg6806H hg6806

        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?

        DutchmanD Offline
        DutchmanD Offline
        Dutchman
        Developer Most Active Administrators
        schrieb am zuletzt editiert von
        #427

        @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 Antwort Letzte Antwort
        0
        • DutchmanD Dutchman

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

          Tut sich hier noch was? Wird der Adapter noch weiter entwickelt oder muß auf was anderes ausgewichen werden? Welche Adapter wären denn eine Alternative?

          working on it, test laufen fast wieder adapter wird gerade umgebaut nach compact mode und die Fehler mit undefined beseitigt.

          Naeste beta am Wochenende zu erwarten

          PS: sorry hatte par andere Sachen um die Ohren :v:

          Palm_ManiacP Offline
          Palm_ManiacP Offline
          Palm_Maniac
          schrieb am zuletzt editiert von
          #428

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

          1 Antwort Letzte Antwort
          0
          • hg6806H Offline
            hg6806H Offline
            hg6806
            Most Active
            schrieb am zuletzt editiert von
            #429

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

            1 Antwort Letzte Antwort
            0
            • PeoplesP Offline
              PeoplesP Offline
              Peoples
              schrieb am zuletzt editiert von
              #430

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

              Ich beantworte keine Fragen zu Themen via PN

              DutchmanD 1 Antwort Letzte Antwort
              0
              • PeoplesP Peoples

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

                DutchmanD Offline
                DutchmanD Offline
                Dutchman
                Developer Most Active Administrators
                schrieb am zuletzt editiert von
                #431

                @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 ?

                PeoplesP 1 Antwort Letzte Antwort
                0
                • DutchmanD Dutchman

                  @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 ?

                  PeoplesP Offline
                  PeoplesP Offline
                  Peoples
                  schrieb am zuletzt editiert von
                  #432

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

                  Ich beantworte keine Fragen zu Themen via PN

                  DutchmanD 1 Antwort Letzte Antwort
                  0
                  • PeoplesP Peoples

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

                    DutchmanD Offline
                    DutchmanD Offline
                    Dutchman
                    Developer Most Active Administrators
                    schrieb am zuletzt editiert von
                    #433

                    @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 Antwort Letzte Antwort
                    0
                    • PeoplesP Offline
                      PeoplesP Offline
                      Peoples
                      schrieb am zuletzt editiert von Peoples
                      #434

                      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 :sweat_smile:

                      Ich beantworte keine Fragen zu Themen via PN

                      1 Antwort Letzte Antwort
                      0
                      • DutchmanD Offline
                        DutchmanD Offline
                        Dutchman
                        Developer Most Active Administrators
                        schrieb am zuletzt editiert von
                        #435

                        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 !

                        PeoplesP 1 Antwort Letzte Antwort
                        0
                        • DutchmanD Offline
                          DutchmanD Offline
                          Dutchman
                          Developer Most Active Administrators
                          schrieb am zuletzt editiert von
                          #436

                          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 Antwort Letzte Antwort
                          1
                          • Homer.J.H Offline
                            Homer.J.H Offline
                            Homer.J.
                            schrieb am zuletzt editiert von
                            #437

                            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 Antwort Letzte Antwort
                            0
                            • DutchmanD Offline
                              DutchmanD Offline
                              Dutchman
                              Developer Most Active Administrators
                              schrieb am zuletzt editiert von
                              #438

                              @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 Antwort Letzte Antwort
                              0
                              • Homer.J.H Offline
                                Homer.J.H Offline
                                Homer.J.
                                schrieb am zuletzt editiert von
                                #439

                                Hab gerade noch Probleme da sich ioBroker immer wieder verabschiedet.

                                1 Antwort Letzte Antwort
                                0
                                • Homer.J.H Offline
                                  Homer.J.H Offline
                                  Homer.J.
                                  schrieb am zuletzt editiert von Homer.J.
                                  #440

                                  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 Antwort Letzte Antwort
                                  0
                                  • Homer.J.H Offline
                                    Homer.J.H Offline
                                    Homer.J.
                                    schrieb am zuletzt editiert von
                                    #441

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

                                    DutchmanD 1 Antwort Letzte Antwort
                                    0
                                    • Homer.J.H Homer.J.

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

                                      DutchmanD Offline
                                      DutchmanD Offline
                                      Dutchman
                                      Developer Most Active Administrators
                                      schrieb am zuletzt editiert von
                                      #442

                                      @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 Antwort Letzte Antwort
                                      0
                                      • DutchmanD Offline
                                        DutchmanD Offline
                                        Dutchman
                                        Developer Most Active Administrators
                                        schrieb am zuletzt editiert von Dutchman
                                        #443

                                        @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 Antwort Letzte Antwort
                                        0
                                        • Homer.J.H Offline
                                          Homer.J.H Offline
                                          Homer.J.
                                          schrieb am zuletzt editiert von
                                          #444

                                          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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          456

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe