Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [gelöst] IP Eintrag in Text

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

[gelöst] IP Eintrag in Text

Scheduled Pinned Locked Moved Blockly
blockly
3 Posts 2 Posters 332 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AphofisA Offline
    AphofisA Offline
    Aphofis
    wrote on last edited by Aphofis
    #1

    Hallo Leute, ich wollte mal fragen, ob es möglich ist aus einem Datenpunkt eine IP ab zu fragen und diese dann in den exec Text einzubetten !?
    esp reboot.png
    Es geht um den roten Bereich vielmehr um das Textfeld, kann man das so abwandeln, das die IP dazu aus einem Datenpunkt genommen werden kann !?

    Quellcode:

    <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="on" id="5+Aq]kWEr$-MbEsPQOdd" x="-1662" y="-862">
        <field name="OID">0_userdata.0.Aqua_Control.0.ESP_Reboot.Aqua_Dosierer</field>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <statement name="STATEMENT">
          <block type="controls_if" id="|0x)BNGmXHGeJjVk{H/U">
            <value name="IF0">
              <block type="logic_compare" id="A0nYx/=g4gD=yu`enAQs">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="5ou?A5EGx)GV7{6V)4kL">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.Aqua_Control.0.ESP_Reboot.Aqua_Dosierer</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="RuUNb(flm@##5KwJ;OT,">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="request" id="L`=gj8-_?2e-RM;s^-nm">
                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                <field name="WITH_STATEMENT">FALSE</field>
                <field name="LOG">log</field>
                <value name="URL">
                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="/QB12?FoSL,HH;5mQ4WS">
                    <field name="TEXT">text</field>
                  </shadow>
                  <block type="text" id="3^i%pXoD%at.TpGj{#/N">
                    <field name="TEXT">http://192.168.0.13/cm?user=admin&amp;password=mein_passwort&amp;cmnd=Restart%201</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="Xy[DFh:4c?nO??%0OL={">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                    <field name="OID">0_userdata.0.Aqua_Control.0.ESP_Reboot.Aqua_Dosierer</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">10</field>
                    <field name="UNIT">sec</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="1oV!um/Rsj,4Ji]i.W:e">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="9};$:/(!;4(W|L,c{-ti">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="text_join" id="Gxylg7r02KYYxVUMf/N.">
                            <mutation items="1"></mutation>
                            <value name="ADD0">
                              <block type="text" id="xnMA@S}oO*$ZIu]4sNkk">
                                <field name="TEXT">Aqua Dosierer,, wurde neu gestartet</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="telegram" id="ecFJQ+D=/X^yD=i{OG~G">
                            <field name="INSTANCE">.4</field>
                            <field name="LOG"></field>
                            <field name="SILENT">FALSE</field>
                            <field name="PARSEMODE">default</field>
                            <value name="MESSAGE">
                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Q8V,~Cj!QY03V`OHi,k6">
                                <field name="TEXT">text</field>
                              </shadow>
                              <block type="text_join" id="Hums])|=?j!W3:S{az5q">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="eXjU)~}zb1@Z.A,}T48Z">
                                    <field name="TEXT">Aqua Dosierer</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text_newline" id="Fo7*CXYDrl5~tFn%y30C">
                                    <field name="Type">\n</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="9`s,C3P-Bu7#I1PJzs1k">
                                    <field name="TEXT">wurde neu gestartet</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </xml>
    
    XBiTX 1 Reply Last reply
    0
    • AphofisA Aphofis

      Hallo Leute, ich wollte mal fragen, ob es möglich ist aus einem Datenpunkt eine IP ab zu fragen und diese dann in den exec Text einzubetten !?
      esp reboot.png
      Es geht um den roten Bereich vielmehr um das Textfeld, kann man das so abwandeln, das die IP dazu aus einem Datenpunkt genommen werden kann !?

      Quellcode:

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on" id="5+Aq]kWEr$-MbEsPQOdd" x="-1662" y="-862">
          <field name="OID">0_userdata.0.Aqua_Control.0.ESP_Reboot.Aqua_Dosierer</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="|0x)BNGmXHGeJjVk{H/U">
              <value name="IF0">
                <block type="logic_compare" id="A0nYx/=g4gD=yu`enAQs">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="get_value" id="5ou?A5EGx)GV7{6V)4kL">
                      <field name="ATTR">val</field>
                      <field name="OID">0_userdata.0.Aqua_Control.0.ESP_Reboot.Aqua_Dosierer</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id="RuUNb(flm@##5KwJ;OT,">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="request" id="L`=gj8-_?2e-RM;s^-nm">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                  <field name="WITH_STATEMENT">FALSE</field>
                  <field name="LOG">log</field>
                  <value name="URL">
                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="/QB12?FoSL,HH;5mQ4WS">
                      <field name="TEXT">text</field>
                    </shadow>
                    <block type="text" id="3^i%pXoD%at.TpGj{#/N">
                      <field name="TEXT">http://192.168.0.13/cm?user=admin&amp;password=mein_passwort&amp;cmnd=Restart%201</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="Xy[DFh:4c?nO??%0OL={">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                      <field name="OID">0_userdata.0.Aqua_Control.0.ESP_Reboot.Aqua_Dosierer</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">10</field>
                      <field name="UNIT">sec</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="1oV!um/Rsj,4Ji]i.W:e">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="9};$:/(!;4(W|L,c{-ti">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alexa2.0.Echo-Devices.G090LV0371040175.Commands.speak</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text_join" id="Gxylg7r02KYYxVUMf/N.">
                              <mutation items="1"></mutation>
                              <value name="ADD0">
                                <block type="text" id="xnMA@S}oO*$ZIu]4sNkk">
                                  <field name="TEXT">Aqua Dosierer,, wurde neu gestartet</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="telegram" id="ecFJQ+D=/X^yD=i{OG~G">
                              <field name="INSTANCE">.4</field>
                              <field name="LOG"></field>
                              <field name="SILENT">FALSE</field>
                              <field name="PARSEMODE">default</field>
                              <value name="MESSAGE">
                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Q8V,~Cj!QY03V`OHi,k6">
                                  <field name="TEXT">text</field>
                                </shadow>
                                <block type="text_join" id="Hums])|=?j!W3:S{az5q">
                                  <mutation items="3"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="eXjU)~}zb1@Z.A,}T48Z">
                                      <field name="TEXT">Aqua Dosierer</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="text_newline" id="Fo7*CXYDrl5~tFn%y30C">
                                      <field name="Type">\n</field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="text" id="9`s,C3P-Bu7#I1PJzs1k">
                                      <field name="TEXT">wurde neu gestartet</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      
      XBiTX Offline
      XBiTX Offline
      XBiT
      wrote on last edited by
      #2

      @aphofis

      Dein Textfeld Gegen das austauschen.
      Bei Wert vom Objekt.. deinen Datenpunkt mit der IP auswählen.

      2.PNG

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="text_join" id="6h4%!*zXX@nt(mrhnYYv" x="88" y="-437">
          <mutation items="3"></mutation>
          <value name="ADD0">
            <block type="text" id="5Ut7tlyZ_6T!$$?|pLU/">
              <field name="TEXT">http://</field>
            </block>
          </value>
          <value name="ADD1">
            <block type="get_value" id="F)5D$d@`]A|L=2HjJ=v^">
              <field name="ATTR">val</field>
              <field name="OID">ID auswählen</field>
            </block>
          </value>
          <value name="ADD2">
            <block type="text" id="jns:ltKM#TcISQm7rZmP">
              <field name="TEXT">cm?user=admin&amp;amp;password=mein_passwort&amp;amp;cmnd=Restart%201</field>
            </block>
          </value>
        </block>
      </xml>
      
      1 Reply Last reply
      1
      • AphofisA Offline
        AphofisA Offline
        Aphofis
        wrote on last edited by
        #3

        @xbit Das ja simpel!
        Schon eher peinlich, das ich da nicht selbst drauf gekommen bin.
        Wusste nicht das man das so trennen kann.
        Super Vielen Dank

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        431

        Online

        32.6k

        Users

        82.3k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe