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. Vorlage Telegram Menü ohne Text2Command

NEWS

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

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

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

Vorlage Telegram Menü ohne Text2Command

Geplant Angeheftet Gesperrt Verschoben Blockly
129 Beiträge 37 Kommentatoren 28.7k Aufrufe 75 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.
  • dslraserD dslraser

    @west
    ich habe diese Geräte nicht, dazu kann ich nichts sagen.

    W Offline
    W Offline
    west
    schrieb am zuletzt editiert von west
    #100

    @dslraser

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="Z}Ve$J|;(*{b)%hU4@SU">Menue_Uebersicht_empfaenger</variable>
        <variable id="Gj?g)D.%p]Op^(lWOk[G">Menue_Terrasse_empfaenger</variable>
        <variable id="gJ!eqa_VD`lME)5M)Kbm">Telegram_Text</variable>
        <variable id="T5Mn2pGiq/X;w%Ck}wR~">Telegram_Empfaenger</variable>
        <variable id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</variable>
        <variable id="F(UYIIB#A[DzQ$$oxHOg">Vorletzter_Text</variable>
        <variable id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</variable>
        <variable id="7APOJzrx@/#bZjuHi3)h">Letzter_Text_klein</variable>
      </variables>
      <block type="procedures_defcustomnoreturn" id="JwmReO-9.#N^w%p0?9K}" x="13" y="13">
        <mutation statements="false">
          <arg name="Menue_Uebersicht_empfaenger" varid="Z}Ve$J|;(*{b)%hU4@SU"></arg>
        </mutation>
        <field name="NAME">Menue_Uebersicht_Sven</field>
        <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgIHVzZXI6IChNZW51ZV9VZWJlcnNpY2h0X2VtcGZhZW5nZXIpLA0KICAgIHRleHQ6ICAnQml0dGUgd8OkaGxlbicsDQogICAgcmVwbHlfbWFya3VwOiB7DQogICAga2V5Ym9hcmQ6IFsNCiAgICAgICAgWydUZXJyYXNzZSddLA0KICAgICAgICBdLA0KICAgICAgICByZXNpemVfa2V5Ym9hcmQ6ICAgdHJ1ZSwNCiAgICAgICAgb25lX3RpbWVfa2V5Ym9hcmQ6IHRydWUNCiAgICB9DQp9KTs=</field>
        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
      </block>
      <block type="procedures_defcustomnoreturn" id="W)n`zI%4Z8uO4h6r[ZT6" x="13" y="63">
        <mutation statements="false">
          <arg name="Menue_Terrasse_empfaenger" varid="Gj?g)D.%p]Op^(lWOk[G"></arg>
        </mutation>
        <field name="NAME">Menue_Terrasse</field>
        <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgIHVzZXI6IChNZW51ZV9UZXJyYXNzZSksDQogICAgdGV4dDogICdCaXR0ZSB3w6RobGVuJywNCiAgICByZXBseV9tYXJrdXA6IHsNCiAgICBrZXlib2FyZDogWw0KICAgICAgICAgICAgWyfDnGJlcnNpY2h0J10sDQogICAgICAgICAgICBbJ1Bvc2l0aW9uIDEgaG9jaCcsICdQb3NpdGlvbiAxIHJ1bnRlciddLA0KICAgICAgICAgICAgWydQb3NpdGlvbiAyIGhvY2gnLCAnUG9zaXRpb24gMiBydW50ZXInXSwNCiAgICAgICAgICAgIFsnUG9zaXRpb24gMyBob2NoJywgJ1Bvc2l0aW9uIDMgcnVudGVyJ10sDQogICAgICAgICAgICBdLA0KICAgICAgICByZXNpemVfa2V5Ym9hcmQ6ICAgdHJ1ZSwNCiAgICAgICAgb25lX3RpbWVfa2V5Ym9hcmQ6IHRydWUNCiAgICB9DQp9KTsNCg0KDQo=</field>
        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
      </block>
      <block type="on_ext" id="!8B]z7wO)w*bD^7(714W" x="13" y="113">
        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
        <field name="CONDITION">any</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="J=/9IeQnq:FSa`bM5)PG">
            <field name="oid">default</field>
          </shadow>
          <block type="field_oid" id="GDubi_#J2DI7*n0ep|.D">
            <field name="oid">telegram.0.communicate.request</field>
          </block>
        </value>
        <statement name="STATEMENT">
          <block type="variables_set" id="wx1Id^cN]ztTBpbxGq9u" collapsed="true">
            <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
            <value name="VALUE">
              <block type="text_getSubstring" id="!{g./8(or54hvEyb1P`f" inline="false">
                <mutation at1="true" at2="true"></mutation>
                <field name="WHERE1">FROM_START</field>
                <field name="WHERE2">FROM_START</field>
                <value name="STRING">
                  <block type="on_source" id="IH2.D,NF:~A]W/4FHzgx">
                    <field name="ATTR">state.val</field>
                  </block>
                </value>
                <value name="AT1">
                  <block type="math_number" id="e3-d;DM::ScEpRh}H!@u">
                    <field name="NUM">2</field>
                  </block>
                </value>
                <value name="AT2">
                  <block type="math_arithmetic" id="!6WqqSNO@l{-K;,0UXg-" inline="false">
                    <field name="OP">MINUS</field>
                    <value name="A">
                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="r%ebl4IUX*XWQmsp|?rw">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="text_indexOf" id="zZ:Zi`joE?XuMOeVt|R6">
                        <field name="END">FIRST</field>
                        <value name="VALUE">
                          <block type="on_source" id="X)hVqhY|6Z+@Cb?r}b4`">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="FIND">
                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="53KpH_VzOt@uW50iFuYJ">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="1]2I2PG:.3LKq!TKaRwq">
                            <field name="TEXT">]</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+bTY;ti{LICv`mEp;Zjv">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="eBIB);yoT|)BAtWQsxk%">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="R+I)j*W!*WCgD`aI*xvD" collapsed="true">
                <field name="VAR" id="F(UYIIB#A[DzQ$$oxHOg">Vorletzter_Text</field>
                <value name="VALUE">
                  <block type="text_getSubstring" id="S1u?yDc9reT)Ec4r6qxD" inline="false">
                    <mutation at1="true" at2="false"></mutation>
                    <field name="WHERE1">FROM_START</field>
                    <field name="WHERE2">LAST</field>
                    <value name="STRING">
                      <block type="on_source" id="vRkU-n_2.RDdV:yB5D}+">
                        <field name="ATTR">oldState.val</field>
                      </block>
                    </value>
                    <value name="AT1">
                      <block type="math_arithmetic" id=",ea%8x4@]`RM14@d5WSq" inline="false">
                        <field name="OP">ADD</field>
                        <value name="A">
                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="text_indexOf" id="cG:l1K/c%`5;UEWzhba+" inline="false">
                            <field name="END">FIRST</field>
                            <value name="VALUE">
                              <block type="on_source" id="X0GqXOgj+:O_w-+5);g9">
                                <field name="ATTR">oldState.val</field>
                              </block>
                            </value>
                            <value name="FIND">
                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text" id="3TWGILQ/M45cCy9uQ]Z(">
                                <field name="TEXT">]</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-9+`M14/p._`PvUM3`yk">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_number" id="d6OXjZVex}I+,5-:Yl!m">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="D?Gsdcua?{EMLU):!p{a" collapsed="true">
                    <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                    <value name="VALUE">
                      <block type="text_getSubstring" id=";V75FO4VtMZ3nP[Seh:A" inline="false">
                        <mutation at1="true" at2="false"></mutation>
                        <field name="WHERE1">FROM_START</field>
                        <field name="WHERE2">LAST</field>
                        <value name="STRING">
                          <block type="on_source" id="8(|o6e}c_LrFrEoPepdW">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="AT1">
                          <block type="math_arithmetic" id="h7_S)hH`5@RA?#U)5g=1" inline="false">
                            <field name="OP">ADD</field>
                            <value name="A">
                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="text_indexOf" id="0e*(2Dhq5d1#U;xsFNn%" inline="false">
                                <field name="END">FIRST</field>
                                <value name="VALUE">
                                  <block type="on_source" id="F{10J^|L`v=G`3f=^kJc">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                                <value name="FIND">
                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                    <field name="TEXT">abc</field>
                                  </shadow>
                                  <block type="text" id="c,}EJ]POpPpb|nI#.!zb">
                                    <field name="TEXT">]</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-9+`M14/p._`PvUM3`yk">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_number" id="(Kg1M+/J_!`LmKq-sU!S">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="b=~HQ{iB`[wPTakV^@ZM" collapsed="true">
                        <field name="VAR" id="7APOJzrx@/#bZjuHi3)h">Letzter_Text_klein</field>
                        <value name="VALUE">
                          <block type="text_changeCase" id="k}YBs[0Ii[p;TfALl+_1">
                            <field name="CASE">LOWERCASE</field>
                            <value name="TEXT">
                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~FExu?j/U1Rnc13CP(#-">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_getSubstring" id="Fsbtn^.cVRxgb_kjg}n1" inline="false">
                                <mutation at1="true" at2="false"></mutation>
                                <field name="WHERE1">FROM_START</field>
                                <field name="WHERE2">LAST</field>
                                <value name="STRING">
                                  <block type="on_source" id="dP}]L2;[AzL`jTyPK;8Y">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                                <value name="AT1">
                                  <block type="math_arithmetic" id="VChSZL[^!pRA1U3/K~ic" inline="false">
                                    <field name="OP">ADD</field>
                                    <value name="A">
                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="text_indexOf" id=";Jv+Wu:no!I1t}5^%GMI" inline="false">
                                        <field name="END">FIRST</field>
                                        <value name="VALUE">
                                          <block type="on_source" id="w;+qgG;S]7QbgfeoL*h1">
                                            <field name="ATTR">state.val</field>
                                          </block>
                                        </value>
                                        <value name="FIND">
                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text" id="0YMCl~TtZfZ/`KZgV6qi">
                                            <field name="TEXT">]</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="2ugj/NH#m(u7yrzi++3:">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_number" id=":f/Ow%zjJOy!e%)W3g+4">
                                        <field name="NUM">1</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="comment" id="b[V_lonjkhpzkQrWre|0">
                            <field name="COMMENT">Menü Übersicht</field>
                            <next>
                              <block type="controls_if" id="/z.WY`-k,!|KIyWwYu:C">
                                <value name="IF0">
                                  <block type="logic_operation" id="?-NKEu./;)0;R}cqYW;M" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="eQR3DPA65Ci_~CAz/Af[">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="w,#25-Qu~W183AA.g^S@">
                                            <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="KXSs7XVyifzf@{oXfeD{">
                                            <field name="TEXT">Joerg89</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_operation" id="HPe0Lt?p5+*nfr7LHuVn" inline="false">
                                        <field name="OP">OR</field>
                                        <value name="A">
                                          <block type="logic_compare" id="=IM{d=@Wh+Mw?Fdexn78">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id=";AzyRgiy^9lBYB93yh5d">
                                                <field name="VAR" id="7APOJzrx@/#bZjuHi3)h">Letzter_Text_klein</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="pqT4eE0u{unJq+JF#cTK">
                                                <field name="TEXT">übersicht</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="l*wu*d1FlrZIA*1{*SO2">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="vjdQQ?EgzG*F_}3ve,:q">
                                                <field name="VAR" id="7APOJzrx@/#bZjuHi3)h">Letzter_Text_klein</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="w@`#XN0}uC|^RDQXJym?">
                                                <field name="TEXT">ü</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="procedures_callcustomnoreturn" id="lq{=p@KUT{Y*.Tz,ocTH">
                                    <mutation name="Menue_Uebersicht_Sven">
                                      <arg name="Menue_Uebersicht_empfaenger"></arg>
                                    </mutation>
                                    <value name="ARG0">
                                      <block type="variables_get" id="M3b}5,Cr;(t@Os@;Kg@N">
                                        <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="comment" id="p%GhVuGf}ZvUWmgE-`{%">
                                    <field name="COMMENT">Terrasse</field>
                                    <next>
                                      <block type="controls_if" id="rZc@zo{]EKmr*RcTc{Sz">
                                        <value name="IF0">
                                          <block type="logic_compare" id="7I|!abRD0*SDH/kq6]3#">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="r[X?75n{yk-SBJZ~C,_r">
                                                <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="Li(_]zP5@BV/;MUFI,b*">
                                                <field name="TEXT">Terrasse</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="procedures_callcustomnoreturn" id="F//:l^i7izC[]3vl@]=^">
                                            <mutation name="Menue_Terrasse">
                                              <arg name="Menue_Terrasse_empfaenger"></arg>
                                            </mutation>
                                            <value name="ARG0">
                                              <block type="variables_get" id="|09sp(8Hc_vGma!9tdkl">
                                                <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="comment" id="Izm@wm*u9iM_%a|ODT@X">
                                            <field name="COMMENT">Position 1</field>
                                            <next>
                                              <block type="controls_if" id="RUu.hxh.4u34[-]l*4dx">
                                                <mutation elseif="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id="q^a%LQgoHmKBynLS8zke">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="m65`]O!nIPO45R/D%vGC">
                                                        <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="text" id="iGSx!_rq4Fy?R*OEdcmS">
                                                        <field name="TEXT">Position 1 hoch</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="oj5m/=%5vRoEyg%eMa*:">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">tahoma.0.devices.Postion_1.commands.up</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="B?R[o@%Mao3]=T^6wcd`">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="procedures_callcustomnoreturn" id="[@:k06%$7}w_GB!Mbd1u">
                                                        <mutation name="Menue_Terrasse">
                                                          <arg name="Menue_Terrasse_empfaenger"></arg>
                                                        </mutation>
                                                        <value name="ARG0">
                                                          <block type="variables_get" id="^BUC+J,ts]!Vgyglm^2}">
                                                            <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="logic_compare" id="=eCjK~e6M5L,PA]2/I}N">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="A~cZN)c-T1NXVy;FXA4P">
                                                        <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="text" id="zS-Z]`PxuW=d3~qs;oUk">
                                                        <field name="TEXT">Position 1 runter</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="control" id="eT1UO_XCYPnA8RWn~I60">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">tahoma.0.devices.Postion_1.commands.down</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="6fj8}/td%[ATc!RL`U#H">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="procedures_callcustomnoreturn" id="[vqcfNK`!LSuvm,$T)G+">
                                                        <mutation name="Menue_Terrasse">
                                                          <arg name="Menue_Terrasse_empfaenger"></arg>
                                                        </mutation>
                                                        <value name="ARG0">
                                                          <block type="variables_get" id=";$|ig5R^G!W?*Yn~[IbK">
                                                            <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="comment" id="CHmjjh.dszyhieHSV8/U">
                                                    <field name="COMMENT">Position 2</field>
                                                    <next>
                                                      <block type="controls_if" id="@jUy[TehS]#f}zg(5[L^">
                                                        <mutation elseif="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="%{g$@zEsZEJfbxbH6wEK">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="8K:^IN:Y!seR#=bx;7y%">
                                                                <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="text" id="~#9QX2KW#GZXk;$)6l}7">
                                                                <field name="TEXT">Position 2 hoch</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="0cxM,[?qByo7x5;t{|?[">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">tahoma.0.devices.Position_2.commands.up</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="n;!]s9CFV|$t/g2y(~U2">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="procedures_callcustomnoreturn" id="H0?h}mu|7lwA}RW/aK{[">
                                                                <mutation name="Menue_Terrasse">
                                                                  <arg name="Menue_Terrasse_empfaenger"></arg>
                                                                </mutation>
                                                                <value name="ARG0">
                                                                  <block type="variables_get" id="(c`((f,d2PF9.}szW9^9">
                                                                    <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                        <value name="IF1">
                                                          <block type="logic_compare" id="E{`#ww#)e{)E=ptq|hRB">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="3[iTg%8K4D~=Ch{xZkPZ">
                                                                <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="text" id="U,%gTK#Nq!d.B(t7A+K-">
                                                                <field name="TEXT">Position 2 runter</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO1">
                                                          <block type="control" id="Q,{i]Cuur^]cJ]huRgcj">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">tahoma.0.devices.Position_2.commands.down</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="j_Jgp7e5rRn9`PCrP3vz">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="procedures_callcustomnoreturn" id="Mj?*|iw`/ARPoCU]KRIE">
                                                                <mutation name="Menue_Terrasse">
                                                                  <arg name="Menue_Terrasse_empfaenger"></arg>
                                                                </mutation>
                                                                <value name="ARG0">
                                                                  <block type="variables_get" id="d!OtxEujJL.t-}d4`A7_">
                                                                    <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="comment" id="_L8Xeflv58=h|!T/D`K#">
                                                            <field name="COMMENT">Position 3</field>
                                                            <next>
                                                              <block type="controls_if" id="1u{9fWwbV0q3}NQdg[((">
                                                                <mutation elseif="1"></mutation>
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="U+Pq8}R%+nAILuNhPfCK">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="/7rqZKS6yE~7er,LFx|-">
                                                                        <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="LI)z~O/j*}BvJZmoc`]e">
                                                                        <field name="TEXT">Position 3 hoch</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="S.5%*sVcFwL6k9Kq*Y8N">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">tahoma.0.devices.Position_3.commands.up</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="F~g;p1O032(eA+ini?)5">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="procedures_callcustomnoreturn" id="=VGuEri5tDEM5)DheG~b">
                                                                        <mutation name="Menue_Terrasse">
                                                                          <arg name="Menue_Terrasse_empfaenger"></arg>
                                                                        </mutation>
                                                                        <value name="ARG0">
                                                                          <block type="variables_get" id="kzbG=0|n^!rD#O]L~Jo8">
                                                                            <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <value name="IF1">
                                                                  <block type="logic_compare" id="}=+=Bb#$,6RLlACP_[Su">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="m+wrF!`vjf4x[YOte-Fg">
                                                                        <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="MUM*K1T2BXSD{]881}rm">
                                                                        <field name="TEXT">Position 3 runter</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO1">
                                                                  <block type="control" id="a/x!?zKPR,im~?xM9}dr">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">tahoma.0.devices.Position_3.commands.down</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="Q(Sbw!s$vyTD8()EGBF%">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="procedures_callcustomnoreturn" id="$dMCH:s[V84]=~f-bpfZ">
                                                                        <mutation name="Menue_Terrasse">
                                                                          <arg name="Menue_Terrasse_empfaenger"></arg>
                                                                        </mutation>
                                                                        <value name="ARG0">
                                                                          <block type="variables_get" id="U+0wy7Lh$4Xi[+M@^pRm">
                                                                            <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
      <block type="procedures_defnoreturn" id="SqbfeC:FLew+!~kWWlJN" collapsed="true" x="13" y="1913">
        <mutation>
          <arg name="Telegram_Text" varid="gJ!eqa_VD`lME)5M)Kbm"></arg>
          <arg name="Telegram_Empfaenger" varid="T5Mn2pGiq/X;w%Ck}wR~"></arg>
        </mutation>
        <field name="NAME">Telegram senden</field>
        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
        <statement name="STACK">
          <block type="telegram" id="ymEjgF9__yMq0u:?d^OZ">
            <field name="INSTANCE"></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="l:WircGYU]PQ8mK?#i;.">
                <field name="TEXT">text</field>
              </shadow>
              <block type="variables_get" id="7Jb)y7BL}o0k-V1+!LGq">
                <field name="VAR" id="gJ!eqa_VD`lME)5M)Kbm">Telegram_Text</field>
              </block>
            </value>
            <value name="USERNAME">
              <block type="variables_get" id="[zE8u9XDeNRqLTZag|;5">
                <field name="VAR" id="T5Mn2pGiq/X;w%Ck}wR~">Telegram_Empfaenger</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </xml>
    

    Jetzt geht es

    dslraserD 1 Antwort Letzte Antwort
    0
    • W west

      @dslraser

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="Z}Ve$J|;(*{b)%hU4@SU">Menue_Uebersicht_empfaenger</variable>
          <variable id="Gj?g)D.%p]Op^(lWOk[G">Menue_Terrasse_empfaenger</variable>
          <variable id="gJ!eqa_VD`lME)5M)Kbm">Telegram_Text</variable>
          <variable id="T5Mn2pGiq/X;w%Ck}wR~">Telegram_Empfaenger</variable>
          <variable id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</variable>
          <variable id="F(UYIIB#A[DzQ$$oxHOg">Vorletzter_Text</variable>
          <variable id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</variable>
          <variable id="7APOJzrx@/#bZjuHi3)h">Letzter_Text_klein</variable>
        </variables>
        <block type="procedures_defcustomnoreturn" id="JwmReO-9.#N^w%p0?9K}" x="13" y="13">
          <mutation statements="false">
            <arg name="Menue_Uebersicht_empfaenger" varid="Z}Ve$J|;(*{b)%hU4@SU"></arg>
          </mutation>
          <field name="NAME">Menue_Uebersicht_Sven</field>
          <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgIHVzZXI6IChNZW51ZV9VZWJlcnNpY2h0X2VtcGZhZW5nZXIpLA0KICAgIHRleHQ6ICAnQml0dGUgd8OkaGxlbicsDQogICAgcmVwbHlfbWFya3VwOiB7DQogICAga2V5Ym9hcmQ6IFsNCiAgICAgICAgWydUZXJyYXNzZSddLA0KICAgICAgICBdLA0KICAgICAgICByZXNpemVfa2V5Ym9hcmQ6ICAgdHJ1ZSwNCiAgICAgICAgb25lX3RpbWVfa2V5Ym9hcmQ6IHRydWUNCiAgICB9DQp9KTs=</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
        </block>
        <block type="procedures_defcustomnoreturn" id="W)n`zI%4Z8uO4h6r[ZT6" x="13" y="63">
          <mutation statements="false">
            <arg name="Menue_Terrasse_empfaenger" varid="Gj?g)D.%p]Op^(lWOk[G"></arg>
          </mutation>
          <field name="NAME">Menue_Terrasse</field>
          <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgIHVzZXI6IChNZW51ZV9UZXJyYXNzZSksDQogICAgdGV4dDogICdCaXR0ZSB3w6RobGVuJywNCiAgICByZXBseV9tYXJrdXA6IHsNCiAgICBrZXlib2FyZDogWw0KICAgICAgICAgICAgWyfDnGJlcnNpY2h0J10sDQogICAgICAgICAgICBbJ1Bvc2l0aW9uIDEgaG9jaCcsICdQb3NpdGlvbiAxIHJ1bnRlciddLA0KICAgICAgICAgICAgWydQb3NpdGlvbiAyIGhvY2gnLCAnUG9zaXRpb24gMiBydW50ZXInXSwNCiAgICAgICAgICAgIFsnUG9zaXRpb24gMyBob2NoJywgJ1Bvc2l0aW9uIDMgcnVudGVyJ10sDQogICAgICAgICAgICBdLA0KICAgICAgICByZXNpemVfa2V5Ym9hcmQ6ICAgdHJ1ZSwNCiAgICAgICAgb25lX3RpbWVfa2V5Ym9hcmQ6IHRydWUNCiAgICB9DQp9KTsNCg0KDQo=</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
        </block>
        <block type="on_ext" id="!8B]z7wO)w*bD^7(714W" x="13" y="113">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="J=/9IeQnq:FSa`bM5)PG">
              <field name="oid">default</field>
            </shadow>
            <block type="field_oid" id="GDubi_#J2DI7*n0ep|.D">
              <field name="oid">telegram.0.communicate.request</field>
            </block>
          </value>
          <statement name="STATEMENT">
            <block type="variables_set" id="wx1Id^cN]ztTBpbxGq9u" collapsed="true">
              <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
              <value name="VALUE">
                <block type="text_getSubstring" id="!{g./8(or54hvEyb1P`f" inline="false">
                  <mutation at1="true" at2="true"></mutation>
                  <field name="WHERE1">FROM_START</field>
                  <field name="WHERE2">FROM_START</field>
                  <value name="STRING">
                    <block type="on_source" id="IH2.D,NF:~A]W/4FHzgx">
                      <field name="ATTR">state.val</field>
                    </block>
                  </value>
                  <value name="AT1">
                    <block type="math_number" id="e3-d;DM::ScEpRh}H!@u">
                      <field name="NUM">2</field>
                    </block>
                  </value>
                  <value name="AT2">
                    <block type="math_arithmetic" id="!6WqqSNO@l{-K;,0UXg-" inline="false">
                      <field name="OP">MINUS</field>
                      <value name="A">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="r%ebl4IUX*XWQmsp|?rw">
                          <field name="NUM">1</field>
                        </shadow>
                        <block type="text_indexOf" id="zZ:Zi`joE?XuMOeVt|R6">
                          <field name="END">FIRST</field>
                          <value name="VALUE">
                            <block type="on_source" id="X)hVqhY|6Z+@Cb?r}b4`">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="FIND">
                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="53KpH_VzOt@uW50iFuYJ">
                              <field name="TEXT">abc</field>
                            </shadow>
                            <block type="text" id="1]2I2PG:.3LKq!TKaRwq">
                              <field name="TEXT">]</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+bTY;ti{LICv`mEp;Zjv">
                          <field name="NUM">1</field>
                        </shadow>
                        <block type="math_number" id="eBIB);yoT|)BAtWQsxk%">
                          <field name="NUM">1</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <next>
                <block type="variables_set" id="R+I)j*W!*WCgD`aI*xvD" collapsed="true">
                  <field name="VAR" id="F(UYIIB#A[DzQ$$oxHOg">Vorletzter_Text</field>
                  <value name="VALUE">
                    <block type="text_getSubstring" id="S1u?yDc9reT)Ec4r6qxD" inline="false">
                      <mutation at1="true" at2="false"></mutation>
                      <field name="WHERE1">FROM_START</field>
                      <field name="WHERE2">LAST</field>
                      <value name="STRING">
                        <block type="on_source" id="vRkU-n_2.RDdV:yB5D}+">
                          <field name="ATTR">oldState.val</field>
                        </block>
                      </value>
                      <value name="AT1">
                        <block type="math_arithmetic" id=",ea%8x4@]`RM14@d5WSq" inline="false">
                          <field name="OP">ADD</field>
                          <value name="A">
                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="text_indexOf" id="cG:l1K/c%`5;UEWzhba+" inline="false">
                              <field name="END">FIRST</field>
                              <value name="VALUE">
                                <block type="on_source" id="X0GqXOgj+:O_w-+5);g9">
                                  <field name="ATTR">oldState.val</field>
                                </block>
                              </value>
                              <value name="FIND">
                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                  <field name="TEXT">abc</field>
                                </shadow>
                                <block type="text" id="3TWGILQ/M45cCy9uQ]Z(">
                                  <field name="TEXT">]</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-9+`M14/p._`PvUM3`yk">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="math_number" id="d6OXjZVex}I+,5-:Yl!m">
                              <field name="NUM">1</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="D?Gsdcua?{EMLU):!p{a" collapsed="true">
                      <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                      <value name="VALUE">
                        <block type="text_getSubstring" id=";V75FO4VtMZ3nP[Seh:A" inline="false">
                          <mutation at1="true" at2="false"></mutation>
                          <field name="WHERE1">FROM_START</field>
                          <field name="WHERE2">LAST</field>
                          <value name="STRING">
                            <block type="on_source" id="8(|o6e}c_LrFrEoPepdW">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="AT1">
                            <block type="math_arithmetic" id="h7_S)hH`5@RA?#U)5g=1" inline="false">
                              <field name="OP">ADD</field>
                              <value name="A">
                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="text_indexOf" id="0e*(2Dhq5d1#U;xsFNn%" inline="false">
                                  <field name="END">FIRST</field>
                                  <value name="VALUE">
                                    <block type="on_source" id="F{10J^|L`v=G`3f=^kJc">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="FIND">
                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                      <field name="TEXT">abc</field>
                                    </shadow>
                                    <block type="text" id="c,}EJ]POpPpb|nI#.!zb">
                                      <field name="TEXT">]</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-9+`M14/p._`PvUM3`yk">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="math_number" id="(Kg1M+/J_!`LmKq-sU!S">
                                  <field name="NUM">1</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="b=~HQ{iB`[wPTakV^@ZM" collapsed="true">
                          <field name="VAR" id="7APOJzrx@/#bZjuHi3)h">Letzter_Text_klein</field>
                          <value name="VALUE">
                            <block type="text_changeCase" id="k}YBs[0Ii[p;TfALl+_1">
                              <field name="CASE">LOWERCASE</field>
                              <value name="TEXT">
                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~FExu?j/U1Rnc13CP(#-">
                                  <field name="TEXT">abc</field>
                                </shadow>
                                <block type="text_getSubstring" id="Fsbtn^.cVRxgb_kjg}n1" inline="false">
                                  <mutation at1="true" at2="false"></mutation>
                                  <field name="WHERE1">FROM_START</field>
                                  <field name="WHERE2">LAST</field>
                                  <value name="STRING">
                                    <block type="on_source" id="dP}]L2;[AzL`jTyPK;8Y">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="AT1">
                                    <block type="math_arithmetic" id="VChSZL[^!pRA1U3/K~ic" inline="false">
                                      <field name="OP">ADD</field>
                                      <value name="A">
                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="text_indexOf" id=";Jv+Wu:no!I1t}5^%GMI" inline="false">
                                          <field name="END">FIRST</field>
                                          <value name="VALUE">
                                            <block type="on_source" id="w;+qgG;S]7QbgfeoL*h1">
                                              <field name="ATTR">state.val</field>
                                            </block>
                                          </value>
                                          <value name="FIND">
                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                              <field name="TEXT">abc</field>
                                            </shadow>
                                            <block type="text" id="0YMCl~TtZfZ/`KZgV6qi">
                                              <field name="TEXT">]</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="2ugj/NH#m(u7yrzi++3:">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="math_number" id=":f/Ow%zjJOy!e%)W3g+4">
                                          <field name="NUM">1</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="comment" id="b[V_lonjkhpzkQrWre|0">
                              <field name="COMMENT">Menü Übersicht</field>
                              <next>
                                <block type="controls_if" id="/z.WY`-k,!|KIyWwYu:C">
                                  <value name="IF0">
                                    <block type="logic_operation" id="?-NKEu./;)0;R}cqYW;M" inline="false">
                                      <field name="OP">AND</field>
                                      <value name="A">
                                        <block type="logic_compare" id="eQR3DPA65Ci_~CAz/Af[">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id="w,#25-Qu~W183AA.g^S@">
                                              <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="text" id="KXSs7XVyifzf@{oXfeD{">
                                              <field name="TEXT">Joerg89</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_operation" id="HPe0Lt?p5+*nfr7LHuVn" inline="false">
                                          <field name="OP">OR</field>
                                          <value name="A">
                                            <block type="logic_compare" id="=IM{d=@Wh+Mw?Fdexn78">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id=";AzyRgiy^9lBYB93yh5d">
                                                  <field name="VAR" id="7APOJzrx@/#bZjuHi3)h">Letzter_Text_klein</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="text" id="pqT4eE0u{unJq+JF#cTK">
                                                  <field name="TEXT">übersicht</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="l*wu*d1FlrZIA*1{*SO2">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="vjdQQ?EgzG*F_}3ve,:q">
                                                  <field name="VAR" id="7APOJzrx@/#bZjuHi3)h">Letzter_Text_klein</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="text" id="w@`#XN0}uC|^RDQXJym?">
                                                  <field name="TEXT">ü</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="procedures_callcustomnoreturn" id="lq{=p@KUT{Y*.Tz,ocTH">
                                      <mutation name="Menue_Uebersicht_Sven">
                                        <arg name="Menue_Uebersicht_empfaenger"></arg>
                                      </mutation>
                                      <value name="ARG0">
                                        <block type="variables_get" id="M3b}5,Cr;(t@Os@;Kg@N">
                                          <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="comment" id="p%GhVuGf}ZvUWmgE-`{%">
                                      <field name="COMMENT">Terrasse</field>
                                      <next>
                                        <block type="controls_if" id="rZc@zo{]EKmr*RcTc{Sz">
                                          <value name="IF0">
                                            <block type="logic_compare" id="7I|!abRD0*SDH/kq6]3#">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="r[X?75n{yk-SBJZ~C,_r">
                                                  <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="text" id="Li(_]zP5@BV/;MUFI,b*">
                                                  <field name="TEXT">Terrasse</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="procedures_callcustomnoreturn" id="F//:l^i7izC[]3vl@]=^">
                                              <mutation name="Menue_Terrasse">
                                                <arg name="Menue_Terrasse_empfaenger"></arg>
                                              </mutation>
                                              <value name="ARG0">
                                                <block type="variables_get" id="|09sp(8Hc_vGma!9tdkl">
                                                  <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="comment" id="Izm@wm*u9iM_%a|ODT@X">
                                              <field name="COMMENT">Position 1</field>
                                              <next>
                                                <block type="controls_if" id="RUu.hxh.4u34[-]l*4dx">
                                                  <mutation elseif="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="q^a%LQgoHmKBynLS8zke">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="variables_get" id="m65`]O!nIPO45R/D%vGC">
                                                          <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="text" id="iGSx!_rq4Fy?R*OEdcmS">
                                                          <field name="TEXT">Position 1 hoch</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="oj5m/=%5vRoEyg%eMa*:">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">tahoma.0.devices.Postion_1.commands.up</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="B?R[o@%Mao3]=T^6wcd`">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="procedures_callcustomnoreturn" id="[@:k06%$7}w_GB!Mbd1u">
                                                          <mutation name="Menue_Terrasse">
                                                            <arg name="Menue_Terrasse_empfaenger"></arg>
                                                          </mutation>
                                                          <value name="ARG0">
                                                            <block type="variables_get" id="^BUC+J,ts]!Vgyglm^2}">
                                                              <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <value name="IF1">
                                                    <block type="logic_compare" id="=eCjK~e6M5L,PA]2/I}N">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="variables_get" id="A~cZN)c-T1NXVy;FXA4P">
                                                          <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="text" id="zS-Z]`PxuW=d3~qs;oUk">
                                                          <field name="TEXT">Position 1 runter</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO1">
                                                    <block type="control" id="eT1UO_XCYPnA8RWn~I60">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">tahoma.0.devices.Postion_1.commands.down</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="6fj8}/td%[ATc!RL`U#H">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="procedures_callcustomnoreturn" id="[vqcfNK`!LSuvm,$T)G+">
                                                          <mutation name="Menue_Terrasse">
                                                            <arg name="Menue_Terrasse_empfaenger"></arg>
                                                          </mutation>
                                                          <value name="ARG0">
                                                            <block type="variables_get" id=";$|ig5R^G!W?*Yn~[IbK">
                                                              <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="comment" id="CHmjjh.dszyhieHSV8/U">
                                                      <field name="COMMENT">Position 2</field>
                                                      <next>
                                                        <block type="controls_if" id="@jUy[TehS]#f}zg(5[L^">
                                                          <mutation elseif="1"></mutation>
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="%{g$@zEsZEJfbxbH6wEK">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="8K:^IN:Y!seR#=bx;7y%">
                                                                  <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="text" id="~#9QX2KW#GZXk;$)6l}7">
                                                                  <field name="TEXT">Position 2 hoch</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="0cxM,[?qByo7x5;t{|?[">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">tahoma.0.devices.Position_2.commands.up</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="n;!]s9CFV|$t/g2y(~U2">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="procedures_callcustomnoreturn" id="H0?h}mu|7lwA}RW/aK{[">
                                                                  <mutation name="Menue_Terrasse">
                                                                    <arg name="Menue_Terrasse_empfaenger"></arg>
                                                                  </mutation>
                                                                  <value name="ARG0">
                                                                    <block type="variables_get" id="(c`((f,d2PF9.}szW9^9">
                                                                      <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <value name="IF1">
                                                            <block type="logic_compare" id="E{`#ww#)e{)E=ptq|hRB">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="3[iTg%8K4D~=Ch{xZkPZ">
                                                                  <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="text" id="U,%gTK#Nq!d.B(t7A+K-">
                                                                  <field name="TEXT">Position 2 runter</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO1">
                                                            <block type="control" id="Q,{i]Cuur^]cJ]huRgcj">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">tahoma.0.devices.Position_2.commands.down</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="j_Jgp7e5rRn9`PCrP3vz">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="procedures_callcustomnoreturn" id="Mj?*|iw`/ARPoCU]KRIE">
                                                                  <mutation name="Menue_Terrasse">
                                                                    <arg name="Menue_Terrasse_empfaenger"></arg>
                                                                  </mutation>
                                                                  <value name="ARG0">
                                                                    <block type="variables_get" id="d!OtxEujJL.t-}d4`A7_">
                                                                      <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="comment" id="_L8Xeflv58=h|!T/D`K#">
                                                              <field name="COMMENT">Position 3</field>
                                                              <next>
                                                                <block type="controls_if" id="1u{9fWwbV0q3}NQdg[((">
                                                                  <mutation elseif="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="U+Pq8}R%+nAILuNhPfCK">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="/7rqZKS6yE~7er,LFx|-">
                                                                          <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="text" id="LI)z~O/j*}BvJZmoc`]e">
                                                                          <field name="TEXT">Position 3 hoch</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="S.5%*sVcFwL6k9Kq*Y8N">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">tahoma.0.devices.Position_3.commands.up</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="F~g;p1O032(eA+ini?)5">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="procedures_callcustomnoreturn" id="=VGuEri5tDEM5)DheG~b">
                                                                          <mutation name="Menue_Terrasse">
                                                                            <arg name="Menue_Terrasse_empfaenger"></arg>
                                                                          </mutation>
                                                                          <value name="ARG0">
                                                                            <block type="variables_get" id="kzbG=0|n^!rD#O]L~Jo8">
                                                                              <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <value name="IF1">
                                                                    <block type="logic_compare" id="}=+=Bb#$,6RLlACP_[Su">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="m+wrF!`vjf4x[YOte-Fg">
                                                                          <field name="VAR" id="qbX*,vDg9=b@d*Z]9[3a">Letzter_Text</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="text" id="MUM*K1T2BXSD{]881}rm">
                                                                          <field name="TEXT">Position 3 runter</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO1">
                                                                    <block type="control" id="a/x!?zKPR,im~?xM9}dr">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">tahoma.0.devices.Position_3.commands.down</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="Q(Sbw!s$vyTD8()EGBF%">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="procedures_callcustomnoreturn" id="$dMCH:s[V84]=~f-bpfZ">
                                                                          <mutation name="Menue_Terrasse">
                                                                            <arg name="Menue_Terrasse_empfaenger"></arg>
                                                                          </mutation>
                                                                          <value name="ARG0">
                                                                            <block type="variables_get" id="U+0wy7Lh$4Xi[+M@^pRm">
                                                                              <field name="VAR" id="T(t5rM^HzbRa9xpW!mEL">Letzter_Absender</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="SqbfeC:FLew+!~kWWlJN" collapsed="true" x="13" y="1913">
          <mutation>
            <arg name="Telegram_Text" varid="gJ!eqa_VD`lME)5M)Kbm"></arg>
            <arg name="Telegram_Empfaenger" varid="T5Mn2pGiq/X;w%Ck}wR~"></arg>
          </mutation>
          <field name="NAME">Telegram senden</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="telegram" id="ymEjgF9__yMq0u:?d^OZ">
              <field name="INSTANCE"></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="l:WircGYU]PQ8mK?#i;.">
                  <field name="TEXT">text</field>
                </shadow>
                <block type="variables_get" id="7Jb)y7BL}o0k-V1+!LGq">
                  <field name="VAR" id="gJ!eqa_VD`lME)5M)Kbm">Telegram_Text</field>
                </block>
              </value>
              <value name="USERNAME">
                <block type="variables_get" id="[zE8u9XDeNRqLTZag|;5">
                  <field name="VAR" id="T5Mn2pGiq/X;w%Ck}wR~">Telegram_Empfaenger</field>
                </block>
              </value>
            </block>
          </statement>
        </block>
      </xml>
      

      Jetzt geht es

      dslraserD Offline
      dslraserD Offline
      dslraser
      Forum Testing Most Active
      schrieb am zuletzt editiert von
      #101

      @west
      und was hast Du geändert ? (ich habe Dein Blockly jetzt nicht nochmal importiert)

      W 1 Antwort Letzte Antwort
      0
      • dslraserD dslraser

        @west
        und was hast Du geändert ? (ich habe Dein Blockly jetzt nicht nochmal importiert)

        W Offline
        W Offline
        west
        schrieb am zuletzt editiert von west
        #102

        @dslraser

        Den Wert auf wahr

        1 Antwort Letzte Antwort
        0
        • S Offline
          S Offline
          SaiBot1981
          schrieb am zuletzt editiert von
          #103

          @dslraser danke für den Link hierher...

          Nachdem ich das Skript von die mal zerlegt habe und mir diverse Funktionen angesehen habe, war es eigentlich sehr einfach es entsprechend für mein Haus zu bauen....

          Meine frau ist begeistert das sie nicht mehr den ganzen Quatsch von mir in Telegram sehen muss....

          1 Antwort Letzte Antwort
          2
          • M Offline
            M Offline
            MisterBlinki
            schrieb am zuletzt editiert von
            #104

            Hallo,
            irgendwie habe ich Stundenlang das Menü nach besten Wissen und Gewissen nachgebaut... Aber irgendwas scheint einfach nicht zu funktionieren.
            Die Telegram "Antworten" sind vertauscht und nur ab und zu gibt es eine gescheite Antwort.
            Das Aufteilen der Nachrichten funktioniert sehr gut. Auch bekommt nur TSDChris die Antwort. Die "anderen" bleiben Tot.
            Es geht darum, dass Admin "TSDChris" ein umfangreiches Menü hat und die Mitarbeiter die abgespeckte Version.
            Ebenso soll nur der Absender des Befehls eine Antwort erhalten.

            Bitte um Hilfe :-(

            bc17d68e-2e71-45bb-bfab-16bf5c8e076d-image.png

            7273c311-e6e3-43d8-b2e2-f58e123f4ff1-image.png

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="F3=hz[F+,2ia@~(=Ya+v">Telegram_Text</variable>
                <variable id="uPqi3lp)VdQ!efz^2S5A">Telegram_Empfaenger</variable>
                <variable id="FfcoZ%/u`|i@M=B.6VE7">Menue_Uebersicht_empfaenger</variable>
                <variable id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</variable>
                <variable id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</variable>
                <variable id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</variable>
              </variables>
              <block type="procedures_defnoreturn" id="I,ffplEW+H#1ahx97man" x="612" y="463">
                <mutation>
                  <arg name="Telegram_Text" varid="F3=hz[F+,2ia@~(=Ya+v"></arg>
                  <arg name="Telegram_Empfaenger" varid="uPqi3lp)VdQ!efz^2S5A"></arg>
                </mutation>
                <field name="NAME">Telegram senden</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                <statement name="STACK">
                  <block type="telegram" id="F63QM30Px%PhXuL$QSlT">
                    <field name="INSTANCE"></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">
                        <field name="TEXT">text</field>
                      </shadow>
                      <block type="variables_get" id=".~aFu.2_2I~T0%Z~![IM">
                        <field name="VAR" id="F3=hz[F+,2ia@~(=Ya+v">Telegram_Text</field>
                      </block>
                    </value>
                    <value name="USERNAME">
                      <block type="variables_get" id="yi(7[Cnjx5;pcUg0=4Fo">
                        <field name="VAR" id="uPqi3lp)VdQ!efz^2S5A">Telegram_Empfaenger</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
              <block type="on_ext" id=")7/BKKYy8C`y[sxObudf" x="-337" y="588">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="IMoTQ4~}9,4U.(INq6+w">
                    <field name="oid">telegram.0.communicate.request</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="variables_set" id="PanOm:|,arAk6KJ.T]]W">
                    <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                    <value name="VALUE">
                      <block type="get_value" id="}Zl@ZS{OrRLS~3TsqDQo">
                        <field name="ATTR">val</field>
                        <field name="OID">0_userdata.0.Telegram.NachrichtAufteilen.BenutzerTelegram</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="AQ_=i3JUUf#8b1(y+:NH">
                        <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                        <value name="VALUE">
                          <block type="get_value" id="EV3Zl/kZq00Uu8i1yuMx">
                            <field name="ATTR">val</field>
                            <field name="OID">0_userdata.0.Telegram.NachrichtAufteilen.NachrichtTelegram</field>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="i4Ab?~fyAj$]tfff7@%)">
                            <value name="IF0">
                              <block type="logic_operation" id="MDW)2DU*].52N:KUK:09" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="U/Y2;)Lat|3blk$YxLC=">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="o?(T*IqtI8wbzrsoV^9L">
                                        <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="text" id="qDnxSb*VdJE{~Bo2(m$+">
                                        <field name="TEXT">TSDChris</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="1I#8`L{Z~U]*5O0~A[Bi">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="wl*Y/18!iRs2mT|9*e?l">
                                        <field name="VAR" id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="text" id="^=efYJi/H{q2?vgn3wT0">
                                        <field name="TEXT">Übersicht</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="procedures_callcustomnoreturn" id="=K]~1_(+qmzFKYrzkn3F">
                                <mutation name="Menue_Uebersicht_Chris">
                                  <arg name="Menue_Uebersicht_empfaenger"></arg>
                                </mutation>
                                <value name="ARG0">
                                  <block type="variables_get" id="X8;U(BD*v]//DWcU:HO/">
                                    <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="DX,5d:N:QJJ7~,juf2P$">
                                <value name="IF0">
                                  <block type="logic_operation" id="{wzM?L1by-Q|*rC3;vuD" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="5#xkJ[ypS[x457pCb.`p">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="T5b).W?Qv1{+ApGI|awX">
                                            <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="JOiG)|KH}O6Aaro^EbVr">
                                            <field name="TEXT">TSDChris</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="AAe?+#3f7y!WD=a_N$|5">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id=";.@i5F$|X}|SQ/FL{V{#">
                                            <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="c[}cwuNo]-PH-YrCm:vA">
                                            <field name="TEXT">Temperatursensoren</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="telegram" id="j%mwz1CkI-0C[QOXq~Oc">
                                    <field name="INSTANCE"></field>
                                    <field name="LOG"></field>
                                    <field name="SILENT">FALSE</field>
                                    <field name="PARSEMODE">default</field>
                                    <value name="MESSAGE">
                                      <shadow type="text" id="WX0IUfI2!}TcuGjVQ=!A">
                                        <field name="TEXT">text</field>
                                      </shadow>
                                      <block type="text_join" id="Jb9Z$zjZaJB@r%dM@G+A">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="get_value" id="4wl.C=p1g~Z0]F$z/iw(">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.00158d0004a986bf.temperature</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="get_value" id="ds|aZD*iwxm[yjkH0NS|">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.00158d0004a988bd.temperature</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="USERNAME">
                                      <block type="variables_get" id="Sb(~a4xByc;x:+aG3%E4">
                                        <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="nMi`DP]D]vd}N#V7NqA4">
                                    <value name="IF0">
                                      <block type="logic_operation" id="TRdgWA..u{vk|hXS%TD%" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="3:jk.?Af~bx;iA3;xn+^">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="u64*b7;QraAU*GARGHg{">
                                                <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id=")9v*L*_z0?y6EDrtr9z#">
                                                <field name="TEXT">Chris</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="9XS:b4;PiGNXyT-x52DI">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="VBy[F;2gA~=Ho0XcuBS/">
                                                <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="!dZ?W=*Ax[TFav-AW-f2">
                                                <field name="TEXT">Übersicht</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="procedures_callcustomnoreturn" id="Lo[32vd,V~oTA:_35MOy">
                                        <mutation name="Menue_Uebersicht_Mitarbeiter">
                                          <arg name="Menue_Uebersicht_empfaenger"></arg>
                                        </mutation>
                                        <value name="ARG0">
                                          <block type="variables_get" id="v^$.JcCehpXYs:xCn17z">
                                            <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="L(OHYn~t!.A.LyTc^d-a">
                                        <value name="IF0">
                                          <block type="logic_operation" id="4r4!7KODQt8QB:jt:9o`" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="gl]a.6bKh%=U|^)M.X|P">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="AA}#Ebw)yn@8%WfL3T70">
                                                    <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="cuWi0YVO~)m@$=#8q5:O">
                                                    <field name="TEXT">TSDChris</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="M#ziEZ|XTxBW9y(E|Cn`">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="f@fUPCdsQPK]WRI|J*B/">
                                                    <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="[A:-eG:z2:4Qdr#G1RFk">
                                                    <field name="TEXT">Stromverbrauch</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="telegram" id="Uh#YgYoj$V?igN=nj/[6">
                                            <field name="INSTANCE"></field>
                                            <field name="LOG"></field>
                                            <field name="SILENT">FALSE</field>
                                            <field name="PARSEMODE">default</field>
                                            <value name="MESSAGE">
                                              <shadow type="text">
                                                <field name="TEXT">text</field>
                                              </shadow>
                                              <block type="text_join" id="_~QWFLMyP+_ze}%{gX3$">
                                                <mutation items="2"></mutation>
                                                <value name="ADD0">
                                                  <block type="get_value" id="{N@H;pHqOB!q(+PBFasG">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">0_userdata.0.AktuellerStromverbrauch</field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="text" id=")~B(a3eVo-ed5`32};FB">
                                                    <field name="TEXT"> Watt</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="USERNAME">
                                              <block type="variables_get" id="seoLNSbw{@~4Mz}|8k0l">
                                                <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
              <block type="procedures_defcustomnoreturn" id="(]3%hFQzO4AX6%?+BoS." inline="false" x="613" y="662">
                <mutation statements="false">
                  <arg name="Menue_Uebersicht_empfaenger" varid="FfcoZ%/u`|i@M=B.6VE7"></arg>
                </mutation>
                <field name="NAME">Menue_Uebersicht_Chris</field>
                <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgICAgICB1c2VyOiAoTWVudWVfVWViZXJzaWNodF9lbXBmYWVuZ2VyKSwNCiAgICB0ZXh0OiAgJ0JpdHRlIHfDpGhsZW4nLA0KICAgIHJlcGx5X21hcmt1cDogew0KICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICBbJ0dyb8OfZXIgU2FhbCBBbicsICdHcm/Dn2VyIFNhYWwgQXVzJywgJ0dyb8OfZXIgU2FhbCBEaW1tZW4nXSwNCiAgICAgICAgICAgIFsnS2xlaW5lciBTYWFsIEFuJywgJ0tsZWluZXIgU2FhbCBBdXMnLCAnS2xlaW5lciBTYWFsIERpbW1lbiddLA0KICAgICAgICAgICAgWyfDnGJlcnNpY2h0JywgJ1RlbXBlcmF0dXJzZW5zb3JlbicsICdTdHJvbXZlcmJyYXVjaCddLA0KDQogICAgICAgIF0sDQogICAgICAgIHJlc2l6ZV9rZXlib2FyZDogICB0cnVlLA0KICAgICAgICBvbmVfdGltZV9rZXlib2FyZDogdHJ1ZQ0KICAgIH0NCn0pOw==</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
              </block>
              <block type="procedures_defcustomnoreturn" id=":{2j0}*I@K?v^_X6$t+." inline="false" x="613" y="737">
                <mutation statements="false">
                  <arg name="Menue_Uebersicht_empfaenger" varid="FfcoZ%/u`|i@M=B.6VE7"></arg>
                </mutation>
                <field name="NAME">Menue_Uebersicht_Mitarbeiter</field>
                <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgICAgICB1c2VyOiAoTWVudWVfVWViZXJzaWNodF9lbXBmYWVuZ2VyKSwNCiAgICB0ZXh0OiAgJ0JpdHRlIHfDpGhsZW4nLA0KICAgIHJlcGx5X21hcmt1cDogew0KICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICBbJ0dyb8OfZXIgU2FhbCBBbicsICdHcm/Dn2VyIFNhYWwgQXVzJywgJ0dyb8OfZXIgU2FhbCBEaW1tZW4nXSwNCiAgICAgICAgICAgIFsnS2xlaW5lciBTYWFsIEFuJywgJ0tsZWluZXIgU2FhbCBBdXMnLCAnS2xlaW5lciBTYWFsIERpbW1lbiddLA0KICAgICAgICAgICAgWyfDnGJlcnNpY2h0JywgJ1RlbXBlcmF0dXJzZW5zb3JlbicsICdBdXRzY2gnXSwNCg0KICAgICAgICBdLA0KICAgICAgICByZXNpemVfa2V5Ym9hcmQ6ICAgdHJ1ZSwNCiAgICAgICAgb25lX3RpbWVfa2V5Ym9hcmQ6IHRydWUNCiAgICB9DQp9KTs=</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
              </block>
            </xml>
            
            dslraserD 1 Antwort Letzte Antwort
            0
            • M MisterBlinki

              Hallo,
              irgendwie habe ich Stundenlang das Menü nach besten Wissen und Gewissen nachgebaut... Aber irgendwas scheint einfach nicht zu funktionieren.
              Die Telegram "Antworten" sind vertauscht und nur ab und zu gibt es eine gescheite Antwort.
              Das Aufteilen der Nachrichten funktioniert sehr gut. Auch bekommt nur TSDChris die Antwort. Die "anderen" bleiben Tot.
              Es geht darum, dass Admin "TSDChris" ein umfangreiches Menü hat und die Mitarbeiter die abgespeckte Version.
              Ebenso soll nur der Absender des Befehls eine Antwort erhalten.

              Bitte um Hilfe :-(

              bc17d68e-2e71-45bb-bfab-16bf5c8e076d-image.png

              7273c311-e6e3-43d8-b2e2-f58e123f4ff1-image.png

              <xml xmlns="https://developers.google.com/blockly/xml">
                <variables>
                  <variable id="F3=hz[F+,2ia@~(=Ya+v">Telegram_Text</variable>
                  <variable id="uPqi3lp)VdQ!efz^2S5A">Telegram_Empfaenger</variable>
                  <variable id="FfcoZ%/u`|i@M=B.6VE7">Menue_Uebersicht_empfaenger</variable>
                  <variable id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</variable>
                  <variable id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</variable>
                  <variable id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</variable>
                </variables>
                <block type="procedures_defnoreturn" id="I,ffplEW+H#1ahx97man" x="612" y="463">
                  <mutation>
                    <arg name="Telegram_Text" varid="F3=hz[F+,2ia@~(=Ya+v"></arg>
                    <arg name="Telegram_Empfaenger" varid="uPqi3lp)VdQ!efz^2S5A"></arg>
                  </mutation>
                  <field name="NAME">Telegram senden</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  <statement name="STACK">
                    <block type="telegram" id="F63QM30Px%PhXuL$QSlT">
                      <field name="INSTANCE"></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">
                          <field name="TEXT">text</field>
                        </shadow>
                        <block type="variables_get" id=".~aFu.2_2I~T0%Z~![IM">
                          <field name="VAR" id="F3=hz[F+,2ia@~(=Ya+v">Telegram_Text</field>
                        </block>
                      </value>
                      <value name="USERNAME">
                        <block type="variables_get" id="yi(7[Cnjx5;pcUg0=4Fo">
                          <field name="VAR" id="uPqi3lp)VdQ!efz^2S5A">Telegram_Empfaenger</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
                <block type="on_ext" id=")7/BKKYy8C`y[sxObudf" x="-337" y="588">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="IMoTQ4~}9,4U.(INq6+w">
                      <field name="oid">telegram.0.communicate.request</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="variables_set" id="PanOm:|,arAk6KJ.T]]W">
                      <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                      <value name="VALUE">
                        <block type="get_value" id="}Zl@ZS{OrRLS~3TsqDQo">
                          <field name="ATTR">val</field>
                          <field name="OID">0_userdata.0.Telegram.NachrichtAufteilen.BenutzerTelegram</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="AQ_=i3JUUf#8b1(y+:NH">
                          <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                          <value name="VALUE">
                            <block type="get_value" id="EV3Zl/kZq00Uu8i1yuMx">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.Telegram.NachrichtAufteilen.NachrichtTelegram</field>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id="i4Ab?~fyAj$]tfff7@%)">
                              <value name="IF0">
                                <block type="logic_operation" id="MDW)2DU*].52N:KUK:09" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="U/Y2;)Lat|3blk$YxLC=">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="o?(T*IqtI8wbzrsoV^9L">
                                          <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="text" id="qDnxSb*VdJE{~Bo2(m$+">
                                          <field name="TEXT">TSDChris</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="1I#8`L{Z~U]*5O0~A[Bi">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="wl*Y/18!iRs2mT|9*e?l">
                                          <field name="VAR" id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="text" id="^=efYJi/H{q2?vgn3wT0">
                                          <field name="TEXT">Übersicht</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="procedures_callcustomnoreturn" id="=K]~1_(+qmzFKYrzkn3F">
                                  <mutation name="Menue_Uebersicht_Chris">
                                    <arg name="Menue_Uebersicht_empfaenger"></arg>
                                  </mutation>
                                  <value name="ARG0">
                                    <block type="variables_get" id="X8;U(BD*v]//DWcU:HO/">
                                      <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="controls_if" id="DX,5d:N:QJJ7~,juf2P$">
                                  <value name="IF0">
                                    <block type="logic_operation" id="{wzM?L1by-Q|*rC3;vuD" inline="false">
                                      <field name="OP">AND</field>
                                      <value name="A">
                                        <block type="logic_compare" id="5#xkJ[ypS[x457pCb.`p">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id="T5b).W?Qv1{+ApGI|awX">
                                              <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="text" id="JOiG)|KH}O6Aaro^EbVr">
                                              <field name="TEXT">TSDChris</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_compare" id="AAe?+#3f7y!WD=a_N$|5">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id=";.@i5F$|X}|SQ/FL{V{#">
                                              <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="text" id="c[}cwuNo]-PH-YrCm:vA">
                                              <field name="TEXT">Temperatursensoren</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="telegram" id="j%mwz1CkI-0C[QOXq~Oc">
                                      <field name="INSTANCE"></field>
                                      <field name="LOG"></field>
                                      <field name="SILENT">FALSE</field>
                                      <field name="PARSEMODE">default</field>
                                      <value name="MESSAGE">
                                        <shadow type="text" id="WX0IUfI2!}TcuGjVQ=!A">
                                          <field name="TEXT">text</field>
                                        </shadow>
                                        <block type="text_join" id="Jb9Z$zjZaJB@r%dM@G+A">
                                          <mutation items="2"></mutation>
                                          <value name="ADD0">
                                            <block type="get_value" id="4wl.C=p1g~Z0]F$z/iw(">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.00158d0004a986bf.temperature</field>
                                            </block>
                                          </value>
                                          <value name="ADD1">
                                            <block type="get_value" id="ds|aZD*iwxm[yjkH0NS|">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.00158d0004a988bd.temperature</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="USERNAME">
                                        <block type="variables_get" id="Sb(~a4xByc;x:+aG3%E4">
                                          <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="nMi`DP]D]vd}N#V7NqA4">
                                      <value name="IF0">
                                        <block type="logic_operation" id="TRdgWA..u{vk|hXS%TD%" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="3:jk.?Af~bx;iA3;xn+^">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="u64*b7;QraAU*GARGHg{">
                                                  <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="text" id=")9v*L*_z0?y6EDrtr9z#">
                                                  <field name="TEXT">Chris</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="9XS:b4;PiGNXyT-x52DI">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="VBy[F;2gA~=Ho0XcuBS/">
                                                  <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="text" id="!dZ?W=*Ax[TFav-AW-f2">
                                                  <field name="TEXT">Übersicht</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="procedures_callcustomnoreturn" id="Lo[32vd,V~oTA:_35MOy">
                                          <mutation name="Menue_Uebersicht_Mitarbeiter">
                                            <arg name="Menue_Uebersicht_empfaenger"></arg>
                                          </mutation>
                                          <value name="ARG0">
                                            <block type="variables_get" id="v^$.JcCehpXYs:xCn17z">
                                              <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="controls_if" id="L(OHYn~t!.A.LyTc^d-a">
                                          <value name="IF0">
                                            <block type="logic_operation" id="4r4!7KODQt8QB:jt:9o`" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_compare" id="gl]a.6bKh%=U|^)M.X|P">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="variables_get" id="AA}#Ebw)yn@8%WfL3T70">
                                                      <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="text" id="cuWi0YVO~)m@$=#8q5:O">
                                                      <field name="TEXT">TSDChris</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_compare" id="M#ziEZ|XTxBW9y(E|Cn`">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="variables_get" id="f@fUPCdsQPK]WRI|J*B/">
                                                      <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="text" id="[A:-eG:z2:4Qdr#G1RFk">
                                                      <field name="TEXT">Stromverbrauch</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="telegram" id="Uh#YgYoj$V?igN=nj/[6">
                                              <field name="INSTANCE"></field>
                                              <field name="LOG"></field>
                                              <field name="SILENT">FALSE</field>
                                              <field name="PARSEMODE">default</field>
                                              <value name="MESSAGE">
                                                <shadow type="text">
                                                  <field name="TEXT">text</field>
                                                </shadow>
                                                <block type="text_join" id="_~QWFLMyP+_ze}%{gX3$">
                                                  <mutation items="2"></mutation>
                                                  <value name="ADD0">
                                                    <block type="get_value" id="{N@H;pHqOB!q(+PBFasG">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">0_userdata.0.AktuellerStromverbrauch</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD1">
                                                    <block type="text" id=")~B(a3eVo-ed5`32};FB">
                                                      <field name="TEXT"> Watt</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="USERNAME">
                                                <block type="variables_get" id="seoLNSbw{@~4Mz}|8k0l">
                                                  <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
                <block type="procedures_defcustomnoreturn" id="(]3%hFQzO4AX6%?+BoS." inline="false" x="613" y="662">
                  <mutation statements="false">
                    <arg name="Menue_Uebersicht_empfaenger" varid="FfcoZ%/u`|i@M=B.6VE7"></arg>
                  </mutation>
                  <field name="NAME">Menue_Uebersicht_Chris</field>
                  <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgICAgICB1c2VyOiAoTWVudWVfVWViZXJzaWNodF9lbXBmYWVuZ2VyKSwNCiAgICB0ZXh0OiAgJ0JpdHRlIHfDpGhsZW4nLA0KICAgIHJlcGx5X21hcmt1cDogew0KICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICBbJ0dyb8OfZXIgU2FhbCBBbicsICdHcm/Dn2VyIFNhYWwgQXVzJywgJ0dyb8OfZXIgU2FhbCBEaW1tZW4nXSwNCiAgICAgICAgICAgIFsnS2xlaW5lciBTYWFsIEFuJywgJ0tsZWluZXIgU2FhbCBBdXMnLCAnS2xlaW5lciBTYWFsIERpbW1lbiddLA0KICAgICAgICAgICAgWyfDnGJlcnNpY2h0JywgJ1RlbXBlcmF0dXJzZW5zb3JlbicsICdTdHJvbXZlcmJyYXVjaCddLA0KDQogICAgICAgIF0sDQogICAgICAgIHJlc2l6ZV9rZXlib2FyZDogICB0cnVlLA0KICAgICAgICBvbmVfdGltZV9rZXlib2FyZDogdHJ1ZQ0KICAgIH0NCn0pOw==</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                </block>
                <block type="procedures_defcustomnoreturn" id=":{2j0}*I@K?v^_X6$t+." inline="false" x="613" y="737">
                  <mutation statements="false">
                    <arg name="Menue_Uebersicht_empfaenger" varid="FfcoZ%/u`|i@M=B.6VE7"></arg>
                  </mutation>
                  <field name="NAME">Menue_Uebersicht_Mitarbeiter</field>
                  <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgICAgICB1c2VyOiAoTWVudWVfVWViZXJzaWNodF9lbXBmYWVuZ2VyKSwNCiAgICB0ZXh0OiAgJ0JpdHRlIHfDpGhsZW4nLA0KICAgIHJlcGx5X21hcmt1cDogew0KICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICBbJ0dyb8OfZXIgU2FhbCBBbicsICdHcm/Dn2VyIFNhYWwgQXVzJywgJ0dyb8OfZXIgU2FhbCBEaW1tZW4nXSwNCiAgICAgICAgICAgIFsnS2xlaW5lciBTYWFsIEFuJywgJ0tsZWluZXIgU2FhbCBBdXMnLCAnS2xlaW5lciBTYWFsIERpbW1lbiddLA0KICAgICAgICAgICAgWyfDnGJlcnNpY2h0JywgJ1RlbXBlcmF0dXJzZW5zb3JlbicsICdBdXRzY2gnXSwNCg0KICAgICAgICBdLA0KICAgICAgICByZXNpemVfa2V5Ym9hcmQ6ICAgdHJ1ZSwNCiAgICAgICAgb25lX3RpbWVfa2V5Ym9hcmQ6IHRydWUNCiAgICB9DQp9KTs=</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                </block>
              </xml>
              
              dslraserD Offline
              dslraserD Offline
              dslraser
              Forum Testing Most Active
              schrieb am zuletzt editiert von dslraser
              #105

              @MisterBlinki

              Ich habe das "Grundmenü" mal wieder hergestellt. Du mußt jetzt noch Deinen Telegram Namen und den Telegam Namen Mitarbeiter ersetzen.
              Ich habe nur mal einen Test mit Großer Saal Angemacht (hatte meinen Telegram Namen drinn, damit ging es)

              <xml xmlns="https://developers.google.com/blockly/xml">
                <variables>
                  <variable id="lbhLB7w|BjJ`i],h%v#.">Menue_Uebersicht_empfaenger</variable>
                  <variable id="69}`.66gxy`{yplWbZni">Chef_Telegram_Name</variable>
                  <variable id="7li8U,ii`aK@ax4~j_gZ">Mitarbeiter_Telegram_Name</variable>
                  <variable id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</variable>
                  <variable id="F(UYIIB#A[DzQ$$oxHOg">Vorletzter_Text</variable>
                  <variable id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</variable>
                  <variable id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</variable>
                </variables>
                <block type="procedures_defcustomnoreturn" id="(]3%hFQzO4AX6%?+BoS." x="13" y="238">
                  <mutation statements="false">
                    <arg name="Menue_Uebersicht_empfaenger" varid="lbhLB7w|BjJ`i],h%v#."></arg>
                  </mutation>
                  <field name="NAME">Menue_Uebersicht_Chris</field>
                  <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgICAgICB1c2VyOiAoTWVudWVfVWViZXJzaWNodF9lbXBmYWVuZ2VyKSwNCiAgICB0ZXh0OiAgJ0JpdHRlIHfDpGhsZW4nLA0KICAgIHJlcGx5X21hcmt1cDogew0KICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICBbJ8OcYmVyc2ljaHQnXSwNCiAgICAgICAgICAgIFsnR3Jvw59lciBTYWFsIEFuJywgJ0dyb8OfZXIgU2FhbCBBdXMnLCAnR3Jvw59lciBTYWFsIERpbW1lbiddLA0KICAgICAgICAgICAgWydLbGVpbmVyIFNhYWwgQW4nLCAnS2xlaW5lciBTYWFsIEF1cycsICdLbGVpbmVyIFNhYWwgRGltbWVuJ10sDQogICAgICAgICAgICBbJ1RlbXBlcmF0dXJzZW5zb3JlbicsICdTdHJvbXZlcmJyYXVjaCddLA0KDQogICAgICAgIF0sDQogICAgICAgIHJlc2l6ZV9rZXlib2FyZDogICB0cnVlLA0KICAgICAgICBvbmVfdGltZV9rZXlib2FyZDogdHJ1ZQ0KICAgIH0NCn0pOw==</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                </block>
                <block type="procedures_defcustomnoreturn" id=":{2j0}*I@K?v^_X6$t+." x="13" y="288">
                  <mutation statements="false">
                    <arg name="Menue_Uebersicht_empfaenger" varid="lbhLB7w|BjJ`i],h%v#."></arg>
                  </mutation>
                  <field name="NAME">Menue_Uebersicht_Mitarbeiter</field>
                  <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgICAgICB1c2VyOiAoTWVudWVfVWViZXJzaWNodF9lbXBmYWVuZ2VyKSwNCiAgICB0ZXh0OiAgJ0JpdHRlIHfDpGhsZW4nLA0KICAgIHJlcGx5X21hcmt1cDogew0KICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICBbJ8OcYmVyc2ljaHQnXSwNCiAgICAgICAgICAgIFsnQmVmZWhsIDEnLCAnQmVmZWhsIDInLCAnQmVmZWhsIDMnXSwNCiAgICAgICAgXSwNCiAgICAgICAgcmVzaXplX2tleWJvYXJkOiAgIHRydWUsDQogICAgICAgIG9uZV90aW1lX2tleWJvYXJkOiB0cnVlDQogICAgfQ0KfSk7</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                </block>
                <block type="comment" id="Bk%XV!Cs5C:lYw=CICBy" x="13" y="338">
                  <field name="COMMENT">Hier die Telegram Benutzer eintragen</field>
                  <next>
                    <block type="variables_set" id="+g7tz}_j#p%e0I+FAco.">
                      <field name="VAR" id="69}`.66gxy`{yplWbZni">Chef_Telegram_Name</field>
                      <value name="VALUE">
                        <block type="text" id="KXSs7XVyifzf@{oXfeD{">
                          <field name="TEXT">Hier Dein Telegram Name</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="s4;6zZFlg[g=Uju+Af58">
                          <field name="VAR" id="7li8U,ii`aK@ax4~j_gZ">Mitarbeiter_Telegram_Name</field>
                          <value name="VALUE">
                            <block type="text" id="BP9dbie~ck^dMOy~WZDb">
                              <field name="TEXT">Hier den Mitarbeiter Telegram Name</field>
                            </block>
                          </value>
                          <next>
                            <block type="on_ext" id=")7/BKKYy8C`y[sxObudf">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                              <field name="CONDITION">any</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="IMoTQ4~}9,4U.(INq6+w">
                                  <field name="oid">telegram.0.communicate.request</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="variables_set" id="wx1Id^cN]ztTBpbxGq9u" collapsed="true">
                                  <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                  <value name="VALUE">
                                    <block type="text_getSubstring" id="!{g./8(or54hvEyb1P`f" inline="false">
                                      <mutation at1="true" at2="true"></mutation>
                                      <field name="WHERE1">FROM_START</field>
                                      <field name="WHERE2">FROM_START</field>
                                      <value name="STRING">
                                        <block type="on_source" id="IH2.D,NF:~A]W/4FHzgx">
                                          <field name="ATTR">state.val</field>
                                        </block>
                                      </value>
                                      <value name="AT1">
                                        <block type="math_number" id="e3-d;DM::ScEpRh}H!@u">
                                          <field name="NUM">2</field>
                                        </block>
                                      </value>
                                      <value name="AT2">
                                        <block type="math_arithmetic" id="!6WqqSNO@l{-K;,0UXg-" inline="false">
                                          <field name="OP">MINUS</field>
                                          <value name="A">
                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="r%ebl4IUX*XWQmsp|?rw">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="text_indexOf" id="zZ:Zi`joE?XuMOeVt|R6">
                                              <field name="END">FIRST</field>
                                              <value name="VALUE">
                                                <block type="on_source" id="X)hVqhY|6Z+@Cb?r}b4`">
                                                  <field name="ATTR">state.val</field>
                                                </block>
                                              </value>
                                              <value name="FIND">
                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="53KpH_VzOt@uW50iFuYJ">
                                                  <field name="TEXT">abc</field>
                                                </shadow>
                                                <block type="text" id="1]2I2PG:.3LKq!TKaRwq">
                                                  <field name="TEXT">]</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+bTY;ti{LICv`mEp;Zjv">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="math_number" id="eBIB);yoT|)BAtWQsxk%">
                                              <field name="NUM">1</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="R+I)j*W!*WCgD`aI*xvD" collapsed="true">
                                      <field name="VAR" id="F(UYIIB#A[DzQ$$oxHOg">Vorletzter_Text</field>
                                      <value name="VALUE">
                                        <block type="text_getSubstring" id="S1u?yDc9reT)Ec4r6qxD" inline="false" collapsed="true">
                                          <mutation at1="true" at2="false"></mutation>
                                          <field name="WHERE1">FROM_START</field>
                                          <field name="WHERE2">LAST</field>
                                          <value name="STRING">
                                            <block type="on_source" id="vRkU-n_2.RDdV:yB5D}+">
                                              <field name="ATTR">oldState.val</field>
                                            </block>
                                          </value>
                                          <value name="AT1">
                                            <block type="math_arithmetic" id=",ea%8x4@]`RM14@d5WSq" inline="false">
                                              <field name="OP">ADD</field>
                                              <value name="A">
                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="text_indexOf" id="cG:l1K/c%`5;UEWzhba+" inline="false">
                                                  <field name="END">FIRST</field>
                                                  <value name="VALUE">
                                                    <block type="on_source" id="X0GqXOgj+:O_w-+5);g9">
                                                      <field name="ATTR">oldState.val</field>
                                                    </block>
                                                  </value>
                                                  <value name="FIND">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                                      <field name="TEXT">abc</field>
                                                    </shadow>
                                                    <block type="text" id="3TWGILQ/M45cCy9uQ]Z(">
                                                      <field name="TEXT">]</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-9+`M14/p._`PvUM3`yk">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="math_number" id="d6OXjZVex}I+,5-:Yl!m">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="D?Gsdcua?{EMLU):!p{a" collapsed="true">
                                          <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                          <value name="VALUE">
                                            <block type="text_getSubstring" id=";V75FO4VtMZ3nP[Seh:A" inline="false" collapsed="true">
                                              <mutation at1="true" at2="false"></mutation>
                                              <field name="WHERE1">FROM_START</field>
                                              <field name="WHERE2">LAST</field>
                                              <value name="STRING">
                                                <block type="on_source" id="8(|o6e}c_LrFrEoPepdW">
                                                  <field name="ATTR">state.val</field>
                                                </block>
                                              </value>
                                              <value name="AT1">
                                                <block type="math_arithmetic" id="h7_S)hH`5@RA?#U)5g=1" inline="false">
                                                  <field name="OP">ADD</field>
                                                  <value name="A">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="text_indexOf" id="0e*(2Dhq5d1#U;xsFNn%" inline="false">
                                                      <field name="END">FIRST</field>
                                                      <value name="VALUE">
                                                        <block type="on_source" id="F{10J^|L`v=G`3f=^kJc">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <value name="FIND">
                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                                          <field name="TEXT">abc</field>
                                                        </shadow>
                                                        <block type="text" id="c,}EJ]POpPpb|nI#.!zb">
                                                          <field name="TEXT">]</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-9+`M14/p._`PvUM3`yk">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="math_number" id="(Kg1M+/J_!`LmKq-sU!S">
                                                      <field name="NUM">1</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="b=~HQ{iB`[wPTakV^@ZM" collapsed="true">
                                              <field name="VAR" id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</field>
                                              <value name="VALUE">
                                                <block type="text_changeCase" id="k}YBs[0Ii[p;TfALl+_1" collapsed="true">
                                                  <field name="CASE">LOWERCASE</field>
                                                  <value name="TEXT">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~FExu?j/U1Rnc13CP(#-">
                                                      <field name="TEXT">abc</field>
                                                    </shadow>
                                                    <block type="text_getSubstring" id="Fsbtn^.cVRxgb_kjg}n1" inline="false">
                                                      <mutation at1="true" at2="false"></mutation>
                                                      <field name="WHERE1">FROM_START</field>
                                                      <field name="WHERE2">LAST</field>
                                                      <value name="STRING">
                                                        <block type="on_source" id="dP}]L2;[AzL`jTyPK;8Y">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <value name="AT1">
                                                        <block type="math_arithmetic" id="VChSZL[^!pRA1U3/K~ic" inline="false">
                                                          <field name="OP">ADD</field>
                                                          <value name="A">
                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                                              <field name="NUM">1</field>
                                                            </shadow>
                                                            <block type="text_indexOf" id=";Jv+Wu:no!I1t}5^%GMI" inline="false">
                                                              <field name="END">FIRST</field>
                                                              <value name="VALUE">
                                                                <block type="on_source" id="w;+qgG;S]7QbgfeoL*h1">
                                                                  <field name="ATTR">state.val</field>
                                                                </block>
                                                              </value>
                                                              <value name="FIND">
                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                                                  <field name="TEXT">abc</field>
                                                                </shadow>
                                                                <block type="text" id="0YMCl~TtZfZ/`KZgV6qi">
                                                                  <field name="TEXT">]</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="2ugj/NH#m(u7yrzi++3:">
                                                              <field name="NUM">1</field>
                                                            </shadow>
                                                            <block type="math_number" id=":f/Ow%zjJOy!e%)W3g+4">
                                                              <field name="NUM">1</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="comment" id="b[V_lonjkhpzkQrWre|0">
                                                  <field name="COMMENT">Menü Übersicht</field>
                                                  <next>
                                                    <block type="controls_if" id="i4Ab?~fyAj$]tfff7@%)">
                                                      <mutation elseif="1"></mutation>
                                                      <value name="IF0">
                                                        <block type="logic_operation" id="?-NKEu./;)0;R}cqYW;M" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_compare" id="eQR3DPA65Ci_~CAz/Af[">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="w,#25-Qu~W183AA.g^S@">
                                                                  <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="variables_get" id="D^^#Frnl:fe?hv-yo`@H">
                                                                  <field name="VAR" id="69}`.66gxy`{yplWbZni">Chef_Telegram_Name</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_operation" id="HPe0Lt?p5+*nfr7LHuVn" inline="false">
                                                              <field name="OP">OR</field>
                                                              <value name="A">
                                                                <block type="logic_compare" id="=IM{d=@Wh+Mw?Fdexn78">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id=";AzyRgiy^9lBYB93yh5d">
                                                                      <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id="pqT4eE0u{unJq+JF#cTK">
                                                                      <field name="TEXT">Übersicht</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_compare" id="l*wu*d1FlrZIA*1{*SO2">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="vjdQQ?EgzG*F_}3ve,:q">
                                                                      <field name="VAR" id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id="w@`#XN0}uC|^RDQXJym?">
                                                                      <field name="TEXT">ü</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="procedures_callcustomnoreturn" id="=K]~1_(+qmzFKYrzkn3F">
                                                          <mutation name="Menue_Uebersicht_Chris">
                                                            <arg name="Menue_Uebersicht_empfaenger"></arg>
                                                          </mutation>
                                                          <value name="ARG0">
                                                            <block type="variables_get" id="X8;U(BD*v]//DWcU:HO/">
                                                              <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                      <value name="IF1">
                                                        <block type="logic_operation" id="V0aSK9`^l;^sO)g~fv}J" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_compare" id="oXO_`viON-pX-{UVHos#">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="9ODco1mxD4,XU^/m~??n">
                                                                  <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="variables_get" id="OEd?.-fd9Do(bOM/~M,,">
                                                                  <field name="VAR" id="7li8U,ii`aK@ax4~j_gZ">Mitarbeiter_Telegram_Name</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_operation" id="Yd~A1je`m!NzfQuv/CPB" inline="false">
                                                              <field name="OP">OR</field>
                                                              <value name="A">
                                                                <block type="logic_compare" id="-~b!iw?uWc/xC+ov[AnD">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="3eHLiw+wgomc9X.}k(tX">
                                                                      <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id="-v7jJGDxl2%?t!onn9(X">
                                                                      <field name="TEXT">Übersicht</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_compare" id="Praf2n+uFywBHA^$(E1@">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="[/CnF1FE/FBRmiDq2P^P">
                                                                      <field name="VAR" id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id="mgNXMzKzX{i.Jhk6``Ma">
                                                                      <field name="TEXT">ü</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO1">
                                                        <block type="procedures_callcustomnoreturn" id="X]d0Ig)C2uNvl,V+Ahqd">
                                                          <mutation name="Menue_Uebersicht_Mitarbeiter">
                                                            <arg name="Menue_Uebersicht_empfaenger"></arg>
                                                          </mutation>
                                                          <value name="ARG0">
                                                            <block type="variables_get" id="#D(Uuw-[^-;7+o#$892^">
                                                              <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="comment" id="UOUW+JQc8p?Foe8y)g`H">
                                                          <field name="COMMENT">Admin-Großer Saal An</field>
                                                          <next>
                                                            <block type="controls_if" id="_H1FF{Ld%njWoV?yIN+0">
                                                              <value name="IF0">
                                                                <block type="logic_operation" id="Gd3RuwG0?*fE2h?X5Q9%" inline="false">
                                                                  <field name="OP">AND</field>
                                                                  <value name="A">
                                                                    <block type="logic_compare" id=")V7$6Q}=s8S3q(K-%sW`">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="otwYLr`%(o7!3+^O;R+@">
                                                                          <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="variables_get" id="o18P4*UbutK$5Im0Qh`k">
                                                                          <field name="VAR" id="69}`.66gxy`{yplWbZni">Chef_Telegram_Name</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_compare" id="_s??p6}SK~z_+yA:n(n)">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="?QR2Diyr%Jlx1n3lR()g">
                                                                          <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="text" id=";2-i^;$p$^~S0=N1RLSq">
                                                                          <field name="TEXT">Großer Saal An</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="fI*%DCP~FA@26/NC9^5{" disabled="true">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">Object ID</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <next>
                                                                    <block type="telegram" id="s+;Mqcz-1WNG?d.rPcGx">
                                                                      <field name="INSTANCE"></field>
                                                                      <field name="LOG"></field>
                                                                      <field name="SILENT">FALSE</field>
                                                                      <field name="PARSEMODE">default</field>
                                                                      <value name="MESSAGE">
                                                                        <shadow type="text" id="dyqQtUVA9jh@`Uu^ef:c">
                                                                          <field name="TEXT">text</field>
                                                                        </shadow>
                                                                        <block type="text" id=";6XRISMH|NIV#27jKR_-">
                                                                          <field name="TEXT">💡 Das Licht im großen Saal wird jetzt eingeschaltet.💡</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="USERNAME">
                                                                        <block type="variables_get" id="a6piU65y^3`Fb*cQxo(9">
                                                                          <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="procedures_callcustomnoreturn" id="SS$dI^,1e0bVSQ;/y0g^">
                                                                          <mutation name="Menue_Uebersicht_Chris">
                                                                            <arg name="Menue_Uebersicht_empfaenger"></arg>
                                                                          </mutation>
                                                                          <value name="ARG0">
                                                                            <block type="variables_get" id="Rr:]OjB*0w*K(nRk:k9#">
                                                                              <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="comment" id="-g0=HFW[Tk6O?OvQPWud">
                                                                  <field name="COMMENT">Mitarbeiter-Befehl 1</field>
                                                                  <next>
                                                                    <block type="controls_if" id="H,C5`L9Vx3KA?VBDDXL/">
                                                                      <value name="IF0">
                                                                        <block type="logic_operation" id="$r,YEdy$%c|W[/7#8{2Z" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="Brycs2CoYlX*8=./DeFW">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="@}~-BVfl8RzrYuk=X69v">
                                                                                  <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="variables_get" id=",.+aS^#o6{hJkJD$,]E9">
                                                                                  <field name="VAR" id="7li8U,ii`aK@ax4~j_gZ">Mitarbeiter_Telegram_Name</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="}~E$lrTTa|*@lrcY!pS^">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="*QxUmH,)paa{uAa_;?D~">
                                                                                  <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="text" id="bMwABqdX!Yy]XSQ#ANYp">
                                                                                  <field name="TEXT">Befehl 1</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="control" id="t;NWoAG674kXM=,{M^|J" disabled="true">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">Object ID</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <next>
                                                                            <block type="telegram" id="G/gvG-t#^kS2dzsUZ//,">
                                                                              <field name="INSTANCE"></field>
                                                                              <field name="LOG"></field>
                                                                              <field name="SILENT">FALSE</field>
                                                                              <field name="PARSEMODE">default</field>
                                                                              <value name="MESSAGE">
                                                                                <shadow type="text">
                                                                                  <field name="TEXT">text</field>
                                                                                </shadow>
                                                                                <block type="text" id="c7X=|+bZH1vie^;mEe6b">
                                                                                  <field name="TEXT">Befehl 1 wird jetzt ausgeführt</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="USERNAME">
                                                                                <block type="variables_get" id="ggeqHqXcZGNi/CEk6o$d">
                                                                                  <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="procedures_callcustomnoreturn" id="#Y5cw+21P4{nJ_M0WkXv">
                                                                                  <mutation name="Menue_Uebersicht_Mitarbeiter">
                                                                                    <arg name="Menue_Uebersicht_empfaenger"></arg>
                                                                                  </mutation>
                                                                                  <value name="ARG0">
                                                                                    <block type="variables_get" id="5InXbnwQmzVN5Is8owbY">
                                                                                      <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </xml>
              

              EDIT: Export geändert um 19:45 Uhr

              EDIT 2: Export geändert um 19:53 Uhr

              Bildschirmfoto 2020-11-01 um 19.51.42.png

              M 1 Antwort Letzte Antwort
              0
              • dslraserD dslraser

                @MisterBlinki

                Ich habe das "Grundmenü" mal wieder hergestellt. Du mußt jetzt noch Deinen Telegram Namen und den Telegam Namen Mitarbeiter ersetzen.
                Ich habe nur mal einen Test mit Großer Saal Angemacht (hatte meinen Telegram Namen drinn, damit ging es)

                <xml xmlns="https://developers.google.com/blockly/xml">
                  <variables>
                    <variable id="lbhLB7w|BjJ`i],h%v#.">Menue_Uebersicht_empfaenger</variable>
                    <variable id="69}`.66gxy`{yplWbZni">Chef_Telegram_Name</variable>
                    <variable id="7li8U,ii`aK@ax4~j_gZ">Mitarbeiter_Telegram_Name</variable>
                    <variable id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</variable>
                    <variable id="F(UYIIB#A[DzQ$$oxHOg">Vorletzter_Text</variable>
                    <variable id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</variable>
                    <variable id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</variable>
                  </variables>
                  <block type="procedures_defcustomnoreturn" id="(]3%hFQzO4AX6%?+BoS." x="13" y="238">
                    <mutation statements="false">
                      <arg name="Menue_Uebersicht_empfaenger" varid="lbhLB7w|BjJ`i],h%v#."></arg>
                    </mutation>
                    <field name="NAME">Menue_Uebersicht_Chris</field>
                    <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgICAgICB1c2VyOiAoTWVudWVfVWViZXJzaWNodF9lbXBmYWVuZ2VyKSwNCiAgICB0ZXh0OiAgJ0JpdHRlIHfDpGhsZW4nLA0KICAgIHJlcGx5X21hcmt1cDogew0KICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICBbJ8OcYmVyc2ljaHQnXSwNCiAgICAgICAgICAgIFsnR3Jvw59lciBTYWFsIEFuJywgJ0dyb8OfZXIgU2FhbCBBdXMnLCAnR3Jvw59lciBTYWFsIERpbW1lbiddLA0KICAgICAgICAgICAgWydLbGVpbmVyIFNhYWwgQW4nLCAnS2xlaW5lciBTYWFsIEF1cycsICdLbGVpbmVyIFNhYWwgRGltbWVuJ10sDQogICAgICAgICAgICBbJ1RlbXBlcmF0dXJzZW5zb3JlbicsICdTdHJvbXZlcmJyYXVjaCddLA0KDQogICAgICAgIF0sDQogICAgICAgIHJlc2l6ZV9rZXlib2FyZDogICB0cnVlLA0KICAgICAgICBvbmVfdGltZV9rZXlib2FyZDogdHJ1ZQ0KICAgIH0NCn0pOw==</field>
                    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  </block>
                  <block type="procedures_defcustomnoreturn" id=":{2j0}*I@K?v^_X6$t+." x="13" y="288">
                    <mutation statements="false">
                      <arg name="Menue_Uebersicht_empfaenger" varid="lbhLB7w|BjJ`i],h%v#."></arg>
                    </mutation>
                    <field name="NAME">Menue_Uebersicht_Mitarbeiter</field>
                    <field name="SCRIPT">c2VuZFRvKCd0ZWxlZ3JhbS4wJywgew0KICAgICAgICB1c2VyOiAoTWVudWVfVWViZXJzaWNodF9lbXBmYWVuZ2VyKSwNCiAgICB0ZXh0OiAgJ0JpdHRlIHfDpGhsZW4nLA0KICAgIHJlcGx5X21hcmt1cDogew0KICAgIGtleWJvYXJkOiBbDQogICAgICAgICAgICBbJ8OcYmVyc2ljaHQnXSwNCiAgICAgICAgICAgIFsnQmVmZWhsIDEnLCAnQmVmZWhsIDInLCAnQmVmZWhsIDMnXSwNCiAgICAgICAgXSwNCiAgICAgICAgcmVzaXplX2tleWJvYXJkOiAgIHRydWUsDQogICAgICAgIG9uZV90aW1lX2tleWJvYXJkOiB0cnVlDQogICAgfQ0KfSk7</field>
                    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  </block>
                  <block type="comment" id="Bk%XV!Cs5C:lYw=CICBy" x="13" y="338">
                    <field name="COMMENT">Hier die Telegram Benutzer eintragen</field>
                    <next>
                      <block type="variables_set" id="+g7tz}_j#p%e0I+FAco.">
                        <field name="VAR" id="69}`.66gxy`{yplWbZni">Chef_Telegram_Name</field>
                        <value name="VALUE">
                          <block type="text" id="KXSs7XVyifzf@{oXfeD{">
                            <field name="TEXT">Hier Dein Telegram Name</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="s4;6zZFlg[g=Uju+Af58">
                            <field name="VAR" id="7li8U,ii`aK@ax4~j_gZ">Mitarbeiter_Telegram_Name</field>
                            <value name="VALUE">
                              <block type="text" id="BP9dbie~ck^dMOy~WZDb">
                                <field name="TEXT">Hier den Mitarbeiter Telegram Name</field>
                              </block>
                            </value>
                            <next>
                              <block type="on_ext" id=")7/BKKYy8C`y[sxObudf">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                <field name="CONDITION">any</field>
                                <field name="ACK_CONDITION"></field>
                                <value name="OID0">
                                  <shadow type="field_oid" id="IMoTQ4~}9,4U.(INq6+w">
                                    <field name="oid">telegram.0.communicate.request</field>
                                  </shadow>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="variables_set" id="wx1Id^cN]ztTBpbxGq9u" collapsed="true">
                                    <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                    <value name="VALUE">
                                      <block type="text_getSubstring" id="!{g./8(or54hvEyb1P`f" inline="false">
                                        <mutation at1="true" at2="true"></mutation>
                                        <field name="WHERE1">FROM_START</field>
                                        <field name="WHERE2">FROM_START</field>
                                        <value name="STRING">
                                          <block type="on_source" id="IH2.D,NF:~A]W/4FHzgx">
                                            <field name="ATTR">state.val</field>
                                          </block>
                                        </value>
                                        <value name="AT1">
                                          <block type="math_number" id="e3-d;DM::ScEpRh}H!@u">
                                            <field name="NUM">2</field>
                                          </block>
                                        </value>
                                        <value name="AT2">
                                          <block type="math_arithmetic" id="!6WqqSNO@l{-K;,0UXg-" inline="false">
                                            <field name="OP">MINUS</field>
                                            <value name="A">
                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="r%ebl4IUX*XWQmsp|?rw">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="text_indexOf" id="zZ:Zi`joE?XuMOeVt|R6">
                                                <field name="END">FIRST</field>
                                                <value name="VALUE">
                                                  <block type="on_source" id="X)hVqhY|6Z+@Cb?r}b4`">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="FIND">
                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="53KpH_VzOt@uW50iFuYJ">
                                                    <field name="TEXT">abc</field>
                                                  </shadow>
                                                  <block type="text" id="1]2I2PG:.3LKq!TKaRwq">
                                                    <field name="TEXT">]</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+bTY;ti{LICv`mEp;Zjv">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="math_number" id="eBIB);yoT|)BAtWQsxk%">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="R+I)j*W!*WCgD`aI*xvD" collapsed="true">
                                        <field name="VAR" id="F(UYIIB#A[DzQ$$oxHOg">Vorletzter_Text</field>
                                        <value name="VALUE">
                                          <block type="text_getSubstring" id="S1u?yDc9reT)Ec4r6qxD" inline="false" collapsed="true">
                                            <mutation at1="true" at2="false"></mutation>
                                            <field name="WHERE1">FROM_START</field>
                                            <field name="WHERE2">LAST</field>
                                            <value name="STRING">
                                              <block type="on_source" id="vRkU-n_2.RDdV:yB5D}+">
                                                <field name="ATTR">oldState.val</field>
                                              </block>
                                            </value>
                                            <value name="AT1">
                                              <block type="math_arithmetic" id=",ea%8x4@]`RM14@d5WSq" inline="false">
                                                <field name="OP">ADD</field>
                                                <value name="A">
                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="text_indexOf" id="cG:l1K/c%`5;UEWzhba+" inline="false">
                                                    <field name="END">FIRST</field>
                                                    <value name="VALUE">
                                                      <block type="on_source" id="X0GqXOgj+:O_w-+5);g9">
                                                        <field name="ATTR">oldState.val</field>
                                                      </block>
                                                    </value>
                                                    <value name="FIND">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                                        <field name="TEXT">abc</field>
                                                      </shadow>
                                                      <block type="text" id="3TWGILQ/M45cCy9uQ]Z(">
                                                        <field name="TEXT">]</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-9+`M14/p._`PvUM3`yk">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_number" id="d6OXjZVex}I+,5-:Yl!m">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="D?Gsdcua?{EMLU):!p{a" collapsed="true">
                                            <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                            <value name="VALUE">
                                              <block type="text_getSubstring" id=";V75FO4VtMZ3nP[Seh:A" inline="false" collapsed="true">
                                                <mutation at1="true" at2="false"></mutation>
                                                <field name="WHERE1">FROM_START</field>
                                                <field name="WHERE2">LAST</field>
                                                <value name="STRING">
                                                  <block type="on_source" id="8(|o6e}c_LrFrEoPepdW">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="AT1">
                                                  <block type="math_arithmetic" id="h7_S)hH`5@RA?#U)5g=1" inline="false">
                                                    <field name="OP">ADD</field>
                                                    <value name="A">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="text_indexOf" id="0e*(2Dhq5d1#U;xsFNn%" inline="false">
                                                        <field name="END">FIRST</field>
                                                        <value name="VALUE">
                                                          <block type="on_source" id="F{10J^|L`v=G`3f=^kJc">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <value name="FIND">
                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                                            <field name="TEXT">abc</field>
                                                          </shadow>
                                                          <block type="text" id="c,}EJ]POpPpb|nI#.!zb">
                                                            <field name="TEXT">]</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-9+`M14/p._`PvUM3`yk">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_number" id="(Kg1M+/J_!`LmKq-sU!S">
                                                        <field name="NUM">1</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="b=~HQ{iB`[wPTakV^@ZM" collapsed="true">
                                                <field name="VAR" id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</field>
                                                <value name="VALUE">
                                                  <block type="text_changeCase" id="k}YBs[0Ii[p;TfALl+_1" collapsed="true">
                                                    <field name="CASE">LOWERCASE</field>
                                                    <value name="TEXT">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~FExu?j/U1Rnc13CP(#-">
                                                        <field name="TEXT">abc</field>
                                                      </shadow>
                                                      <block type="text_getSubstring" id="Fsbtn^.cVRxgb_kjg}n1" inline="false">
                                                        <mutation at1="true" at2="false"></mutation>
                                                        <field name="WHERE1">FROM_START</field>
                                                        <field name="WHERE2">LAST</field>
                                                        <value name="STRING">
                                                          <block type="on_source" id="dP}]L2;[AzL`jTyPK;8Y">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT1">
                                                          <block type="math_arithmetic" id="VChSZL[^!pRA1U3/K~ic" inline="false">
                                                            <field name="OP">ADD</field>
                                                            <value name="A">
                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="A`TLz5Lbfgw;=mJOp}(^">
                                                                <field name="NUM">1</field>
                                                              </shadow>
                                                              <block type="text_indexOf" id=";Jv+Wu:no!I1t}5^%GMI" inline="false">
                                                                <field name="END">FIRST</field>
                                                                <value name="VALUE">
                                                                  <block type="on_source" id="w;+qgG;S]7QbgfeoL*h1">
                                                                    <field name="ATTR">state.val</field>
                                                                  </block>
                                                                </value>
                                                                <value name="FIND">
                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="P5s;aJDPT*F;y(,VtRBs">
                                                                    <field name="TEXT">abc</field>
                                                                  </shadow>
                                                                  <block type="text" id="0YMCl~TtZfZ/`KZgV6qi">
                                                                    <field name="TEXT">]</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="2ugj/NH#m(u7yrzi++3:">
                                                                <field name="NUM">1</field>
                                                              </shadow>
                                                              <block type="math_number" id=":f/Ow%zjJOy!e%)W3g+4">
                                                                <field name="NUM">1</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="comment" id="b[V_lonjkhpzkQrWre|0">
                                                    <field name="COMMENT">Menü Übersicht</field>
                                                    <next>
                                                      <block type="controls_if" id="i4Ab?~fyAj$]tfff7@%)">
                                                        <mutation elseif="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_operation" id="?-NKEu./;)0;R}cqYW;M" inline="false">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_compare" id="eQR3DPA65Ci_~CAz/Af[">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="w,#25-Qu~W183AA.g^S@">
                                                                    <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="D^^#Frnl:fe?hv-yo`@H">
                                                                    <field name="VAR" id="69}`.66gxy`{yplWbZni">Chef_Telegram_Name</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_operation" id="HPe0Lt?p5+*nfr7LHuVn" inline="false">
                                                                <field name="OP">OR</field>
                                                                <value name="A">
                                                                  <block type="logic_compare" id="=IM{d=@Wh+Mw?Fdexn78">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id=";AzyRgiy^9lBYB93yh5d">
                                                                        <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="pqT4eE0u{unJq+JF#cTK">
                                                                        <field name="TEXT">Übersicht</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_compare" id="l*wu*d1FlrZIA*1{*SO2">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="vjdQQ?EgzG*F_}3ve,:q">
                                                                        <field name="VAR" id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="w@`#XN0}uC|^RDQXJym?">
                                                                        <field name="TEXT">ü</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="procedures_callcustomnoreturn" id="=K]~1_(+qmzFKYrzkn3F">
                                                            <mutation name="Menue_Uebersicht_Chris">
                                                              <arg name="Menue_Uebersicht_empfaenger"></arg>
                                                            </mutation>
                                                            <value name="ARG0">
                                                              <block type="variables_get" id="X8;U(BD*v]//DWcU:HO/">
                                                                <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <value name="IF1">
                                                          <block type="logic_operation" id="V0aSK9`^l;^sO)g~fv}J" inline="false">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_compare" id="oXO_`viON-pX-{UVHos#">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="9ODco1mxD4,XU^/m~??n">
                                                                    <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="OEd?.-fd9Do(bOM/~M,,">
                                                                    <field name="VAR" id="7li8U,ii`aK@ax4~j_gZ">Mitarbeiter_Telegram_Name</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_operation" id="Yd~A1je`m!NzfQuv/CPB" inline="false">
                                                                <field name="OP">OR</field>
                                                                <value name="A">
                                                                  <block type="logic_compare" id="-~b!iw?uWc/xC+ov[AnD">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="3eHLiw+wgomc9X.}k(tX">
                                                                        <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="-v7jJGDxl2%?t!onn9(X">
                                                                        <field name="TEXT">Übersicht</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_compare" id="Praf2n+uFywBHA^$(E1@">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="[/CnF1FE/FBRmiDq2P^P">
                                                                        <field name="VAR" id="ghkwc7a[ajcllnEmNEH[">Letzter_Text_klein</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="mgNXMzKzX{i.Jhk6``Ma">
                                                                        <field name="TEXT">ü</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO1">
                                                          <block type="procedures_callcustomnoreturn" id="X]d0Ig)C2uNvl,V+Ahqd">
                                                            <mutation name="Menue_Uebersicht_Mitarbeiter">
                                                              <arg name="Menue_Uebersicht_empfaenger"></arg>
                                                            </mutation>
                                                            <value name="ARG0">
                                                              <block type="variables_get" id="#D(Uuw-[^-;7+o#$892^">
                                                                <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="comment" id="UOUW+JQc8p?Foe8y)g`H">
                                                            <field name="COMMENT">Admin-Großer Saal An</field>
                                                            <next>
                                                              <block type="controls_if" id="_H1FF{Ld%njWoV?yIN+0">
                                                                <value name="IF0">
                                                                  <block type="logic_operation" id="Gd3RuwG0?*fE2h?X5Q9%" inline="false">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="logic_compare" id=")V7$6Q}=s8S3q(K-%sW`">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="otwYLr`%(o7!3+^O;R+@">
                                                                            <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="variables_get" id="o18P4*UbutK$5Im0Qh`k">
                                                                            <field name="VAR" id="69}`.66gxy`{yplWbZni">Chef_Telegram_Name</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="_s??p6}SK~z_+yA:n(n)">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="?QR2Diyr%Jlx1n3lR()g">
                                                                            <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="text" id=";2-i^;$p$^~S0=N1RLSq">
                                                                            <field name="TEXT">Großer Saal An</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="fI*%DCP~FA@26/NC9^5{" disabled="true">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">Object ID</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <next>
                                                                      <block type="telegram" id="s+;Mqcz-1WNG?d.rPcGx">
                                                                        <field name="INSTANCE"></field>
                                                                        <field name="LOG"></field>
                                                                        <field name="SILENT">FALSE</field>
                                                                        <field name="PARSEMODE">default</field>
                                                                        <value name="MESSAGE">
                                                                          <shadow type="text" id="dyqQtUVA9jh@`Uu^ef:c">
                                                                            <field name="TEXT">text</field>
                                                                          </shadow>
                                                                          <block type="text" id=";6XRISMH|NIV#27jKR_-">
                                                                            <field name="TEXT">💡 Das Licht im großen Saal wird jetzt eingeschaltet.💡</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="USERNAME">
                                                                          <block type="variables_get" id="a6piU65y^3`Fb*cQxo(9">
                                                                            <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="procedures_callcustomnoreturn" id="SS$dI^,1e0bVSQ;/y0g^">
                                                                            <mutation name="Menue_Uebersicht_Chris">
                                                                              <arg name="Menue_Uebersicht_empfaenger"></arg>
                                                                            </mutation>
                                                                            <value name="ARG0">
                                                                              <block type="variables_get" id="Rr:]OjB*0w*K(nRk:k9#">
                                                                                <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="comment" id="-g0=HFW[Tk6O?OvQPWud">
                                                                    <field name="COMMENT">Mitarbeiter-Befehl 1</field>
                                                                    <next>
                                                                      <block type="controls_if" id="H,C5`L9Vx3KA?VBDDXL/">
                                                                        <value name="IF0">
                                                                          <block type="logic_operation" id="$r,YEdy$%c|W[/7#8{2Z" inline="false">
                                                                            <field name="OP">AND</field>
                                                                            <value name="A">
                                                                              <block type="logic_compare" id="Brycs2CoYlX*8=./DeFW">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="@}~-BVfl8RzrYuk=X69v">
                                                                                    <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="variables_get" id=",.+aS^#o6{hJkJD$,]E9">
                                                                                    <field name="VAR" id="7li8U,ii`aK@ax4~j_gZ">Mitarbeiter_Telegram_Name</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_compare" id="}~E$lrTTa|*@lrcY!pS^">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="*QxUmH,)paa{uAa_;?D~">
                                                                                    <field name="VAR" id="vk!u4r$n@OTSq0C@P*Li">Letzter_Text</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="text" id="bMwABqdX!Yy]XSQ#ANYp">
                                                                                    <field name="TEXT">Befehl 1</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="control" id="t;NWoAG674kXM=,{M^|J" disabled="true">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">Object ID</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <next>
                                                                              <block type="telegram" id="G/gvG-t#^kS2dzsUZ//,">
                                                                                <field name="INSTANCE"></field>
                                                                                <field name="LOG"></field>
                                                                                <field name="SILENT">FALSE</field>
                                                                                <field name="PARSEMODE">default</field>
                                                                                <value name="MESSAGE">
                                                                                  <shadow type="text">
                                                                                    <field name="TEXT">text</field>
                                                                                  </shadow>
                                                                                  <block type="text" id="c7X=|+bZH1vie^;mEe6b">
                                                                                    <field name="TEXT">Befehl 1 wird jetzt ausgeführt</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="USERNAME">
                                                                                  <block type="variables_get" id="ggeqHqXcZGNi/CEk6o$d">
                                                                                    <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="procedures_callcustomnoreturn" id="#Y5cw+21P4{nJ_M0WkXv">
                                                                                    <mutation name="Menue_Uebersicht_Mitarbeiter">
                                                                                      <arg name="Menue_Uebersicht_empfaenger"></arg>
                                                                                    </mutation>
                                                                                    <value name="ARG0">
                                                                                      <block type="variables_get" id="5InXbnwQmzVN5Is8owbY">
                                                                                        <field name="VAR" id="o4Cw37sYQKkEiK:B2(AL">Letzter_Absender</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </xml>
                

                EDIT: Export geändert um 19:45 Uhr

                EDIT 2: Export geändert um 19:53 Uhr

                Bildschirmfoto 2020-11-01 um 19.51.42.png

                M Offline
                M Offline
                MisterBlinki
                schrieb am zuletzt editiert von MisterBlinki
                #106

                @dslraser

                Vielen Dank!

                Anscheinend funktioniert Mitarbeiter nur, wenn er einen Benutzernamen hat. Soll das so sein?

                Die Frage ist, kann ich auch mehrere Mitarbeiter damit bedienen?
                5 an der Zahl. :cold_sweat:

                Und was war mein Fehler?
                Ich verstehe auch recht gerne :-)

                dslraserD 2 Antworten Letzte Antwort
                0
                • M MisterBlinki

                  @dslraser

                  Vielen Dank!

                  Anscheinend funktioniert Mitarbeiter nur, wenn er einen Benutzernamen hat. Soll das so sein?

                  Die Frage ist, kann ich auch mehrere Mitarbeiter damit bedienen?
                  5 an der Zahl. :cold_sweat:

                  Und was war mein Fehler?
                  Ich verstehe auch recht gerne :-)

                  dslraserD Offline
                  dslraserD Offline
                  dslraser
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von dslraser
                  #107

                  @MisterBlinki sagte in Vorlage Telegram Menü ohne Text2Command:

                  Anscheinend funktioniert Mitarbeiter nur, wenn er einen Benutzernamen hat. Soll das so sein?

                  Ja, den Namen kannst nur Du kennen und ändern. Du kannst auch jedem Mitarbeiter sein eigenes Menü geben, da muß das Blockly dann halt erweitert werden.

                  Hier kommt der Name von Dir rein (also so wie Du am Bot heißt)
                  Bei Mitarbeiter dann der Name von einem Mitarbeiter (die Variable kannst Du ja auch umbenennen in was Du willst). Dann müssen noch für die anderen vier Mitarbeiter Variablen und Menüs erstellt werden.
                  Bildschirmfoto 2020-11-02 um 17.36.39.png

                  Und was war mein Fehler?

                  Du hast einige Variablen gelöscht und irgendwelche Namen aus Datenpunkten für die letzte Namenserkennung drinn gehabt. Wer zuletzt geschrieben hat steht aber im Datenpunkt vom Telegram Adapter in eckigen Klammern. Dies erkennt das Blockly und extrahiert den Namen.
                  Bildschirmfoto 2020-11-02 um 17.44.03.png

                  1 Antwort Letzte Antwort
                  0
                  • M MisterBlinki

                    @dslraser

                    Vielen Dank!

                    Anscheinend funktioniert Mitarbeiter nur, wenn er einen Benutzernamen hat. Soll das so sein?

                    Die Frage ist, kann ich auch mehrere Mitarbeiter damit bedienen?
                    5 an der Zahl. :cold_sweat:

                    Und was war mein Fehler?
                    Ich verstehe auch recht gerne :-)

                    dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von dslraser
                    #108

                    @MisterBlinki
                    Hier mal ein Beispiel mit Chef+5 Mitarbeiter mit eigenen Menüs. (ungetestet, da ich nur zwei Benutzer an meinem Bot habe)

                    Blockly Export passt wegen dem Zeichenlimit nicht hier rein, deshalb hier als zip Datei. Bitte die zip Datei downloaden und auf Deinem Rechner entpacken. Die Textdatei dann mit einem Editor öffnen und den gesamten Inhalt markieren und in die Zwischenablage kopieren, danach in ein neues leeres Blockly importieren.

                    Blockly_Export.zip

                    M 1 Antwort Letzte Antwort
                    0
                    • dslraserD dslraser

                      @MisterBlinki
                      Hier mal ein Beispiel mit Chef+5 Mitarbeiter mit eigenen Menüs. (ungetestet, da ich nur zwei Benutzer an meinem Bot habe)

                      Blockly Export passt wegen dem Zeichenlimit nicht hier rein, deshalb hier als zip Datei. Bitte die zip Datei downloaden und auf Deinem Rechner entpacken. Die Textdatei dann mit einem Editor öffnen und den gesamten Inhalt markieren und in die Zwischenablage kopieren, danach in ein neues leeres Blockly importieren.

                      Blockly_Export.zip

                      M Offline
                      M Offline
                      MisterBlinki
                      schrieb am zuletzt editiert von
                      #109

                      @dslraser 425f0b18-4e2c-451d-8e8b-4c4a3304eb5e-image.png

                      76c84db6-f7da-429f-ab5a-770261ba6fc0-image.png

                      Es scheint zu Funktionieren!

                      :clap: :closed_umbrella:

                      dslraserD 1 Antwort Letzte Antwort
                      0
                      • M MisterBlinki

                        @dslraser 425f0b18-4e2c-451d-8e8b-4c4a3304eb5e-image.png

                        76c84db6-f7da-429f-ab5a-770261ba6fc0-image.png

                        Es scheint zu Funktionieren!

                        :clap: :closed_umbrella:

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von dslraser
                        #110

                        @MisterBlinki
                        ja, aber in Deinem Beispiel nutzen alle das gleiche Menü (oder,oder,oder usw.)

                        Edit: und in Deinem 2
                        Bild ist Mitarbeiter_4 zwei mal drinn

                        M 1 Antwort Letzte Antwort
                        0
                        • dslraserD dslraser

                          @MisterBlinki
                          ja, aber in Deinem Beispiel nutzen alle das gleiche Menü (oder,oder,oder usw.)

                          Edit: und in Deinem 2
                          Bild ist Mitarbeiter_4 zwei mal drinn

                          M Offline
                          M Offline
                          MisterBlinki
                          schrieb am zuletzt editiert von MisterBlinki
                          #111

                          @dslraser

                          Ne.... es gibt einmal TSDChris und TSDChris2...
                          TSDChris bekommt das Admin Menü alle anderen das andere...

                          Der Befehl "Alle Lichter An" sollen alle ausführen können.

                          Sowas wie Temperatursensoren usw. nur TSDChris

                          a788640c-1764-4cb1-9442-d6a0d680fd58-image.png

                          EDIT: Bild ist Mitarbeiter_4 zwei mal drin - korrigiert Danke.... Eifer der Freude!

                          dslraserD 1 Antwort Letzte Antwort
                          1
                          • M MisterBlinki

                            @dslraser

                            Ne.... es gibt einmal TSDChris und TSDChris2...
                            TSDChris bekommt das Admin Menü alle anderen das andere...

                            Der Befehl "Alle Lichter An" sollen alle ausführen können.

                            Sowas wie Temperatursensoren usw. nur TSDChris

                            a788640c-1764-4cb1-9442-d6a0d680fd58-image.png

                            EDIT: Bild ist Mitarbeiter_4 zwei mal drin - korrigiert Danke.... Eifer der Freude!

                            dslraserD Offline
                            dslraserD Offline
                            dslraser
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #112

                            @MisterBlinki sagte in Vorlage Telegram Menü ohne Text2Command:

                            Ne....

                            doch :grinning:

                            Bildschirmfoto 2020-11-02 um 18.19.59.png

                            M 1 Antwort Letzte Antwort
                            0
                            • dslraserD dslraser

                              @MisterBlinki sagte in Vorlage Telegram Menü ohne Text2Command:

                              Ne....

                              doch :grinning:

                              Bildschirmfoto 2020-11-02 um 18.19.59.png

                              M Offline
                              M Offline
                              MisterBlinki
                              schrieb am zuletzt editiert von
                              #113

                              @dslraser
                              c7a7a649-4087-4d4b-a792-6b5e973d8598-image.png

                              :-)

                              dslraserD 2 Antworten Letzte Antwort
                              0
                              • M MisterBlinki

                                @dslraser
                                c7a7a649-4087-4d4b-a792-6b5e973d8598-image.png

                                :-)

                                dslraserD Offline
                                dslraserD Offline
                                dslraser
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #114

                                @MisterBlinki
                                wenn das eine Menü alle haben sollen, reicht es dann nicht so ? (anstatt alle zu prüfen ?)

                                Bildschirmfoto 2020-11-02 um 18.26.11.png

                                1 Antwort Letzte Antwort
                                0
                                • M MisterBlinki

                                  @dslraser
                                  c7a7a649-4087-4d4b-a792-6b5e973d8598-image.png

                                  :-)

                                  dslraserD Offline
                                  dslraserD Offline
                                  dslraser
                                  Forum Testing Most Active
                                  schrieb am zuletzt editiert von
                                  #115

                                  @MisterBlinki
                                  oder sogar die Prüfung der Namen ganz weg lassen, wenn das ein Befehl für alle ist ?

                                  Bildschirmfoto 2020-11-02 um 18.28.28.png

                                  M 1 Antwort Letzte Antwort
                                  0
                                  • dslraserD dslraser

                                    @MisterBlinki
                                    oder sogar die Prüfung der Namen ganz weg lassen, wenn das ein Befehl für alle ist ?

                                    Bildschirmfoto 2020-11-02 um 18.28.28.png

                                    M Offline
                                    M Offline
                                    MisterBlinki
                                    schrieb am zuletzt editiert von MisterBlinki
                                    #116

                                    @dslraser

                                    26b3db2e-3e10-4cfb-bc35-6a255f0e3cc6-image.png

                                    "Chef/admin" soll ja ein anderes Menü haben.

                                    5c9824c8-d5ad-4485-8c09-b1b171873cf7-image.png

                                    Daran habe ich bereits auch gedacht. Spart die Überprüfung....

                                    EDIT: Auf der anderen Seite.... Sollte jemand unberechtigt auf den Bot zugreifen könnte er dann einige Befehle ausführen, oder nicht?:dizzy_face:

                                    1 Antwort Letzte Antwort
                                    0
                                    • J Offline
                                      J Offline
                                      Joshude
                                      schrieb am zuletzt editiert von
                                      #117

                                      Ich habe mein T2C-Telegram auch irgendwann auf eigene Faust umgebaut und bin inzwischen vom normalen Menü auf ein Inline-Menü umgestiegen. Das de-cluttert ein bisschen den Chat, optisch isses ne Geschmackssache, ich finds aber ganz nett, dass nicht für jeden Kleinkram ne Nachricht in den Chat gehauen wird und man sich keine Gedanken darum machen muss, dass ein Befehl doppelt vorkommt. "Alle an" (fürs Licht) kann im Menü in jedem Raum stehen und man muss vorher nicht irgendwie abfragen in welchem Raum man sich befindet, sondern es wird "hintenrum" ein anderer Befehl als das, was im Button steht geschickt. Ist finde ich ne ganz nette Sache. Habs hier in dem Thread mal zusammengefasst:

                                      https://forum.iobroker.net/topic/38371/telegram-inline-keyboard-ohne-text2command

                                      1 Antwort Letzte Antwort
                                      0
                                      • W Offline
                                        W Offline
                                        west
                                        schrieb am zuletzt editiert von west
                                        #118

                                        Hallo,
                                        Ich Benutze das Blockly Telegram Menü schon länger nur habe ich das Problem das alle Bot Nutzer rückmeldung wenn der Befehl ausgeführt wurde.
                                        Wie kann ich das Blockly verändern damit nicht alle Bot Benutzer rückmeldung bekommen die das gleiche Menüpunkt mitbenutzen?

                                        Hier mein Blockly:
                                        Telegram Menü ohne Text2Command von west.txt

                                        1 Antwort Letzte Antwort
                                        0
                                        • dslraserD dslraser

                                          Menüvorlage/Ursprung @Sven_Topp !

                                          Anbei mein Menü für Telegram ohne Text2Command.
                                          Da ich immer wieder per Chat nach meinem kompletten Menü gefragt wurde und werde, stelle ich es jetzt doch wieder zur Verfügung, obwohl dies nur bedingt Sinnvoll ist, da ohnehin jedes "Untermenü" an die eigenen Geräte angepasst werden muß, oder manches vielleicht gar nicht gebraucht wird. Deshalb habe ich auch die meisten "Untermenüs", bzw. die Aktionen darin deaktiviert und zusammengeklappt, aber zum anschauen ist alles vorhanden. Am Besten man arbeitet sich im Blockly einmal von oben nach unten durch. Dazu jeweils einen Menüpunkt/Baustein auswählen und entfalten zum bearbeiten. Teilweise müssen mehrere Bausteine innerhalb einer Aktion zum bearbeiten entfaltet werden.
                                          Im Prinzip lässt sich dieses Menü beliebig erweitern oder umgestalten. Dies hier gezeigte Menü soll nur als mögliche Vorlage dienen. Wenn man dieses Blockly startet und zuvor mindestens einen User an seinen eigenen Telegram User angepasst hat, ist es sofort lauffähig. Jeder User kann sein eigenes Menü mit eigenem Funktionsumfang haben.
                                          Der Import des Menüs kann einen Moment dauern und das bearbeiten des Blocklys ist auf Grund der Größe des Blocklys (über 5100 Bausteine in meinem Fall) und je nach verwendeten Endgerät langsam. Im fertigen Zustand arbeitet es aber ohne jegliche Verzögerung. Schalten und abfragen läßt sich damit im Grunde alles was ioBroker zur Verfügung stellt.
                                          Aufrufen kann man das Menü indem man einmal das Wort Übersicht oder nur ein ü in den Bot eintippt und absendet.
                                          Screenshot_20190409-183328_Telegram.jpg
                                          Hier werden die Benutzer eingetragen. Hier in diesem Beispiel gibt es zwei Benutzer, aber auch das wäre erweiterbar. Wenn man hier den/die eigenen Benutzer drinn hat und das Blockly startet, sollte das Menü sofort lauffähig sein. (ohne schaltbare Aktionenen, da deaktiviert)
                                          Bildschirmfoto 2019-11-16 um 19.56.43.png

                                          Anbei noch Bilder, wie das Menü bei mir aussieht, wenn Aktionen tatsächlich geschaltet oder abgefragt werden....

                                          Wer es braucht, viel Spaß damit....


                                          Hier ein YouTube Link (Sven Topp) zum anschauen. Ein Download Link wird im Videokommentar in der Ursprungsversion angeboten.
                                          Video

                                          oder hier das Menü wie ich es aktuell verwende.

                                          Telegram-Menue.txt.zip


                                          Anbei einige Bilder, wie das Menü bei mir aussieht:

                                          Hauptmenü (Übersicht)
                                          Screenshot_20190409-183328_Telegram.jpg
                                          Menü Licht schalten
                                          Screenshot_20190409-183407_Telegram.jpg
                                          Untermenü von Licht schalten
                                          Licht im Wohnzimmer
                                          Screenshot_20190409-183430_Telegram.jpg
                                          Menü Heizung stellen
                                          Screenshot_20190409-183452_Telegram.jpg
                                          Untermenü Heizung stellen
                                          Heizung im Wohnzimmer stellen
                                          Screenshot_20190409-183514_Telegram.jpg
                                          Menü TV System Wohnzimmer schalten
                                          Screenshot_20190409-183529_Telegram.jpg
                                          TV System Schlafzimmer schalten
                                          Screenshot_20190409-183546_Telegram.jpg
                                          Menü Kamera Bild senden
                                          Screenshot_20190409-183606_Telegram.jpg
                                          Menü Steckdosen schalten
                                          Screenshot_20190409-183628_Telegram.jpg
                                          Menü Temperaturen abfragen
                                          Screenshot_20190409-183652_Telegram.jpg
                                          Menü Gerätestatus
                                          Screenshot_20190409-183710_Telegram.jpg
                                          Untermenü Gerätestatus
                                          Fenster
                                          Screenshot_20190409-183725_Telegram.jpg
                                          Untermenü Gerätestatus
                                          Licht
                                          Screenshot_20190409-183739_Telegram.jpg
                                          Untermenü Gerätestatus
                                          Steckdosen
                                          Screenshot_20190409-183755_Telegram.jpg
                                          Untermenü Gerätestatus
                                          Batterien
                                          Screenshot_20190409-183812_Telegram.jpg
                                          Menü Alexa2 Stimmen einstellen
                                          Screenshot_20190409-183829_Telegram.jpg
                                          Menü Telegram Nachricht an ECHO senden
                                          Screenshot_20190409-183842_Telegram.jpg

                                          T Offline
                                          T Offline
                                          TorstenR1962
                                          schrieb am zuletzt editiert von
                                          #119

                                          @dslraser
                                          Ich bin mit telegram sehr zufrieden gewesen. Das Menü klappte immer super.
                                          Funktioniert das Menü denn auch mit dem Messenger Signal? Wenn ja, wie, was muss man dafür tun?

                                          dslraserD 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

                                          387

                                          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