Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

    This topic has been deleted. Only users with topic management privileges can see it.
    • Fogg
      Fogg @Sender last edited by

      @sender Spannende Variante!! Klingt nach einer guten Lösung.

      Wenn ich das Intervall kenne kann ich die Werte nach längerer Zeit zurücksetzen. Beim Scheduler ist das einfach, beim Listener müsste ich das noch als Konfig mit angeben was das Reset-Intervall ist...

      S 2 Replies Last reply Reply Quote 0
      • Fogg
        Fogg @Haifisch_777 last edited by

        @haifisch_777 Das habe ich im neuesten Release (0.6.6) behoben. Bitte nochmals neu von github installieren.

        1 Reply Last reply Reply Quote 0
        • J
          Jackson_White last edited by

          @fogg Einen wunderschönen guten Abend.
          Ich habe probleme den Adapter zu instalieren, gibt es da was zu beachten ?

          $ ./iobroker url "https://github.com/phifogg/ioBroker.sainlogic" --debug
          install phifogg/ioBroker.sainlogic#b2226dcac5056624a34d4384cfb2d1eaf7e8f333
          NPM version: 6.14.11
          npm install phifogg/ioBroker.sainlogic#b2226dcac5056624a34d4384cfb2d1eaf7e8f333 --loglevel error --prefix "/opt/iobroker" (System call)
          
          > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/node-bluetooth> node-gyp configure build
          make: Entering directory '/opt/iobroker/node_modules/node-bluetooth/build'
            CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
          ../src/linux/BluetoothSerialPort.cc:18:6: error: variable or field ‘InitAll’ declared void   18 | void InitAll(Handle<Object> exports) {      |      ^~~~~~~
          ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope   18 | void InitAll(Handle<Object> exports) {      |              ^~~~~~../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token   18 | void InitAll(Handle<Object> exports) {      |                           ^
          ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope   18 | void InitAll(Handle<Object> exports) {      |                             ^~~~~~~
          In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope   23 | NODE_MODULE(BluetoothSerialPort, InitAll)      |                                  ^~~~~~~/home/iobroker/.cache/node-gyp/12.21.0/include/node/node.h:737:36: note: in definition of macro ‘NODE_MODULE_X’  737 |       (node::addon_register_func) (regfunc),                          \      |                                    ^~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’   23 | NODE_MODULE(BluetoothSerialPort, InitAll)      | ^~~~~~~~~~~
          make: *** [BluetoothSerialPort.target.mk:117: Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Error 1make: Leaving directory '/opt/iobroker/node_modules/node-bluetooth/build'
          gyp ERR! build error 
          gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:314:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)gyp ERR! System Linux 5.4.0-66-genericgyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v12.21.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
          + iobroker.sainlogic@0.6.6
          updated 1 package in 26.423s
          40 packages are looking for funding  run `npm fund` for details
          upload [4] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/words.js words.js application/javascript
          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
          process exited with code 0
          

          bin für jede Idee offen
          LG

          Fogg 1 Reply Last reply Reply Quote 0
          • Fogg
            Fogg @Jackson_White last edited by

            @jackson_white das klingt nicht nach einer Meldung des Adapters. Hier scheint noch ein Bluetooth Modul nicht sauber zu laufen bei Dir. Das braucht mein Adapter soweit ich weiss nicht. Kannst Du andere Adapter installieren?

            J 1 Reply Last reply Reply Quote 0
            • S
              Sender @Fogg last edited by

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

              Grüße...

              1 Reply Last reply Reply Quote 0
              • J
                Jackson_White @Fogg last edited by

                @fogg Ja, alle anderen Adapter lassen sich ohne Probleme installieren. Nur bei dem kommen die Fehler Meldungen beim Versuch, ihn zu installieren. Das Komische, es ist egal ob auf dem Pi oder einen anderen Server. Immer kommt das mit Bluetooth, habe ja nicht mal was angeschlossen, was Bluetooth hat,... bin für Tipps offen.

                LG

                Fogg 1 Reply Last reply Reply Quote 0
                • S
                  Sender @Fogg last edited by Sender

                  @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! 👍

                  1 Reply Last reply Reply Quote 1
                  • Fogg
                    Fogg @Jackson_White last edited by

                    @jackson_white said in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:

                    @fogg Ja, alle anderen Adapter lassen sich ohne Probleme installieren. Nur bei dem kommen die Fehler Meldungen beim Versuch, ihn zu installieren. Das Komische, es ist egal ob auf dem Pi oder einen anderen Server. Immer kommt das mit Bluetooth, habe ja nicht mal was angeschlossen, was Bluetooth hat,... bin für Tipps offen.

                    Das scheint das Problem von hier zu sein:
                    https://github.com/song940/node-bluetooth/issues/45

                    Welche Node-Version hast Du aktuell?

                    mdsaddam created this issue in song940/node-bluetooth

                    open Unable to install package #45

                    J 2 Replies Last reply Reply Quote 0
                    • J
                      Jackson_White @Fogg last edited by

                      @fogg Ich benutze momentan v12.21.0

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jackson_White @Fogg last edited by

                        @fogg Habe den Fehler wohl gefunden. war der der davor sitzt.😵

                        RaspiUser 1 Reply Last reply Reply Quote 0
                        • RaspiUser
                          RaspiUser @Jackson_White last edited by

                          @Fogg
                          Der Adapter möchte ja ein Update ...

                          adapter.JPG
                          ... die Aktualisierung läuft mit "Erfolgreich" durch ....
                          erfolg.JPG
                          ... aber es gibt ein paar Hinweise (die ich nicht einordnen kann)...

                          $ ./iobroker upgrade sainlogic
                          Update sainlogic from @0.6.4 to @0.6.6
                          NPM version: 6.14.11
                          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 requestingnpm 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-02T07_28_50_217Z-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
                          process exited with code 0
                          

                          ... und der Update-Hinweis bleibt bzw. die Version bei 0.6.4

                          Mache ich etwas falsch ?

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @RaspiUser last edited by

                            @RaspiUser

                            iobroker update
                            iobroker upgrade
                            
                            S RaspiUser 2 Replies Last reply Reply Quote 0
                            • S
                              Sender @Thomas Braun last edited by Sender

                              @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
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Sender last edited by Thomas Braun

                                @sender sagte in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:

                                NPM version: 7.5.2

                                Die Version 7 von npm funktioniert nicht gut in Verbindung mit ioBroker und sollte nicht verwendet werden. Installier npm@6.
                                Grundsätzlich scheint deine nodeJS-Installation 'krumm' zu sein. Zieh das gerade, siehe Link in meiner Signatur. Der Rest von OS ist auch nicht aktuell.

                                Bei sainlogic scheint aber auch die Versionslogik etwas durcheinander zu sein:

                                github:	0.7.0
                                latest:	0.6.1 for 10 months
                                stable:	0.6.6
                                

                                Die 0.6.1 lässt sich hier jedenfalls installieren.
                                Die 0.6.6 ist wohl zurückgezogen worden oder nicht richtig eingecheckt worden. Muss wohl @Fogg mal reinschauen.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Sender @Thomas Braun last edited by

                                  @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.

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Sender last edited by

                                    @sender Das stimmt, deine chaotische Installation von nodeJS trägt aber auch nicht zu einem konstistenten System bei.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      Sender @Thomas Braun last edited by

                                      @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
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Sender last edited by

                                        @sender
                                        Ja, passt.
                                        Rest vom Fest auch aktuell?

                                        uname -a
                                        sudo apt update
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          Sender @Thomas Braun last edited by

                                          @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!!!

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Sender last edited by

                                            @sender
                                            Mal den kompletten Rechner sauber durchgestartet?

                                            Thomas Braun S 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            845
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter froggit wh4000sh sainlogic wetterstation ws980wifi
                                            60
                                            326
                                            57573
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo