Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Sender

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 18
    • Best 1
    • Groups 1

    Sender

    @Sender

    Starter

    1
    Reputation
    5
    Profile views
    18
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Sender Follow
    Starter

    Best posts made by Sender

    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      @fogg Ich habe gerade gesehen, dass Du das auch auf GitHub verlinkt hast. Deshalb das Ganze hier nochmal "reday 4 import", so muss man es im Bedarfsfall nicht mühsam nachbauen. Es gibt noch mehr Werte die bei einigen Stationen offenbar nicht zurückgesetzt werden, wenn deren Wert "0" ist, UVraw z.Bsp. da ich die aber nicht nutze, habe ich sie auch nicht berücksichtigt. Im Bedarfsfall müssten diese auch noch "behandelt" werden.

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on" id="LNyTQS.BvTh-Rt9==?Kp" x="-62" y="13">
          <field name="OID">sainlogic.0.info.last_update</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="comment" id="an=XANa/0LYB%mYk%~~%">
              <field name="COMMENT">rain</field>
              <next>
                <block type="controls_if" id="6czyxJR+2pq9EHlr/f6A">
                  <value name="IF0">
                    <block type="logic_compare" id="$bBmCt.uvpR!XD[dM*.D">
                      <field name="OP">GT</field>
                      <value name="A">
                        <block type="math_arithmetic" id="w5(18=Tt2d@5U_|QQ9@$">
                          <field name="OP">DIVIDE</field>
                          <value name="A">
                            <shadow type="math_number" id="j3m$h0ULcH}t:!hbfO9O">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="math_arithmetic" id="oAu|pY%s2_^WoBbv0Qvh">
                              <field name="OP">MINUS</field>
                              <value name="A">
                                <shadow type="math_number" id="TV~:P}@+u:n$rZnU$,l;">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="get_value" id="?o)vRNl+D.{/3Z5}~Uxc">
                                  <field name="ATTR">ts</field>
                                  <field name="OID">sainlogic.0.info.last_update</field>
                                </block>
                              </value>
                              <value name="B">
                                <shadow type="math_number" id="o!i~UuUlu7BTw/=lu%DT">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="get_value" id="l+UPcH1_Ia.$Nxt?xll-">
                                  <field name="ATTR">ts</field>
                                  <field name="OID">sainlogic.0.weather.current.rain</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <shadow type="math_number" id="q`i17?|VKYfE5x}o8;;y">
                              <field name="NUM">6000</field>
                            </shadow>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="oS;a*H;^CR@64BMaH3`q">
                          <field name="NUM">30</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id=";3M$F_}:rOPw3mOuCX}k">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sainlogic.0.weather.current.rain</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="Q~dANYB]^-!CPjuTUjeR">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <next>
                    <block type="comment" id="Bqv-5+*nVvus6lBXw=X?">
                      <field name="COMMENT">solarradiation</field>
                      <next>
                        <block type="controls_if" id="|$h7nWjAd]~Yf6|:O2![">
                          <value name="IF0">
                            <block type="logic_compare" id="wx849liGGz4$n;f|RGoX">
                              <field name="OP">GT</field>
                              <value name="A">
                                <block type="math_arithmetic" id="~vy)ql0l(O%)U3hiLAn7">
                                  <field name="OP">DIVIDE</field>
                                  <value name="A">
                                    <shadow type="math_number">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="math_arithmetic" id="|lbR7]J)cv342Nzsu4Ao">
                                      <field name="OP">MINUS</field>
                                      <value name="A">
                                        <shadow type="math_number">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="get_value" id="*b~/DPrhimdCGtAA-0=e">
                                          <field name="ATTR">ts</field>
                                          <field name="OID">sainlogic.0.info.last_update</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="get_value" id="h?aHx;TG5VU]S)*hL()j">
                                          <field name="ATTR">ts</field>
                                          <field name="OID">sainlogic.0.weather.current.solarradiation</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number" id="7jRQv.z8^tBy8li9nsDq">
                                      <field name="NUM">6000</field>
                                    </shadow>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="*)%H}!$JWY!L.x8D;}2_">
                                  <field name="NUM">30</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="65zKOm(}=f8=3/Dt*Ilb">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sainlogic.0.weather.current.solarradiation</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="7-|M{G^ZY]zEgVjNWA:6">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <next>
                            <block type="comment" id="b;qGCpF7OdY1Y1k@t$C?">
                              <field name="COMMENT">uvi</field>
                              <next>
                                <block type="controls_if" id="YAPB9uywFoW*;q$v)5=o">
                                  <value name="IF0">
                                    <block type="logic_compare" id="%ID+[Zla|9E7-PQ^;Uw=">
                                      <field name="OP">GT</field>
                                      <value name="A">
                                        <block type="math_arithmetic" id="$41u^tf!uv2|rlc.;3j)">
                                          <field name="OP">DIVIDE</field>
                                          <value name="A">
                                            <shadow type="math_number">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="math_arithmetic" id="]jj_|f=M8}aP?R$.jF@s">
                                              <field name="OP">MINUS</field>
                                              <value name="A">
                                                <shadow type="math_number">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="get_value" id="hq5g3BaqWe:K(hE/@*.8">
                                                  <field name="ATTR">ts</field>
                                                  <field name="OID">sainlogic.0.info.last_update</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow type="math_number">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="get_value" id="El-m(h~{Nw{6ixL;kd*_">
                                                  <field name="ATTR">ts</field>
                                                  <field name="OID">sainlogic.0.weather.current.uvi</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="OmzN*u?+k7Ko{zcA;aq[">
                                              <field name="NUM">6000</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="jmLtbc$N+)@IHu0sw.HA">
                                          <field name="NUM">30</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="K9qy/]Rq;O6UF.%CKfdE">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">sainlogic.0.weather.current.uvi</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="[}vEL{=l2Y`=7~EjWGMv">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
          <next>
            <block type="schedule" id="LN%,Hr1oMT:faAwx,ow@">
              <field name="SCHEDULE">1 0 * * *</field>
              <statement name="STATEMENT">
                <block type="comment" id="+TM^s,iYmWV;;*x(L$3A">
                  <field name="COMMENT">dailyrain</field>
                  <next>
                    <block type="control" id="dnRQaJeg6I$GbKId071^">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sainlogic.0.weather.current.dailyrain</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="O-)w`IJXLZLj544/L8ZI">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="schedule" id="si?OSYOI=rQz;ngXZ,VM">
                  <field name="SCHEDULE">1 0 * * 0</field>
                  <statement name="STATEMENT">
                    <block type="comment" id="kDgZBec{YNRvZZt;w.%r">
                      <field name="COMMENT">weeklyrain</field>
                      <next>
                        <block type="control" id="[A1f?l6+(NuSV/:-;*w*">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">sainlogic.0.weather.current.weeklyrain</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="q^AI(ML=L3wQWs3/1r(X">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="schedule" id="IbYvVtndr:oD)GuPQ8%h">
                      <field name="SCHEDULE">1 0 1 * *</field>
                      <statement name="STATEMENT">
                        <block type="comment" id="X#2Pd,4PWUq-(mC(ohrC">
                          <field name="COMMENT">monthlyrain</field>
                          <next>
                            <block type="control" id="Lh#UdC(++.^mNP6T[@.L">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sainlogic.0.weather.current.monthlyrain</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="isDgIA!h{:es/tEB(.#e">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <next>
                        <block type="schedule" id="5Y,$op`8rIpNpC**;WRm">
                          <field name="SCHEDULE">1 0 1 1 *</field>
                          <statement name="STATEMENT">
                            <block type="comment" id="m:W!([@Pr`r-NdJ:[SLO">
                              <field name="COMMENT">yearlyrain</field>
                              <next>
                                <block type="control" id=".0+;eGUs2NfBax.ws2{M">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">sainlogic.0.weather.current.yearlyrain</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="hV#u:T;7q1S7f8dr{?To">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      Grüße und DANKE für Deine Arbeit! 👍

      posted in Tester
      S
      Sender

    Latest posts made by Sender

    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      @thomas-braun SO! läuft alles wieder...
      node-red-contrib-smartmeter hat sich heftig gegen einen rebuild gewehrt, die node.js Version hatte sich ja geändert.

      posted in Tester
      S
      Sender
    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      @thomas-braun ja, klar...

      posted in Tester
      S
      Sender
    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      @thomas-braun
      Ja, nur geht jetzt mein Node-Red nicht mehr, installierte Paletten sind zwar installiert, aber trotzdem nicht da und lassen sich werder de- noch neu installieren - YEAH!!!

      posted in Tester
      S
      Sender
    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      @thomas-braun nicht so schimpfen, ich bin doch sensibel... 👶 😆

      Isses so besser?

      /usr/bin/nodejs
      v14.16.0
      /usr/bin/node
      v14.16.0
      /usr/bin/npm
      6.14.11
      nodejs:
        Installiert:           14.16.0-1nodesource1
        Installationskandidat: 14.16.0-1nodesource1
        Versionstabelle:
       *** 14.16.0-1nodesource1 500
              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      
      posted in Tester
      S
      Sender
    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      @thomas-braun
      Danke für Deine Tipps! 👍
      Wird grad gehoben...

      Unabhängig davon, würde ich auch sagen, der Fehler beim Update hängt nicht an meiner "krummen" Installation, sondern an der Versionslogik.

      posted in Tester
      S
      Sender
    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      @thomas-braun
      Ich kann das Verhalten bestätigen, sowohl via GUI, als auch via Console, auch mittels

      iobroker update
      iobroker upgrade
      
      Update sainlogic from @0.6.4 to @0.6.6
      NPM version: 7.5.2
      npm install iobroker.sainlogic@0.6.6 --loglevel error --prefix "/opt/iobroker" (System call)
      npm ERR! code ETARGET
      npm ERR! notarget No matching version found for iobroker.sainlogic@0.6.6.
      npm ERR! notarget In most cases you or one of your dependencies are requesting
      npm ERR! notarget a package version that doesn't exist.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2021-04-02T12_32_41_613Z-debug.log
      upload [5] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/words.js words.js application/javascript
      upload [4] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/tsconfig.json tsconfig.json application/json
      upload [3] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/style.css style.css text/css
      upload [2] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/sainlogic.png sainlogic.png image/png
      upload [1] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/index_m.html index_m.html text/html
      upload [0] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/admin.d.ts admin.d.ts video/mp2t
      Adapter "sainlogic" updated
      

      Das Log sagt leider auch nicht wirklich Verwertbares:

      0 verbose cli [
      0 verbose cli   '/usr/local/bin/node',
      0 verbose cli   '/usr/local/bin/npm',
      0 verbose cli   'install',
      0 verbose cli   'iobroker.sainlogic@0.6.6',
      0 verbose cli   '--loglevel',
      0 verbose cli   'error',
      0 verbose cli   '--prefix',
      0 verbose cli   '/opt/iobroker'
      0 verbose cli ]
      1 info using npm@7.5.2
      2 info using node@v12.18.4
      3 timing config:load:defaults Completed in 5ms
      4 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 4ms
      5 timing config:load:builtin Completed in 4ms
      6 timing config:load:cli Completed in 5ms
      7 timing config:load:env Completed in 0ms
      8 timing config:load:file:/opt/iobroker/.npmrc Completed in 1ms
      9 timing config:load:project Completed in 2ms
      10 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms
      11 timing config:load:user Completed in 1ms
      12 timing config:load:file:/opt/iobroker/etc/npmrc Completed in 0ms
      13 timing config:load:global Completed in 0ms
      14 timing config:load:cafile Completed in 1ms
      15 timing config:load:validate Completed in 0ms
      16 timing config:load:setUserAgent Completed in 1ms
      17 timing config:load:setEnvs Completed in 2ms
      18 timing config:load Completed in 23ms
      19 verbose npm-session 4fa8a9885f304fb0
      20 timing npm:load Completed in 40ms
      21 timing arborist:ctor Completed in 2ms
      22 timing idealTree:init Completed in 2062ms
      23 timing idealTree:userRequests Completed in 11ms
      24 silly idealTree buildDeps
      25 silly fetch manifest iobroker.sainlogic@0.6.6
      26 http fetch GET 304 https://registry.npmjs.org/iobroker.sainlogic 3428ms (from cache)
      27 silly placeDep ROOT iobroker.sainlogic@ REPLACE for: iobroker.inst@2.0.3 want: 0.6.6
      28 timing idealTree:#root Completed in 3457ms
      29 timing idealTree:node_modules/iobroker.sainlogic Completed in 0ms
      30 timing idealTree:buildDeps Completed in 3460ms
      31 timing idealTree:fixDepFlags Completed in 54ms
      32 timing idealTree Completed in 5589ms
      33 timing command:install Completed in 5599ms
      34 verbose type version
      35 verbose stack iobroker.sainlogic: No matching version found for iobroker.sainlogic@0.6.6.
      35 verbose stack     at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:207:23)
      35 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:117:26
      35 verbose stack     at async Arborist.[nodeFromEdge] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:874:19)
      35 verbose stack     at async Arborist.[buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:824:11)
      35 verbose stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:209:7)
      35 verbose stack     at async Promise.all (index 1)
      35 verbose stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:127:5)
      35 verbose stack     at async install (/usr/local/lib/node_modules/npm/lib/install.js:38:3)
      36 verbose cwd /opt/iobroker
      37 verbose Linux 5.4.51-v7l+
      38 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.sainlogic@0.6.6" "--loglevel" "error" "--prefix" "/opt/iobroker"
      39 verbose node v12.18.4
      40 verbose npm  v7.5.2
      41 error code ETARGET
      42 error notarget No matching version found for iobroker.sainlogic@0.6.6.
      43 error notarget In most cases you or one of your dependencies are requesting
      43 error notarget a package version that doesn't exist.
      44 verbose exit 1
      
      posted in Tester
      S
      Sender
    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      @fogg Ich habe gerade gesehen, dass Du das auch auf GitHub verlinkt hast. Deshalb das Ganze hier nochmal "reday 4 import", so muss man es im Bedarfsfall nicht mühsam nachbauen. Es gibt noch mehr Werte die bei einigen Stationen offenbar nicht zurückgesetzt werden, wenn deren Wert "0" ist, UVraw z.Bsp. da ich die aber nicht nutze, habe ich sie auch nicht berücksichtigt. Im Bedarfsfall müssten diese auch noch "behandelt" werden.

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on" id="LNyTQS.BvTh-Rt9==?Kp" x="-62" y="13">
          <field name="OID">sainlogic.0.info.last_update</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="comment" id="an=XANa/0LYB%mYk%~~%">
              <field name="COMMENT">rain</field>
              <next>
                <block type="controls_if" id="6czyxJR+2pq9EHlr/f6A">
                  <value name="IF0">
                    <block type="logic_compare" id="$bBmCt.uvpR!XD[dM*.D">
                      <field name="OP">GT</field>
                      <value name="A">
                        <block type="math_arithmetic" id="w5(18=Tt2d@5U_|QQ9@$">
                          <field name="OP">DIVIDE</field>
                          <value name="A">
                            <shadow type="math_number" id="j3m$h0ULcH}t:!hbfO9O">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="math_arithmetic" id="oAu|pY%s2_^WoBbv0Qvh">
                              <field name="OP">MINUS</field>
                              <value name="A">
                                <shadow type="math_number" id="TV~:P}@+u:n$rZnU$,l;">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="get_value" id="?o)vRNl+D.{/3Z5}~Uxc">
                                  <field name="ATTR">ts</field>
                                  <field name="OID">sainlogic.0.info.last_update</field>
                                </block>
                              </value>
                              <value name="B">
                                <shadow type="math_number" id="o!i~UuUlu7BTw/=lu%DT">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="get_value" id="l+UPcH1_Ia.$Nxt?xll-">
                                  <field name="ATTR">ts</field>
                                  <field name="OID">sainlogic.0.weather.current.rain</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <shadow type="math_number" id="q`i17?|VKYfE5x}o8;;y">
                              <field name="NUM">6000</field>
                            </shadow>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="oS;a*H;^CR@64BMaH3`q">
                          <field name="NUM">30</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id=";3M$F_}:rOPw3mOuCX}k">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sainlogic.0.weather.current.rain</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="Q~dANYB]^-!CPjuTUjeR">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <next>
                    <block type="comment" id="Bqv-5+*nVvus6lBXw=X?">
                      <field name="COMMENT">solarradiation</field>
                      <next>
                        <block type="controls_if" id="|$h7nWjAd]~Yf6|:O2![">
                          <value name="IF0">
                            <block type="logic_compare" id="wx849liGGz4$n;f|RGoX">
                              <field name="OP">GT</field>
                              <value name="A">
                                <block type="math_arithmetic" id="~vy)ql0l(O%)U3hiLAn7">
                                  <field name="OP">DIVIDE</field>
                                  <value name="A">
                                    <shadow type="math_number">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="math_arithmetic" id="|lbR7]J)cv342Nzsu4Ao">
                                      <field name="OP">MINUS</field>
                                      <value name="A">
                                        <shadow type="math_number">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="get_value" id="*b~/DPrhimdCGtAA-0=e">
                                          <field name="ATTR">ts</field>
                                          <field name="OID">sainlogic.0.info.last_update</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="get_value" id="h?aHx;TG5VU]S)*hL()j">
                                          <field name="ATTR">ts</field>
                                          <field name="OID">sainlogic.0.weather.current.solarradiation</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number" id="7jRQv.z8^tBy8li9nsDq">
                                      <field name="NUM">6000</field>
                                    </shadow>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="*)%H}!$JWY!L.x8D;}2_">
                                  <field name="NUM">30</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="65zKOm(}=f8=3/Dt*Ilb">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sainlogic.0.weather.current.solarradiation</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="7-|M{G^ZY]zEgVjNWA:6">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <next>
                            <block type="comment" id="b;qGCpF7OdY1Y1k@t$C?">
                              <field name="COMMENT">uvi</field>
                              <next>
                                <block type="controls_if" id="YAPB9uywFoW*;q$v)5=o">
                                  <value name="IF0">
                                    <block type="logic_compare" id="%ID+[Zla|9E7-PQ^;Uw=">
                                      <field name="OP">GT</field>
                                      <value name="A">
                                        <block type="math_arithmetic" id="$41u^tf!uv2|rlc.;3j)">
                                          <field name="OP">DIVIDE</field>
                                          <value name="A">
                                            <shadow type="math_number">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="math_arithmetic" id="]jj_|f=M8}aP?R$.jF@s">
                                              <field name="OP">MINUS</field>
                                              <value name="A">
                                                <shadow type="math_number">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="get_value" id="hq5g3BaqWe:K(hE/@*.8">
                                                  <field name="ATTR">ts</field>
                                                  <field name="OID">sainlogic.0.info.last_update</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow type="math_number">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="get_value" id="El-m(h~{Nw{6ixL;kd*_">
                                                  <field name="ATTR">ts</field>
                                                  <field name="OID">sainlogic.0.weather.current.uvi</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="OmzN*u?+k7Ko{zcA;aq[">
                                              <field name="NUM">6000</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="jmLtbc$N+)@IHu0sw.HA">
                                          <field name="NUM">30</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="K9qy/]Rq;O6UF.%CKfdE">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">sainlogic.0.weather.current.uvi</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="[}vEL{=l2Y`=7~EjWGMv">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
          <next>
            <block type="schedule" id="LN%,Hr1oMT:faAwx,ow@">
              <field name="SCHEDULE">1 0 * * *</field>
              <statement name="STATEMENT">
                <block type="comment" id="+TM^s,iYmWV;;*x(L$3A">
                  <field name="COMMENT">dailyrain</field>
                  <next>
                    <block type="control" id="dnRQaJeg6I$GbKId071^">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sainlogic.0.weather.current.dailyrain</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="O-)w`IJXLZLj544/L8ZI">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="schedule" id="si?OSYOI=rQz;ngXZ,VM">
                  <field name="SCHEDULE">1 0 * * 0</field>
                  <statement name="STATEMENT">
                    <block type="comment" id="kDgZBec{YNRvZZt;w.%r">
                      <field name="COMMENT">weeklyrain</field>
                      <next>
                        <block type="control" id="[A1f?l6+(NuSV/:-;*w*">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">sainlogic.0.weather.current.weeklyrain</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="q^AI(ML=L3wQWs3/1r(X">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="schedule" id="IbYvVtndr:oD)GuPQ8%h">
                      <field name="SCHEDULE">1 0 1 * *</field>
                      <statement name="STATEMENT">
                        <block type="comment" id="X#2Pd,4PWUq-(mC(ohrC">
                          <field name="COMMENT">monthlyrain</field>
                          <next>
                            <block type="control" id="Lh#UdC(++.^mNP6T[@.L">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sainlogic.0.weather.current.monthlyrain</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="isDgIA!h{:es/tEB(.#e">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <next>
                        <block type="schedule" id="5Y,$op`8rIpNpC**;WRm">
                          <field name="SCHEDULE">1 0 1 1 *</field>
                          <statement name="STATEMENT">
                            <block type="comment" id="m:W!([@Pr`r-NdJ:[SLO">
                              <field name="COMMENT">yearlyrain</field>
                              <next>
                                <block type="control" id=".0+;eGUs2NfBax.ws2{M">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">sainlogic.0.weather.current.yearlyrain</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="hV#u:T;7q1S7f8dr{?To">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      Grüße und DANKE für Deine Arbeit! 👍

      posted in Tester
      S
      Sender
    • RE: Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

      Hallo @fogg,
      das stammt ja nicht von mir, sondern von @Neo110.
      Ehre, wem Ehre gebührt! 😉

      Grüße...

      posted in Tester
      S
      Sender
    • RE: Adapter "smartmeter"

      @homoran said in Adapter "smartmeter":

      wenn du den Zählerstand wenigstens Watt-genau bekommst dann ist das ok

      Ja, der Zählerstand in kWh kommt mit 3 Nachkommastellen...

      posted in ioBroker Allgemein
      S
      Sender
    • RE: Adapter "smartmeter"

      @homoran
      Hallo,
      es kommt über die IR-Schnittstelle meines MT174 tatsächlich kein Momentaverbrauch, also hab ich mir beholfen, indem ich einen Durchschnittsverbrauch aus den Änderungen der 2 aufeinanderfolgenden Zählerstände bilde, den zeitlichen Abstand der 2 Messungen habe ich ja selbst eingestellt. 😉
      Wenn ich es mir recht bedenke, scheint mir das sogar aussagekräftiger als eine Momentaufnahe zum Zeitpunkt X, die kann z.Bsp. durch einen Einschaltstrom völlig "verfälscht" sein.

      Danke an alle...

      posted in ioBroker Allgemein
      S
      Sender
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo