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.
    • SmarthomeMF
      SmarthomeMF last edited by

      Hallo Dutchman
      Will nicht nerven 😀
      Gibt es schon was neues bezüglich der Programmierung Watt?
      Ich bauche die Werte dann ist der Adapter sowas von PERFEKT!!!
      Danke

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

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

        Gibt es schon was neues bezüglich der Programmierung Watt?

        habe die Alpha fertig, teste gerade und optimalisiere code.
        Nachher kommen ein par tester in TS hinzu und denke mal das ich heute vor 3Uhr release kan.

        Wen de lust auf alpha test hast schick ich dir ne PM wen die version auf gut bereit steht (als alpha test !)

        Cheers,

        Dutch

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

          @SmarthomeMF

          Version 0.2.28 steht auf git, einzige unterschied mit voriger ist die w nach kWh Berechnung.

          @allen

          würde mich über feedback freuen, wen alles klappt kann ich diese version heute noch nach NPM (also installation per admin) bringen.

          Im moment nur per git installierbar !

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

            @Dutchman

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

            Screenshot (2638).png

            LOG:

            sourceanalytix.0	2019-03-31 12:04:54.416	debug	Meter Calculation executed
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated cost year : 0.00
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated cost quarter : 0.00
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated cost month : 0.00
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated cost week : 0.00
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated cost day : 0.00
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	example state string : sourceanalytix.0.tuya__0__0765200084f3eb247f4f__8.cost.01_current_day
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	delivery type .consumption.
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	cost type .cost.
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	objroot sourceanalytix.0.tuya__0__0765200084f3eb247f4f__8
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	year consumed 0.000007002527777777778
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	quarter consumed 0.000007002527777777778
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	month consumed 0.000007002527777777778
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	week consumed 0.000007002527777777778
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	day consumed 0.000007002527777777778
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading day : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading quarter : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading month : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading week : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading day : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	Start consumption calculations
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading day : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading month : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading week : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	calculated reading day : 0.000
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	Start meter value calculations
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	Delivery state set to : .consumption.
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	year start :
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	quarter start
            sourceanalytix.0	2019-03-31 12:04:54.416	debug	month start
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	week start :
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	day start : 0
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	reading_start : 0
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	Handle meter history : true
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	Handle consumption calculations : true
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	Cost unit : 0.067
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	Cost basic : 4
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	Calculation Factor : 0.067
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	Handle cost calculations : true
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	Meter calculated reading : 0.000007002527777777778
            sourceanalytix.0	2019-03-31 12:04:54.415	debug	Meter current reading : 0.3
            sourceanalytix.0	2019-03-31 12:04:54.415	warn	New calculated reading : 0.000007002527777777778
            sourceanalytix.0	2019-03-31 12:04:54.415	warn	Previous_calc_reading from memory : 0.000005669194444444445
            sourceanalytix.0	2019-03-31 12:04:54.415	warn	Previous_reading from state : {"val":0.4,"ack":true,"ts":1554026682403,"q":0,"from":"system.adapter.sourceanalytix.0","user":"system.user.admin","lc":1554026682403}
            sourceanalytix.0	2019-03-31 12:04:54.411	debug	Case result : Electricity consumption
            sourceanalytix.0	2019-03-31 12:04:54.411	debug	State object custom content: {"enabled":true,"alias":"","state_type":"kWh_consumption","state_unit":"automatically","costs":true,"consumption":true,"meter_values":true,"start_day":0,"start_week":"","s
            sourceanalytix.0	2019-03-31 12:04:54.411	debug	State object content: {"type":"state","common":{"type":"number","unit":"W","max":50000,"scale":1,"read":true,"write":false,"name":"cur_power","role":"value","custom":{"history.0":{"enabled":true,"chan
            sourceanalytix.0	2019-03-31 12:04:54.409	debug	Calc obj root sourceanalytix.0.tuya__0__0765200084f3eb247f4f__8
            sourceanalytix.0	2019-03-31 12:04:54.409	debug	Write calculations for : tuya.0.0765200084f3eb247f4f.8
            sourceanalytix.0	2019-03-31 12:04:54.409	debug	Instance name : sourceanalytix.0
            sourceanalytix.0	2019-03-31 12:04:54.404	info	state tuya.0.0765200084f3eb247f4f.8 changed : 0.3 SourceAnalytix calculation executed
            
            Dutchman 1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            972
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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