Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly Script Hilfe

NEWS

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

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

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

Blockly Script Hilfe

Scheduled Pinned Locked Moved Skripten / Logik
6 Posts 3 Posters 860 Views
  • 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.
  • S Offline
    S Offline
    slemy
    wrote on last edited by
    #1

    Wenn ich ein Blockly script importiere und dann speichern will geht das nicht mehr und bekomme folgende Fehlermeldung
    3740_screenshot__10_.png

    ioBroker Image von 14.04.2018 Frisch Installiert , ohne Besserung .

    Skript wurde Exportiert und gesichert und beim Importieren geht es nun nicht mehr , Voran liegt es ?

    Skript:

     <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="?F,8Tzb!@A:,r?6/R[XZ" x="-1738" y="-762"><mutation items="1"></mutation>
        <field name="CONDITION">ne</field>
    
        <value name="OID0"><shadow type="field_oid" id="W%OlXA4,qUB)Z]u;oLn|"><field name="oid">tr-064.0.callmonitor.inbound.callerName</field></shadow></value> 
        <statement name="STATEMENT"><block type="controls_if" id="hQ.8g=zX[lg_5c[d%NqZ"><value name="IF0"><block type="get_value" id="rrU3lkqv8kq]gg`6ClVu"><field name="ATTR">val</field>
                <field name="OID">tr-064.0.callmonitor.inbound.callerName</field></block></value> 
            <statement name="DO0"><block type="timeouts_settimeout" id="{kIQ4Mnk@Nd`}H~(bmEM"><field name="NAME">timeout</field>
                <field name="DELAY">2000</field>
                <field name="UNIT">ms</field>
                <statement name="STATEMENT"><block type="sayit" id="JJjrmO4*@F9tpf:7OyK/"><field name="INSTANCE">.0</field>
                    <field name="LANGUAGE">de</field>
    
                    <value name="VOLUME"><block type="math_number" id="8(F!H)O5)N]!N|3wR~:8"><field name="NUM">25</field></block></value> 
                    <value name="MESSAGE"><shadow type="text" id="}DNVD,ZT,P;R;oVu}cWT"><field name="TEXT">text</field></shadow> 
                      <block type="text_join" id="{*A5GmyE?{QajnrLc_V["><mutation items="2"></mutation>
                        <value name="ADD0"><block type="get_value" id="mTPHHl:[k]ODsi,/]TW,"><field name="ATTR">val</field>
                            <field name="OID">tr-064.0.callmonitor.inbound.callerName</field></block></value> 
                        <value name="ADD1"><block type="text" id="c@_rYuwAcB2sK|F*VT2o"><field name="TEXT">Ruft an</field></block></value></block></value> 
                    <next><block type="timeouts_settimeout" id="+TKugg#)eUQER6)_![1."><field name="NAME">timeout1</field>
                        <field name="DELAY">4000</field>
                        <field name="UNIT">ms</field>
                        <statement name="STATEMENT"><block type="sayit" id="%41gLx1!i71S!l8}Xw8V"><field name="INSTANCE">.0</field>
                            <field name="LANGUAGE">de</field>
    
                            <value name="VOLUME"><block type="math_number" id="Aj)Q:.![WkTzG49^p0~r"><field name="NUM">25</field></block></value> 
                            <value name="MESSAGE"><shadow type="text" id="}DNVD,ZT,P;R;oVu}cWT"><field name="TEXT">text</field></shadow> 
                              <block type="text_join" id="LC:{F)gq05r{Mp^c~QRg"><mutation items="2"></mutation>
                                <value name="ADD0"><block type="get_value" id="clN^USf^WQLO7zo~(=U%"><field name="ATTR">val</field>
                                    <field name="OID">tr-064.0.callmonitor.inbound.callerName</field></block></value> 
                                <value name="ADD1"><block type="text" id="9U/dK%LEXzrStDGMm_l_"><field name="TEXT">Ruft an</field></block></value></block></value></block></statement></block></next></block></statement></block></statement></block></statement></block></xml> 
    
    1 Reply Last reply
    0
    • wendy2702W Online
      wendy2702W Online
      wendy2702
      wrote on last edited by
      #2

      Also ich kann es importieren. JS Version 3.6.4

      999_blockly_import.jpg

      Gibt es die Datenpunkte alle die im Blockly verwendet werden?

      Bitte keine Fragen per PN, die gehören ins Forum!

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        slemy
        wrote on last edited by
        #3

        THX,

        Es lag an Sayit , da ich jetzt Alexa2.0 Adapter benutze wollte ich Sayit nicht mehr .

        Skript bereit für Alexa2.0 geändert .

         <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="?F,8Tzb!@A:,r?6/R[XZ" x="-2712" y="-1063"><mutation items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION">true</field>
            <value name="OID0"><shadow type="field_oid" id="W%OlXA4,qUB)Z]u;oLn|"><field name="oid">tr-064.0.callmonitor.inbound.callerName</field></shadow></value> 
            <statement name="STATEMENT"><block type="controls_if" id="P9ST9Nt,43n_keeL,Rj4"><value name="IF0"><block type="get_value" id="n/IIgx5y+#N^s!]!w#S."><field name="ATTR">val</field>
                    <field name="OID">tr-064.0.callmonitor.inbound.callerName</field></block></value> 
                <statement name="DO0"><block type="control" id="a!jk/R~?{rc%,VPa4v/O"><mutation delay_input="true"></mutation>
                    <field name="OID">alexa2.0.Echo-Devices.G090L910725307VN.Commands.speak</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">2</field>
                    <field name="UNIT">sec</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE"><block type="text_join" id="aG^U8%tl].!U#5w2cZue"><mutation items="2"></mutation>
                        <value name="ADD0"><block type="get_value" id="|C8@uH8jt^s#N0.!wg?{"><field name="ATTR">val</field>
                            <field name="OID">tr-064.0.callmonitor.inbound.callerName</field></block></value> 
                        <value name="ADD1"><block type="text" id="H{_fjco#Q.X7k7ow6Pm7"><field name="TEXT">ruft an</field></block></value></block></value> 
                    <next><block type="control" id="HlLobMpP4Q,3M:BUB~hL"><mutation delay_input="false"></mutation>
                        <field name="OID">alexa2.0.Echo-Devices.G090L910725307VN.Player.volume</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE"><block type="math_number" id="}*%GoZ%Vn_WnNXYCsM06"><field name="NUM">35</field></block></value></block></next></block></statement></block></statement></block></xml> 
        

        So nachdem ich jetzt etwas angepasst habe , brauche ich wieder Hilfe .

        Was muss ich ändern damit der Speak sich wiederholt so lang der Objekt ID Ringing aktiv ist ?

        Sonnst sagt er nur ein einziges mal .

        1 Reply Last reply
        0
        • paul53P Offline
          paul53P Offline
          paul53
          wrote on last edited by
          #4

          @slemy:

          wiederholt so lang der Objekt ID Ringing aktiv ist ? `
          Stichworte: Ausführen Intervall, stop zyklische Ausführung Intervall

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          1 Reply Last reply
          0
          • S Offline
            S Offline
            slemy
            wrote on last edited by
            #5

            Denke kein Intervall , es muss ja anders gehen

            1 Reply Last reply
            0
            • S Offline
              S Offline
              slemy
              wrote on last edited by
              #6

              Eine Frage hab ich noch .Wie kann ich mit Blockley einem Object ID einen anderen Wert zu weisen?

              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

              417

              Online

              32.4k

              Users

              81.4k

              Topics

              1.3m

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

              • Don't have an account? Register

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