Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [HowTo] Script Sticky Notes (PostIt) für VIS und Telegram

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    279

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

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

[HowTo] Script Sticky Notes (PostIt) für VIS und Telegram

Scheduled Pinned Locked Moved Skripten / Logik
160 Posts 12 Posters 25.7k Views 22 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • liv-in-skyL liv-in-sky

    @d3ltoroxp

    so muss es funktionieren - damit man auch Postit schreiben kann - so wie das handy es vorschlägt

    Image 237.png

    D3ltoroxpD Offline
    D3ltoroxpD Offline
    D3ltoroxp
    wrote on last edited by
    #94

    @liv-in-sky

    Muss ich mir mal noch bei Gelegenheit anpassen. So klappt es erst mal mit kleinem P.

    Was ich gerade noch versuche, wenn ein Anruf verpasst wird, möchte ich ein PostIt haben.

    bc4772b2-e4d7-4947-8811-92d334822993-grafik.png

    So schaut's aus, aber wenn im CallerName was steht, bekomme ich trotzdem die alte Nummer vom vorletzten Anruf, auch nicht mal die aktualisierte. Ich hoffe das passt hier bissel mit rein.

    liv-in-skyL 1 Reply Last reply
    0
    • D3ltoroxpD D3ltoroxp

      @liv-in-sky

      Muss ich mir mal noch bei Gelegenheit anpassen. So klappt es erst mal mit kleinem P.

      Was ich gerade noch versuche, wenn ein Anruf verpasst wird, möchte ich ein PostIt haben.

      bc4772b2-e4d7-4947-8811-92d334822993-grafik.png

      So schaut's aus, aber wenn im CallerName was steht, bekomme ich trotzdem die alte Nummer vom vorletzten Anruf, auch nicht mal die aktualisierte. Ich hoffe das passt hier bissel mit rein.

      liv-in-skyL Offline
      liv-in-skyL Offline
      liv-in-sky
      wrote on last edited by
      #95

      @d3ltoroxp

      weiß gerade nicht, wie der adapter reagiert - aber evtl hilft ein timeout , bevor du das script ausfühst und den anrufer setzen läßt - also alles im trigger in einen timeout von viell. 5 sek

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

      D3ltoroxpD 1 Reply Last reply
      0
      • liv-in-skyL liv-in-sky

        @d3ltoroxp

        weiß gerade nicht, wie der adapter reagiert - aber evtl hilft ein timeout , bevor du das script ausfühst und den anrufer setzen läßt - also alles im trigger in einen timeout von viell. 5 sek

        D3ltoroxpD Offline
        D3ltoroxpD Offline
        D3ltoroxp
        wrote on last edited by
        #96

        @liv-in-sky Stimmt das denn so mit Wert vom CallerName =

        Also wenn dort nichts steht, dann soll er ja die Tele Nr nehmen. Steht dort aber ein Name drin, soll er diesen nehmen ?

        liv-in-skyL 1 Reply Last reply
        0
        • D3ltoroxpD D3ltoroxp

          @liv-in-sky Stimmt das denn so mit Wert vom CallerName =

          Also wenn dort nichts steht, dann soll er ja die Tele Nr nehmen. Steht dort aber ein Name drin, soll er diesen nehmen ?

          liv-in-skyL Offline
          liv-in-skyL Offline
          liv-in-sky
          wrote on last edited by
          #97

          @d3ltoroxp

          müßte ich auch ausprobieren - bin aber nicht am admin rechner - kannst du testen mit einem anruf ohne namen aus dem telefonbuch ?

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

          D3ltoroxpD 1 Reply Last reply
          0
          • liv-in-skyL liv-in-sky

            @d3ltoroxp

            müßte ich auch ausprobieren - bin aber nicht am admin rechner - kannst du testen mit einem anruf ohne namen aus dem telefonbuch ?

            D3ltoroxpD Offline
            D3ltoroxpD Offline
            D3ltoroxp
            wrote on last edited by
            #98

            @liv-in-sky ich hatte einen Anruf unbekannt, da hat er die Nummer genommen, wenn ich jetzt anrufe, kommt aber immer noch die alte Nummer, nicht meine und auch nicht mein Name. Im DP vom Adapter stehts aber drin. Werd mal noch probieren.

            1 Reply Last reply
            0
            • MigChipM Offline
              MigChipM Offline
              MigChip
              wrote on last edited by
              #99

              Hi, danke erstmal für das super Script. Kann mir jemand sagen wo ich im script die telegram Instanz eingeben kann? Ganz oben finde ich nichts....

              liv-in-skyL 1 Reply Last reply
              0
              • MigChipM MigChip

                Hi, danke erstmal für das super Script. Kann mir jemand sagen wo ich im script die telegram Instanz eingeben kann? Ganz oben finde ich nichts....

                liv-in-skyL Offline
                liv-in-skyL Offline
                liv-in-sky
                wrote on last edited by liv-in-sky
                #100

                @migchip

                hier - nur die instanz-nummer - roter pfeil

                Image 141.png

                soweit ich mich erinnere, musst du je nach anzahl der instanzen, die du nutzen willst auch die anzahl der anderen listen ändern (blaue pfeile) (alle, die momentan 3 listneinträge im bild haben sollten dann 2 haben, wenn du 2 instanzen nutzen willst

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

                MigChipM 1 Reply Last reply
                0
                • liv-in-skyL liv-in-sky

                  @migchip

                  hier - nur die instanz-nummer - roter pfeil

                  Image 141.png

                  soweit ich mich erinnere, musst du je nach anzahl der instanzen, die du nutzen willst auch die anzahl der anderen listen ändern (blaue pfeile) (alle, die momentan 3 listneinträge im bild haben sollten dann 2 haben, wenn du 2 instanzen nutzen willst

                  MigChipM Offline
                  MigChipM Offline
                  MigChip
                  wrote on last edited by
                  #101

                  @liv-in-sky

                  super vielen dank es funkuniert :flushed:

                  1 Reply Last reply
                  0
                  • S skokarl

                    @liv-in-sky

                    Nochmals vielen Dank für Deine Unterstützung, Script läuft super.

                    post-3.gif

                    M Offline
                    M Offline
                    michihorn
                    wrote on last edited by michihorn
                    #102

                    @liv-in-sky
                    Hallo ich habe PostIt jetzt auch mal umgesetzt, allerdings bekomme ich doppelte Einträge
                    Screenshot 2023-05-12 103530.png

                    Offenbar macht Telegram auch kommische Sachen, der doppekt auch die Meldungen
                    Screenshot_20230512_110053_Telegram.jpg
                    Was kann ich tun?
                    Michael

                    EDIT: Hat sicher erledigt, hatte beide Scripte am laufen

                    1 Reply Last reply
                    0
                    • liv-in-skyL liv-in-sky

                      @skokarl

                      wollte die postit's auch über alexa eingeben

                      habe das so über umweg gelöst - habe mir eine alexa liste mit namen post angelegt - wird nur dafür genutzt !

                      wenn ich jetzt sage: alexa füge bier kaufen der liste post hinzu

                      wird ein postit angelegt - in der alexa liste darf nichts anderes stehen, den es wird ein listeneintrag angelegt und auch sofort wieder gelöscht

                      das blockly

                      Image 3.png

                      <block xmlns="https://developers.google.com/blockly/xml" type="on" id="wS*w6+(st$F.CZvCpL{R" x="-437.3773193359375" y="412.8678741455072">
                       <field name="OID">alexa2.0.Lists.post.json</field>
                       <field name="CONDITION">ne</field>
                       <field name="ACK_CONDITION"></field>
                       <statement name="STATEMENT">
                         <block type="debug" id="/x0k;=v+#-Wat1meZXm=">
                           <field name="Severity">log</field>
                           <value name="TEXT">
                             <shadow type="text" id="`KOMl]RdpWxdMnx|G|,B">
                               <field name="TEXT">test</field>
                             </shadow>
                             <block type="text_length" id="$%kk{r.1|A@y6aVNH72f">
                               <value name="VALUE">
                                 <shadow type="text" id="liS*d-(n6uQmb={zVfnM">
                                   <field name="TEXT">abc</field>
                                 </shadow>
                                 <block type="get_value" id="F7YGRzsG$bwDR2@b6WU~">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alexa2.0.Lists.post.json</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="controls_if" id="O~b1L9HL;TV;us-:vW=1">
                               <value name="IF0">
                                 <block type="logic_compare" id="NI+s=6;~+,tJx@FKI6mR">
                                   <field name="OP">GT</field>
                                   <value name="A">
                                     <block type="text_length" id="K),$x#0{Ahfpe@I!]eX;">
                                       <value name="VALUE">
                                         <shadow type="text" id="^Tna+WNK.-J2X{xoH+CI">
                                           <field name="TEXT">abc</field>
                                         </shadow>
                                         <block type="get_value" id="#Tolg+=gIcT/;vtJ;j0r">
                                           <field name="ATTR">val</field>
                                           <field name="OID">alexa2.0.Lists.post.json</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="+Hrcx-Ps!(~.DVD8afeG">
                                       <field name="NUM">5</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="debug" id="m6/%PW[OTV?pqCDK$0YO">
                                   <field name="Severity">log</field>
                                   <value name="TEXT">
                                     <shadow type="text" id="yp4gBopa@sLh?C$9N}NB">
                                       <field name="TEXT">test</field>
                                     </shadow>
                                     <block type="get_attr" id="XzC)0s+W@ez#5g,1KILX">
                                       <value name="PATH">
                                         <shadow type="text" id="GS}|pR3}G7[Qj~2kC$*7">
                                           <field name="TEXT">value</field>
                                         </shadow>
                                       </value>
                                       <value name="OBJECT">
                                         <block type="lists_getIndex" id="%mwB3GFpbdz[*N#W%9GG">
                                           <mutation statement="false" at="true"></mutation>
                                           <field name="MODE">GET</field>
                                           <field name="WHERE">FROM_START</field>
                                           <value name="VALUE">
                                             <block type="convert_json2object" id="c;sYbH?QlOYRRp/E_@(t">
                                               <value name="VALUE">
                                                 <block type="on_source" id="gU,s7!5U9Nok7tzx8Oe3">
                                                   <field name="ATTR">state.val</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="AT">
                                             <block type="math_number" id="c-EAxYKUKdyaQmmbO_B*">
                                               <field name="NUM">1</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="7G9Bk$A_4jtK,L%m~Di4">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                       <field name="OID">0_userdata.0.Alarm-MaterialDesign.PostItErstellen</field>
                                       <field name="WITH_DELAY">TRUE</field>
                                       <field name="DELAY_MS">3</field>
                                       <field name="UNIT">sec</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="VALUE">
                                         <block type="get_attr" id="06dq8i+.W|!ZKmhE0e3G">
                                           <value name="PATH">
                                             <shadow type="text" id="j`QRTM2FP*I:Q=H*=H8C">
                                               <field name="TEXT">value</field>
                                             </shadow>
                                           </value>
                                           <value name="OBJECT">
                                             <block type="lists_getIndex" id="7a,({6bar@J63grF`2vv">
                                               <mutation statement="false" at="true"></mutation>
                                               <field name="MODE">GET</field>
                                               <field name="WHERE">FROM_START</field>
                                               <value name="VALUE">
                                                 <block type="convert_json2object" id="X^2U#VUG.,vr-V`zviU=">
                                                   <value name="VALUE">
                                                     <block type="on_source" id="*=mUiqXriiiEiLE:wAD6">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="AT">
                                                 <block type="math_number" id="jZ,0jV%GW65K(S]~|B^{">
                                                   <field name="NUM">1</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control_ex" id="O/PFIX.fwKSbZP`TneUy">
                                           <field name="TYPE">false</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="OID">
                                             <shadow type="field_oid" id="gaO5Ly%lCQjX5nph:,y;">
                                               <field name="oid">Object ID</field>
                                             </shadow>
                                             <block type="text_join" id="OCZgt]^=xopI2WqJWg`2">
                                               <mutation items="3"></mutation>
                                               <value name="ADD0">
                                                 <block type="text" id="X)1{q4||jJk}ORS{:M,%">
                                                   <field name="TEXT">alexa2.0.Lists.post.items.</field>
                                                 </block>
                                               </value>
                                               <value name="ADD1">
                                                 <block type="get_attr" id="pog3J3lnNuXMe2fG`$U7">
                                                   <value name="PATH">
                                                     <shadow type="text" id=".LqioO6q7.FyZ+Yp0gL`">
                                                       <field name="TEXT">id</field>
                                                     </shadow>
                                                   </value>
                                                   <value name="OBJECT">
                                                     <block type="lists_getIndex" id="?FxC=AfV=2!JFC,AcU*5">
                                                       <mutation statement="false" at="true"></mutation>
                                                       <field name="MODE">GET</field>
                                                       <field name="WHERE">FROM_START</field>
                                                       <value name="VALUE">
                                                         <block type="convert_json2object" id="o=En}5ZFm31cNg}RqH67">
                                                           <value name="VALUE">
                                                             <block type="on_source" id="%:q/xoMcMv*9of[pPw7z">
                                                               <field name="ATTR">state.val</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="AT">
                                                         <block type="math_number" id="f{Jn3[^Q}m@,f5Vwb5J!">
                                                           <field name="NUM">1</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="ADD2">
                                                 <block type="text" id="Y]d.$er(I4%saSg{~KA?">
                                                   <field name="TEXT">.#delete</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="VALUE">
                                             <shadow type="logic_boolean" id="Pq#N=zc6Jc1_CcO#@jh]">
                                               <field name="BOOL">TRUE</field>
                                             </shadow>
                                           </value>
                                           <value name="DELAY_MS">
                                             <shadow type="math_number" id="^vaRR$}dfLsPZS#xpGyL">
                                               <field name="NUM">7000</field>
                                             </shadow>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </statement>
                      </block>
                      

                      M Offline
                      M Offline
                      michihorn
                      wrote on last edited by
                      #103

                      @liv-in-sky sagte in [HowTo] Script Sticky Notes (PostIt) für VIS und Telegram:

                      @skokarl

                      wollte die postit's auch über alexa eingeben

                      habe das so über umweg gelöst - habe mir eine alexa liste mit namen post angelegt - wird nur dafür genutzt !

                      wenn ich jetzt sage: alexa füge bier kaufen der liste post hinzu

                      wird ein postit angelegt - in der alexa liste darf nichts anderes stehen, den es wird ein listeneintrag angelegt und auch sofort wieder gelöscht

                      das blockly

                      Image 3.png

                      <block xmlns="https://developers.google.com/blockly/xml" type="on" id="wS*w6+(st$F.CZvCpL{R" x="-437.3773193359375" y="412.8678741455072">
                       <field name="OID">alexa2.0.Lists.post.json</field>
                       <field name="CONDITION">ne</field>
                       <field name="ACK_CONDITION"></field>
                       <statement name="STATEMENT">
                         <block type="debug" id="/x0k;=v+#-Wat1meZXm=">
                           <field name="Severity">log</field>
                           <value name="TEXT">
                             <shadow type="text" id="`KOMl]RdpWxdMnx|G|,B">
                               <field name="TEXT">test</field>
                             </shadow>
                             <block type="text_length" id="$%kk{r.1|A@y6aVNH72f">
                               <value name="VALUE">
                                 <shadow type="text" id="liS*d-(n6uQmb={zVfnM">
                                   <field name="TEXT">abc</field>
                                 </shadow>
                                 <block type="get_value" id="F7YGRzsG$bwDR2@b6WU~">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alexa2.0.Lists.post.json</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="controls_if" id="O~b1L9HL;TV;us-:vW=1">
                               <value name="IF0">
                                 <block type="logic_compare" id="NI+s=6;~+,tJx@FKI6mR">
                                   <field name="OP">GT</field>
                                   <value name="A">
                                     <block type="text_length" id="K),$x#0{Ahfpe@I!]eX;">
                                       <value name="VALUE">
                                         <shadow type="text" id="^Tna+WNK.-J2X{xoH+CI">
                                           <field name="TEXT">abc</field>
                                         </shadow>
                                         <block type="get_value" id="#Tolg+=gIcT/;vtJ;j0r">
                                           <field name="ATTR">val</field>
                                           <field name="OID">alexa2.0.Lists.post.json</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="+Hrcx-Ps!(~.DVD8afeG">
                                       <field name="NUM">5</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="debug" id="m6/%PW[OTV?pqCDK$0YO">
                                   <field name="Severity">log</field>
                                   <value name="TEXT">
                                     <shadow type="text" id="yp4gBopa@sLh?C$9N}NB">
                                       <field name="TEXT">test</field>
                                     </shadow>
                                     <block type="get_attr" id="XzC)0s+W@ez#5g,1KILX">
                                       <value name="PATH">
                                         <shadow type="text" id="GS}|pR3}G7[Qj~2kC$*7">
                                           <field name="TEXT">value</field>
                                         </shadow>
                                       </value>
                                       <value name="OBJECT">
                                         <block type="lists_getIndex" id="%mwB3GFpbdz[*N#W%9GG">
                                           <mutation statement="false" at="true"></mutation>
                                           <field name="MODE">GET</field>
                                           <field name="WHERE">FROM_START</field>
                                           <value name="VALUE">
                                             <block type="convert_json2object" id="c;sYbH?QlOYRRp/E_@(t">
                                               <value name="VALUE">
                                                 <block type="on_source" id="gU,s7!5U9Nok7tzx8Oe3">
                                                   <field name="ATTR">state.val</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="AT">
                                             <block type="math_number" id="c-EAxYKUKdyaQmmbO_B*">
                                               <field name="NUM">1</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="7G9Bk$A_4jtK,L%m~Di4">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                       <field name="OID">0_userdata.0.Alarm-MaterialDesign.PostItErstellen</field>
                                       <field name="WITH_DELAY">TRUE</field>
                                       <field name="DELAY_MS">3</field>
                                       <field name="UNIT">sec</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="VALUE">
                                         <block type="get_attr" id="06dq8i+.W|!ZKmhE0e3G">
                                           <value name="PATH">
                                             <shadow type="text" id="j`QRTM2FP*I:Q=H*=H8C">
                                               <field name="TEXT">value</field>
                                             </shadow>
                                           </value>
                                           <value name="OBJECT">
                                             <block type="lists_getIndex" id="7a,({6bar@J63grF`2vv">
                                               <mutation statement="false" at="true"></mutation>
                                               <field name="MODE">GET</field>
                                               <field name="WHERE">FROM_START</field>
                                               <value name="VALUE">
                                                 <block type="convert_json2object" id="X^2U#VUG.,vr-V`zviU=">
                                                   <value name="VALUE">
                                                     <block type="on_source" id="*=mUiqXriiiEiLE:wAD6">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="AT">
                                                 <block type="math_number" id="jZ,0jV%GW65K(S]~|B^{">
                                                   <field name="NUM">1</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control_ex" id="O/PFIX.fwKSbZP`TneUy">
                                           <field name="TYPE">false</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="OID">
                                             <shadow type="field_oid" id="gaO5Ly%lCQjX5nph:,y;">
                                               <field name="oid">Object ID</field>
                                             </shadow>
                                             <block type="text_join" id="OCZgt]^=xopI2WqJWg`2">
                                               <mutation items="3"></mutation>
                                               <value name="ADD0">
                                                 <block type="text" id="X)1{q4||jJk}ORS{:M,%">
                                                   <field name="TEXT">alexa2.0.Lists.post.items.</field>
                                                 </block>
                                               </value>
                                               <value name="ADD1">
                                                 <block type="get_attr" id="pog3J3lnNuXMe2fG`$U7">
                                                   <value name="PATH">
                                                     <shadow type="text" id=".LqioO6q7.FyZ+Yp0gL`">
                                                       <field name="TEXT">id</field>
                                                     </shadow>
                                                   </value>
                                                   <value name="OBJECT">
                                                     <block type="lists_getIndex" id="?FxC=AfV=2!JFC,AcU*5">
                                                       <mutation statement="false" at="true"></mutation>
                                                       <field name="MODE">GET</field>
                                                       <field name="WHERE">FROM_START</field>
                                                       <value name="VALUE">
                                                         <block type="convert_json2object" id="o=En}5ZFm31cNg}RqH67">
                                                           <value name="VALUE">
                                                             <block type="on_source" id="%:q/xoMcMv*9of[pPw7z">
                                                               <field name="ATTR">state.val</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="AT">
                                                         <block type="math_number" id="f{Jn3[^Q}m@,f5Vwb5J!">
                                                           <field name="NUM">1</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="ADD2">
                                                 <block type="text" id="Y]d.$er(I4%saSg{~KA?">
                                                   <field name="TEXT">.#delete</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="VALUE">
                                             <shadow type="logic_boolean" id="Pq#N=zc6Jc1_CcO#@jh]">
                                               <field name="BOOL">TRUE</field>
                                             </shadow>
                                           </value>
                                           <value name="DELAY_MS">
                                             <shadow type="math_number" id="^vaRR$}dfLsPZS#xpGyL">
                                               <field name="NUM">7000</field>
                                             </shadow>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </statement>
                      </block>
                      

                      Hallöchen, Alexa sagt hat "Bier kaufen" der Liste Post hinzugefügt, es wurde aber kein PostIt erstellt.
                      Gruß Michael

                      liv-in-skyL 2 Replies Last reply
                      0
                      • M michihorn

                        @liv-in-sky sagte in [HowTo] Script Sticky Notes (PostIt) für VIS und Telegram:

                        @skokarl

                        wollte die postit's auch über alexa eingeben

                        habe das so über umweg gelöst - habe mir eine alexa liste mit namen post angelegt - wird nur dafür genutzt !

                        wenn ich jetzt sage: alexa füge bier kaufen der liste post hinzu

                        wird ein postit angelegt - in der alexa liste darf nichts anderes stehen, den es wird ein listeneintrag angelegt und auch sofort wieder gelöscht

                        das blockly

                        Image 3.png

                        <block xmlns="https://developers.google.com/blockly/xml" type="on" id="wS*w6+(st$F.CZvCpL{R" x="-437.3773193359375" y="412.8678741455072">
                         <field name="OID">alexa2.0.Lists.post.json</field>
                         <field name="CONDITION">ne</field>
                         <field name="ACK_CONDITION"></field>
                         <statement name="STATEMENT">
                           <block type="debug" id="/x0k;=v+#-Wat1meZXm=">
                             <field name="Severity">log</field>
                             <value name="TEXT">
                               <shadow type="text" id="`KOMl]RdpWxdMnx|G|,B">
                                 <field name="TEXT">test</field>
                               </shadow>
                               <block type="text_length" id="$%kk{r.1|A@y6aVNH72f">
                                 <value name="VALUE">
                                   <shadow type="text" id="liS*d-(n6uQmb={zVfnM">
                                     <field name="TEXT">abc</field>
                                   </shadow>
                                   <block type="get_value" id="F7YGRzsG$bwDR2@b6WU~">
                                     <field name="ATTR">val</field>
                                     <field name="OID">alexa2.0.Lists.post.json</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="controls_if" id="O~b1L9HL;TV;us-:vW=1">
                                 <value name="IF0">
                                   <block type="logic_compare" id="NI+s=6;~+,tJx@FKI6mR">
                                     <field name="OP">GT</field>
                                     <value name="A">
                                       <block type="text_length" id="K),$x#0{Ahfpe@I!]eX;">
                                         <value name="VALUE">
                                           <shadow type="text" id="^Tna+WNK.-J2X{xoH+CI">
                                             <field name="TEXT">abc</field>
                                           </shadow>
                                           <block type="get_value" id="#Tolg+=gIcT/;vtJ;j0r">
                                             <field name="ATTR">val</field>
                                             <field name="OID">alexa2.0.Lists.post.json</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="+Hrcx-Ps!(~.DVD8afeG">
                                         <field name="NUM">5</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="debug" id="m6/%PW[OTV?pqCDK$0YO">
                                     <field name="Severity">log</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="yp4gBopa@sLh?C$9N}NB">
                                         <field name="TEXT">test</field>
                                       </shadow>
                                       <block type="get_attr" id="XzC)0s+W@ez#5g,1KILX">
                                         <value name="PATH">
                                           <shadow type="text" id="GS}|pR3}G7[Qj~2kC$*7">
                                             <field name="TEXT">value</field>
                                           </shadow>
                                         </value>
                                         <value name="OBJECT">
                                           <block type="lists_getIndex" id="%mwB3GFpbdz[*N#W%9GG">
                                             <mutation statement="false" at="true"></mutation>
                                             <field name="MODE">GET</field>
                                             <field name="WHERE">FROM_START</field>
                                             <value name="VALUE">
                                               <block type="convert_json2object" id="c;sYbH?QlOYRRp/E_@(t">
                                                 <value name="VALUE">
                                                   <block type="on_source" id="gU,s7!5U9Nok7tzx8Oe3">
                                                     <field name="ATTR">state.val</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="AT">
                                               <block type="math_number" id="c-EAxYKUKdyaQmmbO_B*">
                                                 <field name="NUM">1</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="control" id="7G9Bk$A_4jtK,L%m~Di4">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                         <field name="OID">0_userdata.0.Alarm-MaterialDesign.PostItErstellen</field>
                                         <field name="WITH_DELAY">TRUE</field>
                                         <field name="DELAY_MS">3</field>
                                         <field name="UNIT">sec</field>
                                         <field name="CLEAR_RUNNING">FALSE</field>
                                         <value name="VALUE">
                                           <block type="get_attr" id="06dq8i+.W|!ZKmhE0e3G">
                                             <value name="PATH">
                                               <shadow type="text" id="j`QRTM2FP*I:Q=H*=H8C">
                                                 <field name="TEXT">value</field>
                                               </shadow>
                                             </value>
                                             <value name="OBJECT">
                                               <block type="lists_getIndex" id="7a,({6bar@J63grF`2vv">
                                                 <mutation statement="false" at="true"></mutation>
                                                 <field name="MODE">GET</field>
                                                 <field name="WHERE">FROM_START</field>
                                                 <value name="VALUE">
                                                   <block type="convert_json2object" id="X^2U#VUG.,vr-V`zviU=">
                                                     <value name="VALUE">
                                                       <block type="on_source" id="*=mUiqXriiiEiLE:wAD6">
                                                         <field name="ATTR">state.val</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="AT">
                                                   <block type="math_number" id="jZ,0jV%GW65K(S]~|B^{">
                                                     <field name="NUM">1</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control_ex" id="O/PFIX.fwKSbZP`TneUy">
                                             <field name="TYPE">false</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="OID">
                                               <shadow type="field_oid" id="gaO5Ly%lCQjX5nph:,y;">
                                                 <field name="oid">Object ID</field>
                                               </shadow>
                                               <block type="text_join" id="OCZgt]^=xopI2WqJWg`2">
                                                 <mutation items="3"></mutation>
                                                 <value name="ADD0">
                                                   <block type="text" id="X)1{q4||jJk}ORS{:M,%">
                                                     <field name="TEXT">alexa2.0.Lists.post.items.</field>
                                                   </block>
                                                 </value>
                                                 <value name="ADD1">
                                                   <block type="get_attr" id="pog3J3lnNuXMe2fG`$U7">
                                                     <value name="PATH">
                                                       <shadow type="text" id=".LqioO6q7.FyZ+Yp0gL`">
                                                         <field name="TEXT">id</field>
                                                       </shadow>
                                                     </value>
                                                     <value name="OBJECT">
                                                       <block type="lists_getIndex" id="?FxC=AfV=2!JFC,AcU*5">
                                                         <mutation statement="false" at="true"></mutation>
                                                         <field name="MODE">GET</field>
                                                         <field name="WHERE">FROM_START</field>
                                                         <value name="VALUE">
                                                           <block type="convert_json2object" id="o=En}5ZFm31cNg}RqH67">
                                                             <value name="VALUE">
                                                               <block type="on_source" id="%:q/xoMcMv*9of[pPw7z">
                                                                 <field name="ATTR">state.val</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="AT">
                                                           <block type="math_number" id="f{Jn3[^Q}m@,f5Vwb5J!">
                                                             <field name="NUM">1</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="ADD2">
                                                   <block type="text" id="Y]d.$er(I4%saSg{~KA?">
                                                     <field name="TEXT">.#delete</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="VALUE">
                                               <shadow type="logic_boolean" id="Pq#N=zc6Jc1_CcO#@jh]">
                                                 <field name="BOOL">TRUE</field>
                                               </shadow>
                                             </value>
                                             <value name="DELAY_MS">
                                               <shadow type="math_number" id="^vaRR$}dfLsPZS#xpGyL">
                                                 <field name="NUM">7000</field>
                                               </shadow>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </statement>
                        </block>
                        

                        Hallöchen, Alexa sagt hat "Bier kaufen" der Liste Post hinzugefügt, es wurde aber kein PostIt erstellt.
                        Gruß Michael

                        liv-in-skyL Offline
                        liv-in-skyL Offline
                        liv-in-sky
                        wrote on last edited by liv-in-sky
                        #104

                        @michihorn

                        du kannst mal nachsehen, ob im alexa adapter das json (trigger dp)mit dem wert geschrieben wird - evtl hängt es daran
                        habe es aber kurz bei mir getestet - da funktioniert es noch

                        oder anders - wird das script getriggert ? steht was im log

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

                        1 Reply Last reply
                        0
                        • M michihorn

                          @liv-in-sky sagte in [HowTo] Script Sticky Notes (PostIt) für VIS und Telegram:

                          @skokarl

                          wollte die postit's auch über alexa eingeben

                          habe das so über umweg gelöst - habe mir eine alexa liste mit namen post angelegt - wird nur dafür genutzt !

                          wenn ich jetzt sage: alexa füge bier kaufen der liste post hinzu

                          wird ein postit angelegt - in der alexa liste darf nichts anderes stehen, den es wird ein listeneintrag angelegt und auch sofort wieder gelöscht

                          das blockly

                          Image 3.png

                          <block xmlns="https://developers.google.com/blockly/xml" type="on" id="wS*w6+(st$F.CZvCpL{R" x="-437.3773193359375" y="412.8678741455072">
                           <field name="OID">alexa2.0.Lists.post.json</field>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <statement name="STATEMENT">
                             <block type="debug" id="/x0k;=v+#-Wat1meZXm=">
                               <field name="Severity">log</field>
                               <value name="TEXT">
                                 <shadow type="text" id="`KOMl]RdpWxdMnx|G|,B">
                                   <field name="TEXT">test</field>
                                 </shadow>
                                 <block type="text_length" id="$%kk{r.1|A@y6aVNH72f">
                                   <value name="VALUE">
                                     <shadow type="text" id="liS*d-(n6uQmb={zVfnM">
                                       <field name="TEXT">abc</field>
                                     </shadow>
                                     <block type="get_value" id="F7YGRzsG$bwDR2@b6WU~">
                                       <field name="ATTR">val</field>
                                       <field name="OID">alexa2.0.Lists.post.json</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="controls_if" id="O~b1L9HL;TV;us-:vW=1">
                                   <value name="IF0">
                                     <block type="logic_compare" id="NI+s=6;~+,tJx@FKI6mR">
                                       <field name="OP">GT</field>
                                       <value name="A">
                                         <block type="text_length" id="K),$x#0{Ahfpe@I!]eX;">
                                           <value name="VALUE">
                                             <shadow type="text" id="^Tna+WNK.-J2X{xoH+CI">
                                               <field name="TEXT">abc</field>
                                             </shadow>
                                             <block type="get_value" id="#Tolg+=gIcT/;vtJ;j0r">
                                               <field name="ATTR">val</field>
                                               <field name="OID">alexa2.0.Lists.post.json</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="+Hrcx-Ps!(~.DVD8afeG">
                                           <field name="NUM">5</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="debug" id="m6/%PW[OTV?pqCDK$0YO">
                                       <field name="Severity">log</field>
                                       <value name="TEXT">
                                         <shadow type="text" id="yp4gBopa@sLh?C$9N}NB">
                                           <field name="TEXT">test</field>
                                         </shadow>
                                         <block type="get_attr" id="XzC)0s+W@ez#5g,1KILX">
                                           <value name="PATH">
                                             <shadow type="text" id="GS}|pR3}G7[Qj~2kC$*7">
                                               <field name="TEXT">value</field>
                                             </shadow>
                                           </value>
                                           <value name="OBJECT">
                                             <block type="lists_getIndex" id="%mwB3GFpbdz[*N#W%9GG">
                                               <mutation statement="false" at="true"></mutation>
                                               <field name="MODE">GET</field>
                                               <field name="WHERE">FROM_START</field>
                                               <value name="VALUE">
                                                 <block type="convert_json2object" id="c;sYbH?QlOYRRp/E_@(t">
                                                   <value name="VALUE">
                                                     <block type="on_source" id="gU,s7!5U9Nok7tzx8Oe3">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="AT">
                                                 <block type="math_number" id="c-EAxYKUKdyaQmmbO_B*">
                                                   <field name="NUM">1</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="7G9Bk$A_4jtK,L%m~Di4">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                           <field name="OID">0_userdata.0.Alarm-MaterialDesign.PostItErstellen</field>
                                           <field name="WITH_DELAY">TRUE</field>
                                           <field name="DELAY_MS">3</field>
                                           <field name="UNIT">sec</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="VALUE">
                                             <block type="get_attr" id="06dq8i+.W|!ZKmhE0e3G">
                                               <value name="PATH">
                                                 <shadow type="text" id="j`QRTM2FP*I:Q=H*=H8C">
                                                   <field name="TEXT">value</field>
                                                 </shadow>
                                               </value>
                                               <value name="OBJECT">
                                                 <block type="lists_getIndex" id="7a,({6bar@J63grF`2vv">
                                                   <mutation statement="false" at="true"></mutation>
                                                   <field name="MODE">GET</field>
                                                   <field name="WHERE">FROM_START</field>
                                                   <value name="VALUE">
                                                     <block type="convert_json2object" id="X^2U#VUG.,vr-V`zviU=">
                                                       <value name="VALUE">
                                                         <block type="on_source" id="*=mUiqXriiiEiLE:wAD6">
                                                           <field name="ATTR">state.val</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="AT">
                                                     <block type="math_number" id="jZ,0jV%GW65K(S]~|B^{">
                                                       <field name="NUM">1</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control_ex" id="O/PFIX.fwKSbZP`TneUy">
                                               <field name="TYPE">false</field>
                                               <field name="CLEAR_RUNNING">FALSE</field>
                                               <value name="OID">
                                                 <shadow type="field_oid" id="gaO5Ly%lCQjX5nph:,y;">
                                                   <field name="oid">Object ID</field>
                                                 </shadow>
                                                 <block type="text_join" id="OCZgt]^=xopI2WqJWg`2">
                                                   <mutation items="3"></mutation>
                                                   <value name="ADD0">
                                                     <block type="text" id="X)1{q4||jJk}ORS{:M,%">
                                                       <field name="TEXT">alexa2.0.Lists.post.items.</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD1">
                                                     <block type="get_attr" id="pog3J3lnNuXMe2fG`$U7">
                                                       <value name="PATH">
                                                         <shadow type="text" id=".LqioO6q7.FyZ+Yp0gL`">
                                                           <field name="TEXT">id</field>
                                                         </shadow>
                                                       </value>
                                                       <value name="OBJECT">
                                                         <block type="lists_getIndex" id="?FxC=AfV=2!JFC,AcU*5">
                                                           <mutation statement="false" at="true"></mutation>
                                                           <field name="MODE">GET</field>
                                                           <field name="WHERE">FROM_START</field>
                                                           <value name="VALUE">
                                                             <block type="convert_json2object" id="o=En}5ZFm31cNg}RqH67">
                                                               <value name="VALUE">
                                                                 <block type="on_source" id="%:q/xoMcMv*9of[pPw7z">
                                                                   <field name="ATTR">state.val</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="AT">
                                                             <block type="math_number" id="f{Jn3[^Q}m@,f5Vwb5J!">
                                                               <field name="NUM">1</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="ADD2">
                                                     <block type="text" id="Y]d.$er(I4%saSg{~KA?">
                                                       <field name="TEXT">.#delete</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="VALUE">
                                                 <shadow type="logic_boolean" id="Pq#N=zc6Jc1_CcO#@jh]">
                                                   <field name="BOOL">TRUE</field>
                                                 </shadow>
                                               </value>
                                               <value name="DELAY_MS">
                                                 <shadow type="math_number" id="^vaRR$}dfLsPZS#xpGyL">
                                                   <field name="NUM">7000</field>
                                                 </shadow>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </statement>
                          </block>
                          

                          Hallöchen, Alexa sagt hat "Bier kaufen" der Liste Post hinzugefügt, es wurde aber kein PostIt erstellt.
                          Gruß Michael

                          liv-in-skyL Offline
                          liv-in-skyL Offline
                          liv-in-sky
                          wrote on last edited by liv-in-sky
                          #105

                          @michihorn
                          evtl.
                          bei mir ist die liste post klein gechrieben- bei dir groß (Post) ? das müßtest du im script angleichen

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

                          M 1 Reply Last reply
                          1
                          • liv-in-skyL liv-in-sky

                            @michihorn
                            evtl.
                            bei mir ist die liste post klein gechrieben- bei dir groß (Post) ? das müßtest du im script angleichen

                            M Offline
                            M Offline
                            michihorn
                            wrote on last edited by
                            #106

                            @liv-in-sky Jau das war es...klappt Danke:+1:

                            1 Reply Last reply
                            0
                            • SchlaMattS Online
                              SchlaMattS Online
                              SchlaMatt
                              wrote on last edited by
                              #107

                              Erstmals vielen Dank für das super Script!

                              Ich würde gerne das PostIt-Hintergrundbild ausblenden, wenn kein Post-it vorhanden ist.
                              Ich wollte das mit einem zusätzlichen Datenpunkt realisieren, komm aber nicht darauf, wo ich abfragen kann, ob ein Post-it existiert.

                              Vielleicht kann mir jemand einen Denkanstoß geben, danke.

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

                              liv-in-skyL 2 Replies Last reply
                              0
                              • SchlaMattS SchlaMatt

                                Erstmals vielen Dank für das super Script!

                                Ich würde gerne das PostIt-Hintergrundbild ausblenden, wenn kein Post-it vorhanden ist.
                                Ich wollte das mit einem zusätzlichen Datenpunkt realisieren, komm aber nicht darauf, wo ich abfragen kann, ob ein Post-it existiert.

                                Vielleicht kann mir jemand einen Denkanstoß geben, danke.

                                liv-in-skyL Offline
                                liv-in-skyL Offline
                                liv-in-sky
                                wrote on last edited by
                                #108

                                @schlamatt

                                wenn du den datnpunkt PostItMessages ausliest kannst du prüfen, ob die länge des arrays 0 ist - dann ist es leer und es sind keine postit's vorhanden

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

                                1 Reply Last reply
                                0
                                • SchlaMattS SchlaMatt

                                  Erstmals vielen Dank für das super Script!

                                  Ich würde gerne das PostIt-Hintergrundbild ausblenden, wenn kein Post-it vorhanden ist.
                                  Ich wollte das mit einem zusätzlichen Datenpunkt realisieren, komm aber nicht darauf, wo ich abfragen kann, ob ein Post-it existiert.

                                  Vielleicht kann mir jemand einen Denkanstoß geben, danke.

                                  liv-in-skyL Offline
                                  liv-in-skyL Offline
                                  liv-in-sky
                                  wrote on last edited by liv-in-sky
                                  #109

                                  @schlamatt

                                  habe das im script dazugefügt:

                                  einen datenpunkt erstellen : Anzahl

                                  <block xmlns="https://developers.google.com/blockly/xml" type="create" id="l@0f*,xzets:!Nt6~^tO" x="137" y="1028">
                                   <field name="NAME">0_userdata.0.Alarm-MaterialDesign.PostitAnzahl</field>
                                   <value name="VALUE">
                                     <block type="text" id="-7Rl^[|JI$F|:AT:f/,k">
                                       <field name="TEXT"></field>
                                     </block>
                                   </value>
                                   <value name="COMMON">
                                     <block type="text" id="0ZQ.@,RyJ|SUoOXcW(qh">
                                       <field name="TEXT">{     "name": "Anzahl momentaner Postits",     "role": "",     "type": "number",     "read": true,     "write": true,     "desc": "Manuell erzeugt"   }</field>
                                     </block>
                                   </value>
                                  </block>
                                  

                                  Image 013.png

                                  eine function, welche die anzahl rmittelt

                                  <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="#]#j*L6Gt$Yb=1Cn6aiX" x="837.3017578124995" y="2637.3128204345703">
                                   <field name="NAME">AnzahlBestimmen</field>
                                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                   <statement name="STACK">
                                     <block type="control_ex" id="ga`1KXlK^k9u6^;PlxH5">
                                       <field name="TYPE">false</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="OID">
                                         <shadow type="field_oid" id="y-zhIZil{Rt%O{dObhr?">
                                           <field name="oid">Object ID</field>
                                         </shadow>
                                         <block type="text" id="yd_yU#ef+f!HG8;{:VKQ">
                                           <field name="TEXT">0_userdata.0.Alarm-MaterialDesign.PostitAnzahl</field>
                                         </block>
                                       </value>
                                       <value name="VALUE">
                                         <shadow type="logic_boolean" id="u9ydU$o;i.}wJ3qcI(R,">
                                           <field name="BOOL">TRUE</field>
                                         </shadow>
                                         <block type="lists_length" id="zYh`1=My[v|p}@ywn4:t">
                                           <value name="VALUE">
                                             <block type="convert_json2object" id="4Mqz4:|CHP[oMO,WI(T+">
                                               <value name="VALUE">
                                                 <block type="get_value" id="Ap*5fry(uv(GPJoHzLj;">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">0_userdata.0.Alarm-MaterialDesign.PostItMessages</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="DELAY_MS">
                                         <shadow type="math_number" id="`Ok!uhI/EE|3o}/UP2W%">
                                           <field name="NUM">0</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </statement>
                                  </block>
                                  

                                  Image 016.png

                                  bei beiden bildern siehst du auch, wo die function eingefügt wird - der grüne pfeil

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

                                  SchlaMattS 1 Reply Last reply
                                  1
                                  • liv-in-skyL liv-in-sky

                                    @schlamatt

                                    habe das im script dazugefügt:

                                    einen datenpunkt erstellen : Anzahl

                                    <block xmlns="https://developers.google.com/blockly/xml" type="create" id="l@0f*,xzets:!Nt6~^tO" x="137" y="1028">
                                     <field name="NAME">0_userdata.0.Alarm-MaterialDesign.PostitAnzahl</field>
                                     <value name="VALUE">
                                       <block type="text" id="-7Rl^[|JI$F|:AT:f/,k">
                                         <field name="TEXT"></field>
                                       </block>
                                     </value>
                                     <value name="COMMON">
                                       <block type="text" id="0ZQ.@,RyJ|SUoOXcW(qh">
                                         <field name="TEXT">{     "name": "Anzahl momentaner Postits",     "role": "",     "type": "number",     "read": true,     "write": true,     "desc": "Manuell erzeugt"   }</field>
                                       </block>
                                     </value>
                                    </block>
                                    

                                    Image 013.png

                                    eine function, welche die anzahl rmittelt

                                    <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="#]#j*L6Gt$Yb=1Cn6aiX" x="837.3017578124995" y="2637.3128204345703">
                                     <field name="NAME">AnzahlBestimmen</field>
                                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                     <statement name="STACK">
                                       <block type="control_ex" id="ga`1KXlK^k9u6^;PlxH5">
                                         <field name="TYPE">false</field>
                                         <field name="CLEAR_RUNNING">FALSE</field>
                                         <value name="OID">
                                           <shadow type="field_oid" id="y-zhIZil{Rt%O{dObhr?">
                                             <field name="oid">Object ID</field>
                                           </shadow>
                                           <block type="text" id="yd_yU#ef+f!HG8;{:VKQ">
                                             <field name="TEXT">0_userdata.0.Alarm-MaterialDesign.PostitAnzahl</field>
                                           </block>
                                         </value>
                                         <value name="VALUE">
                                           <shadow type="logic_boolean" id="u9ydU$o;i.}wJ3qcI(R,">
                                             <field name="BOOL">TRUE</field>
                                           </shadow>
                                           <block type="lists_length" id="zYh`1=My[v|p}@ywn4:t">
                                             <value name="VALUE">
                                               <block type="convert_json2object" id="4Mqz4:|CHP[oMO,WI(T+">
                                                 <value name="VALUE">
                                                   <block type="get_value" id="Ap*5fry(uv(GPJoHzLj;">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">0_userdata.0.Alarm-MaterialDesign.PostItMessages</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="DELAY_MS">
                                           <shadow type="math_number" id="`Ok!uhI/EE|3o}/UP2W%">
                                             <field name="NUM">0</field>
                                           </shadow>
                                         </value>
                                       </block>
                                     </statement>
                                    </block>
                                    

                                    Image 016.png

                                    bei beiden bildern siehst du auch, wo die function eingefügt wird - der grüne pfeil

                                    SchlaMattS Online
                                    SchlaMattS Online
                                    SchlaMatt
                                    wrote on last edited by
                                    #110

                                    @liv-in-sky

                                    Vielen lieben Dank für die schnelle Hilfe!
                                    Funktioniert einwandfrei!

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

                                    holly200289H 1 Reply Last reply
                                    0
                                    • SchlaMattS SchlaMatt

                                      @liv-in-sky

                                      Vielen lieben Dank für die schnelle Hilfe!
                                      Funktioniert einwandfrei!

                                      holly200289H Offline
                                      holly200289H Offline
                                      holly200289
                                      wrote on last edited by
                                      #111

                                      @schlamatt

                                      Hey Leute ,
                                      ich versuche schon seit Tagen ,die Postit zum laufen zu bekommen, aber leider gestaltet sich das nicht so einfach.Ich habe das Skript installiert, das material design widget u. das Widget exportiert ?
                                      Es funktioniert aber nicht von Unterwegs ein Postit zu Versenden das es in der Vis angezeigt wird ?

                                      liv-in-skyL 1 Reply Last reply
                                      0
                                      • holly200289H holly200289

                                        @schlamatt

                                        Hey Leute ,
                                        ich versuche schon seit Tagen ,die Postit zum laufen zu bekommen, aber leider gestaltet sich das nicht so einfach.Ich habe das Skript installiert, das material design widget u. das Widget exportiert ?
                                        Es funktioniert aber nicht von Unterwegs ein Postit zu Versenden das es in der Vis angezeigt wird ?

                                        liv-in-skyL Offline
                                        liv-in-skyL Offline
                                        liv-in-sky
                                        wrote on last edited by
                                        #112

                                        @holly200289

                                        mit telegram musst du postit und dann den text eingeben

                                        z.b.

                                        postit dies ist eine nachricht

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

                                        holly200289H 1 Reply Last reply
                                        0
                                        • liv-in-skyL liv-in-sky

                                          @holly200289

                                          mit telegram musst du postit und dann den text eingeben

                                          z.b.

                                          postit dies ist eine nachricht

                                          holly200289H Offline
                                          holly200289H Offline
                                          holly200289
                                          wrote on last edited by
                                          #113

                                          @liv-in-sky

                                          Vielen Dank für die schnelle Antwort, das habe ich versucht aber leider wird
                                          es nicht in den Datenpunkt geschrieben,wenn ich das manuell in den Datenpunkt
                                          Schreibe funktioniert dass und wird in der Vis dargestellt.

                                          liv-in-skyL 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          278

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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