Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter SourceAnalytix v0.2.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter SourceAnalytix v0.2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • Issi
      Issi Developer @Dutchman last edited by Issi

      @Dutchman
      Ich erfassen nur strom weiss also nicht welche start werte bei flüssigkeiten eingertagen werden solten aber da kan man dann ja einfach unter Please enter start values die entsprechede umrechnungseinheit schreiben
      Z.B. L in m3
      Wh in kWh usw.
      Anmerkung 2019-03-29 185831.png

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

        @Issi

        Danke guter tip, manchmal sieht man voor lauter baumen den Wald nicht mehr so einfach kann es sein !

        Baue ich am WE ein

        Issi 1 Reply Last reply Reply Quote 0
        • Issi
          Issi Developer @Dutchman last edited by

          @Dutchman dafür sind wir ja da um zu testen und Vorschläge zu machen ☺
          kleines update die neue version V 0.2.275 läuft soweit gut keine error's und dass Meter_Readings hat auch schon für heute Zählerwerte drin werde es weiter beobachten.
          Läuft auch schon wider auf dem haupt system

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

            @Issi

            super danke ! Dan kann ich ja mit ruhigen gefuel am WE neue features einbauen ☺

            Issi 1 Reply Last reply Reply Quote 0
            • Issi
              Issi Developer @Dutchman last edited by

              @Dutchman werde heute mal ab 0 uhr das log hollen und hirt hoch laden dan hast frische daten mit dem Meter_Reading

              1 Reply Last reply Reply Quote 0
              • Issi
                Issi Developer last edited by Issi

                so hir mal das log noch 0 uhr adapter hatte ich neugestartet gehabt
                iobroker.2019-03-30.log

                1 Reply Last reply Reply Quote 0
                • D
                  daniel_iobroker last edited by

                  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?

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

                    @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 Reply Last reply Reply Quote 0
                    • M
                      Mallet last edited by

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

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

                        @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 Reply Last reply Reply Quote 0
                        • M
                          Mallet last edited by

                          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

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

                            @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 Reply Last reply Reply Quote 0
                            • M
                              Mallet last edited by

                              Node: v8.15.1
                              NPM: 6.4.1

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

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

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

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

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

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

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

                                  Cheers,

                                  Dutch

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

                                    @SmarthomeMF

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

                                    @allen

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

                                    Im moment nur per git installierbar !

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

                                      @Dutchman

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

                                      Screenshot (2638).png

                                      LOG:

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

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

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

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

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

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

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

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

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

                                            hey @kmxak

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

                                            		//@ts-ignore custom does exist
                                            

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

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            504
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter test
                                            103
                                            958
                                            247147
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo