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

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

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [Major Update] SourceAnalytix v0.4.7-beta.0 released !

NEWS

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

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

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

[Major Update] SourceAnalytix v0.4.7-beta.0 released !

Geplant Angeheftet Gesperrt Verschoben Tester
sourceanalytixtestenadapterupdate
1.1k Beiträge 103 Kommentatoren 361.8k Aufrufe 93 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • crunchipC crunchip

    @Matis steht hier doch schon mehrmals im Thread.
    Mach nen cron z.b. 0:10uhr Adapter restart

    ? Offline
    ? Offline
    Ein ehemaliger Benutzer
    schrieb am zuletzt editiert von
    #281

    @crunchip
    Thx, das hatte ich bisher so auch nicht rausgelesen und warte darauf, dass am Adapter etwas gefixt wird. Nun läuft/zählt er aber mit restart-cron genau so/das was ich brauch inkl. Tageswechsel. :)

    M 1 Antwort Letzte Antwort
    0
    • ? Ein ehemaliger Benutzer

      @crunchip
      Thx, das hatte ich bisher so auch nicht rausgelesen und warte darauf, dass am Adapter etwas gefixt wird. Nun läuft/zählt er aber mit restart-cron genau so/das was ich brauch inkl. Tageswechsel. :)

      M Offline
      M Offline
      Matis
      schrieb am zuletzt editiert von
      #282

      ... naja heute war einer von 6 Werten bei Tageswechsel plötzlich null. 5 Werte sind sehr genau, einer oft über 20% daneben. So ganz ist das noch nicht rund, denke ich. Schade, denn das ist ein super Ansatz.
      Gibt‘s denn ne Möglichkeit auf einfache Weise Tagessummen aus history zu ermitteln?

      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        Matis
        schrieb am zuletzt editiert von
        #283

        Ich habe mir jetzt für meine 7 Werte ein einfaches skript geschrieben, akkumuliere die Sekundenwerte /3600 und habe meine Wh für den Tag.
        Die Werte sind dann auch etwas geringer und näher an den Zählerwerten (liegt wahrscheinlich daran in welchen Potenzen man rechnet).
        So brauche ich keinen cron restart, hab nicht plötzlich null-Werte und das reicht für mich.
        Vielleicht funzt sourceanalytix ja mal wieder, wäre schön, denn die ganzen Funktion wären schon hilfreich.

        0 D 2 Antworten Letzte Antwort
        0
        • M Matis

          Ich habe mir jetzt für meine 7 Werte ein einfaches skript geschrieben, akkumuliere die Sekundenwerte /3600 und habe meine Wh für den Tag.
          Die Werte sind dann auch etwas geringer und näher an den Zählerwerten (liegt wahrscheinlich daran in welchen Potenzen man rechnet).
          So brauche ich keinen cron restart, hab nicht plötzlich null-Werte und das reicht für mich.
          Vielleicht funzt sourceanalytix ja mal wieder, wäre schön, denn die ganzen Funktion wären schon hilfreich.

          0 Offline
          0 Offline
          0018
          schrieb am zuletzt editiert von
          #284

          @Matis Kannst du dein Script vielleicht zur Verfügung stellen? Mir würde eine Auswertung des Tagesverbrauches eigentlich auch reichen.

          Mfg
          0018

          0 1 Antwort Letzte Antwort
          0
          • 0 0018

            @Matis Kannst du dein Script vielleicht zur Verfügung stellen? Mir würde eine Auswertung des Tagesverbrauches eigentlich auch reichen.

            0 Offline
            0 Offline
            0018
            schrieb am zuletzt editiert von
            #285

            Hallo zusammen,

            habe gerade versucht mein Shelly 2.5 einzubinden. Habe dazu die einzelenen Energy-Counter in Wh in SA eingebunden. Im Log erhalte ich folgende Meldung:

            sourceanalytix.0	2020-07-31 09:47:44.819	warn	(4036) Object sourceanalytix.0.shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.costs.weeks.14 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
            sourceanalytix.0	2020-07-31 09:47:44.762	warn	(4036) This object will not be created in future versions. Please report this to the developer.
            sourceanalytix.0	2020-07-31 09:47:44.761	warn	(4036) Object shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.consumed.weeks.14 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
            sourceanalytix.0	2020-07-31 09:47:44.690	warn	(4036) This object will not be created in future versions. Please report this to the developer.
            sourceanalytix.0	2020-07-31 09:47:44.689	warn	(4036) Object sourceanalytix.0.shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.consumed.weeks.14 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "numbe
            sourceanalytix.0	2020-07-31 09:47:44.634	warn	(4036) This object will not be created in future versions. Please report this to the developer.
            sourceanalytix.0	2020-07-31 09:47:44.633	warn	(4036) Object shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.costs.weeks.13 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
            sourceanalytix.0	2020-07-31 09:47:44.576	warn	(4036) This object will not be created in future versions. Please report this to the developer.
            sourceanalytix.0	2020-07-31 09:47:44.575	warn	(4036) Object sourceanalytix.0.shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.costs.weeks.13 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
            sourceanalytix.0	2020-07-31 09:47:44.517	warn	(4036) This object will not be created in future versions. Please report this to the developer.
            sourceanalytix.0	2020-07-31 09:47:44.517	warn	(4036) Object shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.consumed.weeks.13 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
            sourceanalytix.0	2020-07-31 09:47:44.459	warn	(4036) This object will not be created in future versions. Please report this to the developer.
            sourceanalytix.0	2020-07-31 09:47:44.458	warn	(4036) Object sourceanalytix.0.shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.consumed.weeks.13 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "numbe
            sourceanalytix.0	2020-07-31 09:47:44.401	warn	(4036) This object will not be created in future versions. Please report this to the developer.
            sourceanalytix.0	2020-07-31 09:47:44.401	warn	(4036) Object shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.costs.weeks.12 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
            sourceanalytix.0	2020-07-31 09:47:44.344	warn	(4036) This object will not be created in future versions. Please report this to the developer.
            

            Das ist nur ein kleiner Auszug, bekomme die Meldung zu jedem Datenpunkt. Was hat dieses zu bedeuten?

            Kann man die Statusmeldungen

            sourceanalytix.0	2020-07-31 09:54:00.796	info	(4036) Meter Calculation executed consumed data for shelly.0.SHSW-25#68C63AF9D442#1.Relay1.Energy : {"consumedDay":8.996,"consumedWeek":8.996,"consumedMonth":8.996,"consumedQuarter":8.996,"consumedYea
            sourceanalytix.0	2020-07-31 09:54:00.792	info	(4036) Set calculated value 8.99635 on state : shelly__0__SHSW-25#68C63AF9D442#1__Relay1__Energy.Current_Reading}
            

            im Log irgendwie ausblenden? Sind mir sonst zu viele Einträge im Log zu SA.

            Mfg
            0018

            crunchipC 1 Antwort Letzte Antwort
            0
            • 0 0018

              Hallo zusammen,

              habe gerade versucht mein Shelly 2.5 einzubinden. Habe dazu die einzelenen Energy-Counter in Wh in SA eingebunden. Im Log erhalte ich folgende Meldung:

              sourceanalytix.0	2020-07-31 09:47:44.819	warn	(4036) Object sourceanalytix.0.shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.costs.weeks.14 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
              sourceanalytix.0	2020-07-31 09:47:44.762	warn	(4036) This object will not be created in future versions. Please report this to the developer.
              sourceanalytix.0	2020-07-31 09:47:44.761	warn	(4036) Object shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.consumed.weeks.14 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
              sourceanalytix.0	2020-07-31 09:47:44.690	warn	(4036) This object will not be created in future versions. Please report this to the developer.
              sourceanalytix.0	2020-07-31 09:47:44.689	warn	(4036) Object sourceanalytix.0.shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.consumed.weeks.14 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "numbe
              sourceanalytix.0	2020-07-31 09:47:44.634	warn	(4036) This object will not be created in future versions. Please report this to the developer.
              sourceanalytix.0	2020-07-31 09:47:44.633	warn	(4036) Object shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.costs.weeks.13 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
              sourceanalytix.0	2020-07-31 09:47:44.576	warn	(4036) This object will not be created in future versions. Please report this to the developer.
              sourceanalytix.0	2020-07-31 09:47:44.575	warn	(4036) Object sourceanalytix.0.shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.costs.weeks.13 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
              sourceanalytix.0	2020-07-31 09:47:44.517	warn	(4036) This object will not be created in future versions. Please report this to the developer.
              sourceanalytix.0	2020-07-31 09:47:44.517	warn	(4036) Object shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.consumed.weeks.13 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
              sourceanalytix.0	2020-07-31 09:47:44.459	warn	(4036) This object will not be created in future versions. Please report this to the developer.
              sourceanalytix.0	2020-07-31 09:47:44.458	warn	(4036) Object sourceanalytix.0.shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.consumed.weeks.13 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "numbe
              sourceanalytix.0	2020-07-31 09:47:44.401	warn	(4036) This object will not be created in future versions. Please report this to the developer.
              sourceanalytix.0	2020-07-31 09:47:44.401	warn	(4036) Object shelly__0__SHSW-25#68C63AF9D442#1__Relay0__Energy.2020.costs.weeks.12 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
              sourceanalytix.0	2020-07-31 09:47:44.344	warn	(4036) This object will not be created in future versions. Please report this to the developer.
              

              Das ist nur ein kleiner Auszug, bekomme die Meldung zu jedem Datenpunkt. Was hat dieses zu bedeuten?

              Kann man die Statusmeldungen

              sourceanalytix.0	2020-07-31 09:54:00.796	info	(4036) Meter Calculation executed consumed data for shelly.0.SHSW-25#68C63AF9D442#1.Relay1.Energy : {"consumedDay":8.996,"consumedWeek":8.996,"consumedMonth":8.996,"consumedQuarter":8.996,"consumedYea
              sourceanalytix.0	2020-07-31 09:54:00.792	info	(4036) Set calculated value 8.99635 on state : shelly__0__SHSW-25#68C63AF9D442#1__Relay1__Energy.Current_Reading}
              

              im Log irgendwie ausblenden? Sind mir sonst zu viele Einträge im Log zu SA.

              crunchipC Abwesend
              crunchipC Abwesend
              crunchip
              Forum Testing Most Active
              schrieb am zuletzt editiert von crunchip
              #286

              @0018 du brauchst Typ "Number" deines DP
              Stell die Instanz auf "warn" (instanzen- expertenmodus-logstufe)

              umgestiegen von Proxmox auf Unraid

              0 1 Antwort Letzte Antwort
              0
              • crunchipC crunchip

                @0018 du brauchst Typ "Number" deines DP
                Stell die Instanz auf "warn" (instanzen- expertenmodus-logstufe)

                0 Offline
                0 Offline
                0018
                schrieb am zuletzt editiert von
                #287

                @crunchip Die ausgewählten Datenpunkte aus dem Shelly-Adapter haben den type "number".

                {
                  "from": "system.adapter.shelly.0",
                  "user": "system.user.admin",
                  "ts": 1595840820570,
                  "common": {
                    "name": "Energy",
                    "type": "number",
                    "role": "value.power",
                    "unit": "Wh",
                    "def": 0,
                    "read": true,
                    "write": false,
                

                so wie ich das aus dem Log entnehme

                Expected "string" or "object", received "number"
                

                erwartet SA string oder object, er bekommt aber eine number. Aber ein Enegieverbrauch ist doch eigentlich immer eine number oder nicht?

                Mfg
                0018

                crunchipC 1 Antwort Letzte Antwort
                0
                • M Matis

                  Ich habe mir jetzt für meine 7 Werte ein einfaches skript geschrieben, akkumuliere die Sekundenwerte /3600 und habe meine Wh für den Tag.
                  Die Werte sind dann auch etwas geringer und näher an den Zählerwerten (liegt wahrscheinlich daran in welchen Potenzen man rechnet).
                  So brauche ich keinen cron restart, hab nicht plötzlich null-Werte und das reicht für mich.
                  Vielleicht funzt sourceanalytix ja mal wieder, wäre schön, denn die ganzen Funktion wären schon hilfreich.

                  D Offline
                  D Offline
                  dtp
                  schrieb am zuletzt editiert von
                  #288

                  @Matis sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:

                  Vielleicht funzt sourceanalytix ja mal wieder, wäre schön, denn die ganzen Funktion wären schon hilfreich.

                  Wäre schön. Im Moment ist dieser Adapter leider genau so unbrauchbar, wie der statistics-Adapter.

                  ioBroker im Docker-Container auf Synology DiskStation DS718+, HomeMatic IP über CCU3, IKEA Dirigera inkl. Matter, Apple Homekit, Amazon Alexa.

                  1 Antwort Letzte Antwort
                  0
                  • 0 0018

                    @crunchip Die ausgewählten Datenpunkte aus dem Shelly-Adapter haben den type "number".

                    {
                      "from": "system.adapter.shelly.0",
                      "user": "system.user.admin",
                      "ts": 1595840820570,
                      "common": {
                        "name": "Energy",
                        "type": "number",
                        "role": "value.power",
                        "unit": "Wh",
                        "def": 0,
                        "read": true,
                        "write": false,
                    

                    so wie ich das aus dem Log entnehme

                    Expected "string" or "object", received "number"
                    

                    erwartet SA string oder object, er bekommt aber eine number. Aber ein Enegieverbrauch ist doch eigentlich immer eine number oder nicht?

                    crunchipC Abwesend
                    crunchipC Abwesend
                    crunchip
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #289

                    @0018 https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/134

                    umgestiegen von Proxmox auf Unraid

                    1 Antwort Letzte Antwort
                    0
                    • AtifanA Offline
                      AtifanA Offline
                      Atifan
                      schrieb am zuletzt editiert von
                      #290

                      Hi, kann man schon sagen wann ca. die Tageswerte wieder implementiert werden (von Mo-So) ?

                      1 Antwort Letzte Antwort
                      1
                      • Palm_ManiacP Offline
                        Palm_ManiacP Offline
                        Palm_Maniac
                        schrieb am zuletzt editiert von Palm_Maniac
                        #291

                        Die Frage ist, ob sich hier irgendwann am Adapter noch etwas tun wird. Leider gibt es aktuell dazu keine Alternative, außer viele Skripte, deshalb hoffen wir mal auf ein "Lebenszeichen". :(

                        1 Antwort Letzte Antwort
                        0
                        • JB_SullivanJ Offline
                          JB_SullivanJ Offline
                          JB_Sullivan
                          schrieb am zuletzt editiert von
                          #292

                          Bei Facebook meldet sich der Entwickler hin und wieder mal zu Wort - hier aber ist Funkstille

                          ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

                          AtifanA 1 Antwort Letzte Antwort
                          0
                          • JB_SullivanJ JB_Sullivan

                            Bei Facebook meldet sich der Entwickler hin und wieder mal zu Wort - hier aber ist Funkstille

                            AtifanA Offline
                            AtifanA Offline
                            Atifan
                            schrieb am zuletzt editiert von
                            #293

                            Gibt es evtl. Alternativen bzw. hat jemand Scripte mit denen man Verbrauchswerte für die letzten 7 Tage erzeugen kann?

                            vauvau07V A 2 Antworten Letzte Antwort
                            0
                            • AtifanA Atifan

                              Gibt es evtl. Alternativen bzw. hat jemand Scripte mit denen man Verbrauchswerte für die letzten 7 Tage erzeugen kann?

                              vauvau07V Online
                              vauvau07V Online
                              vauvau07
                              schrieb am zuletzt editiert von
                              #294

                              @Atifan
                              ich habe ein Blockly für den letzten Tag,Woche Monat,Jahr für diesen Adapter

                              <xml xmlns="https://developers.google.com/blockly/xml">
                               <block type="schedule" id="XHN0@w_-bjdzn)jtY|QV" x="-587" y="-1312">
                                 <field name="SCHEDULE">0 * * * *</field>
                                 <statement name="STATEMENT">
                                   <block type="update" id="*ju7[3DwPQUnp,5}l.yo">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Referenz_Verbrauch_laufende_Stunde</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="Nhr2dcA^C^7n3{9.4(bq">
                                         <field name="ATTR">val</field>
                                         <field name="OID">hm-rpc.0.MEQ0705007.1.ENERGY_COUNTER</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_if" id="iC)BVwq6:y):Wr)VjrRw">
                                         <value name="IF0">
                                           <block type="logic_compare" id="dRhUfRd96D(MS|NYp`UV">
                                             <field name="OP">LT</field>
                                             <value name="A">
                                               <block type="get_value" id="}+x[i]73#(?SN#*jxe9n">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_laufende_Stunde_max</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="get_value" id="Ed2.de/FV%kjC[LZ5kJ;">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_laufende_Stunde</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="update" id=".0}=uLww61XoxN,J^Be8">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_laufende_Stunde_max</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="get_value" id="YvDm9#tAN%Nd}p~jlYWo">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_laufende_Stunde</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="schedule" id="K.-?J%TwOh{wQFTNF@7%">
                                     <field name="SCHEDULE">59 23 * * *</field>
                                     <statement name="STATEMENT">
                                       <block type="update" id="]7`m!c7*22WNqVfP`}2^">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_gestern</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="get_value" id="Q`-Bh0G0-Ocd_J#n0[|4">
                                             <field name="ATTR">val</field>
                                             <field name="OID">sourceanalytix.0.hm-rpc__0__MEQ0705007__1__ENERGY_COUNTER.consumption.01_current_day</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="update" id="7:ugm%E|S.VB7W0U%LZ+">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                             <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Kosten_gestern</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">1000</field>
                                             <field name="UNIT">ms</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="VALUE">
                                               <block type="get_value" id="f3?*e61b7B#,PMIouXOX">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">sourceanalytix.0.hm-rpc__0__MEQ0705007__1__ENERGY_COUNTER.cost.01_current_day</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="update" id="t%WYL.^YKa30[)]Mu:%)">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Leistungsaufnahme_aktuell_max</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="xCi^b%qdVcPik*;%,|_)">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="update" id="%EmGI~@R1Y2/~?RT+?c3">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_laufende_Stunde_max</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="math_number" id="%2PW!=P;j^uud5iq8R+y">
                                                         <field name="NUM">0</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="schedule" id="[Q+S}a_XYRB+Tdk7x%pZ">
                                         <field name="SCHEDULE">0 0 * * 1</field>
                                         <statement name="STATEMENT">
                                           <block type="update" id="7pGRB@ylwUn+-KP-Gf;0">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_letzte_Woche</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="get_value" id="N#}7T]uAR1av3VKD!N+i">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">sourceanalytix.0.hm-rpc__0__MEQ0705007__1__ENERGY_COUNTER.consumption.02_current_week</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="schedule" id="5[yFxQ@FoI:BYk[4IVJ/">
                                             <field name="SCHEDULE">0 0 1 * *</field>
                                             <statement name="STATEMENT">
                                               <block type="update" id="}B_a|T@qN`Gsb+%1tCiw">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_letzter_Monat</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="get_value" id="8|_CMfXm+O5;u{?dJRNT">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">sourceanalytix.0.hm-rpc__0__MEQ0705007__1__ENERGY_COUNTER.consumption.03_current_month</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="on" id="V.-l]O)ki97rSsi{,gtm">
                                                 <field name="OID">hm-rpc.0.MEQ0705007.1.ENERGY_COUNTER</field>
                                                 <field name="CONDITION">ne</field>
                                                 <field name="ACK_CONDITION"></field>
                                                 <statement name="STATEMENT">
                                                   <block type="update" id="3:kmsqschBQX?{7=1@{~">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_laufende_Stunde</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="math_arithmetic" id="[%))4rGnos0:[#X~119+">
                                                         <field name="OP">DIVIDE</field>
                                                         <value name="A">
                                                           <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="HqeOH8D-aiI1J`5GF8xd">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="math_arithmetic" id="x/?]H0Kl`=R6(tb|6lB#">
                                                             <field name="OP">MINUS</field>
                                                             <value name="A">
                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="_.pu?F1?l`fcHVjby-Uf">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="get_value" id="*E,@^v_!@2=,y?gP5Ck+">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">hm-rpc.0.MEQ0705007.1.ENERGY_COUNTER</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="?/waTO)fpqk4cTd:a/@m">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="get_value" id="u8)Ov;3JVS{Y(NV-;5ah">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Referenz_Verbrauch_laufende_Stunde</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number" id=";H?YT-xf!A/4dCQ`q7wU">
                                                             <field name="NUM">1000</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="update" id="5N/ds(@#cuSA385N5|rS">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                         <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Zaehlerstand</field>
                                                         <field name="WITH_DELAY">TRUE</field>
                                                         <field name="DELAY_MS">1000</field>
                                                         <field name="UNIT">ms</field>
                                                         <field name="CLEAR_RUNNING">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_arithmetic" id="sX_nxv{!5@Qs@8S4E+h5">
                                                             <field name="OP">DIVIDE</field>
                                                             <value name="A">
                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="o2sG+O(14bkyCC/f=gvW">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="math_arithmetic" id="Y0F,DC%7Xg-O%*TC1r,|">
                                                                 <field name="OP">ADD</field>
                                                                 <value name="A">
                                                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="PDslwRX~Bq0XJq6{,N-;">
                                                                     <field name="NUM">1</field>
                                                                   </shadow>
                                                                   <block type="get_value" id="vHP,J3d+|4mi:cKktCRl">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Referenz_Zaehlerstand</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="MDv?xMDdL.w`cd8XeC+1">
                                                                     <field name="NUM">1</field>
                                                                   </shadow>
                                                                   <block type="get_value" id="3.`HaM^kBX:Piav`Z==O">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">hm-rpc.0.MEQ0705007.1.ENERGY_COUNTER</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow type="math_number" id="v6fAR#RiufFa[O9SRdA7">
                                                                 <field name="NUM">1000</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="update" id="bq4Y!xqOe:W,?~3qlb6y">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_seit_letzter_Ablesung</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="math_arithmetic" id="QFh%=rVOTo9NDZ,c.Gk-">
                                                                 <field name="OP">MINUS</field>
                                                                 <value name="A">
                                                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="VI1qk42.U@SE`.q@0z7!">
                                                                     <field name="NUM">1</field>
                                                                   </shadow>
                                                                   <block type="get_value" id="J3Y:;AVpm:*x_d9pqk}0">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">javascript.2.Strom.Zaehlerst_Strom</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="}n)+j%c}Iy1/T=I8U])(">
                                                                     <field name="NUM">124278.92</field>
                                                                   </shadow>
                                                                   <block type="get_value" id="kL!Oqh_u6#Ogne63nIlQ">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Referenz_Verbrauch_seit_letzter_Ablesung</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="update" id="eY3g-.;V+D%KgVUX=c{%">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Kosten_kWh</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_arithmetic" id="w(U5vz2bTuV^U|z#fvKw">
                                                                     <field name="OP">DIVIDE</field>
                                                                     <value name="A">
                                                                       <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=":24_Yu~}-}ogRzgTW)qD">
                                                                         <field name="NUM">1</field>
                                                                       </shadow>
                                                                       <block type="get_value" id="g/`]Ht8I3BZ;lP?p(%HG">
                                                                         <field name="ATTR">val</field>
                                                                         <field name="OID">sourceanalytix.0.hm-rpc__0__MEQ0705007__1__ENERGY_COUNTER.cost.01_current_day</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4Rvd8Fht%/;1_Of;~Gh:">
                                                                         <field name="NUM">1</field>
                                                                       </shadow>
                                                                       <block type="get_value" id="C(;^m(?G|wIs4ChcW1Kk">
                                                                         <field name="ATTR">val</field>
                                                                         <field name="OID">sourceanalytix.0.hm-rpc__0__MEQ0705007__1__ENERGY_COUNTER.consumption.01_current_day</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="update" id="5jT_:Sc0;WGG;^[ZCC/Z">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Kosten_seit_letzter_Ablesung</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="math_arithmetic" id="el-M![;x{|cQl!a}FW:8">
                                                                         <field name="OP">MULTIPLY</field>
                                                                         <value name="A">
                                                                           <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=":24_Yu~}-}ogRzgTW)qD">
                                                                             <field name="NUM">1</field>
                                                                           </shadow>
                                                                           <block type="get_value" id="Z[WHiPE:E{+cNGK=c!X4">
                                                                             <field name="ATTR">val</field>
                                                                             <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_seit_letzter_Ablesung</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4Rvd8Fht%/;1_Of;~Gh:">
                                                                             <field name="NUM">1</field>
                                                                           </shadow>
                                                                           <block type="math_arithmetic" id="joHez~j1/|iJ7?2NeRAt">
                                                                             <field name="OP">DIVIDE</field>
                                                                             <value name="A">
                                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4Z|)~e3rX,`l*=*KY(]?">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                               <block type="get_value" id="Bp7u%LpV1K-p|++}`sZl">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">sourceanalytix.0.hm-rpc__0__MEQ0705007__1__ENERGY_COUNTER.cost.01_current_day</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="3]}?S#~tl=MkCV2yTl?=">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                               <block type="get_value" id="gVt[,4BL?wVUjQdJ9Z-q">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">sourceanalytix.0.hm-rpc__0__MEQ0705007__1__ENERGY_COUNTER.consumption.01_current_day</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="controls_if" id="Q?MRtB7lLyq%ncUNMC]t">
                                                                         <value name="IF0">
                                                                           <block type="logic_compare" id="?F,VX!%;pPt#*RW.RWv;">
                                                                             <field name="OP">LT</field>
                                                                             <value name="A">
                                                                               <block type="get_value" id="lrd?hNTbTq`%0sx.;*ii">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Leistungsaufnahme_aktuell_max</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <block type="get_value" id="Z7Z`NXRr!=aoz%:I;-RZ">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">hm-rpc.0.MEQ0705007.1.POWER</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <statement name="DO0">
                                                                           <block type="update" id="D)c;gm7[rLdTia*wf=]*">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                             <field name="OID">javascript.2.Strom_SourceAnalytix.Strom_Leistungsaufnahme_aktuell_max</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="get_value" id="o=k8*t-@d0VOU,0A*oaW">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">hm-rpc.0.MEQ0705007.1.POWER</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="create" id="yl=ip~bMA2AAjj%F[PR;">
                                                     <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Korrektur_Zaehlerstand</field>
                                                     <statement name="STATEMENT">
                                                       <block type="create" id="B[*y/D?4=VA1%0Zh8E1#">
                                                         <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Referenz_Zaehlerstand</field>
                                                         <statement name="STATEMENT">
                                                           <block type="create" id="FL3)llI85EDlG]~CaYCC">
                                                             <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Referenz_Verbrauch_seit_letzter_Ablesung</field>
                                                             <statement name="STATEMENT">
                                                               <block type="create" id="a^@T|OfVWBmdDua!3KY@">
                                                                 <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Zaehlerstand</field>
                                                                 <statement name="STATEMENT">
                                                                   <block type="create" id="v7}6]~SR+oO~#i:rBPZd">
                                                                     <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_seit_letzter_Ablesung</field>
                                                                     <statement name="STATEMENT">
                                                                       <block type="create" id="Y;{H!iKzq82eU^##*jH|">
                                                                         <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Kosten_kWh</field>
                                                                         <statement name="STATEMENT">
                                                                           <block type="create" id="*D[a*OhsAB7EnqV(ikpi">
                                                                             <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Kosten_seit_letzter_Ablesung</field>
                                                                             <statement name="STATEMENT">
                                                                               <block type="create" id="-hLR]yv{K^vC!rb1o13[">
                                                                                 <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_gestern</field>
                                                                                 <statement name="STATEMENT">
                                                                                   <block type="create" id="Xa=nTviSS`Eb^FcU[vpV">
                                                                                     <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Kosten_gestern</field>
                                                                                     <statement name="STATEMENT">
                                                                                       <block type="create" id="2oy((28j4FRi8Rw))d}{">
                                                                                         <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_letzte_Woche</field>
                                                                                         <statement name="STATEMENT">
                                                                                           <block type="create" id="C8s.jPXrZC|_?V:Bh%hY">
                                                                                             <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_letzter_Monat</field>
                                                                                             <statement name="STATEMENT">
                                                                                               <block type="create" id="=Kdpy}|}+e]hT.DhBRVH">
                                                                                                 <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_letztes_Jahr</field>
                                                                                               </block>
                                                                                             </statement>
                                                                                           </block>
                                                                                         </statement>
                                                                                       </block>
                                                                                     </statement>
                                                                                   </block>
                                                                                 </statement>
                                                                               </block>
                                                                             </statement>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </statement>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="create" id="^z:/aoogc*2oz(]/OpGP">
                                                         <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Leistungsaufnahme_aktuell_max</field>
                                                         <statement name="STATEMENT">
                                                           <block type="create" id="-aZ+@mDz2G)K:|pCr24G">
                                                             <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_laufende_Stunde</field>
                                                             <statement name="STATEMENT">
                                                               <block type="create" id="V=wW=Cu^1:FQj^FRB9},">
                                                                 <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Verbrauch_laufende_Stunde_max</field>
                                                                 <statement name="STATEMENT">
                                                                   <block type="create" id="2rCPSrUD9i^jUGoKSz-2">
                                                                     <field name="NAME">javascript.2.Strom_SourceAnalytix.Strom_Referenz_Verbrauch_laufende_Stunde</field>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                              </xml>_text
                              

                              Gruß Volkmar

                              1 Antwort Letzte Antwort
                              0
                              • Palm_ManiacP Offline
                                Palm_ManiacP Offline
                                Palm_Maniac
                                schrieb am zuletzt editiert von
                                #295

                                Vielleicht gibt es ja jemanden, der mal über den Code drüber schauen kann, um diesen leidigen NULL-Fehler auszumerzen. Das würde ja schon extrem helfen.

                                1 Antwort Letzte Antwort
                                0
                                • AtifanA Atifan

                                  Gibt es evtl. Alternativen bzw. hat jemand Scripte mit denen man Verbrauchswerte für die letzten 7 Tage erzeugen kann?

                                  A Offline
                                  A Offline
                                  Adnim
                                  schrieb am zuletzt editiert von
                                  #296

                                  @Atifan sagte in [Major Update] SourceAnalytix 0.4.0 complete code rebuild:

                                  Gibt es evtl. Alternativen bzw. hat jemand Scripte mit denen man Verbrauchswerte für die letzten 7 Tage erzeugen kann?

                                  evtl passt das skript hier bei euch auch?

                                  https://github.com/hdering/homematic_verbrauchszaehler

                                  1 Antwort Letzte Antwort
                                  0
                                  • M Offline
                                    M Offline
                                    mbpresents
                                    schrieb am zuletzt editiert von mbpresents
                                    #297

                                    Hallo zusammen,
                                    ich habe mir heute erstmals den SourceAnalytix Adapter installiert um Strom-/Kosten vom Zähler (Bezug/Einspeisung) zu analysieren.
                                    Verknüpfung mit Zählerwerten (Smartmeter-Adapter) für Bezug und Einspeisung klappte und stehen jetzt unter weeks/months/quarter zur Verfügung. Diese würde ich gerne in eine InfluxDB schreiben und anschließend in Grafana visualisieren.
                                    Mir stellen sich zwei Fragen:

                                    1. zur Zeit sehe ich diese Werte unter Sourceanalytix.0 im Ordner Jahr 2020.
                                      Am Bsp der Monate kann ich jeden einzelnen Monat konfigurieren das dieser in die InfluxDB geschrieben wird.
                                      Bei der Konfiguration des Monatswert Januar sehe ich das der Datenpunkt wie folgt heißt: "sourceanalytix.0.smartmeter__0__1-0:1_8_0__255__value.2020.costs.months.01_January"
                                      Wie verhält sich das ganze bei einem Jahreswechsel?
                                      Wird dann automatisch einen neues Jahr erstellt oder einfach angepasst auf das neue Jahr?
                                      Müssen die Monate des neuen Jahres dann wiederholt für das schreiben Datenpunkte in die influxDB neu konfiguriert werden?

                                    2. gibt es einen Möglichkeit alle Monate etc auf einmal für das schreiben in eine Datenbank (Bsp. influx) zu konfigurieren? Im Moment erscheint der Aufwand recht hoch für jeden einzelnen Monat (noch aufwendiger wären die Kalenderwochen) zum schreiben in die InfluxDB zu konfigurieren.

                                    Vieleicht habe ich auch einfach ein paar Punkte übersehen.
                                    Freue mich auf Infos.

                                    Grüße

                                    A 1 Antwort Letzte Antwort
                                    0
                                    • M mbpresents

                                      Hallo zusammen,
                                      ich habe mir heute erstmals den SourceAnalytix Adapter installiert um Strom-/Kosten vom Zähler (Bezug/Einspeisung) zu analysieren.
                                      Verknüpfung mit Zählerwerten (Smartmeter-Adapter) für Bezug und Einspeisung klappte und stehen jetzt unter weeks/months/quarter zur Verfügung. Diese würde ich gerne in eine InfluxDB schreiben und anschließend in Grafana visualisieren.
                                      Mir stellen sich zwei Fragen:

                                      1. zur Zeit sehe ich diese Werte unter Sourceanalytix.0 im Ordner Jahr 2020.
                                        Am Bsp der Monate kann ich jeden einzelnen Monat konfigurieren das dieser in die InfluxDB geschrieben wird.
                                        Bei der Konfiguration des Monatswert Januar sehe ich das der Datenpunkt wie folgt heißt: "sourceanalytix.0.smartmeter__0__1-0:1_8_0__255__value.2020.costs.months.01_January"
                                        Wie verhält sich das ganze bei einem Jahreswechsel?
                                        Wird dann automatisch einen neues Jahr erstellt oder einfach angepasst auf das neue Jahr?
                                        Müssen die Monate des neuen Jahres dann wiederholt für das schreiben Datenpunkte in die influxDB neu konfiguriert werden?

                                      2. gibt es einen Möglichkeit alle Monate etc auf einmal für das schreiben in eine Datenbank (Bsp. influx) zu konfigurieren? Im Moment erscheint der Aufwand recht hoch für jeden einzelnen Monat (noch aufwendiger wären die Kalenderwochen) zum schreiben in die InfluxDB zu konfigurieren.

                                      Vieleicht habe ich auch einfach ein paar Punkte übersehen.
                                      Freue mich auf Infos.

                                      Grüße

                                      A Offline
                                      A Offline
                                      Andy200877
                                      schrieb am zuletzt editiert von
                                      #298

                                      @mbpresents

                                      Ich würde da über ein kleines Script,
                                      den aktuellen Tages / Wochen und Monatsverbrauch nehmen und diesen in einen eigenen Datenpunkt schreiben.
                                      z.B. :

                                      • täglich um 23:59 Uhr den aktuellen Tagesverbrauch in einen eigenen Datenpunkt schreiben.
                                      • jeden Sonntag um 23:59 Uhr den aktuellen Wochenverbrauch in einen eigenen Datenpunkt schreiben.
                                      • jeden letzten Tag des Monats um 23:59 Uhr den aktuellen Monatsverbrauch in einen eigenen Datenpunkt schreiben.

                                      Diese Datenpunkte dann nach Grafana, SQL, oder sonst wohin aufzeichen.
                                      Damit umgehst du das Jahres / Monatsproblem...

                                      https://github.com/Andy200877/intex_poollampe

                                      M 1 Antwort Letzte Antwort
                                      0
                                      • Amnesia1211A Offline
                                        Amnesia1211A Offline
                                        Amnesia1211
                                        schrieb am zuletzt editiert von
                                        #299

                                        @Dutchman

                                        Hier ein Auszug aus dem Log, hoffe es Hilft dir bei der Fehlersuche.

                                        2020-08-14 04:53:25.465 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                        2020-08-14 04:53:25.511 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.consumed.weeks.28 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                        2020-08-14 04:53:25.511 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                        2020-08-14 04:53:25.558 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.meterReadings.weeks.28 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                        2020-08-14 04:53:25.558 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                        2020-08-14 04:53:25.603 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.costs.weeks.28 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                        2020-08-14 04:53:25.604 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                        2020-08-14 04:53:25.650 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.consumed.weeks.29 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                        2020-08-14 04:53:25.650 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                        2020-08-14 04:53:25.696 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.meterReadings.weeks.29 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                        2020-08-14 04:53:25.696 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                        

                                        Das ganze ging noch so weiter aber dann wird das hier zu groß denke ich....
                                        Danke schon mal für deine Mühe und Hilfe.


                                        Man muss nicht alles wissen, nur wissen wo es steht.
                                        Fragen schadet aber auch nicht :spock-hand:


                                        D 1 Antwort Letzte Antwort
                                        0
                                        • Amnesia1211A Amnesia1211

                                          @Dutchman

                                          Hier ein Auszug aus dem Log, hoffe es Hilft dir bei der Fehlersuche.

                                          2020-08-14 04:53:25.465 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                          2020-08-14 04:53:25.511 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.consumed.weeks.28 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                          2020-08-14 04:53:25.511 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                          2020-08-14 04:53:25.558 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.meterReadings.weeks.28 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                          2020-08-14 04:53:25.558 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                          2020-08-14 04:53:25.603 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.costs.weeks.28 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                          2020-08-14 04:53:25.604 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                          2020-08-14 04:53:25.650 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.consumed.weeks.29 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                          2020-08-14 04:53:25.650 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                          2020-08-14 04:53:25.696 - warn: sourceanalytix.0 (29949) Object sonoff__0__NAS0__ENERGY_Power.2020.meterReadings.weeks.29 is invalid: obj.common.name has an invalid type! Expected "string" or "object", received "number"
                                          2020-08-14 04:53:25.696 - warn: sourceanalytix.0 (29949) This object will not be created in future versions. Please report this to the developer.
                                          

                                          Das ganze ging noch so weiter aber dann wird das hier zu groß denke ich....
                                          Danke schon mal für deine Mühe und Hilfe.

                                          D Offline
                                          D Offline
                                          dtp
                                          schrieb am zuletzt editiert von dtp
                                          #300

                                          @Amnesia1211 Diese Warnmeldungen hatte ich auch zuhauf. War mit ein Grund, weshalb ich den Adapter erst mal wieder deinstalliert habe.

                                          ioBroker im Docker-Container auf Synology DiskStation DS718+, HomeMatic IP über CCU3, IKEA Dirigera inkl. Matter, Apple Homekit, Amazon Alexa.

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          736

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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