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.
    • Dutchman
      Dutchman Developer Most Active Administrators @sigi234 last edited by Dutchman

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

      Installiert alles Ok, habe meine Steckdosenleiste von Meroos eingebunden, leider liefert diese nur aktuelle Werte in Watt........

      ist doch gut der adapter kann ja jetzt w nach kWh in version 0.2.81 🙂

      1 Reply Last reply Reply Quote 1
      • kmxak
        kmxak Most Active last edited by

        zur info, folgende fehler kamen beim stoppen vor dem update. Danach schien es wieder zu laufen.

        Caught	2019-03-31 19:33:58.168	error	by controller[7]: (node:21801) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecti
        Caught	2019-03-31 19:33:58.168	error	by controller[7]: at process._tickCallback (internal/process/next_tick.js:189:7)
        Caught	2019-03-31 19:33:58.168	error	by controller[7]: at <anonymous>
        Caught	2019-03-31 19:33:58.168	error	by controller[7]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:639:42)
        Caught	2019-03-31 19:33:58.168	error	by controller[7]: (node:21801) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourceanalytix.0' of undefined
        Caught	2019-03-31 19:33:58.168	error	by controller[6]: (node:21801) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecti
        Caught	2019-03-31 19:33:58.168	error	by controller[6]: at process._tickCallback (internal/process/next_tick.js:189:7)
        Caught	2019-03-31 19:33:58.168	error	by controller[6]: at <anonymous>
        Caught	2019-03-31 19:33:58.168	error	by controller[6]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:639:42)
        Caught	2019-03-31 19:33:58.168	error	by controller[6]: (node:21801) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourceanalytix.0' of undefined
        Caught	2019-03-31 19:33:58.168	error	by controller[5]: (node:21801) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecti
        Caught	2019-03-31 19:33:58.168	error	by controller[5]: at process._tickCallback (internal/process/next_tick.js:189:7)
        Caught	2019-03-31 19:33:58.168	error	by controller[5]: at <anonymous>
        Caught	2019-03-31 19:33:58.168	error	by controller[5]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:639:42)
        Caught	2019-03-31 19:33:58.168	error	by controller[5]: (node:21801) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourceanalytix.0' of undefined
        Caught	2019-03-31 19:33:58.168	error	by controller[4]: (node:21801) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecti
        Caught	2019-03-31 19:33:58.168	error	by controller[4]: at process._tickCallback (internal/process/next_tick.js:189:7)
        Caught	2019-03-31 19:33:58.168	error	by controller[4]: at <anonymous>
        Caught	2019-03-31 19:33:58.167	error	by controller[4]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:639:42)
        Caught	2019-03-31 19:33:58.167	error	by controller[4]: (node:21801) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourceanalytix.0' of undefined
        
        Dutchman 1 Reply Last reply Reply Quote 0
        • Dutchman
          Dutchman Developer Most Active Administrators @kmxak last edited by

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

          zur info, folgende fehler kamen beim stoppen vor dem update. Danach schien es wieder zu laufen.

          hey @kmxak

          welche version benutzt du ? Die aktuelle hat an stelle 639:42 einen comment das kan nicht zum Fehler führen 😉

          		//@ts-ignore custom does exist
          

          https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/blob/master/main.js#L639

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

            hatte von der vorletzten auf die neueste geupdatet die auf latest verfügbar war.

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

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

              hatte von der vorletzten auf die neueste geupdatet die auf latest verfügbar war.

              versionsnummer ? wie gesagt Zeile 639 kann es nicht sein 👁

              Caught	2019-03-31 19:33:58.167	error	by controller[4]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:639:42)
              
              1 Reply Last reply Reply Quote 0
              • kmxak
                kmxak Most Active last edited by

                Caught	2019-03-31 20:35:36.555	error	by controller[6]: (node:6422) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejectin
                Caught	2019-03-31 20:35:36.555	error	by controller[6]: at process._tickCallback (internal/process/next_tick.js:189:7)
                Caught	2019-03-31 20:35:36.555	error	by controller[6]: at <anonymous>
                Caught	2019-03-31 20:35:36.555	error	by controller[6]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:640:42)
                Caught	2019-03-31 20:35:36.555	error	by controller[6]: (node:6422) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourceanalytix.0' of undefined
                Caught	2019-03-31 20:35:36.555	error	by controller[5]: (node:6422) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejectin
                Caught	2019-03-31 20:35:36.555	error	by controller[5]: at process._tickCallback (internal/process/next_tick.js:189:7)
                Caught	2019-03-31 20:35:36.555	error	by controller[5]: at <anonymous>
                Caught	2019-03-31 20:35:36.555	error	by controller[5]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:640:42)
                Caught	2019-03-31 20:35:36.555	error	by controller[5]: (node:6422) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourceanalytix.0' of undefined
                Caught	2019-03-31 20:35:36.555	error	by controller[4]: (node:6422) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejectin
                Caught	2019-03-31 20:35:36.555	error	by controller[4]: at process._tickCallback (internal/process/next_tick.js:189:7)
                Caught	2019-03-31 20:35:36.554	error	by controller[4]: at <anonymous>
                Caught	2019-03-31 20:35:36.554	error	by controller[4]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:640:42)
                Caught	2019-03-31 20:35:36.554	error	by controller[4]: (node:6422) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourceanalytix.0' of undefined
                Caught	2019-03-31 20:35:36.554	error	by controller[4]: (node:6422) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejectin
                Caught	2019-03-31 20:35:36.554	error	by controller[4]: at process._tickCallback (internal/process/next_tick.js:189:7)
                Caught	2019-03-31 20:35:36.554	error	by controller[4]: at <anonymous>
                Caught	2019-03-31 20:35:36.554	error	by controller[4]: at Sourceanalytix.calculation_handler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:640:42)
                Caught	2019-03-31 20:35:36.554	error	by controller[4]: (node:6422) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourceanalytix.0' of undefined
                sourceanalytix.0	2019-03-31 20:35:36.522	info	Adapter SourceAnalytix stopped !
                sourceanalytix.0	2019-03-31 20:35:36.513	info	Adapter SourceAnalytix stopped !
                

                Installierte Version: 0.2.281

                Der Fehler kommt auch mit der neuesten Version beim restart des Adapters.

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

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

                  640:42

                  danke fuer das neue log damit konnte ich was anfangen 640:42
                  Habe es gefixt beim naesten update wird's drin sein

                  1 Reply Last reply Reply Quote 1
                  • Fenriswolf
                    Fenriswolf last edited by

                    Hallo,

                    ich würde gerne einen Teil meiner gesammelten Daten an meine CCU übergeben um die dort weiter zu verarbeiten. Allerdings bekomme ich dabei immer eine Fehlermeldung das angeblich ein Wert ein String ist.

                    var stromuebersicht_in_CCU;
                    
                    stromuebersicht_in_CCU = schedule('*/1 * * * *', function () {
                      // SpaceCenter- Stromkosten
                      setState("hm-rega.0.37864"/*sv.iobroker.verbrauch.spacecenter.use.tag*/, getState("sourceanalytix.0.hm-rpc__1__LEQ1345283__2__ENERGY_COUNTER.cost.05_current_year").val);
                      setState("hm-rega.0.37867"/*sv.iobroker.verbrauch.spacecenter.use.tag*/, getState("sourceanalytix.0.hm-rpc__1__LEQ1345283__2__ENERGY_COUNTER.cost.01_current_day").val);
                    // SpaceCenter- Leistung
                      setState("hm-rega.0.37869"/*sv.iobroker.verbrauch.spacecenter.use.tag*/, getState("sourceanalytix.0.hm-rpc__1__LEQ1345283__2__ENERGY_COUNTER.consumption.05_current_year").val);
                      setState("hm-rega.0.37872"/*sv.iobroker.verbrauch.spacecenter.use.tag*/, getState("sourceanalytix.0.hm-rpc__1__LEQ1345283__2__ENERGY_COUNTER.consumption.01_current_day").val);
                    // Waschmaschine und Trockner - Stromkosten
                      setState("hm-rega.0.37874"/*sv.iobroker.verbrauch.spacecenter.use.tag*/, getState("sourceanalytix.0.hm-rpc__1__MEQ1126409__2__ENERGY_COUNTER.cost.05_current_year").val);
                      setState("hm-rega.0.37877"/*sv.iobroker.verbrauch.spacecenter.use.tag*/, getState("sourceanalytix.0.hm-rpc__1__MEQ1126409__2__ENERGY_COUNTER.cost.01_current_day").val);
                    // Waschmaschine und Trockner - Leistung
                      setState("hm-rega.0.37879"/*sv.iobroker.verbrauch.spacecenter.use.tag*/, getState("sourceanalytix.0.hm-rpc__1__MEQ1126409__2__ENERGY_COUNTER.consumption.05_current_year").val);
                      setState("hm-rega.0.37882"/*sv.iobroker.verbrauch.spacecenter.use.tag*/, getState("sourceanalytix.0.hm-rpc__1__MEQ1126409__2__ENERGY_COUNTER.consumption.01_current_day").val);
                    });
                    

                    Im Log steht dann folgende Meldung:

                    javascript.2	2019-04-05 14:11:00.161	warn	at Timer.listOnTimeout (timers.js:290:5)
                    javascript.2	2019-04-05 14:11:00.161	warn	at tryOnTimeout (timers.js:323:5)
                    javascript.2	2019-04-05 14:11:00.161	warn	at ontimeout (timers.js:498:11)
                    javascript.2	2019-04-05 14:11:00.161	warn	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
                    javascript.2	2019-04-05 14:11:00.160	warn	at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
                    javascript.2	2019-04-05 14:11:00.160	warn	at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
                    javascript.2	2019-04-05 14:11:00.160	warn	at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1181:34)
                    javascript.2	2019-04-05 14:11:00.159	warn	at Object.<anonymous> (script.js.common.verbrauch_in_ccu_neu:5:3)
                    javascript.2	2019-04-05 14:11:00.159	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1258:20)
                    javascript.2	2019-04-05 14:11:00.157	warn	Wrong type of hm-rega.0.37864: "string". Please fix, while deprecated and will not work in next versions.
                    

                    entsprechen für die anderen "hm-rega.0.xxxxx" Werte ebenfalls. (Wollte nur nicht alle reinkopieren).
                    Ich bin eigentlich davon ausgegangen, das auf beiden Seiten Zahlenwerte und keine Strings verwendet werden.

                    schönes WE

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

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

                      hm-rega.0.37864

                      Zeig mal den DP davon und ev. die RAW

                      Und die SYS Variable von der CCU

                      Fenriswolf 2 Replies Last reply Reply Quote 0
                      • Fenriswolf
                        Fenriswolf @sigi234 last edited by

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

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

                        hm-rega.0.37864

                        Zeig mal den DP davon und ev. die RAW

                        Ich muss leider ganz dämlich fragen, was du genau meinst, und wie bekomme ich die RAW Daten?

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

                          @Fenriswolf

                          Objekte - HM REGA.0 - hm-rega.0.37864 - Bleistiftsymbol - RAW

                          Screenshot (2772)_LI.jpg

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

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

                            Wrong type of hm-rega.0.37864: "string". Please fix, while deprecated and will not work in next versions.

                            Wrong type of hm-rega.0.37864: "string". Please fix, while deprecated and will not work in next versions.
                            

                            Die Fehlermeldung entsteht durch den hm-rega.0.37864, kommt also nicht vom state des SourceAnalytix adapters sondern hm-rega :).

                            Wie hast du die variable in der CCU erstellt, mach mal bitte screenshot (von der variable in der CCU!).

                            1 Reply Last reply Reply Quote 0
                            • Fenriswolf
                              Fenriswolf @sigi234 last edited by Fenriswolf

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

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

                              hm-rega.0.37864

                              Zeig mal den DP davon und ev. die RAW

                              Und die SYS Variable von der CCU
                              246628B5-17E5-4A52-80FC-E4CB16AB0B67.jpeg 8BCB7EE6-5A73-44E6-8F06-834B95A00A65.jpeg

                              Ich hoffe das sind die richtigen Daten. Habe gerade gesehen, das die Bemerkungen im JavaScript falsch sind, aber das sollte ja nicht stören.

                              D74CD54A-FC3E-4ECC-94BA-ED9A9ADC9EE5.jpeg

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

                                @Fenriswolf

                                Bist du sicher das du einen Sys Variable angelegt hast..........
                                Meine schaut so aus:

                                Screenshot (2773).png

                                Fenriswolf 1 Reply Last reply Reply Quote 0
                                • Fenriswolf
                                  Fenriswolf @sigi234 last edited by

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

                                  @Fenriswolf

                                  Bist du sicher das du einen Sys Variable angelegt hast..........
                                  Meine schaut so aus:

                                  Screenshot (2773).png

                                  Bildschirmfoto 2019-04-05 um 21.05.45.png

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

                                    Ich habe auch nochmal geguckt, und dabei ist mir aufgefallen, das zwar Fehler im Log auftauchen, aber trotzdem die Werte in die CCU geschrieben werden.

                                    javascript.2	2019-04-05 21:37:00.127	warn	at Timer.listOnTimeout (timers.js:290:5)
                                    javascript.2	2019-04-05 21:37:00.127	warn	at tryOnTimeout (timers.js:323:5)
                                    javascript.2	2019-04-05 21:37:00.127	warn	at ontimeout (timers.js:498:11)
                                    javascript.2	2019-04-05 21:37:00.127	warn	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
                                    javascript.2	2019-04-05 21:37:00.127	warn	at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
                                    javascript.2	2019-04-05 21:37:00.126	warn	at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
                                    javascript.2	2019-04-05 21:37:00.126	warn	at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1181:34)
                                    javascript.2	2019-04-05 21:37:00.126	warn	at Object.<anonymous> (script.js.common.verbrauch_in_ccu_neu:5:3)
                                    javascript.2	2019-04-05 21:37:00.126	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1258:20)
                                    javascript.2	2019-04-05 21:37:00.126	warn	Wrong type of hm-rega.0.37864: "string". Please fix, while deprecated and will not work in next versions.
                                    

                                    Bildschirmfoto 2019-04-05 um 21.39.53.png

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

                                      @Dutchman Wann können wir denn das Feature "add object states for previous [x]day, [x]week, [x]month, [x]quarter, [x]year configurable in adapter settings" erwarten?
                                      Das macht es dann noch viel interessanter

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

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

                                        @Dutchman Wann können wir denn das Feature "add object states for previous [x]day, [x]week, [x]month, [x]quarter, [x]year configurable in adapter settings" erwarten?
                                        Das macht es dann noch viel interessanter

                                        working on it, traue mich aber noch nicht um da ne zeit fuer zu nennen da sitzen ein par komplexe bastellen um code.
                                        Lehne mich jetzt aber nicht wider 2 Monate zurück also die nahest tage/wochen werden updates kommen nur wan genau das Funktionieren wird weis ich leider noch nicht.

                                        Stay tuned 📅

                                        K D 2 Replies Last reply Reply Quote 0
                                        • K
                                          Kueppert @Dutchman last edited by

                                          @Dutchman da steht 17.Juli im Icon...das is ja noch was hin :lol:

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

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

                                            @Dutchman da steht 17.Juli im Icon...das is ja noch was hin :lol:

                                            Ich glaube er meint 17.April...........

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            616
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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