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

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Text in Base64 codieren und Datei von Netzlaufwerk suchen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    15
    1
    213

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Text in Base64 codieren und Datei von Netzlaufwerk suchen

Geplant Angeheftet Gesperrt Verschoben Blockly
58 Beiträge 5 Kommentatoren 5.2k Aufrufe 4 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.
  • F fastfoot

    @chris76e

    Das sollte dir ausreichen
    BlocklyCover.PNG

    <xml xmlns="https://developers.google.com/blockly/xml">
     <variables>
       <variable id="8;HpY]B2OxIN[kdORi-N">text</variable>
       <variable id="u+mE0j_ZSEIC7C5U$t5h">cover</variable>
       <variable id="xLn/#U__],S7chRg;8|f">b64</variable>
       <variable id="}::%ssNR6x.*%p5dXe;X">pfad</variable>
     </variables>
     <block type="procedures_defcustomreturn" id="?=Ght)|4a^y+NM^zYle." x="62" y="38">
       <mutation statements="false">
         <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
       </mutation>
       <field name="NAME">encode</field>
       <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQpLnRvU3RyaW5nKCdiYXNlNjQnKTs=</field>
       <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
     </block>
     <block type="procedures_defcustomreturn" id="Iodb:IxRxNP!s`/!v3)?" x="63" y="63">
       <mutation statements="false">
         <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
       </mutation>
       <field name="NAME">decode</field>
       <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQsJ2Jhc2U2NCcpLnRvU3RyaW5nKCd1dGY4Jyk7</field>
       <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
     </block>
     <block type="variables_set" id="g^5.h*(*]0_nqmg[wRxH" x="63" y="88">
       <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
       <value name="VALUE">
         <block type="text" id="ke8i-7n!ZN[JTeQ6:j[M">
           <field name="TEXT">guardians of the galaxy vol. 2</field>
         </block>
       </value>
       <next>
         <block type="variables_set" id="QszkP[4Nizg/fDtBww`Q">
           <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
           <value name="VALUE">
             <block type="procedures_callcustomreturn" id="p7|Y?YW|q;N!s%E=k`lq" inline="true">
               <mutation name="encode">
                 <arg name="text"></arg>
               </mutation>
               <value name="ARG0">
                 <block type="variables_get" id="b@80qrRs|+hN72O=jHln">
                   <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                 </block>
               </value>
             </block>
           </value>
           <next>
             <block type="variables_set" id="!gB}Q]POG(3$CjWbLpt5">
               <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
               <value name="VALUE">
                 <block type="procedures_callcustomreturn" id="+f,Ibj@iy(ON!Eeyu#pE" inline="true">
                   <mutation name="decode">
                     <arg name="text"></arg>
                   </mutation>
                   <value name="ARG0">
                     <block type="variables_get" id="^Y66h3Kir=,,ax^nE%#f">
                       <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                     </block>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="variables_set" id="]eSeI7=%3a),QIMc|3$J">
                   <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                   <value name="VALUE">
                     <block type="text_join" id="eI)24{)OJmyLTw5_HhmQ">
                       <mutation items="2"></mutation>
                       <value name="ADD0">
                         <block type="text" id="FKr2Mj?/yu8tc-LJhe9%">
                           <field name="TEXT">/media/hdd/AdvancedEventLibrary/cover/</field>
                         </block>
                       </value>
                       <value name="ADD1">
                         <block type="variables_get" id="XpM,P786cfc.bD0P-69g">
                           <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <next>
                     <block type="debug" id="mWdUp_h/%vZCKta7i37/" inline="true">
                       <field name="Severity">log</field>
                       <value name="TEXT">
                         <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                           <field name="TEXT">test</field>
                         </shadow>
                         <block type="variables_get" id=".G.W].MtuFq|y5T%+^rF">
                           <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                         </block>
                       </value>
                       <next>
                         <block type="debug" id="~KlN^Lx4XN2rUzXYJToc" inline="true">
                           <field name="Severity">log</field>
                           <value name="TEXT">
                             <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                               <field name="TEXT">test</field>
                             </shadow>
                             <block type="variables_get" id="cHCV_bj|j`iqlpH=mww`">
                               <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                             </block>
                           </value>
                           <next>
                             <block type="debug" id="cC:Z=[Nu#d+kf0RXZz=3" inline="true">
                               <field name="Severity">log</field>
                               <value name="TEXT">
                                 <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                   <field name="TEXT">test</field>
                                 </shadow>
                                 <block type="variables_get" id="cZ.r6CGJHp^,[+=h_7R_">
                                   <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="debug" id="v;TV6+Xg$T:|X/*-j|2N" inline="true">
                                   <field name="Severity">log</field>
                                   <value name="TEXT">
                                     <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                       <field name="TEXT">test</field>
                                     </shadow>
                                     <block type="variables_get" id="i;CEywOS#6*f`_N389|_">
                                       <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </next>
         </block>
       </next>
     </block>
    </xml>
    

    Chris76eC Online
    Chris76eC Online
    Chris76e
    schrieb am zuletzt editiert von
    #3

    @fastfoot Danke, das hilft schonmal sehr viel. Habe aber noch das Problem wie ich auf

    /media/hdd/AdvancedEventLibrary/cover/
    

    Komme, das ist das Verzeichniss meiner Vu+ Box. Die Box ist in ioBroker nur mit dem Enigma2 Adapter verbunden.

    1 Antwort Letzte Antwort
    0
    • ArmilarA Offline
      ArmilarA Offline
      Armilar
      Most Active Forum Testing
      schrieb am zuletzt editiert von Armilar
      #4

      @chris76e

      Ist immer wieder erstaunlich, wie lang diese Blocklys sind:

      console.log(Buffer.from("Z3VhcmRpYW5zIG9mIHRoZSBnYWxheHkgdm9sLiAy", 'base64').toString('ascii'));
      

      Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
      https://github.com/joBr99/nspanel-lovelace-ui/wiki

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      1 Antwort Letzte Antwort
      0
      • Chris76eC Online
        Chris76eC Online
        Chris76e
        schrieb am zuletzt editiert von Chris76e
        #5

        @armilar Verstehe ich nicht. Muss doch erst den Original Text in Kleinbuchstaben umwandeln und den dann in Base64 codieren.

        @all
        So habe ich die Box auf einer anderen Box gemountet. Wie kann ich das jetzt in ioBroker machen. ioBroker läuft bei mir als VM in Proxmox

        <cifs>
         <mount>
          <active>True</active>
          <hdd_replacement>False</hdd_replacement>
          <ip>192.168.0.90</ip>
          <sharename>VUUNO4KSE</sharename>
          <sharedir>Harddisk</sharedir>
          <options>rw</options>
          <username>username</username>
          <password>password</password>
          <mount_system>autofs</mount_system>
         </mount>
        </cifs>
        

        Bis hier funktioniert soweit das Blockly

        Screenshot 2023-10-15 234415.png

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable id="8;HpY]B2OxIN[kdORi-N">text</variable>
            <variable id="u+mE0j_ZSEIC7C5U$t5h">cover</variable>
            <variable id="xLn/#U__],S7chRg;8|f">b64</variable>
            <variable id="}::%ssNR6x.*%p5dXe;X">pfad</variable>
          </variables>
          <block type="procedures_defcustomreturn" id="?=Ght)|4a^y+NM^zYle." x="62" y="38">
            <mutation statements="false">
              <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
            </mutation>
            <field name="NAME">encode</field>
            <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQpLnRvU3RyaW5nKCdiYXNlNjQnKTs=</field>
            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          </block>
          <block type="procedures_defcustomreturn" id="Iodb:IxRxNP!s`/!v3)?" x="63" y="63">
            <mutation statements="false">
              <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
            </mutation>
            <field name="NAME">decode</field>
            <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQsJ2Jhc2U2NCcpLnRvU3RyaW5nKCd1dGY4Jyk7</field>
            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          </block>
          <block type="on_ext" id=";BQ]hK-$BEtMZZ4tgV@O" x="38" y="113">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="`)(YH7idz`2PrRnxQUxg">
                <field name="oid">enigma2.0.enigma2.PROGRAMM</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="variables_set" id="g^5.h*(*]0_nqmg[wRxH">
                <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                <value name="VALUE">
                  <block type="text_changeCase" id="HA|TL!COs9cF!|6oNh7!">
                    <field name="CASE">LOWERCASE</field>
                    <value name="TEXT">
                      <shadow type="text" id="U[4nc?On@l%8e-nHUYX_">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="get_value" id="1W(:w+PscF40i{,+m|%K">
                        <field name="ATTR">val</field>
                        <field name="OID">enigma2.0.enigma2.PROGRAMM</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="QszkP[4Nizg/fDtBww`Q">
                    <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                    <value name="VALUE">
                      <block type="procedures_callcustomreturn" id="p7|Y?YW|q;N!s%E=k`lq" inline="true">
                        <mutation name="encode">
                          <arg name="text"></arg>
                        </mutation>
                        <value name="ARG0">
                          <block type="variables_get" id="b@80qrRs|+hN72O=jHln">
                            <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="!gB}Q]POG(3$CjWbLpt5">
                        <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                        <value name="VALUE">
                          <block type="procedures_callcustomreturn" id="+f,Ibj@iy(ON!Eeyu#pE" inline="true">
                            <mutation name="decode">
                              <arg name="text"></arg>
                            </mutation>
                            <value name="ARG0">
                              <block type="variables_get" id="^Y66h3Kir=,,ax^nE%#f">
                                <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="]eSeI7=%3a),QIMc|3$J">
                            <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                            <value name="VALUE">
                              <block type="text_join" id="eI)24{)OJmyLTw5_HhmQ">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="FKr2Mj?/yu8tc-LJhe9%">
                                    <field name="TEXT">/media/hdd/AdvancedEventLibrary/cover/</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="XpM,P786cfc.bD0P-69g">
                                    <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="_.raL^Q`azDem*Vm^M+i">
                                    <field name="TEXT">.jpg</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="debug" id="mWdUp_h/%vZCKta7i37/" inline="true">
                                <field name="Severity">log</field>
                                <value name="TEXT">
                                  <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                    <field name="TEXT">test</field>
                                  </shadow>
                                  <block type="variables_get" id=".G.W].MtuFq|y5T%+^rF">
                                    <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="~KlN^Lx4XN2rUzXYJToc" inline="true">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="variables_get" id="cHCV_bj|j`iqlpH=mww`">
                                        <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="debug" id="cC:Z=[Nu#d+kf0RXZz=3" inline="true">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="variables_get" id="cZ.r6CGJHp^,[+=h_7R_">
                                            <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="v;TV6+Xg$T:|X/*-j|2N" inline="true">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                                <field name="TEXT">test</field>
                                              </shadow>
                                              <block type="variables_get" id="i;CEywOS#6*f`_N389|_">
                                                <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </xml>
        
        ArmilarA F 2 Antworten Letzte Antwort
        0
        • Chris76eC Chris76e

          @armilar Verstehe ich nicht. Muss doch erst den Original Text in Kleinbuchstaben umwandeln und den dann in Base64 codieren.

          @all
          So habe ich die Box auf einer anderen Box gemountet. Wie kann ich das jetzt in ioBroker machen. ioBroker läuft bei mir als VM in Proxmox

          <cifs>
           <mount>
            <active>True</active>
            <hdd_replacement>False</hdd_replacement>
            <ip>192.168.0.90</ip>
            <sharename>VUUNO4KSE</sharename>
            <sharedir>Harddisk</sharedir>
            <options>rw</options>
            <username>username</username>
            <password>password</password>
            <mount_system>autofs</mount_system>
           </mount>
          </cifs>
          

          Bis hier funktioniert soweit das Blockly

          Screenshot 2023-10-15 234415.png

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="8;HpY]B2OxIN[kdORi-N">text</variable>
              <variable id="u+mE0j_ZSEIC7C5U$t5h">cover</variable>
              <variable id="xLn/#U__],S7chRg;8|f">b64</variable>
              <variable id="}::%ssNR6x.*%p5dXe;X">pfad</variable>
            </variables>
            <block type="procedures_defcustomreturn" id="?=Ght)|4a^y+NM^zYle." x="62" y="38">
              <mutation statements="false">
                <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
              </mutation>
              <field name="NAME">encode</field>
              <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQpLnRvU3RyaW5nKCdiYXNlNjQnKTs=</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            </block>
            <block type="procedures_defcustomreturn" id="Iodb:IxRxNP!s`/!v3)?" x="63" y="63">
              <mutation statements="false">
                <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
              </mutation>
              <field name="NAME">decode</field>
              <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQsJ2Jhc2U2NCcpLnRvU3RyaW5nKCd1dGY4Jyk7</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            </block>
            <block type="on_ext" id=";BQ]hK-$BEtMZZ4tgV@O" x="38" y="113">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="`)(YH7idz`2PrRnxQUxg">
                  <field name="oid">enigma2.0.enigma2.PROGRAMM</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="variables_set" id="g^5.h*(*]0_nqmg[wRxH">
                  <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                  <value name="VALUE">
                    <block type="text_changeCase" id="HA|TL!COs9cF!|6oNh7!">
                      <field name="CASE">LOWERCASE</field>
                      <value name="TEXT">
                        <shadow type="text" id="U[4nc?On@l%8e-nHUYX_">
                          <field name="TEXT">abc</field>
                        </shadow>
                        <block type="get_value" id="1W(:w+PscF40i{,+m|%K">
                          <field name="ATTR">val</field>
                          <field name="OID">enigma2.0.enigma2.PROGRAMM</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="QszkP[4Nizg/fDtBww`Q">
                      <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                      <value name="VALUE">
                        <block type="procedures_callcustomreturn" id="p7|Y?YW|q;N!s%E=k`lq" inline="true">
                          <mutation name="encode">
                            <arg name="text"></arg>
                          </mutation>
                          <value name="ARG0">
                            <block type="variables_get" id="b@80qrRs|+hN72O=jHln">
                              <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="!gB}Q]POG(3$CjWbLpt5">
                          <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                          <value name="VALUE">
                            <block type="procedures_callcustomreturn" id="+f,Ibj@iy(ON!Eeyu#pE" inline="true">
                              <mutation name="decode">
                                <arg name="text"></arg>
                              </mutation>
                              <value name="ARG0">
                                <block type="variables_get" id="^Y66h3Kir=,,ax^nE%#f">
                                  <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="]eSeI7=%3a),QIMc|3$J">
                              <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                              <value name="VALUE">
                                <block type="text_join" id="eI)24{)OJmyLTw5_HhmQ">
                                  <mutation items="3"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="FKr2Mj?/yu8tc-LJhe9%">
                                      <field name="TEXT">/media/hdd/AdvancedEventLibrary/cover/</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="variables_get" id="XpM,P786cfc.bD0P-69g">
                                      <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="text" id="_.raL^Q`azDem*Vm^M+i">
                                      <field name="TEXT">.jpg</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="debug" id="mWdUp_h/%vZCKta7i37/" inline="true">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                      <field name="TEXT">test</field>
                                    </shadow>
                                    <block type="variables_get" id=".G.W].MtuFq|y5T%+^rF">
                                      <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="~KlN^Lx4XN2rUzXYJToc" inline="true">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                          <field name="TEXT">test</field>
                                        </shadow>
                                        <block type="variables_get" id="cHCV_bj|j`iqlpH=mww`">
                                          <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="debug" id="cC:Z=[Nu#d+kf0RXZz=3" inline="true">
                                          <field name="Severity">log</field>
                                          <value name="TEXT">
                                            <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                              <field name="TEXT">test</field>
                                            </shadow>
                                            <block type="variables_get" id="cZ.r6CGJHp^,[+=h_7R_">
                                              <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="debug" id="v;TV6+Xg$T:|X/*-j|2N" inline="true">
                                              <field name="Severity">log</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                                  <field name="TEXT">test</field>
                                                </shadow>
                                                <block type="variables_get" id="i;CEywOS#6*f`_N389|_">
                                                  <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </xml>
          
          ArmilarA Offline
          ArmilarA Offline
          Armilar
          Most Active Forum Testing
          schrieb am zuletzt editiert von Armilar
          #6

          @chris76e

          Jetzt mit toLowerCase (Hatte die vorher noch nicht)

          17f4d677-0709-4709-8c47-01d1e1059d1b-image.png

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="8;HpY]B2OxIN[kdORi-N">text</variable>
              <variable id="u+mE0j_ZSEIC7C5U$t5h">cover</variable>
              <variable id="xLn/#U__],S7chRg;8|f">b64</variable>
              <variable id="}::%ssNR6x.*%p5dXe;X">pfad</variable>
            </variables>
            <block type="procedures_defcustomreturn" id="rY;j^;~*L]2/F7RXQ:vP" x="63" y="12">
              <mutation statements="false">
                <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
              </mutation>
              <field name="NAME">lowCase</field>
              <field name="SCRIPT">cmV0dXJuIHRleHQudG9Mb3dlckNhc2UoKTs=</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            </block>
            <block type="procedures_defcustomreturn" id="?=Ght)|4a^y+NM^zYle." x="62" y="38">
              <mutation statements="false">
                <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
              </mutation>
              <field name="NAME">encode</field>
              <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQpLnRvU3RyaW5nKCdiYXNlNjQnKTs=</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            </block>
            <block type="procedures_defcustomreturn" id="Iodb:IxRxNP!s`/!v3)?" x="63" y="63">
              <mutation statements="false">
                <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
              </mutation>
              <field name="NAME">decode</field>
              <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQsJ2Jhc2U2NCcpLnRvU3RyaW5nKCd1dGY4Jyk7</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            </block>
            <block type="variables_set" id="g^5.h*(*]0_nqmg[wRxH" x="63" y="88">
              <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
              <value name="VALUE">
                <block type="procedures_callcustomreturn" id="w?SQy@+y*Ql0~VC/6/v.">
                  <mutation name="lowCase">
                    <arg name="text"></arg>
                  </mutation>
                  <value name="ARG0">
                    <block type="text" id="ke8i-7n!ZN[JTeQ6:j[M">
                      <field name="TEXT">Guardians of the Galaxy Vol. 2</field>
                    </block>
                  </value>
                </block>
              </value>
              <next>
                <block type="variables_set" id="QszkP[4Nizg/fDtBww`Q">
                  <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                  <value name="VALUE">
                    <block type="procedures_callcustomreturn" id="p7|Y?YW|q;N!s%E=k`lq" inline="true">
                      <mutation name="encode">
                        <arg name="text"></arg>
                      </mutation>
                      <value name="ARG0">
                        <block type="variables_get" id="b@80qrRs|+hN72O=jHln">
                          <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="!gB}Q]POG(3$CjWbLpt5">
                      <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                      <value name="VALUE">
                        <block type="procedures_callcustomreturn" id="+f,Ibj@iy(ON!Eeyu#pE" inline="true">
                          <mutation name="decode">
                            <arg name="text"></arg>
                          </mutation>
                          <value name="ARG0">
                            <block type="variables_get" id="^Y66h3Kir=,,ax^nE%#f">
                              <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="]eSeI7=%3a),QIMc|3$J">
                          <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                          <value name="VALUE">
                            <block type="text_join" id="eI)24{)OJmyLTw5_HhmQ">
                              <mutation items="2"></mutation>
                              <value name="ADD0">
                                <block type="text" id="FKr2Mj?/yu8tc-LJhe9%">
                                  <field name="TEXT">/media/hdd/AdvancedEventLibrary/cover/</field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="variables_get" id="XpM,P786cfc.bD0P-69g">
                                  <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="debug" id="mWdUp_h/%vZCKta7i37/" inline="true">
                              <field name="Severity">log</field>
                              <value name="TEXT">
                                <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                  <field name="TEXT">test</field>
                                </shadow>
                                <block type="variables_get" id=".G.W].MtuFq|y5T%+^rF">
                                  <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                                </block>
                              </value>
                              <next>
                                <block type="debug" id="~KlN^Lx4XN2rUzXYJToc" inline="true">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                      <field name="TEXT">test</field>
                                    </shadow>
                                    <block type="variables_get" id="cHCV_bj|j`iqlpH=mww`">
                                      <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="cC:Z=[Nu#d+kf0RXZz=3" inline="true">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                          <field name="TEXT">test</field>
                                        </shadow>
                                        <block type="variables_get" id="cZ.r6CGJHp^,[+=h_7R_">
                                          <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="debug" id="v;TV6+Xg$T:|X/*-j|2N" inline="true">
                                          <field name="Severity">log</field>
                                          <value name="TEXT">
                                            <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                              <field name="TEXT">test</field>
                                            </shadow>
                                            <block type="variables_get" id="i;CEywOS#6*f`_N389|_">
                                              <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </xml>
          

          Okay die letzte hatte es - sorry :blush:

          Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
          https://github.com/joBr99/nspanel-lovelace-ui/wiki

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          1 Antwort Letzte Antwort
          0
          • Chris76eC Chris76e

            @armilar Verstehe ich nicht. Muss doch erst den Original Text in Kleinbuchstaben umwandeln und den dann in Base64 codieren.

            @all
            So habe ich die Box auf einer anderen Box gemountet. Wie kann ich das jetzt in ioBroker machen. ioBroker läuft bei mir als VM in Proxmox

            <cifs>
             <mount>
              <active>True</active>
              <hdd_replacement>False</hdd_replacement>
              <ip>192.168.0.90</ip>
              <sharename>VUUNO4KSE</sharename>
              <sharedir>Harddisk</sharedir>
              <options>rw</options>
              <username>username</username>
              <password>password</password>
              <mount_system>autofs</mount_system>
             </mount>
            </cifs>
            

            Bis hier funktioniert soweit das Blockly

            Screenshot 2023-10-15 234415.png

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="8;HpY]B2OxIN[kdORi-N">text</variable>
                <variable id="u+mE0j_ZSEIC7C5U$t5h">cover</variable>
                <variable id="xLn/#U__],S7chRg;8|f">b64</variable>
                <variable id="}::%ssNR6x.*%p5dXe;X">pfad</variable>
              </variables>
              <block type="procedures_defcustomreturn" id="?=Ght)|4a^y+NM^zYle." x="62" y="38">
                <mutation statements="false">
                  <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
                </mutation>
                <field name="NAME">encode</field>
                <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQpLnRvU3RyaW5nKCdiYXNlNjQnKTs=</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
              </block>
              <block type="procedures_defcustomreturn" id="Iodb:IxRxNP!s`/!v3)?" x="63" y="63">
                <mutation statements="false">
                  <arg name="text" varid="8;HpY]B2OxIN[kdORi-N"></arg>
                </mutation>
                <field name="NAME">decode</field>
                <field name="SCRIPT">cmV0dXJuIEJ1ZmZlci5mcm9tKHRleHQsJ2Jhc2U2NCcpLnRvU3RyaW5nKCd1dGY4Jyk7</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
              </block>
              <block type="on_ext" id=";BQ]hK-$BEtMZZ4tgV@O" x="38" y="113">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="`)(YH7idz`2PrRnxQUxg">
                    <field name="oid">enigma2.0.enigma2.PROGRAMM</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="variables_set" id="g^5.h*(*]0_nqmg[wRxH">
                    <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                    <value name="VALUE">
                      <block type="text_changeCase" id="HA|TL!COs9cF!|6oNh7!">
                        <field name="CASE">LOWERCASE</field>
                        <value name="TEXT">
                          <shadow type="text" id="U[4nc?On@l%8e-nHUYX_">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="get_value" id="1W(:w+PscF40i{,+m|%K">
                            <field name="ATTR">val</field>
                            <field name="OID">enigma2.0.enigma2.PROGRAMM</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="QszkP[4Nizg/fDtBww`Q">
                        <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                        <value name="VALUE">
                          <block type="procedures_callcustomreturn" id="p7|Y?YW|q;N!s%E=k`lq" inline="true">
                            <mutation name="encode">
                              <arg name="text"></arg>
                            </mutation>
                            <value name="ARG0">
                              <block type="variables_get" id="b@80qrRs|+hN72O=jHln">
                                <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="!gB}Q]POG(3$CjWbLpt5">
                            <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                            <value name="VALUE">
                              <block type="procedures_callcustomreturn" id="+f,Ibj@iy(ON!Eeyu#pE" inline="true">
                                <mutation name="decode">
                                  <arg name="text"></arg>
                                </mutation>
                                <value name="ARG0">
                                  <block type="variables_get" id="^Y66h3Kir=,,ax^nE%#f">
                                    <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="]eSeI7=%3a),QIMc|3$J">
                                <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                                <value name="VALUE">
                                  <block type="text_join" id="eI)24{)OJmyLTw5_HhmQ">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="FKr2Mj?/yu8tc-LJhe9%">
                                        <field name="TEXT">/media/hdd/AdvancedEventLibrary/cover/</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="XpM,P786cfc.bD0P-69g">
                                        <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="_.raL^Q`azDem*Vm^M+i">
                                        <field name="TEXT">.jpg</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="mWdUp_h/%vZCKta7i37/" inline="true">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="variables_get" id=".G.W].MtuFq|y5T%+^rF">
                                        <field name="VAR" id="u+mE0j_ZSEIC7C5U$t5h">cover</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="debug" id="~KlN^Lx4XN2rUzXYJToc" inline="true">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="variables_get" id="cHCV_bj|j`iqlpH=mww`">
                                            <field name="VAR" id="xLn/#U__],S7chRg;8|f">b64</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="cC:Z=[Nu#d+kf0RXZz=3" inline="true">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                                <field name="TEXT">test</field>
                                              </shadow>
                                              <block type="variables_get" id="cZ.r6CGJHp^,[+=h_7R_">
                                                <field name="VAR" id="8;HpY]B2OxIN[kdORi-N">text</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="debug" id="v;TV6+Xg$T:|X/*-j|2N" inline="true">
                                                <field name="Severity">log</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="i?gGvfN}OAZqzJr=Z!L%">
                                                    <field name="TEXT">test</field>
                                                  </shadow>
                                                  <block type="variables_get" id="i;CEywOS#6*f`_N389|_">
                                                    <field name="VAR" id="}::%ssNR6x.*%p5dXe;X">pfad</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </xml>
            
            F Offline
            F Offline
            fastfoot
            schrieb am zuletzt editiert von fastfoot
            #7

            @chris76e sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

            Wie kann ich das jetzt in ioBroker machen

            ich würde die Box ja mit nfs einbinden(wird empfohlen), aber da du deine Settings auf cifs/smb eingestellt hast sollte das auf der Konsole der VM so gehen, erstmal nur händisch

            sudo -u iobroker mkdir -p /home/iobroker/vubox
            sudo mount -t cifs -o username=user,password=password,rw,file_mode=0777,dir_mode=0777 //192.168.0.90/VUUNO4KSE/Harddisk /home/iobroker/vubox
            

            iobroker läuft unter Docker auf QNAP TS-451+
            SkriptRecovery: https://forum.iobroker.net/post/930558

            Chris76eC 1 Antwort Letzte Antwort
            1
            • F fastfoot

              @chris76e sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

              Wie kann ich das jetzt in ioBroker machen

              ich würde die Box ja mit nfs einbinden(wird empfohlen), aber da du deine Settings auf cifs/smb eingestellt hast sollte das auf der Konsole der VM so gehen, erstmal nur händisch

              sudo -u iobroker mkdir -p /home/iobroker/vubox
              sudo mount -t cifs -o username=user,password=password,rw,file_mode=0777,dir_mode=0777 //192.168.0.90/VUUNO4KSE/Harddisk /home/iobroker/vubox
              
              Chris76eC Online
              Chris76eC Online
              Chris76e
              schrieb am zuletzt editiert von Chris76e
              #8

              @fastfoot
              kommt dieser Fehler

              mount: bad usage
              
              

              @fastfoot sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

              ich würde die Box ja mit nfs einbinden(wird empfohlen

              Bin offen für alles

              F 1 Antwort Letzte Antwort
              0
              • Chris76eC Chris76e

                @fastfoot
                kommt dieser Fehler

                mount: bad usage
                
                

                @fastfoot sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

                ich würde die Box ja mit nfs einbinden(wird empfohlen

                Bin offen für alles

                F Offline
                F Offline
                fastfoot
                schrieb am zuletzt editiert von
                #9

                @chris76e mach mal das Leerzeichen vor password weg

                iobroker läuft unter Docker auf QNAP TS-451+
                SkriptRecovery: https://forum.iobroker.net/post/930558

                Chris76eC 1 Antwort Letzte Antwort
                0
                • F fastfoot

                  @chris76e mach mal das Leerzeichen vor password weg

                  Chris76eC Online
                  Chris76eC Online
                  Chris76e
                  schrieb am zuletzt editiert von
                  #10

                  @fastfoot

                  mount error(22): Invalid argument
                  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                  
                  

                  habe schon mit smbpasswd das passwort geändert, box neugestartet......

                  F 1 Antwort Letzte Antwort
                  0
                  • Chris76eC Online
                    Chris76eC Online
                    Chris76e
                    schrieb am zuletzt editiert von
                    #11

                    so sieht die smb.conf auf der Box aus

                    #config version:3.6.25-vti001
                    
                    [global]
                       guest account = root
                       security = user
                       map to guest = bad user
                       server string = VTi/Vu+ network shares at %h
                       workgroup = VuPlus
                       socket options = TCP_NODELAY
                       smb passwd file = /etc/samba/private/smbpasswd
                       encrypt passwords = yes
                       passdb backend = smbpasswd
                       idmap backend = smbpasswd
                       obey pam restrictions = no
                       unix extensions = no
                       wide links = yes
                       unix charset = utf-8
                       max stat cache size = 64
                       null passwords = yes
                    
                    [rootfs]
                      comment = Do not touch !
                      path = /
                      read only = no
                      public = yes
                      guest ok = yes
                      valid users = root
                      force create mode = 600
                      force directory mode = 700
                      force security mode = 600
                      force directory security mode = 700
                    
                    [Harddisk]
                      comment = The harddisk
                      path = /media/hdd
                      read only = no
                      public = yes
                      guest ok = yes
                      valid users = root
                      force create mode = 600
                      force directory mode = 700
                      force security mode = 600
                      force directory security mode = 700
                    
                    
                    [VMC]
                    comment = VMC
                    path = /media/VMC
                    read only = no
                    public = yes
                    guest ok = yes
                    
                    F 1 Antwort Letzte Antwort
                    0
                    • Chris76eC Chris76e

                      so sieht die smb.conf auf der Box aus

                      #config version:3.6.25-vti001
                      
                      [global]
                         guest account = root
                         security = user
                         map to guest = bad user
                         server string = VTi/Vu+ network shares at %h
                         workgroup = VuPlus
                         socket options = TCP_NODELAY
                         smb passwd file = /etc/samba/private/smbpasswd
                         encrypt passwords = yes
                         passdb backend = smbpasswd
                         idmap backend = smbpasswd
                         obey pam restrictions = no
                         unix extensions = no
                         wide links = yes
                         unix charset = utf-8
                         max stat cache size = 64
                         null passwords = yes
                      
                      [rootfs]
                        comment = Do not touch !
                        path = /
                        read only = no
                        public = yes
                        guest ok = yes
                        valid users = root
                        force create mode = 600
                        force directory mode = 700
                        force security mode = 600
                        force directory security mode = 700
                      
                      [Harddisk]
                        comment = The harddisk
                        path = /media/hdd
                        read only = no
                        public = yes
                        guest ok = yes
                        valid users = root
                        force create mode = 600
                        force directory mode = 700
                        force security mode = 600
                        force directory security mode = 700
                      
                      
                      [VMC]
                      comment = VMC
                      path = /media/VMC
                      read only = no
                      public = yes
                      guest ok = yes
                      
                      F Offline
                      F Offline
                      fastfoot
                      schrieb am zuletzt editiert von
                      #12

                      @chris76e username und passwort hast du aber geändert?

                      iobroker läuft unter Docker auf QNAP TS-451+
                      SkriptRecovery: https://forum.iobroker.net/post/930558

                      1 Antwort Letzte Antwort
                      0
                      • Chris76eC Chris76e

                        Hi,

                        möchte gerne ein Bild in meiner VIS anzeigen. Das Bild liegt auf der Festpaltte meine VU+ Box. Durch den Enigma2 Adapter bekomme ich den Programmnamen. Dieser muss in kleinbuchstaben geändert werden, dann in Base64 codiert werden.

                        Beispiel :

                         Guardians of the Galaxy Vol. 2  -> guardians of the galaxy vol. 2 -> Z3VhcmRpYW5zIG9mIHRoZSBnYWxheHkgdm9sLiAy
                        

                        jetzt muss hier

                        /media/hdd/AdvancedEventLibrary/cover/
                        

                        auf meiner VU+ Box nach dem Base64 codierten namen gesucht werden.

                        Bis jetzt bin ich nur soweit gekommen das der Programmname klein geschrieben wird.

                        Wie muss ich jetzt weiter vorgehen? Gibt es eine Blockly funktion für Base64? Wie kann auch auf der VU+ suchen?

                        Screenshot 2023-10-15 214527.png

                        OliverIOO Offline
                        OliverIOO Offline
                        OliverIO
                        schrieb am zuletzt editiert von OliverIO
                        #13

                        @chris76e

                        Leider hilft dir der Pfad auf deine nas so erst mal nicht, wenn du das Bild im Browser anzeigen lassen möchtest.
                        Deinem Browser kann so nicht auf das Laufwerk zugreifen.
                        Jetzt könnte man das über ioBroker machen, allerdings ist es da etwas aufwändig, da man die Datei erst einmal zum Web Server hochladen muss.
                        Daher schlage ich vor, dass du einen neuen Web Server einrichtest (Nginx bietet sich da an ).
                        Dieser Web Server ist so konfiguriert, dass er nur dieses eine Verzeichnis anbietet.
                        So musst du in vis einfach nur die URL so berechnen, dass sie auf die URL des jeweiligen Bildes zeigt. Wie du vom Film Namen zur Base 64 Bezeichnung kommst, haben wir die vorschreiber schon dargestellt

                        Meine Adapter und Widgets
                        TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                        Links im Profil

                        F Chris76eC OliverIOO 4 Antworten Letzte Antwort
                        0
                        • OliverIOO OliverIO

                          @chris76e

                          Leider hilft dir der Pfad auf deine nas so erst mal nicht, wenn du das Bild im Browser anzeigen lassen möchtest.
                          Deinem Browser kann so nicht auf das Laufwerk zugreifen.
                          Jetzt könnte man das über ioBroker machen, allerdings ist es da etwas aufwändig, da man die Datei erst einmal zum Web Server hochladen muss.
                          Daher schlage ich vor, dass du einen neuen Web Server einrichtest (Nginx bietet sich da an ).
                          Dieser Web Server ist so konfiguriert, dass er nur dieses eine Verzeichnis anbietet.
                          So musst du in vis einfach nur die URL so berechnen, dass sie auf die URL des jeweiligen Bildes zeigt. Wie du vom Film Namen zur Base 64 Bezeichnung kommst, haben wir die vorschreiber schon dargestellt

                          F Offline
                          F Offline
                          fastfoot
                          schrieb am zuletzt editiert von
                          #14

                          @oliverio sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

                          werk zugreifen.

                          aber auch nginx braucht die Datei ja erstmal lokal? deshalb der mount

                          iobroker läuft unter Docker auf QNAP TS-451+
                          SkriptRecovery: https://forum.iobroker.net/post/930558

                          OliverIOO 1 Antwort Letzte Antwort
                          0
                          • F fastfoot

                            @oliverio sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

                            werk zugreifen.

                            aber auch nginx braucht die Datei ja erstmal lokal? deshalb der mount

                            OliverIOO Offline
                            OliverIOO Offline
                            OliverIO
                            schrieb am zuletzt editiert von
                            #15

                            @fastfoot
                            Je nachdem wo man am besten nginx laufen lässt.
                            Ja wahrscheinlich erst per Mount auf die eine Maschine,
                            Dort dann nginx installieren und einrichten.

                            Meine Adapter und Widgets
                            TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                            Links im Profil

                            1 Antwort Letzte Antwort
                            0
                            • OliverIOO OliverIO

                              @chris76e

                              Leider hilft dir der Pfad auf deine nas so erst mal nicht, wenn du das Bild im Browser anzeigen lassen möchtest.
                              Deinem Browser kann so nicht auf das Laufwerk zugreifen.
                              Jetzt könnte man das über ioBroker machen, allerdings ist es da etwas aufwändig, da man die Datei erst einmal zum Web Server hochladen muss.
                              Daher schlage ich vor, dass du einen neuen Web Server einrichtest (Nginx bietet sich da an ).
                              Dieser Web Server ist so konfiguriert, dass er nur dieses eine Verzeichnis anbietet.
                              So musst du in vis einfach nur die URL so berechnen, dass sie auf die URL des jeweiligen Bildes zeigt. Wie du vom Film Namen zur Base 64 Bezeichnung kommst, haben wir die vorschreiber schon dargestellt

                              Chris76eC Online
                              Chris76eC Online
                              Chris76e
                              schrieb am zuletzt editiert von
                              #16

                              @oliverio

                              Das ist eine VU+ Box, ein Enigma2 Sat Receiver :sunglasses: Glaube nicht das da ein Webserver drauf läuft..... Möchte ja nur einfach die Datei davon laden können.

                              OliverIOO 1 Antwort Letzte Antwort
                              0
                              • Chris76eC Chris76e

                                @fastfoot

                                mount error(22): Invalid argument
                                Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                                
                                

                                habe schon mit smbpasswd das passwort geändert, box neugestartet......

                                F Offline
                                F Offline
                                fastfoot
                                schrieb am zuletzt editiert von
                                #17

                                @chris76e sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

                                @fastfoot

                                mount error(22): Invalid argument
                                Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                                
                                

                                habe schon mit smbpasswd das passwort geändert, box neugestartet......

                                nimm mal noch das hier weg ,file_mode=0777,dir_mode=0777

                                iobroker läuft unter Docker auf QNAP TS-451+
                                SkriptRecovery: https://forum.iobroker.net/post/930558

                                Chris76eC 1 Antwort Letzte Antwort
                                0
                                • F fastfoot

                                  @chris76e sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

                                  @fastfoot

                                  mount error(22): Invalid argument
                                  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                                  
                                  

                                  habe schon mit smbpasswd das passwort geändert, box neugestartet......

                                  nimm mal noch das hier weg ,file_mode=0777,dir_mode=0777

                                  Chris76eC Online
                                  Chris76eC Online
                                  Chris76e
                                  schrieb am zuletzt editiert von
                                  #18

                                  @fastfoot

                                  jetzt kommt das

                                  mount: /home/iobroker/vubox: can't find in /etc/fstab.
                                  
                                  
                                  F 1 Antwort Letzte Antwort
                                  0
                                  • OliverIOO OliverIO

                                    @chris76e

                                    Leider hilft dir der Pfad auf deine nas so erst mal nicht, wenn du das Bild im Browser anzeigen lassen möchtest.
                                    Deinem Browser kann so nicht auf das Laufwerk zugreifen.
                                    Jetzt könnte man das über ioBroker machen, allerdings ist es da etwas aufwändig, da man die Datei erst einmal zum Web Server hochladen muss.
                                    Daher schlage ich vor, dass du einen neuen Web Server einrichtest (Nginx bietet sich da an ).
                                    Dieser Web Server ist so konfiguriert, dass er nur dieses eine Verzeichnis anbietet.
                                    So musst du in vis einfach nur die URL so berechnen, dass sie auf die URL des jeweiligen Bildes zeigt. Wie du vom Film Namen zur Base 64 Bezeichnung kommst, haben wir die vorschreiber schon dargestellt

                                    Chris76eC Online
                                    Chris76eC Online
                                    Chris76e
                                    schrieb am zuletzt editiert von
                                    #19

                                    @oliverio sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

                                    Leider hilft dir der Pfad auf deine nas so erst mal nicht, wenn du das Bild im Browser anzeigen lassen möchtest.
                                    Deinem Browser kann so nicht auf das Laufwerk zugreifen.

                                    Hmm, dachte wenn ich den Mount von der VU+ auf meinem ioBroker habe das ich dann einfach die Datei laden kann als ob die lokal im ioBroker liegt.

                                    Ist das nicht so?

                                    1 Antwort Letzte Antwort
                                    0
                                    • Chris76eC Chris76e

                                      @oliverio

                                      Das ist eine VU+ Box, ein Enigma2 Sat Receiver :sunglasses: Glaube nicht das da ein Webserver drauf läuft..... Möchte ja nur einfach die Datei davon laden können.

                                      OliverIOO Offline
                                      OliverIOO Offline
                                      OliverIO
                                      schrieb am zuletzt editiert von
                                      #20

                                      @chris76e

                                      Ich lese, das es für Enigma vu+ ein webinterface / openwebif gibt
                                      Wenn man über dieses webinterface schafft die Bilder anzeigen zu lassen, dann hast du deinen Webserver.
                                      Dann musst du in vis nur noch die URLs so einbauen, das sie auf das webinterface zeigen.

                                      Meine Adapter und Widgets
                                      TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                                      Links im Profil

                                      Chris76eC 1 Antwort Letzte Antwort
                                      0
                                      • Chris76eC Chris76e

                                        @fastfoot

                                        jetzt kommt das

                                        mount: /home/iobroker/vubox: can't find in /etc/fstab.
                                        
                                        
                                        F Offline
                                        F Offline
                                        fastfoot
                                        schrieb am zuletzt editiert von
                                        #21

                                        @chris76e seltsam, mit proxmox vm kenne ich mich nicht aus aber eigentlich sollte man eben keinen eintrag in der fstab benötigen.

                                        da bin ich jetzt erstmal überfragt, sorry

                                        iobroker läuft unter Docker auf QNAP TS-451+
                                        SkriptRecovery: https://forum.iobroker.net/post/930558

                                        1 Antwort Letzte Antwort
                                        0
                                        • OliverIOO OliverIO

                                          @chris76e

                                          Ich lese, das es für Enigma vu+ ein webinterface / openwebif gibt
                                          Wenn man über dieses webinterface schafft die Bilder anzeigen zu lassen, dann hast du deinen Webserver.
                                          Dann musst du in vis nur noch die URLs so einbauen, das sie auf das webinterface zeigen.

                                          Chris76eC Online
                                          Chris76eC Online
                                          Chris76e
                                          schrieb am zuletzt editiert von
                                          #22

                                          @oliverio sagte in Text in Base64 codieren und Datei von Netzlaufwerk suchen:

                                          @chris76e

                                          Ich lese, das es für Enigma vu+ ein webinterface / openwebif gibt
                                          Wenn man über dieses webinterface schafft die Bilder anzeigen zu lassen, dann hast du deinen Webserver.
                                          Dann musst du in vis nur noch die URLs so einbauen, das sie auf das webinterface zeigen.

                                          Wenn ich das Versuche

                                          http://192.168.0.90/media/hdd/AdvancedEventLibrary/preview/a25hc3QgaW4gZGV1dHNjaGxhbmQgLSBlMDEgLSBzdHJhZmUsIGxpZWJlLCBob2ZmbnVuZw==.jpg%22
                                          

                                          kommt ein 404 Fehler.

                                          F 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

                                          551

                                          Online

                                          32.7k

                                          Benutzer

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