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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Test Adapter SourceAnalytix v0.2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @watcherkb last edited by

      @watcherkb bei mir läuft noch 0.2.4.1
      Wie sieht dein wert vom Datenpunkt Gas aus?
      Bei mir kommen die Werte vom wiffi-wz.0 für Strom Gas Wasser, passend in der Richtigen Einheit.

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

        @crunchip den Datenpunkt habe ich selbst erstellt. Er wird durch Blockly gepflegt

        {
          "from": "system.adapter.sourceanalytix.0",
          "ts": 1571781600006,
          "user": "system.user.admin",
          "common": {
            "name": "aktuell",
            "role": "",
            "type": "number",
            "desc": "Manuell erzeugt",
            "unit": "qm³",
            "read": true,
            "write": true,
            "custom": {
              "influxdb.0": {
                "enabled": true,
                "changesOnly": true,
                "debounce": "",
                "retention": 0,
                "changesRelogInterval": "",
                "changesMinDelta": "",
                "storageType": "",
                "aliasId": ""
              },
              "sourceanalytix.0": {
                "enabled": true,
                "alias": "Gasverbrauch",
                "state_type": "gas",
                "state_unit": "m3",
                "costs": true,
                "consumption": true,
                "meter_values": true,
                "start_day": 6238,
                "start_week": 6238,
                "start_month": 6238,
                "start_quarter": 6238,
                "start_year": 6238
              }
            }
          },
          "native": {},
          "acl": {
            "object": 1636,
            "owner": "system.user.admin",
            "ownerGroup": "system.group.administrator",
            "state": 1636
          },
          "_id": "admin.0.Datenpunkte.Energie.Gaszähler.aktuell",
          "type": "state"
        }
        
        crunchip 2 Replies Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @watcherkb last edited by crunchip

          @watcherkb leider nur als Bild, vom Handy aus
          Screenshot_20191029-161656_Chrome.jpg
          Und pro Std
          Screenshot_20191029-162227_Chrome.jpg

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

            @crunchip auf die Schnelle fällt mir auf das dort keine "role" angegeben ist bei mir: habs mal auf Value gestellt.

                "role": "value",
            

            bekomme auch beim Neustart des Adapters folgenden error: Sorry unite type qm not supported yet

            shuttercontrol.0	2019-10-29 16:56:41.772	debug	system.adapter.admin.0: logging false
            sourceanalytix.0	2019-10-29 16:55:06.294	debug	Object array : ["admin.0.Datenpunkte.Energie.Gaszähler.aktuell"]
            sourceanalytix.0	2019-10-29 16:55:06.294	error	Sorry unite type qm not supported yet
            sourceanalytix.0	2019-10-29 16:55:06.294	debug	Custom object tree : {"enabled":true,"alias":"Gasverbrauch","state_type":"gas","state_unit":"m3","costs":true,"consumption":true,"meter_values":true,"start_day":6238,"start_week":6238,"start_month":6
            sourceanalytix.0	2019-10-29 16:55:06.294	debug	Content custom of object : {"enabled":true,"alias":"Gasverbrauch","state_type":"gas","state_unit":"m3","costs":true,"consumption":true,"meter_values":true,"start_day":6238,"start_week":6238,"start_mo
            sourceanalytix.0	2019-10-29 16:55:06.294	debug	instanze name : sourceanalytix.0
            sourceanalytix.0	2019-10-29 16:55:06.293	info	Activate SourceAnalytix for : admin.0.Datenpunkte.Energie.Gaszähler.aktuell
            sourceanalytix.0	2019-10-29 16:55:06.291	debug	Result doc : {"rows":[{"id":"sonoff.0.Sonoff_25.POWER","value":{"influxdb.0":{"enabled":true,"changesOnly":true,"debounce":0,"maxLength":10,"retention":0,"changesRelogInterval":0,"changesMinDelta":0,
            sourceanalytix.0	2019-10-29 16:55:06.264	info	Initializing all enabled states for SourceAnalytix
            sourceanalytix.0	2019-10-29 16:55:06.264	info	Adapter SourceAnalytix startet :-)
            sourceanalytix.0	2019-10-29 16:55:06.251	info	starting. Version 0.2.5 in /opt/iobroker/node_modules/iobroker.sourceanalytix, node: v10.16.3
            sourceanalytix.0	2019-10-29 16:55:06.246	debug	statesDB connected
            sourceanalytix.0	2019-10-29 16:55:06.238	debug	objectDB connected
            host.IOBroker_Produktiv	2019-10-29 16:55:06.084	info	instance system.adapter.sourceanalytix.0 started with pid 4789
            host.IOBroker_Produktiv	2019-10-29 16:55:03.589	info	instance system.adapter.sourceanalytix.0 terminated with code 156 ()
            sourceanalytix.0	2019-10-29 16:55:03.582	info	Adapter SourceAnalytix stopped !
            sourceanalytix.0	2019-10-29 16:55:03.578	info	Adapter SourceAnalytix stopped !
            host.IOBroker_Produktiv	2019-10-29 16:55:03.578	info	stopInstance system.adapter.sourceanalytix.0 killing pid 15335
            host.IOBroker_Produktiv	2019-10-29 16:55:03.578	info	stopInstance system.adapter.sourceanalytix.0
            host.IOBroker_Produktiv	2019-10-29 16:55:03.578	info	object change system.adapter.sourceanalytix.0
            
            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @watcherkb last edited by

              @watcherkb dein unit ist da qm3, sollte m3 sein

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

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

                @watcherkb dein unit ist da qm3, sollte m3 sein

                du hast mich auf den richtigen Pfad gelenkt. Es waren wohl 2 Fehler drin: das q zu viel und das hochgestellte 3 also ³...

                danke dir, jetzt hat sich was an den Werten getan 🙂

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

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

                  was meinst du damit?
                  Hab bei mir Gas/Wasser (m3) mit eingebunden, läuft und zählt.

                  Hi,

                  durch watcherkb bin ich auf die Lösung gekommen bei wir wird der Wert auch in m³ mit der hochgestellten 3 geliefert.
                  Ich ändere das ab dann sollte es auch funktionieren.

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

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

                    durch watcherkb bin ich auf die Lösung gekommen bei wir wird der Wert auch in m³ mit der hochgestellten 3 geliefert.
                    Ich ändere das ab dann sollte es auch funktionieren.

                    crap, macht mir bitte ein issue auf GitHub die hoch 3 kan ich einbauen kein problem.
                    Hatte damals nur m3 gemacht ... ups 😕

                    1 Reply Last reply Reply Quote 0
                    • D
                      darkbrain85 @Dutchman last edited by

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

                      gerade dabei Discovergy adapter wieder vernünftig zum laufen zu bringen, danach ist SA dran 🙂
                      diesen Monat wird sich was tun

                      Mhhhhh.... war wohl nix... 😄
                      Hast du einen Zeitplan wann das wirklich kommt? Im Prinzip warte ich schon seit Anfang des Jahres sehnsüchtig darauf...

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

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

                        Hast du einen Zeitplan wann das wirklich kommt? Im Prinzip warte ich schon seit Anfang des Jahres sehnsüchtig darauf...

                        bon schon dran, arbeite gerade an multicast API und diesem hier die m3 werte gehen in dev anderen Sachen werden ich abarbeiten.
                        Muss leider auch code bissl umstrukturieren was es bissl komplizierter macht.

                        1 Reply Last reply Reply Quote 0
                        • hg6806
                          hg6806 Most Active last edited by

                          Noch 'ne kurze Frage.

                          Habe durch meine Solarthermie einen Parser-Wert "Leistung-aufaddiert".
                          Problem ist, dass nach dem Wert 999 keine 1000 sondern wieder 0. 😞
                          Ich bekomme das leider nur so aus dem Gerät heraus.

                          Habe das erst nach Tagen jetzt entdeckt, bzw. rausgefunden.

                          Ich würde jetzt erstmal die Adapter anhalten, Parser Offset 1000 machen und alle Werte in Objects Sourceanalytix ändern. Oder geht das in die Hose?
                          Könnte man das irgendwie vorher speichern für ein "undo"?

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

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

                            Problem ist, dass nach dem Wert 999 keine 1000 sondern wieder 0.
                            Ich bekomme das leider nur so aus dem Gerät heraus.

                            ich habe nicht direkt eine Lösung fuer dich, kan nur melden das dies in der nächsten version behoben sein wird.
                            Darin adoptieren ich das kumulative zählen, mit anderen Worten : SourceAnalytix mach den zaehelrstand und der wen der an auf 0 sprint zaehl er einfach weiter anstatt auch nach 0 zu gehen.

                            Dies wird konfigurabel sein den nicht jeder möchte das.

                            1 Reply Last reply Reply Quote 0
                            • hg6806
                              hg6806 Most Active last edited by

                              Habe es mal händisch versucht die Daten zu ändern, das endet immer in einem Chaos.
                              Ich hatte glücklicherweise die states.json gesichert und später drübergebügelt, danach hatte ich wenigstens wieder die alten Werte.

                              Tja, dann mal warten auf die heiß-ersehnte nächste Version!.

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

                                Kann mir jemand sagen, woher diese Fehlermeldungen im LOG rühren könnten?

                                Tagellang habe ich gar keine Fehlermeldungen und dann sporadisch wird mir das LOG mit "sourceanalytix.0 2019-11-16 09:20:42.320 error Error in case handling of cost type identificaton : undefined" voll gespamt

                                Hat jemand eine Idee dazu?

                                sourceanalytix.0	2019-11-16 09:20:42.320	error	Error in case handling of cost type identificaton : undefined
                                sourceanalytix.0	2019-11-16 09:20:42.320	debug	State object custom content: {"start_day":1.869,"start_week":0.003,"start_month":"0.977","start_quarter":"0.977"}
                                sourceanalytix.0	2019-11-16 09:20:42.320	debug	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
                                sourceanalytix.0	2019-11-16 09:20:42.320	debug	Calc obj root sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Today
                                sourceanalytix.0	2019-11-16 09:20:42.320	debug	Write calculations for : sonoff.0.Waschmaschine.ENERGY_Today
                                sourceanalytix.0	2019-11-16 09:20:42.320	debug	Instance name : sourceanalytix.0
                                sourceanalytix.0	2019-11-16 09:20:42.320	error	Error in case handling of cost type identificaton : undefined
                                
                                sourceanalytix.0	2019-11-16 09:47:58.448	error	Error in case handling of cost type identificaton : undefined
                                sourceanalytix.0	2019-11-16 09:47:58.448	debug	State object custom content: {"start_day":1.869,"start_week":0.003,"start_month":"0.977","start_quarter":"0.977"}
                                sourceanalytix.0	2019-11-16 09:47:58.448	debug	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
                                sourceanalytix.0	2019-11-16 09:47:58.448	debug	State object custom content: {"start_day":1.42,"start_week":0.727,"start_month":"1.326","start_quarter":"1.326"}
                                sourceanalytix.0	2019-11-16 09:47:58.433	debug	State object content: {"_id":"sonoff.0.Waschmaschine.ENERGY_Yesterday","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Waschmaschine ENERGY Y
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Calc obj root sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Today
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Write calculations for : sonoff.0.Waschmaschine.ENERGY_Today
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Instance name : sourceanalytix.0
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Calc obj root sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Yesterday
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Write calculations for : sonoff.0.Waschmaschine.ENERGY_Yesterday
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Instance name : sourceanalytix.0
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Meter Calculation executed
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated cost year : 68.97
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated cost quarter : 8.91
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated cost month : 2.86
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated cost week : 1.48
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated cost day : 0.01
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	example state string : sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Total.cost.01_current_day
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	delivery type .consumption.
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	cost type .cost.
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	objroot sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Total
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	year consumed 238.646
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	quarter consumed 30.84699999999998
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	month consumed 9.890999999999991
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	week consumed 5.109999999999985
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	day consumed 0.03999999999999204
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated reading day : 238.646
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated reading quarter : 30.847
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated reading month : 9.891
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated reading week : 5.110
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	calculated reading day : 0.040
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Start consumption calculations
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Delivery state set to : .consumption.
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	year start : 0
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	quarter start 207.799
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	month start 228.755
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	week start : 233.536
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	day start : 238.606
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	reading_start : 0
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Handle meter history : false
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Handle consumption calculations : true
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Cost unit : 0.289
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Cost basic : 6
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Calculation Factor : 0.289
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Handle cost calculations : true
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Meter calculated reading : 238.646
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Meter current reading : 238.646
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	State value output of unit factore calculation : 238.646
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Test unit : kwh
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	State value input for unit factore calculation : 238.646
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	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","name":
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	Case result : Electricity consumption
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	State object custom content: {"enabled":true,"alias":"","state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":false,"start_meassure":5864,"start_day":238.606,"start_week":233.5
                                sourceanalytix.0	2019-11-16 09:47:58.417	debug	State object content: {"_id":"sonoff.0.Waschmaschine.ENERGY_Total","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Waschmaschine ENERGY Total
                                sourceanalytix.0	2019-11-16 09:47:58.399	debug	Calc obj root sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Total
                                sourceanalytix.0	2019-11-16 09:47:58.399	debug	Write calculations for : sonoff.0.Waschmaschine.ENERGY_Total
                                sourceanalytix.0	2019-11-16 09:47:58.399	debug	Instance name : sourceanalytix.0
                                tankerkoenig.0	2019-11-16 09:47:56.732	info	Reading data from tankerkoenig ...
                                sourceanalytix.0	2019-11-16 09:47:52.350	error	Error in case handling of cost type identificaton : undefined
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	State object custom content: {"start_day":1.869,"start_week":0.003,"start_month":"0.977","start_quarter":"0.977"}
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	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
                                sourceanalytix.0	2019-11-16 09:47:52.350	error	Error in case handling of cost type identificaton : undefined
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	State object custom content: {"start_day":1.42,"start_week":0.727,"start_month":"1.326","start_quarter":"1.326"}
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	State object content: {"_id":"sonoff.0.Waschmaschine.ENERGY_Yesterday","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Waschmaschine ENERGY Y
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	Calc obj root sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Today
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	Write calculations for : sonoff.0.Waschmaschine.ENERGY_Today
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	Instance name : sourceanalytix.0
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	Calc obj root sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Yesterday
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	Write calculations for : sonoff.0.Waschmaschine.ENERGY_Yesterday
                                sourceanalytix.0	2019-11-16 09:47:52.350	debug	Instance name : sourceanalytix.0
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Meter Calculation executed
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated cost year : 68.97
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated cost quarter : 8.91
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated cost month : 2.86
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated cost week : 1.48
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated cost day : 0.01
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	example state string : sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Total.cost.01_current_day
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	delivery type .consumption.
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	cost type .cost.
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	objroot sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Total
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	year consumed 238.646
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	quarter consumed 30.84699999999998
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	month consumed 9.890999999999991
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	week consumed 5.109999999999985
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	day consumed 0.03999999999999204
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated reading day : 238.646
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated reading quarter : 30.847
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated reading month : 9.891
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated reading week : 5.110
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	calculated reading day : 0.040
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Start consumption calculations
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Delivery state set to : .consumption.
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	year start : 0
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	quarter start 207.799
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	month start 228.755
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	week start : 233.536
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	day start : 238.606
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	reading_start : 0
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Handle meter history : false
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Handle consumption calculations : true
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Cost unit : 0.289
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Cost basic : 6
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Calculation Factor : 0.289
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Handle cost calculations : true
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Meter calculated reading : 238.646
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Meter current reading : 238.646
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	State value output of unit factore calculation : 238.646
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	Test unit : kwh
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	State value input for unit factore calculation : 238.646
                                sourceanalytix.0	2019-11-16 09:47:52.334	debug	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","name":
                                sourceanalytix.0	2019-11-16 09:47:52.318	debug	Case result : Electricity consumption
                                sourceanalytix.0	2019-11-16 09:47:52.318	debug	State object custom content: {"enabled":true,"alias":"","state_type":"kWh_consumption","costs":true,"consumption":true,"meter_values":false,"start_meassure":5864,"start_day":238.606,"start_week":233.5
                                sourceanalytix.0	2019-11-16 09:47:52.318	debug	State object content: {"_id":"sonoff.0.Waschmaschine.ENERGY_Total","common":{"type":"number","role":"value.power.consumption","read":true,"write":false,"unit":"kWh","name":"Waschmaschine ENERGY Total
                                sourceanalytix.0	2019-11-16 09:47:52.318	debug	Calc obj root sourceanalytix.0.sonoff__0__Waschmaschine__ENERGY_Total
                                sourceanalytix.0	2019-11-16 09:47:52.318	debug	Write calculations for : sonoff.0.Waschmaschine.ENERGY_Total
                                sourceanalytix.0	2019-11-16 09:47:52.318	debug	Instance name : sourceanalytix.0
                                sourceanalytix.0	2019-11-16 09:47:46.353	error	Error in case handling of cost type identificaton : undefined
                                
                                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:

                                  Hat jemand eine Idee dazu?

                                  hi, was hast du hier auswaehlt ?

                                  Schermafbeelding 2019-11-17 om 17.44.06.png

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

                                    @Dutchman

                                    2019-11-17 17_48_26-Window.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:

                                      @Dutchman

                                      2019-11-17 17_48_26-Window.png

                                      gehe mal bitte bei diesen state auf dem schraubschlussel, dan unter raw und copy/paste mal den hinhält hier rein bitte

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

                                        {
                                          "_id": "sonoff.0.Waschmaschine.ENERGY_Total",
                                          "common": {
                                            "type": "number",
                                            "role": "value.power.consumption",
                                            "read": true,
                                            "write": false,
                                            "unit": "kWh",
                                            "name": "Waschmaschine ENERGY  Total",
                                            "custom": {
                                              "sourceanalytix.0": {
                                                "enabled": true,
                                                "alias": "",
                                                "state_type": "kWh_consumption",
                                                "costs": true,
                                                "consumption": true,
                                                "meter_values": false,
                                                "start_meassure": 5864,
                                                "start_day": 239.476,
                                                "start_week": 233.536,
                                                "start_month": 228.755,
                                                "start_quarter": 207.799,
                                                "start_year": 0,
                                                "state_unit": "kWh"
                                              }
                                            }
                                          },
                                          "native": {},
                                          "type": "state",
                                          "from": "system.adapter.sourceanalytix.0",
                                          "ts": 1573945200016,
                                          "acl": {
                                            "object": 1636,
                                            "state": 1636,
                                            "owner": "system.user.admin",
                                            "ownerGroup": "system.group.administrator"
                                          },
                                          "user": "system.user.admin"
                                        }
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Dutchman
                                          Dutchman Developer Most Active Administrators last edited by

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

                                          kWh_consumption

                                          das ist der Datenpunkt von total, im error log ist der today.

                                          btw: du solltest auch den energy total auswerten und nicht today da dieser jeden tag auf 0 springt

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

                                            Sorry verklickt - der ist ja auch gleich darunter 😉

                                            {
                                              "_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.87,
                                                    "start_week": 0.003,
                                                    "start_month": "0.977",
                                                    "start_quarter": "0.977"
                                                  }
                                                }
                                              },
                                              "native": {},
                                              "type": "state",
                                              "from": "system.adapter.sourceanalytix.0",
                                              "ts": 1573945200016,
                                              "acl": {
                                                "object": 1636,
                                                "state": 1636,
                                                "owner": "system.user.admin",
                                                "ownerGroup": "system.group.administrator"
                                              },
                                              "user": "system.user.admin"
                                            }
                                            

                                            Today ist auch gar nicht aktiviert

                                            2019-11-17 18_08_16-Window.png

                                            Today hole ich mir direkt aus dem Sonoff POW

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            956
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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