Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  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.0k

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

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

Test Adapter SourceAnalytix v0.2.x

Scheduled Pinned Locked Moved Tester
adaptertest
958 Posts 103 Posters 289.6k Views 71 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sigi234S 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
    
    DutchmanD Offline
    DutchmanD Offline
    Dutchman
    Developer Most Active Administrators
    wrote on last edited by Dutchman
    #566

    @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
    1
    • kmxakK Offline
      kmxakK Offline
      kmxak
      Most Active
      wrote on last edited by
      #567

      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
      

      Gruß Alex

      DutchmanD 1 Reply Last reply
      0
      • kmxakK kmxak

        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
        
        DutchmanD Offline
        DutchmanD Offline
        Dutchman
        Developer Most Active Administrators
        wrote on last edited by
        #568

        @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
        0
        • kmxakK Offline
          kmxakK Offline
          kmxak
          Most Active
          wrote on last edited by
          #569

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

          Gruß Alex

          DutchmanD 1 Reply Last reply
          0
          • kmxakK kmxak

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

            DutchmanD Offline
            DutchmanD Offline
            Dutchman
            Developer Most Active Administrators
            wrote on last edited by Dutchman
            #570

            @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
            0
            • kmxakK Offline
              kmxakK Offline
              kmxak
              Most Active
              wrote on last edited by
              #571
              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.

              Gruß Alex

              1 Reply Last reply
              0
              • DutchmanD Offline
                DutchmanD Offline
                Dutchman
                Developer Most Active Administrators
                wrote on last edited by Dutchman
                #572

                @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
                1
                • FenriswolfF Offline
                  FenriswolfF Offline
                  Fenriswolf
                  wrote on last edited by
                  #573

                  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

                  Press any key to continue or any other to quit

                  sigi234S DutchmanD 2 Replies Last reply
                  0
                  • FenriswolfF Fenriswolf

                    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

                    sigi234S Online
                    sigi234S Online
                    sigi234
                    Forum Testing Most Active
                    wrote on last edited by sigi234
                    #574

                    @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

                    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Immer Daten sichern!

                    FenriswolfF 2 Replies Last reply
                    0
                    • sigi234S 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

                      FenriswolfF Offline
                      FenriswolfF Offline
                      Fenriswolf
                      wrote on last edited by
                      #575

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

                      Press any key to continue or any other to quit

                      sigi234S 1 Reply Last reply
                      0
                      • FenriswolfF 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

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

                        sigi234S Online
                        sigi234S Online
                        sigi234
                        Forum Testing Most Active
                        wrote on last edited by sigi234
                        #576

                        @Fenriswolf

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

                        Screenshot (2772)_LI.jpg

                        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                        Immer Daten sichern!

                        1 Reply Last reply
                        0
                        • FenriswolfF Fenriswolf

                          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

                          DutchmanD Offline
                          DutchmanD Offline
                          Dutchman
                          Developer Most Active Administrators
                          wrote on last edited by Dutchman
                          #577

                          @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
                          0
                          • sigi234S 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

                            FenriswolfF Offline
                            FenriswolfF Offline
                            Fenriswolf
                            wrote on last edited by Fenriswolf
                            #578

                            @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

                            Press any key to continue or any other to quit

                            sigi234S 1 Reply Last reply
                            0
                            • FenriswolfF 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

                              sigi234S Online
                              sigi234S Online
                              sigi234
                              Forum Testing Most Active
                              wrote on last edited by
                              #579

                              @Fenriswolf

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

                              Screenshot (2773).png

                              Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                              Immer Daten sichern!

                              FenriswolfF 1 Reply Last reply
                              0
                              • sigi234S sigi234

                                @Fenriswolf

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

                                Screenshot (2773).png

                                FenriswolfF Offline
                                FenriswolfF Offline
                                Fenriswolf
                                wrote on last edited by
                                #580

                                @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

                                Press any key to continue or any other to quit

                                1 Reply Last reply
                                0
                                • FenriswolfF Offline
                                  FenriswolfF Offline
                                  Fenriswolf
                                  wrote on last edited by
                                  #581

                                  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

                                  Press any key to continue or any other to quit

                                  1 Reply Last reply
                                  0
                                  • hg6806H Offline
                                    hg6806H Offline
                                    hg6806
                                    Most Active
                                    wrote on last edited by
                                    #582

                                    @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

                                    DutchmanD 1 Reply Last reply
                                    1
                                    • hg6806H hg6806

                                      @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

                                      DutchmanD Offline
                                      DutchmanD Offline
                                      Dutchman
                                      Developer Most Active Administrators
                                      wrote on last edited by
                                      #583

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

                                        @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 Online
                                        K Online
                                        Kueppert
                                        wrote on last edited by
                                        #584

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

                                        UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

                                        sigi234S 1 Reply Last reply
                                        0
                                        • K Kueppert

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

                                          sigi234S Online
                                          sigi234S Online
                                          sigi234
                                          Forum Testing Most Active
                                          wrote on last edited by
                                          #585

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

                                          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                          Immer Daten sichern!

                                          DutchmanD 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          640

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe