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.
    • K
      klassisch Most Active last edited by

      Habe ioBroker unter Win 10 laufen.
      Habe den Adapter über githubs oktocat und Url installiert

      iobroker	2020-02-15 21:22:26.523	info	exit 0
      iobroker	2020-02-15 21:22:26.468	info	
      iobroker	2020-02-15 21:22:26.468	info	+ iobroker.sourceanalytix@0.3.0updated 1 package in 18.267s
      iobroker	2020-02-15 21:22:11.399	info	WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      iobroker	2020-02-15 21:22:11.399	info	npm
      iobroker	2020-02-15 21:22:06.503	info	npm install https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/tarball/master --production --save --prefix "C:/Program Files/iobroker/ioBrMain2" (System call)
      iobroker	2020-02-15 21:22:05.410	info	install https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/tarball/master
      iobroker	2020-02-15 21:22:05.082	info	url "https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix" --debug 
      

      Aber er erscheint nicht in der Instanzenliste.
      Funktioniert der Adapter unter Win 10 nicht?

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @klassisch last edited by

        @klassisch eigentlich so wie im Bild installieren
        b24e0dbd-2517-4b18-a704-60d8e9d44a89-image.png

        wenn du manuell, per github installierst, musst du die Instanz selbst hinzufügen

        K 1 Reply Last reply Reply Quote 1
        • K
          klassisch Most Active @crunchip last edited by

          @crunchip herzlichen Dank! Kaum macht mans richtig, schon funktionierts. Hatte zu kurz gedacht.

          1 Reply Last reply Reply Quote 0
          • C
            ChrisXY last edited by

            habs jetzt nicht gefunden aber kann ich meinen JETZIGEN Zählerstand einfügen ? So das ich als GESAMT den gleichen Zählerstand wie mein Stromzähler hat? Hab einen Shelly EM3 damit kann ich relativ gut den ganzen Verbrauch messen.

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @ChrisXY last edited by

              @ChrisXY ja, kannst du. Deinen Zählerstand bei day start eintragen. Nachfolgende Werte werden dann entsprechend, Beginn neue Woche/Monat/Quartal/Jahr, bei eintreten dementsprechend geschrieben.
              so hab ich es zumindest gemacht

              C 1 Reply Last reply Reply Quote 0
              • C
                ChrisXY @crunchip last edited by

                @crunchip said in Test Adapter SourceAnalytix v0.2.x:

                @ChrisXY ja, kannst du. Deinen Zählerstand bei day start eintragen. Nachfolgende Werte werden dann entsprechend, Beginn neue Woche/Monat/Quartal/Jahr, bei eintreten dementsprechend geschrieben.
                so hab ich es zumindest gemacht

                Okay Daanke ich versuche das mal. hab nun gedacht er würde bei jedem Tag dann mit diesem Wert starten

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @ChrisXY last edited by crunchip

                  @ChrisXY bzw ich sehe gerade, ich habe überall den gleichen Wert eingetragen.
                  Nein, wird dann ab 0.00 neu berechnet und werden entsprechend Datenpunkte angelegt.

                  1 Reply Last reply Reply Quote 0
                  • C
                    ChrisXY last edited by

                    @crunchip Ich habe mal meinen Zählerstand überall Hinterlegt mal gucken ob es morgen passt. Bisher wurde es nicht übernommen.

                    1 Reply Last reply Reply Quote 0
                    • R
                      RalfEngelberth last edited by

                      Hallo,
                      habe nach der Erstinstallation folgende Fehlermeldung.
                      Kann einer hier helfen?

                      sourceanalytix.0	2020-02-20 09:24:16.905	error	(20378) Sorry unite type not supported yet
                      sourceanalytix.0	2020-02-20 09:24:16.901	error	(20378) Identifying unit failed, please ensure state has a propper unit assigned or the unit is manually choosen in state settings !
                      
                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RalfEngelberth @RalfEngelberth last edited by

                        @RalfEngelberth sagte in Test Adapter SourceAnalytix v0.2.x:

                        Hallo,
                        habe nach der Erstinstallation folgende Fehlermeldung.
                        Kann einer hier helfen?

                        sourceanalytix.0	2020-02-20 09:24:16.905	error	(20378) Sorry unite type not supported yet
                        sourceanalytix.0	2020-02-20 09:24:16.901	error	(20378) Identifying unit failed, please ensure state has a propper unit assigned or the unit is manually choosen in state settings !
                        

                        Hab den Fehler gefunden
                        Hab die Maßeinheit von AUTOMATIK auf z.B. kwh umgestellt

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

                          Hallo,

                          ich möchte gerne wissen wieviele Seiten ich pro Woche / Monat ich drucke. Dafür habe ich den SNMP Adapter installiert der mir nun wunderbar seit Anbeginns des Drucker die Gesamtseitenzahl liefert. Jetzt habe ich gedacht, für die monatliche Auswertung kann ich wunderbar Source Analytics nutzen.
                          Notgedrungen habe ich als Art Flüssigkeit und Einheit Liter angeben, da es keine Einheit Anzahl und Art wie Zähler gibt.
                          Hat jemand eine bessere Idee?

                          VG
                          Stübi

                          crunchip 1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @Stuebi last edited by

                            @Stuebi gibt noch den statistic Adapter

                            Stuebi 1 Reply Last reply Reply Quote 1
                            • Stuebi
                              Stuebi @crunchip last edited by

                              @crunchip sagte in Test Adapter SourceAnalytix v0.2.x:

                              @Stuebi gibt noch den statistic Adapter

                              Perfekt, genau was ich suche! Danke!!!

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

                                So, ich unternehme jetzt den "gefühlt" 97 Anlauf die Ursache einer Fehlermeldung zu finden, die seit Anfang an bei mir im Log auftaucht.

                                Jetzt, wo ich es geschaft habe, das mein ioB Log endlich "sauber" von allen möglichen Meldungen ist, stören mich die immer wieder sporadisch auftretenden sourceanalytix Einträge umso mehr.

                                Ich habe jetzt, ebenfalls gefühlt schon 100 x, alle Setting Einstellungen die mit SourceAnalytics zusammen hängen, können durchgesehen. Ich komme einfach nicht weiter.

                                Hier mal das Fehler LOG - hat jemand noch eine Idee dazu?

                                sourceanalytix.0	2020-02-22 15:29:29.429	error	(4572) Error in case handling of cost type identificaton : undefined
                                sourceanalytix.0	2020-02-22 15:29:29.429	debug	(4572) State object custom content: {"start_day":0,"start_week":0,"start_month":0,"start_quarter":"0.977","start_year":"0.977"}
                                sourceanalytix.0	2020-02-22 15:29:29.429	debug	(4572) State object content: {"_id":"sonoff.0.Waschmaschine.ENERGY_Today","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Waschmaschine ENERGY
                                sourceanalytix.0	2020-02-22 15:29:29.425	debug	(4572) Calc obj root sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Today
                                sourceanalytix.0	2020-02-22 15:29:29.425	debug	(4572) Instance name : sourceanalytix.0
                                sourceanalytix.0	2020-02-22 15:29:29.425	debug	(4572) Write calculations for : sonoff.0.Waschmaschine.ENERGY_Today
                                sourceanalytix.0	2020-02-22 15:29:29.390	debug	(4572) state sonoff.0.Waschmaschine.ENERGY_Today changed : 0 SourceAnalytix calculation executed
                                sourceanalytix.0	2020-02-22 15:29:29.389	error	(4572) Error in case handling of cost type identificaton : undefined
                                sourceanalytix.0	2020-02-22 15:29:29.389	debug	(4572) State object custom content: {"start_day":0,"start_week":0,"start_month":0,"start_quarter":"1.326","start_year":"1.326"}
                                sourceanalytix.0	2020-02-22 15:29:29.389	debug	(4572) State object content: {"_id":"sonoff.0.Waschmaschine.ENERGY_Yesterday","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Waschmaschine EN
                                
                                sourceanalytix.0	2020-02-22 21:19:28.977	error	(4572) Error in case handling of cost type identificaton : undefined
                                sourceanalytix.0	2020-02-22 21:19:28.977	debug	(4572) State object custom content: {"start_day":0,"start_week":0,"start_month":0,"start_quarter":"0.977","start_year":"0.977"}
                                sourceanalytix.0	2020-02-22 21:19:28.977	debug	(4572) State object content: {"_id":"sonoff.0.Waschmaschine.ENERGY_Today","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Waschmaschine ENERGY
                                sourceanalytix.0	2020-02-22 21:19:28.974	debug	(4572) Meter Calculation executed
                                sourceanalytix.0	2020-02-22 21:19:28.974	debug	(4572) calculated cost year : 11.77
                                sourceanalytix.0	2020-02-22 21:19:28.974	debug	(4572) calculated cost quarter : 11.77
                                sourceanalytix.0	2020-02-22 21:19:28.974	debug	(4572) calculated cost month : 5.40
                                sourceanalytix.0	2020-02-22 21:19:28.974	debug	(4572) calculated cost week : 3.13
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) calculated cost day : 0.00
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) example state string : sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Total.cost.01_current_day
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) delivery type .consumption.
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) cost type .cost.
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) objroot sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Total
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) year consumed 40.74100000000004
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) quarter consumed 40.74100000000004
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) month consumed 18.69500000000005
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) week consumed 10.834000000000003
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) day consumed 0
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) calculated reading day : 40.741
                                sourceanalytix.0	2020-02-22 21:19:28.973	debug	(4572) calculated reading quarter : 40.741
                                sourceanalytix.0	2020-02-22 21:19:28.972	debug	(4572) calculated reading month : 18.695
                                sourceanalytix.0	2020-02-22 21:19:28.972	debug	(4572) calculated reading week : 10.834
                                sourceanalytix.0	2020-02-22 21:19:28.972	debug	(4572) calculated reading day : 0.000
                                sourceanalytix.0	2020-02-22 21:19:28.972	debug	(4572) Start consumption calculations
                                sourceanalytix.0	2020-02-22 21:19:28.972	debug	(4572) calculated reading day : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.972	debug	(4572) calculated reading month : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.972	debug	(4572) calculated reading week : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) calculated reading day : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Start meter value calculations
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Delivery state set to : .consumption.
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) year start : 271.58
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) quarter start 271.58
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) month start 293.626
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) week start : 301.487
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) day start : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) reading_start : 0
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Handle meter history : true
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Handle consumption calculations : true
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Cost unit : 0.2889
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Cost basic : 7.74
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Calculation Factor : 0.2889
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Handle cost calculations : true
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Meter calculated reading : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.971	debug	(4572) Meter current reading : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.970	debug	(4572) State value output of unit factore calculation : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.970	debug	(4572) Test unit : kwh
                                sourceanalytix.0	2020-02-22 21:19:28.970	debug	(4572) State value input for unit factore calculation : 312.321
                                sourceanalytix.0	2020-02-22 21:19:28.970	debug	(4572) Object array input for unit factore calculation : {"_id":"sonoff.0.Waschmaschine.ENERGY_Total","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh",
                                sourceanalytix.0	2020-02-22 21:19:28.969	error	(4572) Error in case handling of cost type identificaton : undefined
                                
                                1 Reply Last reply Reply Quote 0
                                • JB_Sullivan
                                  JB_Sullivan last edited by JB_Sullivan

                                  So, ich habe jetzt nochmal versucht weiter zu analysieren.

                                  2020-02-23 09:40:07.551  - error: sourceanalytix.0 (7072) Error in case handling of cost type identificaton : undefined
                                  2020-02-23 09:40:07.577  - debug: sourceanalytix.0 (7072) State object content: {"_id":"sonoff.0.Waschmaschine.ENERGY_Today","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Waschmaschine ENERGY  Today","custom":{"sourceanalytix.0":{"start_day":0,"start_week":0,"start_month":0,"start_quarter":"0.977","start_year":"0.977"}}},"native":{},"type":"state","from":"system.adapter.sourceanalytix.0","ts":1582412400030,"acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"user":"system.user.admin"}
                                  2020-02-23 09:40:07.577  - debug: sourceanalytix.0 (7072) State object custom content: {"start_day":0,"start_week":0,"start_month":0,"start_quarter":"0.977","start_year":"0.977"}
                                  2020-02-23 09:40:07.577  - error: sourceanalytix.0 (7072) Error in case handling of cost type identificaton : undefined
                                  

                                  Wieso schreibt er bei startday usw. "0" rein? Wenn man den TAB öffnet sieht das so aus.

                                  2020-02-23 09_41_36-objects - ioBroker.png

                                  Was mich stutzig macht, sind diese Einträge - wo holt er sich das her? In den Instanz Einstellungen des Adapter ist Quartal und Jahr überhaupt nicht angeharkt.

                                  2020-02-23 09:40:07.577  - debug: sourceanalytix.0 (7072) State object custom content: {"start_day":0,"start_week":0,"start_month":0,"start_quarter":"0.977","start_year":"0.977"}
                                  

                                  2020-02-23 12_19_03-instances - ioBroker.png

                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @JB_Sullivan last edited by crunchip

                                    @JB_Sullivan sagte in Test Adapter SourceAnalytix v0.2.x:

                                    Adapter ist Quartal und Jahr überhaupt nicht angeharkt.

                                    denke das ist intern zur Berechnung, angehakt bedeutet nur, das die Datenpunkte auch in den Objekten angelegt werden.

                                    @JB_Sullivan sagte in Test Adapter SourceAnalytix v0.2.x:

                                    Wenn man den TAB

                                    unabhänging vom Problem, hast du Maßeinheit auf Automatisch, gab/gibt glaub ich Probleme damit, also besser direkt definieren, also z.b. kWh

                                    Ps: hab immer noch v:0.2.41 und läuft Problemlos

                                    JB_Sullivan 1 Reply Last reply Reply Quote 0
                                    • JB_Sullivan
                                      JB_Sullivan @crunchip last edited by JB_Sullivan

                                      @crunchip
                                      Ja, habe ich extra drauf geachtet, das überall "Automatisch" eingestellt ist.

                                      Eben hatte ich in den LOG Dateien eine neues, seltsames Phänomen, nachdem ich ein Java Skript, was überhaupt nichts mit Sourceanalytix zu tun hat, gestopt und gestartet hatte.

                                      javascript.0	2020-02-23 13:53:18.114	info	(6388) script.js.Aktiv.BWM_Kueche: registered 1 subscription and 0 schedules
                                      javascript.0	2020-02-23 13:53:18.102	info	(6388) Start javascript script.js.Aktiv.BWM_Kueche
                                      sourceanalytix.0	2020-02-23 13:53:18.085	debug	(1120) Object array of object trigger : {"common":{"name":"BWM Kueche","expert":true,"engineType":"Blockly","engine":"system.adapter.javascript.0","source":"var timeout;\n\n\non({id: 'deconz.0.Sensor
                                      sourceanalytix.0	2020-02-23 13:53:18.085	debug	(1120) Object array of all activated states : ["fritzdect.0.DECT200_087610221797.energy","fritzdect.0.DECT200_087610236923.energy","fritzdect.0.DECT200_087610244490.energy","sonoff.0.Jannick_EDV.ENER
                                      javascript.0	2020-02-23 13:53:11.226	info	(6388) Stop script script.js.Aktiv.BWM_Kueche
                                      

                                      Ich habe ja auch keine "echten" Probleme - bei allen anderen Geräten funktioniert der Adapter ja einwandfrei. Nur dieses eine Gerät (Waschmaschine) macht in Verbindung mit Sourceamalytix Zicken. Achso - ich habe Adapter Version 0.3.0 drauf

                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @JB_Sullivan last edited by

                                        @JB_Sullivan sagte in Test Adapter SourceAnalytix v0.2.x:

                                        das überall "Automatisch" eingestellt

                                        das meinte ich ja, eben nicht auf auto stellen, sondern die tatsächliche Unit angeben.

                                        @JB_Sullivan sagte in Test Adapter SourceAnalytix v0.2.x:

                                        dieses eine Gerät

                                        guck dir mal die RAW an von diesem Gerät

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

                                          Yiiiiiiiipiiiiiii - Fehler gefunden - Sourceanalytix hat einen Bug !!!

                                          Wenn Sourceanalytix mal für irgend welche Werte aktiviert war, und man bei den Zählerständen noch Startwerte drin stehen hat und anschließend Sourceanalytix für diesen Wert deaktiviert, interessiert das den Adapter herzlich wenig.

                                          Er legt bei den Sourceanalytix Objekten nach wie vor Datenpunkte für diese Werte an., obwohl der Adapter bei der urspünglichen Daten Quelle längst deaktiviert ist.

                                          Man kann bei Sourceanalytix die fehlerhaften Datenpunkte löschen. Beim nächsten Adapter Start werden sie wieder angelegt.

                                          Damit ist es erst vorbei, wenn man "0" für die Zählerwerte einträgt.

                                          2020-02-23 19_01_22-objects - ioBroker.png 2020-02-23 19_02_44-objects - ioBroker.png

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

                                            @JB_Sullivan sagte in Test Adapter SourceAnalytix v0.2.x:

                                            Er legt bei den Sourceanalytix Objekten nach wie vor Datenpunkte für diese Werte an., obwohl der Adapter bei der urspünglichen Daten Quelle längst deaktiviert ist.

                                            Danke für die Analyse!
                                            Erstellst du mir dafür bitte ein git issue ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            435
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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