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

      Ok, habe ich vorerst 0 eigetragen, im Moment wird hier noch kein Update angezeigt, ich denke das kommt erst ab Tageswechsel?

      Kann man hier auch negative Werte eintragen?
      Dann würde ich den Zählerstand vom alten Zähler noch als Minus-Wert angeben.

      1 Reply Last reply Reply Quote 0
      • H
        Habedere last edited by

        Servus,
        hat jemand eine Idee wie ich am besten die Wochenkosten am besten grafisch darstelle?
        Möchte gerne die Kosten aus 5 Variablen (M-Bus, Scripte) wöchentlich tabellarisch vergleichen.
        Hab mich bisher nur mit flot beschäftigt, allerdings kann ich diese damit nicht einlesen...

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

          @Habedere guck dir grafana an

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

            Hallo,

            Gas und Wasser bzw. m³ ist nocht nicht supportet richtig?

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

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

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

                bei mir wird nichts gezählt (Version 0.2.5). Ich habe folgende Einstellungen vorgenommen:

                f294900d-6c1c-4edf-87dc-2be1a53239c4-image.png

                so sieht meine Objektstruktur seit der Einstellung von Samstag aus:

                32f84e89-aeb0-4a7a-80e9-307e8133ec58-image.png

                hat jemand eine Idee?

                Betriebssystem
                linux
                Architektur
                x64
                CPUs
                2
                Geschwindigkeit
                3504 MHz
                Modell
                Common KVM processor
                RAM
                3.82 GB
                System Betriebszeit
                8 T. 20:16:09
                Node.js
                v10.16.3 (Es gibt eine neuere Version: v10.17.0)
                NPM
                6.9.0

                crunchip 1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            930
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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