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.8k

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

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

[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
    Hab ich

    Dann ist auch der arp-cache refresht. Warum suchst du also nach 98:xx:xx anstatt nach der in der FB gelisteten (und von arp angegebenen) MAC-Adresse. Dann liefert dir die Blockly-Abfrage auch ein Ergebnis!

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

    @fastfoot
    ich suche nach der Mac adresse von Aqua Control

    2C:F4:32:57:B7:14
    

    die in der Fritzbox gelistet ist ind im Log kommt dann nur das:

    			
    javascript.0	2020-06-23 21:49:38.795	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_benuitzer&password=mein_passwort
    javascript.0	2020-06-23 21:49:38.767	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
    
    F 1 Antwort Letzte Antwort
    0
    • AphofisA Aphofis

      @fastfoot
      ich suche nach der Mac adresse von Aqua Control

      2C:F4:32:57:B7:14
      

      die in der Fritzbox gelistet ist ind im Log kommt dann nur das:

      			
      javascript.0	2020-06-23 21:49:38.795	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_benuitzer&password=mein_passwort
      javascript.0	2020-06-23 21:49:38.767	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
      
      F Offline
      F Offline
      fastfoot
      schrieb am zuletzt editiert von
      #69

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

      @fastfoot
      ich suche nach der Mac adresse von Aqua Control

      2C:F4:32:57:B7:14
      

      die in der Fritzbox gelistet ist ind im Log kommt dann nur das:

      			
      javascript.0	2020-06-23 21:49:38.795	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_benuitzer&password=mein_passwort
      javascript.0	2020-06-23 21:49:38.767	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
      

      Die Abfrage mit der 2C:F4:32:57:B7:14 solltest du auf der Konsole machen, die Buchstaben aber klein!. Falls sie im Blockly groß geschrieben sind, ändern

      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
        ich suche nach der Mac adresse von Aqua Control

        2C:F4:32:57:B7:14
        

        die in der Fritzbox gelistet ist ind im Log kommt dann nur das:

        			
        javascript.0	2020-06-23 21:49:38.795	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_benuitzer&password=mein_passwort
        javascript.0	2020-06-23 21:49:38.767	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
        

        Die Abfrage mit der 2C:F4:32:57:B7:14 solltest du auf der Konsole machen, die Buchstaben aber klein!. Falls sie im Blockly groß geschrieben sind, ändern

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

        @fastfoot
        also abfrage per konsole mache ich gleich

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

        Pi macht gerade ein Upgrade natürlich dann wenn man es nicht gebrauchen kann

        harrymH 1 Antwort Letzte Antwort
        0
        • AphofisA Aphofis

          @fastfoot
          also abfrage per konsole mache ich gleich

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

          Pi macht gerade ein Upgrade natürlich dann wenn man es nicht gebrauchen kann

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

          @Aphofis

          ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_b
          

          fehlt dir da nicht die IP?

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

          F AphofisA 2 Antworten Letzte Antwort
          0
          • harrymH harrym

            @Aphofis

            ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_b
            

            fehlt dir da nicht die IP?

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

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

            @Aphofis

            ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_b
            

            fehlt dir da nicht die IP?

            Nein, das ist so in Ordnung!

            kleiner Scherz, aber darum, warum das so ist, dreht sich seit über einer Stunde die Diskussion:-)

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

            harrymH AphofisA 2 Antworten Letzte Antwort
            0
            • F fastfoot

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

              @Aphofis

              ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_b
              

              fehlt dir da nicht die IP?

              Nein, das ist so in Ordnung!

              kleiner Scherz, aber darum, warum das so ist, dreht sich seit über einer Stunde die Diskussion:-)

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

              @fastfoot sry ... hab nicht alles von beginn an gelesen.

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

              1 Antwort Letzte Antwort
              0
              • harrymH harrym

                @Aphofis

                ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_b
                

                fehlt dir da nicht die IP?

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

                @harrym
                ja ich sage ja da fehlt was die IP wird nicht ausgegeben

                1 Antwort Letzte Antwort
                0
                • F fastfoot

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

                  @Aphofis

                  ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_b
                  

                  fehlt dir da nicht die IP?

                  Nein, das ist so in Ordnung!

                  kleiner Scherz, aber darum, warum das so ist, dreht sich seit über einer Stunde die Diskussion:-)

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

                  @fastfoot
                  Scherzkeks aber es muss ja irgendwann unweigerlich mal was dabei raus kommen

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

                    letztes upgrade scheint etwas her zu sein es dauert ein wenig :speaking_head_in_silhouette: :spock-hand: :skull_and_crossbones:

                    F 1 Antwort Letzte Antwort
                    0
                    • AphofisA Aphofis

                      letztes upgrade scheint etwas her zu sein es dauert ein wenig :speaking_head_in_silhouette: :spock-hand: :skull_and_crossbones:

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

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

                      letztes upgrade scheint etwas her zu sein es dauert ein wenig :speaking_head_in_silhouette: :spock-hand: :skull_and_crossbones:

                      das wird schon, wenn die MAC bei arp -a gelistet wurde, und klein eingetragen ist(halt so wie gelistet), dann wird auch das Blockly funktionieren.

                      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:

                        letztes upgrade scheint etwas her zu sein es dauert ein wenig :speaking_head_in_silhouette: :spock-hand: :skull_and_crossbones:

                        das wird schon, wenn die MAC bei arp -a gelistet wurde, und klein eingetragen ist(halt so wie gelistet), dann wird auch das Blockly funktionieren.

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

                        @fastfoot
                        ne mac, email und web adressen schreibe ich immer klein! :blush:
                        ist es denn in deinem Blockly korekt das http:/// drei mal backslash eingetragen ist

                        F 1 Antwort Letzte Antwort
                        0
                        • AphofisA Aphofis

                          @fastfoot
                          ne mac, email und web adressen schreibe ich immer klein! :blush:
                          ist es denn in deinem Blockly korekt das http:/// drei mal backslash eingetragen ist

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

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

                          @fastfoot
                          ne mac, email und web adressen schreibe ich immer klein! :blush:
                          ist es denn in deinem Blockly korekt das http:/// drei mal backslash eingetragen ist

                          ja, denn die drei ergeben sich nur durch die fehlende IP, welche vor den letzten Slash kommt

                          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
                            ne mac, email und web adressen schreibe ich immer klein! :blush:
                            ist es denn in deinem Blockly korekt das http:/// drei mal backslash eingetragen ist

                            ja, denn die drei ergeben sich nur durch die fehlende IP, welche vor den letzten Slash kommt

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

                            @fastfoot ok
                            upgrade zieht sich

                            F 1 Antwort Letzte Antwort
                            0
                            • AphofisA Aphofis

                              @fastfoot ok
                              upgrade zieht sich

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

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

                              @fastfoot ok
                              upgrade zieht sich

                              mich wundert jetzt trotzdem wieso du kein Ergebnis hattest, wenn das Blockly eine kleine Mac hatte. In deinem Post früher war die 2c:xxxx jedenfalls gelistet. Aber deshalb erstmal auf der Konsole, wenn da der Name kommt, wird dieses Kommando in das Blockly übernommen, dann sehen wir weiter(Der Name sollte auch funktionieren, statt ip, macht den Befehl einfacher, bzw. kürzer)

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

                              AphofisA 2 Antworten Letzte Antwort
                              0
                              • F fastfoot

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

                                @fastfoot ok
                                upgrade zieht sich

                                mich wundert jetzt trotzdem wieso du kein Ergebnis hattest, wenn das Blockly eine kleine Mac hatte. In deinem Post früher war die 2c:xxxx jedenfalls gelistet. Aber deshalb erstmal auf der Konsole, wenn da der Name kommt, wird dieses Kommando in das Blockly übernommen, dann sehen wir weiter(Der Name sollte auch funktionieren, statt ip, macht den Befehl einfacher, bzw. kürzer)

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

                                @fastfoot
                                :cold_sweat: :cold_sweat: :cold_sweat: wenn dann mal das upgrade zu ende wäre

                                1 Antwort Letzte Antwort
                                0
                                • F fastfoot

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

                                  @fastfoot ok
                                  upgrade zieht sich

                                  mich wundert jetzt trotzdem wieso du kein Ergebnis hattest, wenn das Blockly eine kleine Mac hatte. In deinem Post früher war die 2c:xxxx jedenfalls gelistet. Aber deshalb erstmal auf der Konsole, wenn da der Name kommt, wird dieses Kommando in das Blockly übernommen, dann sehen wir weiter(Der Name sollte auch funktionieren, statt ip, macht den Befehl einfacher, bzw. kürzer)

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

                                  @fastfoot

                                  yeah yeah yeah
                                  die Ausgabe in der Log ist endlich da!
                                  Hatte dein Blockly noch mal kopiert und neu erstellt

                                  javascript.0	2020-06-23 22:37:20.064	info	/cm?user=benutzer&passwort=passwort
                                  javascript.0	2020-06-23 22:37:20.064	info	192.168.0.57
                                  

                                  nur im Datenpunkt wird jetzt das angezeigt

                                  http://192.168.0.57192.168.0.57/cm?user=benutzer&passwort=passwort
                                  

                                  kann man da nicht nur die IP Adresse anzeugen lassen!?

                                  F 1 Antwort Letzte Antwort
                                  0
                                  • AphofisA Aphofis

                                    @fastfoot

                                    yeah yeah yeah
                                    die Ausgabe in der Log ist endlich da!
                                    Hatte dein Blockly noch mal kopiert und neu erstellt

                                    javascript.0	2020-06-23 22:37:20.064	info	/cm?user=benutzer&passwort=passwort
                                    javascript.0	2020-06-23 22:37:20.064	info	192.168.0.57
                                    

                                    nur im Datenpunkt wird jetzt das angezeigt

                                    http://192.168.0.57192.168.0.57/cm?user=benutzer&passwort=passwort
                                    

                                    kann man da nicht nur die IP Adresse anzeugen lassen!?

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

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

                                    @fastfoot

                                    yeah yeah yeah
                                    die Ausgabe in der Log ist endlich da!
                                    Hatte dein Blockly noch mal kopiert und neu erstellt

                                    javascript.0	2020-06-23 22:37:20.064	info	/cm?user=benutzer&passwort=passwort
                                    javascript.0	2020-06-23 22:37:20.064	info	192.168.0.57
                                    

                                    nur im Datenpunkt wird jetzt das angezeigt

                                    http://192.168.0.57192.168.0.57/cm?user=benutzer&passwort=passwort
                                    

                                    kann man da nicht nur die IP Adresse anzeugen lassen!?

                                    Die IP ist in der Variablen result. Du musst noch einen Fehler drin haben, poste mal dein XML

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

                                    AphofisA 2 Antworten Letzte Antwort
                                    0
                                    • F fastfoot

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

                                      @fastfoot

                                      yeah yeah yeah
                                      die Ausgabe in der Log ist endlich da!
                                      Hatte dein Blockly noch mal kopiert und neu erstellt

                                      javascript.0	2020-06-23 22:37:20.064	info	/cm?user=benutzer&passwort=passwort
                                      javascript.0	2020-06-23 22:37:20.064	info	192.168.0.57
                                      

                                      nur im Datenpunkt wird jetzt das angezeigt

                                      http://192.168.0.57192.168.0.57/cm?user=benutzer&passwort=passwort
                                      

                                      kann man da nicht nur die IP Adresse anzeugen lassen!?

                                      Die IP ist in der Variablen result. Du musst noch einen Fehler drin haben, poste mal dein XML

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

                                      @fastfoot

                                      <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="0@Y{~/hRy0d:vMQ1kCo@">url</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">2c:f4:32:57:b7:14</field>
                                            </block>
                                          </value>
                                          <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 -f2|cut -c2-16|cut -f1 -d ")"</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="exec" id="Ra4`1SB0/Eog44pt9iJZ" 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="@QX{2frW2vhyd`CI;c:s">
                                                      <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="|uJ{n?p{=za?mcVLIRON">
                                                      <field name="VAR" id="@[II(5R#h[a47`qET5k.">cmd</field>
                                                    </block>
                                                  </value>
                                                  <statement name="STATEMENT">
                                                    <block type="variables_set" id="2;J*T*TpGNH`Ml_U^%63">
                                                      <field name="VAR" id="0@Y{~/hRy0d:vMQ1kCo@">url</field>
                                                      <value name="VALUE">
                                                        <block type="text_join" id="uNUY7tNxUZ3!oh#}bHXB" inline="true">
                                                          <mutation items="3"></mutation>
                                                          <value name="ADD0">
                                                            <block type="text" id="2GJK-1Bvmp)s6NC9.,:2">
                                                              <field name="TEXT">http://</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD1">
                                                            <block type="variables_get" id="/Dkdf,;.$]{U?-+%6q]I">
                                                              <field name="VAR" id="Fk6H`kq}eo!FPH!Ld2Ii">result</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD2">
                                                            <block type="text" id="W[)hj~HEq7,*GOK28V%|">
                                                              <field name="TEXT">/cm?user=benutzer&amp;passwort=passwort</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="debug" id="?{mh|9:IPCBzf@bm4g=y" inline="true">
                                                          <field name="Severity">log</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="g/_Y3S(JG]HJS{wR6YI[">
                                                              <field name="TEXT">test</field>
                                                            </shadow>
                                                            <block type="variables_get" id="63@w*D4._cHwf:)n~#Nh">
                                                              <field name="VAR" id="0@Y{~/hRy0d:vMQ1kCo@">url</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="update" id="QIux{@Cmil$IGVm2^=AS">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">Aqua_Control.0.IP_MAC_Abgleich.Aqua_Control</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="o09,K@:bm8P/u6/rKMsj">
                                                                  <field name="VAR" id="0@Y{~/hRy0d:vMQ1kCo@">url</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </xml>
                                      
                                      F 1 Antwort Letzte Antwort
                                      0
                                      • AphofisA Aphofis

                                        @fastfoot

                                        <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="0@Y{~/hRy0d:vMQ1kCo@">url</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">2c:f4:32:57:b7:14</field>
                                              </block>
                                            </value>
                                            <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 -f2|cut -c2-16|cut -f1 -d ")"</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="exec" id="Ra4`1SB0/Eog44pt9iJZ" 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="@QX{2frW2vhyd`CI;c:s">
                                                        <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="|uJ{n?p{=za?mcVLIRON">
                                                        <field name="VAR" id="@[II(5R#h[a47`qET5k.">cmd</field>
                                                      </block>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="variables_set" id="2;J*T*TpGNH`Ml_U^%63">
                                                        <field name="VAR" id="0@Y{~/hRy0d:vMQ1kCo@">url</field>
                                                        <value name="VALUE">
                                                          <block type="text_join" id="uNUY7tNxUZ3!oh#}bHXB" inline="true">
                                                            <mutation items="3"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text" id="2GJK-1Bvmp)s6NC9.,:2">
                                                                <field name="TEXT">http://</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="variables_get" id="/Dkdf,;.$]{U?-+%6q]I">
                                                                <field name="VAR" id="Fk6H`kq}eo!FPH!Ld2Ii">result</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text" id="W[)hj~HEq7,*GOK28V%|">
                                                                <field name="TEXT">/cm?user=benutzer&amp;passwort=passwort</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="debug" id="?{mh|9:IPCBzf@bm4g=y" inline="true">
                                                            <field name="Severity">log</field>
                                                            <value name="TEXT">
                                                              <shadow type="text" id="g/_Y3S(JG]HJS{wR6YI[">
                                                                <field name="TEXT">test</field>
                                                              </shadow>
                                                              <block type="variables_get" id="63@w*D4._cHwf:)n~#Nh">
                                                                <field name="VAR" id="0@Y{~/hRy0d:vMQ1kCo@">url</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="update" id="QIux{@Cmil$IGVm2^=AS">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">Aqua_Control.0.IP_MAC_Abgleich.Aqua_Control</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get" id="o09,K@:bm8P/u6/rKMsj">
                                                                    <field name="VAR" id="0@Y{~/hRy0d:vMQ1kCo@">url</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </xml>
                                        
                                        F Offline
                                        F Offline
                                        fastfoot
                                        schrieb am zuletzt editiert von
                                        #86

                                        @Aphofis
                                        Kann ich nicht nachvollziehen, steht bei mir so da. Außer: An result wird wohl noch ein LF angehangen, das sollte im Log wie ein Leerzeichen aussehen. Abhilfe schafft ein 'Entferne Leerzeichen....' Block aus Text

                                        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

                                          yeah yeah yeah
                                          die Ausgabe in der Log ist endlich da!
                                          Hatte dein Blockly noch mal kopiert und neu erstellt

                                          javascript.0	2020-06-23 22:37:20.064	info	/cm?user=benutzer&passwort=passwort
                                          javascript.0	2020-06-23 22:37:20.064	info	192.168.0.57
                                          

                                          nur im Datenpunkt wird jetzt das angezeigt

                                          http://192.168.0.57192.168.0.57/cm?user=benutzer&passwort=passwort
                                          

                                          kann man da nicht nur die IP Adresse anzeugen lassen!?

                                          Die IP ist in der Variablen result. Du musst noch einen Fehler drin haben, poste mal dein XML

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

                                          @fastfoot
                                          ist nur die Frage warum im Datenpunkt zweimal die IP ausgegeben wird!

                                          192.168.0.57192.168.0.57
                                          
                                          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

                                          875

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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