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

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

Community Forum

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

NEWS

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

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

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

Test Adapter SourceAnalytix v0.2.x

Geplant Angeheftet Gesperrt Verschoben Tester
adaptertest
958 Beiträge 103 Kommentatoren 291.5k Aufrufe 71 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D Offline
    D Offline
    daniel_iobroker
    schrieb am zuletzt editiert von
    #555

    Also bei mir läuft der Adapter top. Ich verwende Ihn für den Stromzähler. Hab dafür einen Zähler für den Ferrariszähler gebaut.
    Ich habe nur eine kleine Frage. Ich möchte gerne den Tagesverbrauch in einem Balkendiagramm darstellen. Also pro Tag einen Wert. Unter "this week" finde ich die einzelnen Werte für die letzten Tage. Ich weiß aber nicht, wie ich diese in Flot bekomme?
    Außerdem möchte ich die Tageswerte gerne in meine sql Datenbank loggen. Damit sind diese Werte immer gesichert. Ich weiß, ich könnte einfach den Gesamtverbrauch mitloggen, allerdings sind hier nur die Tageswerte interessant, daher reicht es, wenn nur diese geloggt werden.
    Wie macht ihr das?

    DutchmanD 1 Antwort Letzte Antwort
    0
    • D daniel_iobroker

      Also bei mir läuft der Adapter top. Ich verwende Ihn für den Stromzähler. Hab dafür einen Zähler für den Ferrariszähler gebaut.
      Ich habe nur eine kleine Frage. Ich möchte gerne den Tagesverbrauch in einem Balkendiagramm darstellen. Also pro Tag einen Wert. Unter "this week" finde ich die einzelnen Werte für die letzten Tage. Ich weiß aber nicht, wie ich diese in Flot bekomme?
      Außerdem möchte ich die Tageswerte gerne in meine sql Datenbank loggen. Damit sind diese Werte immer gesichert. Ich weiß, ich könnte einfach den Gesamtverbrauch mitloggen, allerdings sind hier nur die Tageswerte interessant, daher reicht es, wenn nur diese geloggt werden.
      Wie macht ihr das?

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

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

      Also bei mir läuft der Adapter top. Ich verwende Ihn für den Stromzähler. Hab dafür einen Zähler für den Ferrariszähler gebaut.

      Ds freut mich !

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

      Also pro Tag einen Wert. Unter "this week" finde ich die einzelnen Werte für die letzten Tage. Ich weiß aber nicht, wie ich diese in Flot bekomme?

      am besten wartest du damit bis ich Perioden implementiert haben, darin wird dan immer anstatt montag/dinstag usw z.b. gestern/vorgestern usw geschrieben.

      Dan logst du den wert gestern, dieser wird nachts geschrieben und damit hast du dan nur den Gesamtwert.

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

      Außerdem möchte ich die Tageswerte gerne in meine sql Datenbank loggen.

      same story, entweder du nimmst den wert von heute (also tag) der loggt dan den gesamten verlauf oder du wartest auf die Perioden und nimmst den wert gestern

      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        Mallet
        schrieb am zuletzt editiert von
        #557

        Bei mir werden auch noch in der Version 0.2.275 jede Nacht die Werte auf 0 zurück gesetzt :-(

        DutchmanD 1 Antwort Letzte Antwort
        0
        • M Mallet

          Bei mir werden auch noch in der Version 0.2.275 jede Nacht die Werte auf 0 zurück gesetzt :-(

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

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

          Bei mir werden auch noch in der Version 0.2.275 jede Nacht die Werte auf 0 zurück gesetzt

          per admin oder git installiert ?

          1 Antwort Letzte Antwort
          0
          • M Offline
            M Offline
            Mallet
            schrieb am zuletzt editiert von
            #559

            via Admin installiert, habe das Problem jedoch schon seit ich den Apdapter installiert habe, 2-3 Versionen, hab auch schon ne neuinstallation probiert gehabt keine änderung... IOBroker läuft im Docker

            DutchmanD 1 Antwort Letzte Antwort
            0
            • M Mallet

              via Admin installiert, habe das Problem jedoch schon seit ich den Apdapter installiert habe, 2-3 Versionen, hab auch schon ne neuinstallation probiert gehabt keine änderung... IOBroker läuft im Docker

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

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

              via Admin installiert, habe das Problem jedoch schon seit ich den Apdapter installiert habe, 2-3 Versionen, hab auch schon ne neuinstallation probiert gehabt keine änderung... IOBroker läuft im Docker

              Welche node und npm Version hast du?

              1 Antwort Letzte Antwort
              0
              • M Offline
                M Offline
                Mallet
                schrieb am zuletzt editiert von
                #561

                Node: v8.15.1
                NPM: 6.4.1

                1 Antwort Letzte Antwort
                0
                • SmarthomeMFS Offline
                  SmarthomeMFS Offline
                  SmarthomeMF
                  schrieb am zuletzt editiert von
                  #562

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

                  Max

                  ioBroker auf einem NUC ,16GB RAM, 120GB SSD) mit Proxmox
                  Cloud Pro, iot, Alexa, Sonos, sonoff, Fronius, Harmony, Doorbird, Shelly, Hue, Loxone, Mihome, …

                  DutchmanD 1 Antwort Letzte Antwort
                  0
                  • SmarthomeMFS SmarthomeMF

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

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

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

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

                      sigi234S 1 Antwort Letzte Antwort
                      0
                      • DutchmanD Dutchman

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

                        sigi234S Online
                        sigi234S Online
                        sigi234
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von sigi234
                        #565

                        @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
                        

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

                        DutchmanD 1 Antwort Letzte Antwort
                        0
                        • 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
                          schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                          1
                          • kmxakK Offline
                            kmxakK Offline
                            kmxak
                            Most Active
                            schrieb am zuletzt editiert von
                            #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 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              0
                              • kmxakK Offline
                                kmxakK Offline
                                kmxak
                                Most Active
                                schrieb am zuletzt editiert von
                                #569

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

                                Gruß Alex

                                DutchmanD 1 Antwort Letzte Antwort
                                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
                                  schrieb am zuletzt editiert von 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 :eye:

                                  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 Antwort Letzte Antwort
                                  0
                                  • kmxakK Offline
                                    kmxakK Offline
                                    kmxak
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    0
                                    • DutchmanD Offline
                                      DutchmanD Offline
                                      Dutchman
                                      Developer Most Active Administrators
                                      schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                      1
                                      • FenriswolfF Offline
                                        FenriswolfF Offline
                                        Fenriswolf
                                        schrieb am zuletzt editiert von
                                        #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 Antworten Letzte Antwort
                                        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
                                          schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          814

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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