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. [gelöst] Gerät per Mac Adr & Blockly ansprechen

NEWS

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

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

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

[gelöst] Gerät per Mac Adr & Blockly ansprechen

Geplant Angeheftet Gesperrt Verschoben Blockly
158 Beiträge 8 Kommentatoren 15.7k Aufrufe 5 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

    @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

    @fastfoot
    Ich prüfe
    klappt nicht am besten wir machen morgen weiter!

    im RAW unter common den type von number nach string abändern, das sollte es tun

    AphofisA Offline
    AphofisA Offline
    Aphofis
    schrieb am zuletzt editiert von
    #95

    @fastfoot
    ist so trotzdessen doppelte IP

    Aqua_Control	state     IP MAC Abgleich.Aqua_Control      state	       string			192.168.0.57 192.168.0.57 
    
    F 1 Antwort Letzte Antwort
    0
    • AphofisA Aphofis

      @fastfoot
      ist so trotzdessen doppelte IP

      Aqua_Control	state     IP MAC Abgleich.Aqua_Control      state	       string			192.168.0.57 192.168.0.57 
      
      F Offline
      F Offline
      fastfoot
      schrieb am zuletzt editiert von
      #96

      @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

      @fastfoot
      ist so trotzdessen doppelte IP

      Aqua_Control	state     IP MAC Abgleich.Aqua_Control      state	       string			192.168.0.57 192.168.0.57 
      

      und im LOG ist der Fehler weg?

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

      AphofisA 1 Antwort Letzte Antwort
      0
      • F fastfoot

        @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

        @fastfoot
        ist so trotzdessen doppelte IP

        Aqua_Control	state     IP MAC Abgleich.Aqua_Control      state	       string			192.168.0.57 192.168.0.57 
        

        und im LOG ist der Fehler weg?

        AphofisA Offline
        AphofisA Offline
        Aphofis
        schrieb am zuletzt editiert von Aphofis
        #97

        @fastfoot
        In der LOG stehts so da:

        javascript.0	2020-06-23 23:30:26.524	info	192.168.0.57
        javascript.0	2020-06-23 23:30:26.524	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://192.168.0.57
        javascript.0	2020-06-23 23:30:26.481	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
        javascript.0	2020-06-23 23:30:26.456	info	(31412) Start javascript script.js.ESP_Reboot.Aqu_Control_IP_Abfrage
        

        so ist es komplett ab dem stoppen

        javascript.0	2020-06-23 23:30:26.524	info	/cm?user=benutzer&passwort=passwort
        javascript.0	2020-06-23 23:30:26.524	info	192.168.0.57
        javascript.0	2020-06-23 23:30:26.524	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://192.168.0.57
        javascript.0	2020-06-23 23:30:26.481	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
        javascript.0	2020-06-23 23:30:26.456	info	(31412) Start javascript script.js.ESP_Reboot.Aqu_Control_IP_Abfrage
        javascript.0	2020-06-23 23:30:25.485	info	(31412) Stop script script.js.ESP_Reboot.Aqu_Control_IP_Abfrage
        
        F 1 Antwort Letzte Antwort
        0
        • AphofisA Aphofis

          @fastfoot
          In der LOG stehts so da:

          javascript.0	2020-06-23 23:30:26.524	info	192.168.0.57
          javascript.0	2020-06-23 23:30:26.524	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://192.168.0.57
          javascript.0	2020-06-23 23:30:26.481	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
          javascript.0	2020-06-23 23:30:26.456	info	(31412) Start javascript script.js.ESP_Reboot.Aqu_Control_IP_Abfrage
          

          so ist es komplett ab dem stoppen

          javascript.0	2020-06-23 23:30:26.524	info	/cm?user=benutzer&passwort=passwort
          javascript.0	2020-06-23 23:30:26.524	info	192.168.0.57
          javascript.0	2020-06-23 23:30:26.524	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://192.168.0.57
          javascript.0	2020-06-23 23:30:26.481	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
          javascript.0	2020-06-23 23:30:26.456	info	(31412) Start javascript script.js.ESP_Reboot.Aqu_Control_IP_Abfrage
          javascript.0	2020-06-23 23:30:25.485	info	(31412) Stop script script.js.ESP_Reboot.Aqu_Control_IP_Abfrage
          
          F Offline
          F Offline
          fastfoot
          schrieb am zuletzt editiert von
          #98

          @Aphofis
          wenn du in den state reinklickst, ist es dann auch so? Kann eig. nicht sein

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

          AphofisA 1 Antwort Letzte Antwort
          0
          • F fastfoot

            @Aphofis
            wenn du in den state reinklickst, ist es dann auch so? Kann eig. nicht sein

            AphofisA Offline
            AphofisA Offline
            Aphofis
            schrieb am zuletzt editiert von
            #99

            @fastfoot Unbenannt.png

            F 1 Antwort Letzte Antwort
            0
            • AphofisA Aphofis

              @fastfoot Unbenannt.png

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

              @Aphofis
              probier mal noch die role zu ändern

                "common": {
                  "name": "Aqua_Control.0.IP_MAC_Abgleich.Aqua_Control",
                  "role": "text",
                  "type": "string",
              
              

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

              AphofisA 1 Antwort Letzte Antwort
              0
              • F fastfoot

                @Aphofis
                probier mal noch die role zu ändern

                  "common": {
                    "name": "Aqua_Control.0.IP_MAC_Abgleich.Aqua_Control",
                    "role": "text",
                    "type": "string",
                
                
                AphofisA Offline
                AphofisA Offline
                Aphofis
                schrieb am zuletzt editiert von
                #101

                @fastfoot wird trotzdessen doppelt angezeigt

                1 Antwort Letzte Antwort
                0
                • AphofisA Offline
                  AphofisA Offline
                  Aphofis
                  schrieb am zuletzt editiert von
                  #102

                  lass uns Morgen weiter machen ich muss Augenlappenpflege machen morgen eine Stressige Grossbaustelle!

                  F 1 Antwort Letzte Antwort
                  0
                  • AphofisA Aphofis

                    lass uns Morgen weiter machen ich muss Augenlappenpflege machen morgen eine Stressige Grossbaustelle!

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

                    @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

                    lass uns Morgen weiter machen ich muss Augenlappenpflege machen morgen eine Stressige Grossbaustelle!

                    ja ok, ich hätte auch nur noch eine einzige Idee, die du morgen testen kannst: ein Blockly mit nur diesem Inhalt
                    MAC_zu_IP3.PNG

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

                    AphofisA 1 Antwort Letzte Antwort
                    0
                    • F fastfoot

                      @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

                      lass uns Morgen weiter machen ich muss Augenlappenpflege machen morgen eine Stressige Grossbaustelle!

                      ja ok, ich hätte auch nur noch eine einzige Idee, die du morgen testen kannst: ein Blockly mit nur diesem Inhalt
                      MAC_zu_IP3.PNG

                      AphofisA Offline
                      AphofisA Offline
                      Aphofis
                      schrieb am zuletzt editiert von
                      #104

                      @fastfoot
                      Hatte ich heute früh getestet! Wenn nur die Aktualisierung wird nur einmal die IP angezeigt.
                      Aber woran es liebt das die nun zweimal ausgegeben wird keine Ahnung

                      F 1 Antwort Letzte Antwort
                      0
                      • AphofisA Aphofis

                        @fastfoot
                        Hatte ich heute früh getestet! Wenn nur die Aktualisierung wird nur einmal die IP angezeigt.
                        Aber woran es liebt das die nun zweimal ausgegeben wird keine Ahnung

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

                        @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

                        @fastfoot
                        Hatte ich heute früh getestet! Wenn nur die Aktualisierung wird nur einmal die IP angezeigt.
                        Aber woran es liebt das die nun zweimal ausgegeben wird keine Ahnung

                        da fällt mir jetzt auch nichts mehr ein, die Länge der IP beträgt 14 Zeichen. Ich denke es liegt an deinem DP oder ein anderes Skrip ist noch im Spiel. Du könntest noch den DP neu erstellen, mit type=string. Ansonsten wäre interessant was denn Andere hier für Ergebnisse haben. Hier noch einmal das Endergebnis:
                        MAC_zu_IP4.PNG

                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable id="aQubq9Vy-qj1gT{2OW;x">MAC</variable>
                           <variable id="@[II(5R#h[a47`qET5k.">cmd</variable>
                           <variable id="0N!Pxj|%o,hrP:$Wm2WE">ip</variable>
                           <variable id="Fk6H`kq}eo!FPH!Ld2Ii">result</variable>
                         </variables>
                         <block type="variables_set" id="Gj`MNS[$a0S:B!TUcx-%" x="38" y="138">
                           <field name="VAR" id="aQubq9Vy-qj1gT{2OW;x">MAC</field>
                           <value name="VALUE">
                             <block type="text" id="V?)NQY:Z1bfh@J6KO8xg">
                               <field name="TEXT">MACADRESSE_ENTRAGEN keine Großbuchstaben!!!</field>
                             </block>
                           </value>
                           <next>
                             <block type="comment" id="H;=Y7NT2TXV-Gs]VB$O+">
                               <field name="COMMENT">ermittelt den Gerätenamen</field>
                               <next>
                                 <block type="variables_set" id="ANCrs)lzX+xxTghREp[.">
                                   <field name="VAR" id="@[II(5R#h[a47`qET5k.">cmd</field>
                                   <value name="VALUE">
                                     <block type="text_join" id="IxyBhYQL+iZa#PFe)9~7" inline="true">
                                       <mutation items="3"></mutation>
                                       <value name="ADD0">
                                         <block type="text" id="0s)wG{GvjG1.@@+V/aSr">
                                           <field name="TEXT">arp -a|grep </field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="variables_get" id="{S|p_K(0Lf_(^t{(8,b?">
                                           <field name="VAR" id="aQubq9Vy-qj1gT{2OW;x">MAC</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="text" id="I^t@Iu.(q%D!J*WaRFQa">
                                           <field name="TEXT">|cut -f1 -d" "</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="comment" id="+Ys6+MxbbJZ#NA)9)0{2">
                                       <field name="COMMENT">ermittelt IP-Adresse</field>
                                       <next>
                                         <block type="variables_set" id="$c5Ud:#38C(q.uOF_;YC">
                                           <field name="VAR" id="@[II(5R#h[a47`qET5k.">cmd</field>
                                           <value name="VALUE">
                                             <block type="text_join" id="2t+}?FeN#iG0J=~8q#|w" inline="true">
                                               <mutation items="3"></mutation>
                                               <value name="ADD0">
                                                 <block type="text" id="w;^U.Vi%Z+6O=_j{oVD(">
                                                   <field name="TEXT">arp -a|grep </field>
                                                 </block>
                                               </value>
                                               <value name="ADD1">
                                                 <block type="variables_get" id="tH;y-cdpJdNS0#XCa8{X">
                                                   <field name="VAR" id="aQubq9Vy-qj1gT{2OW;x">MAC</field>
                                                 </block>
                                               </value>
                                               <value name="ADD2">
                                                 <block type="text" id="/t^Hm3;6![lRLzr3V@FX">
                                                   <field name="TEXT">|cut -f2 -d"("|cut -f1 -d")"</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="exec" id="2!bNa75D5snVE!jky@@." inline="true">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                               <field name="WITH_STATEMENT">TRUE</field>
                                               <field name="LOG"></field>
                                               <value name="COMMAND">
                                                 <shadow type="text" id="^!S#xfBrYSkE3IIEA|rP">
                                                   <field name="TEXT">arp -a|grep 24:5e:be:0d:f1:b9|cut -f2 -d" "|cut -f2|cut -c2-16|cut -f1 -d ")"</field>
                                                 </shadow>
                                                 <block type="variables_get" id="OCMYegrGVigEscI9|L(L">
                                                   <field name="VAR" id="@[II(5R#h[a47`qET5k.">cmd</field>
                                                 </block>
                                               </value>
                                               <statement name="STATEMENT">
                                                 <block type="variables_set" id="L]J.=sLuX-3~:q^phHdI">
                                                   <field name="VAR" id="0N!Pxj|%o,hrP:$Wm2WE">ip</field>
                                                   <value name="VALUE">
                                                     <block type="text_trim" id="ieQ%=JdT2@lsW*HynVxx">
                                                       <field name="MODE">BOTH</field>
                                                       <value name="TEXT">
                                                         <shadow type="text" id="PYvpEBV*CvA*:pz@RD@9">
                                                           <field name="TEXT">abc</field>
                                                         </shadow>
                                                         <block type="convert_tostring" id="Lm-b^FX_25OE0xK.;2lJ">
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="=({0X#Vd(gZfW5P7YuI(">
                                                               <field name="VAR" id="Fk6H`kq}eo!FPH!Ld2Ii">result</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="controls_if" id="z`?p:wuv4qf@FB.^P`IN">
                                                       <mutation else="1"></mutation>
                                                       <value name="IF0">
                                                         <block type="logic_negate" id="oS4QJFW.#h11BEG)C]6#">
                                                           <value name="BOOL">
                                                             <block type="logic_compare" id="kmSbl@isO%v0V2M2KV%q">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="variables_get" id="!2hJmAo:{WQVvmo#MSpw">
                                                                   <field name="VAR" id="0N!Pxj|%o,hrP:$Wm2WE">ip</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="text" id="D,uO-gM;I-Q]GD6b~D,0">
                                                                   <field name="TEXT"></field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="update" id="[8fA(|Z;CZFWcXyOVkM.">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">0_userdata.0.ipaddress</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="57Ns7WblYc`pSoPfT[we">
                                                               <field name="VAR" id="0N!Pxj|%o,hrP:$Wm2WE">ip</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <statement name="ELSE">
                                                         <block type="debug" id="[[H]7mGw_,7D]-2K[vi9" inline="true">
                                                           <field name="Severity">log</field>
                                                           <value name="TEXT">
                                                             <shadow type="text" id="FP4|qtV]4IE}b_oww8Gh">
                                                               <field name="TEXT">Keine IP Adresse gefunden!</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                        </xml>
                        

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

                        liv-in-skyL 1 Antwort Letzte Antwort
                        0
                        • F fastfoot

                          @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

                          @fastfoot
                          Hatte ich heute früh getestet! Wenn nur die Aktualisierung wird nur einmal die IP angezeigt.
                          Aber woran es liebt das die nun zweimal ausgegeben wird keine Ahnung

                          da fällt mir jetzt auch nichts mehr ein, die Länge der IP beträgt 14 Zeichen. Ich denke es liegt an deinem DP oder ein anderes Skrip ist noch im Spiel. Du könntest noch den DP neu erstellen, mit type=string. Ansonsten wäre interessant was denn Andere hier für Ergebnisse haben. Hier noch einmal das Endergebnis:
                          MAC_zu_IP4.PNG

                          <xml xmlns="https://developers.google.com/blockly/xml">
                           <variables>
                             <variable id="aQubq9Vy-qj1gT{2OW;x">MAC</variable>
                             <variable id="@[II(5R#h[a47`qET5k.">cmd</variable>
                             <variable id="0N!Pxj|%o,hrP:$Wm2WE">ip</variable>
                             <variable id="Fk6H`kq}eo!FPH!Ld2Ii">result</variable>
                           </variables>
                           <block type="variables_set" id="Gj`MNS[$a0S:B!TUcx-%" x="38" y="138">
                             <field name="VAR" id="aQubq9Vy-qj1gT{2OW;x">MAC</field>
                             <value name="VALUE">
                               <block type="text" id="V?)NQY:Z1bfh@J6KO8xg">
                                 <field name="TEXT">MACADRESSE_ENTRAGEN keine Großbuchstaben!!!</field>
                               </block>
                             </value>
                             <next>
                               <block type="comment" id="H;=Y7NT2TXV-Gs]VB$O+">
                                 <field name="COMMENT">ermittelt den Gerätenamen</field>
                                 <next>
                                   <block type="variables_set" id="ANCrs)lzX+xxTghREp[.">
                                     <field name="VAR" id="@[II(5R#h[a47`qET5k.">cmd</field>
                                     <value name="VALUE">
                                       <block type="text_join" id="IxyBhYQL+iZa#PFe)9~7" inline="true">
                                         <mutation items="3"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="0s)wG{GvjG1.@@+V/aSr">
                                             <field name="TEXT">arp -a|grep </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="variables_get" id="{S|p_K(0Lf_(^t{(8,b?">
                                             <field name="VAR" id="aQubq9Vy-qj1gT{2OW;x">MAC</field>
                                           </block>
                                         </value>
                                         <value name="ADD2">
                                           <block type="text" id="I^t@Iu.(q%D!J*WaRFQa">
                                             <field name="TEXT">|cut -f1 -d" "</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="comment" id="+Ys6+MxbbJZ#NA)9)0{2">
                                         <field name="COMMENT">ermittelt IP-Adresse</field>
                                         <next>
                                           <block type="variables_set" id="$c5Ud:#38C(q.uOF_;YC">
                                             <field name="VAR" id="@[II(5R#h[a47`qET5k.">cmd</field>
                                             <value name="VALUE">
                                               <block type="text_join" id="2t+}?FeN#iG0J=~8q#|w" inline="true">
                                                 <mutation items="3"></mutation>
                                                 <value name="ADD0">
                                                   <block type="text" id="w;^U.Vi%Z+6O=_j{oVD(">
                                                     <field name="TEXT">arp -a|grep </field>
                                                   </block>
                                                 </value>
                                                 <value name="ADD1">
                                                   <block type="variables_get" id="tH;y-cdpJdNS0#XCa8{X">
                                                     <field name="VAR" id="aQubq9Vy-qj1gT{2OW;x">MAC</field>
                                                   </block>
                                                 </value>
                                                 <value name="ADD2">
                                                   <block type="text" id="/t^Hm3;6![lRLzr3V@FX">
                                                     <field name="TEXT">|cut -f2 -d"("|cut -f1 -d")"</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="exec" id="2!bNa75D5snVE!jky@@." inline="true">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                 <field name="WITH_STATEMENT">TRUE</field>
                                                 <field name="LOG"></field>
                                                 <value name="COMMAND">
                                                   <shadow type="text" id="^!S#xfBrYSkE3IIEA|rP">
                                                     <field name="TEXT">arp -a|grep 24:5e:be:0d:f1:b9|cut -f2 -d" "|cut -f2|cut -c2-16|cut -f1 -d ")"</field>
                                                   </shadow>
                                                   <block type="variables_get" id="OCMYegrGVigEscI9|L(L">
                                                     <field name="VAR" id="@[II(5R#h[a47`qET5k.">cmd</field>
                                                   </block>
                                                 </value>
                                                 <statement name="STATEMENT">
                                                   <block type="variables_set" id="L]J.=sLuX-3~:q^phHdI">
                                                     <field name="VAR" id="0N!Pxj|%o,hrP:$Wm2WE">ip</field>
                                                     <value name="VALUE">
                                                       <block type="text_trim" id="ieQ%=JdT2@lsW*HynVxx">
                                                         <field name="MODE">BOTH</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id="PYvpEBV*CvA*:pz@RD@9">
                                                             <field name="TEXT">abc</field>
                                                           </shadow>
                                                           <block type="convert_tostring" id="Lm-b^FX_25OE0xK.;2lJ">
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="=({0X#Vd(gZfW5P7YuI(">
                                                                 <field name="VAR" id="Fk6H`kq}eo!FPH!Ld2Ii">result</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="controls_if" id="z`?p:wuv4qf@FB.^P`IN">
                                                         <mutation else="1"></mutation>
                                                         <value name="IF0">
                                                           <block type="logic_negate" id="oS4QJFW.#h11BEG)C]6#">
                                                             <value name="BOOL">
                                                               <block type="logic_compare" id="kmSbl@isO%v0V2M2KV%q">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="!2hJmAo:{WQVvmo#MSpw">
                                                                     <field name="VAR" id="0N!Pxj|%o,hrP:$Wm2WE">ip</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="D,uO-gM;I-Q]GD6b~D,0">
                                                                     <field name="TEXT"></field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="update" id="[8fA(|Z;CZFWcXyOVkM.">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">0_userdata.0.ipaddress</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="57Ns7WblYc`pSoPfT[we">
                                                                 <field name="VAR" id="0N!Pxj|%o,hrP:$Wm2WE">ip</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                         <statement name="ELSE">
                                                           <block type="debug" id="[[H]7mGw_,7D]-2K[vi9" inline="true">
                                                             <field name="Severity">log</field>
                                                             <value name="TEXT">
                                                               <shadow type="text" id="FP4|qtV]4IE}b_oww8Gh">
                                                                 <field name="TEXT">Keine IP Adresse gefunden!</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                          </xml>
                          

                          liv-in-skyL Offline
                          liv-in-skyL Offline
                          liv-in-sky
                          schrieb am zuletzt editiert von liv-in-sky
                          #106

                          @fastfoot
                          habe es getestet - arp funktioniert jetzt bei mir

                          die richtge ipadresse steht im datenpunkt - so wie es sein soll

                          Image 2.png

                          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                          F 1 Antwort Letzte Antwort
                          0
                          • liv-in-skyL liv-in-sky

                            @fastfoot
                            habe es getestet - arp funktioniert jetzt bei mir

                            die richtge ipadresse steht im datenpunkt - so wie es sein soll

                            Image 2.png

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

                            @liv-in-sky sagte in Gerät per Mac Adr & Blockly ansprechen:

                            @fastfoot

                            die richtge ipadresse steht im datenpunkt - so wie es sein soll

                            Danke fürs Testen, somit bleibt nur die Fage weshalb es beim Fragesteller doppelt eingetragen wird.

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

                            AphofisA 1 Antwort Letzte Antwort
                            0
                            • F fastfoot

                              @liv-in-sky sagte in Gerät per Mac Adr & Blockly ansprechen:

                              @fastfoot

                              die richtge ipadresse steht im datenpunkt - so wie es sein soll

                              Danke fürs Testen, somit bleibt nur die Fage weshalb es beim Fragesteller doppelt eingetragen wird.

                              AphofisA Offline
                              AphofisA Offline
                              Aphofis
                              schrieb am zuletzt editiert von
                              #108

                              @fastfoot
                              Also ich hab den DP noch mal neu erstellt und den Blockly Code komplett noch mal neu gemacht und ich hatte mal in der Pi Konsole den Befehl eingegeben und arp postet zweimal den Geräte Namen und keine IP adresse!

                              arp -a|grep 2c:f4:32:57:b7:14 |cut -f1 -d" "
                              

                              ergibt in der Konsolen Ausgabe folgendes

                              Aqua-Control.fritz.box
                              ?
                              Aqua-Control.fritz.box
                              

                              gebe ich die zweite abfrage in die Konsole ein! kommt das

                              pi@AquaPi:~ $ arp -a|grep 2c:f4:32:57:b7:14 |cut -f2 -d"("|cut -f1 -d")"
                              192.168.0.5
                              192.168.0.57
                              192.168.0.5
                              

                              Wieder hat das Gerät in der Fritzbox eine neue IP bekommen vorher war es die 57 jetzt ist es die 5 obwohl die 57 für das Gerät fixiert ist. Ich weiß auch nicht mehr weiter

                              harrymH 1 Antwort Letzte Antwort
                              0
                              • AphofisA Aphofis

                                @fastfoot
                                Also ich hab den DP noch mal neu erstellt und den Blockly Code komplett noch mal neu gemacht und ich hatte mal in der Pi Konsole den Befehl eingegeben und arp postet zweimal den Geräte Namen und keine IP adresse!

                                arp -a|grep 2c:f4:32:57:b7:14 |cut -f1 -d" "
                                

                                ergibt in der Konsolen Ausgabe folgendes

                                Aqua-Control.fritz.box
                                ?
                                Aqua-Control.fritz.box
                                

                                gebe ich die zweite abfrage in die Konsole ein! kommt das

                                pi@AquaPi:~ $ arp -a|grep 2c:f4:32:57:b7:14 |cut -f2 -d"("|cut -f1 -d")"
                                192.168.0.5
                                192.168.0.57
                                192.168.0.5
                                

                                Wieder hat das Gerät in der Fritzbox eine neue IP bekommen vorher war es die 57 jetzt ist es die 5 obwohl die 57 für das Gerät fixiert ist. Ich weiß auch nicht mehr weiter

                                harrymH Offline
                                harrymH Offline
                                harrym
                                schrieb am zuletzt editiert von harrym
                                #109

                                @Aphofis such doch mal den Fehler in deinem Netzwerk bevor Du da jetzt noch mehr Zeit mit nem "Workaround" versuchst .... just my 2 cents

                                und gerade bei nem Salzwasseraquarium musste dich auf die Steuerung zu 100% verlassen können. Hab das auch hinter mir.

                                ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                                F 1 Antwort Letzte Antwort
                                0
                                • F Offline
                                  F Offline
                                  fastfoot
                                  schrieb am zuletzt editiert von
                                  #110

                                  ohhhhh, da wird mehrfach gelistet, das könnte evtl. die zweifachen Einträge erklären(werde ich mal prüfen). um einen schnellen Workaround zu bekommen, kannst du mal arp -|grep mac machen, mich würden die kompletten 3 zeilen interessieren

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

                                  1 Antwort Letzte Antwort
                                  0
                                  • harrymH harrym

                                    @Aphofis such doch mal den Fehler in deinem Netzwerk bevor Du da jetzt noch mehr Zeit mit nem "Workaround" versuchst .... just my 2 cents

                                    und gerade bei nem Salzwasseraquarium musste dich auf die Steuerung zu 100% verlassen können. Hab das auch hinter mir.

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

                                    @harrym
                                    die Ursachen anstatt Symptome zu bekämpfen ist immer besser, da hast du sicherlich recht. Allerdings stelle ich mir das wesentlich komplizierter vor. Hast Du denn auch Ideen dazu?

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

                                    harrymH E 2 Antworten Letzte Antwort
                                    0
                                    • F fastfoot

                                      @harrym
                                      die Ursachen anstatt Symptome zu bekämpfen ist immer besser, da hast du sicherlich recht. Allerdings stelle ich mir das wesentlich komplizierter vor. Hast Du denn auch Ideen dazu?

                                      harrymH Offline
                                      harrymH Offline
                                      harrym
                                      schrieb am zuletzt editiert von
                                      #112

                                      @fastfoot ja ... auf der Node ne fixe IP vergeben ... ausserhalb vom DHCP .... geht ja easy

                                      IPAddress1 192.168.0.200
                                      IPAddress2 192.168.0.1
                                      IPAddress3 255.255.255.0
                                      IPAddress4 192.168.0.1

                                      die 0.200 ist frei und ausserhalb der FrittenDHCP

                                      ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                                      1 Antwort Letzte Antwort
                                      0
                                      • F fastfoot

                                        @harrym
                                        die Ursachen anstatt Symptome zu bekämpfen ist immer besser, da hast du sicherlich recht. Allerdings stelle ich mir das wesentlich komplizierter vor. Hast Du denn auch Ideen dazu?

                                        E Abwesend
                                        E Abwesend
                                        e-s
                                        schrieb am zuletzt editiert von
                                        #113

                                        @Aphofis

                                        kommt das WLAN Signal deiner Fritzbox auch beim Aquarium an?
                                        Schmeiß den TP-Link raus und nutze lieber einen Fritzbox Mesh Repeater und lass das eigene WLAN dafür weg.

                                        harrymH AphofisA 2 Antworten Letzte Antwort
                                        0
                                        • E e-s

                                          @Aphofis

                                          kommt das WLAN Signal deiner Fritzbox auch beim Aquarium an?
                                          Schmeiß den TP-Link raus und nutze lieber einen Fritzbox Mesh Repeater und lass das eigene WLAN dafür weg.

                                          harrymH Offline
                                          harrymH Offline
                                          harrym
                                          schrieb am zuletzt editiert von
                                          #114

                                          @e-s muss ned immer mesh sein ... vorallem ned von AVM ;)

                                          ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                                          E 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

                                          807

                                          Online

                                          32.4k

                                          Benutzer

                                          81.6k

                                          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