Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Feiertage per Instagram

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Feiertage per Instagram

    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      infinity last edited by infinity

      Ich habe mal den Feiertage Adapter installiert und würde mir gerne die Feiertage auf das Handy pushen per Instagram.
      Also mir würde Feiertage heute und morgen reichen.
      Wenn wahr, dann eine Nachricht.
      Jetzt möchte ich aber auch den Text vom Feiertage Adapter für die Nachricht übernehmen.
      Also heute steht da ja beispielsweise 1.Advent und genau so möchte ich das automatisch in die Nachricht haben bei jedem Feiertag.Vielleicht noch vorangestellt Heute ist ... Morgen ist ...
      Daran scheitere ich. 😞

      F 1 Reply Last reply Reply Quote 0
      • F
        fastfoot @infinity last edited by

        @infinity Probiere mal das hier
        Feiertage.PNG

        <xml xmlns="https://developers.google.com/blockly/xml">
         <variables>
           <variable id="YTxx4`yW61V`c`=:)5X2">Ausgabe</variable>
           <variable id="HwW;ny)zLLP_(r[LrfjQ">Text</variable>
           <variable id="TXIOr#~[LTzoBdI9+5HY">Text2</variable>
           <variable id="OE.(QhboqkF3-_=vC:Vz">Text3</variable>
           <variable id="sZYlLWV!0i`N4.EtESIU">Datum</variable>
         </variables>
         <block type="schedule" id="}Lo1|k8BER:!fzYRauHk" x="-187" y="-362">
           <field name="SCHEDULE">0 1 * * *</field>
           <statement name="STATEMENT">
             <block type="variables_set" id="{$xQ:`~K9+o/31OvE.|5">
               <field name="VAR" id="YTxx4`yW61V`c`=:)5X2">Ausgabe</field>
               <value name="VALUE">
                 <block type="text" id="p_:R^[M!]IF74Y[k?Tgl">
                   <field name="TEXT"></field>
                 </block>
               </value>
               <next>
                 <block type="variables_set" id="ap3g$OVUYD0HuOl!W#5$">
                   <field name="VAR" id="HwW;ny)zLLP_(r[LrfjQ">Text</field>
                   <value name="VALUE">
                     <block type="get_value" id="+b5KY6WJY_PKs.(Cg(Du">
                       <field name="ATTR">val</field>
                       <field name="OID">feiertage.0.heute.Name</field>
                     </block>
                   </value>
                   <next>
                     <block type="controls_if" id="@xRoBT2Uknb06Qh|juUR">
                       <value name="IF0">
                         <block type="variables_get" id="n0*3UJf3~R~TP?SkHFgN">
                           <field name="VAR" id="HwW;ny)zLLP_(r[LrfjQ">Text</field>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="variables_set" id="S);q+__jaQ}h-?I)q3dJ">
                           <field name="VAR" id="YTxx4`yW61V`c`=:)5X2">Ausgabe</field>
                           <value name="VALUE">
                             <block type="text_join" id="VNzytI4t~v{)B]mQ_iFQ" inline="false">
                               <mutation items="4"></mutation>
                               <value name="ADD0">
                                 <block type="variables_get" id="Qm92Hd@j)Zoj.6WlR]^J">
                                   <field name="VAR" id="YTxx4`yW61V`c`=:)5X2">Ausgabe</field>
                                 </block>
                               </value>
                               <value name="ADD1">
                                 <block type="text" id="tA6PuLoa2j?K1p4xuV-C">
                                   <field name="TEXT">Heute ist </field>
                                 </block>
                               </value>
                               <value name="ADD2">
                                 <block type="variables_get" id="p[5ydn];wE#GL8kkG:X$">
                                   <field name="VAR" id="HwW;ny)zLLP_(r[LrfjQ">Text</field>
                                 </block>
                               </value>
                               <value name="ADD3">
                                 <block type="text_newline" id="vJ.Z.w~ThckV|Z0596{_">
                                   <field name="Type">\n</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </statement>
                       <next>
                         <block type="variables_set" id="9M7a+fTTIDyV/.+OFsOY">
                           <field name="VAR" id="TXIOr#~[LTzoBdI9+5HY">Text2</field>
                           <value name="VALUE">
                             <block type="get_value" id="UYc6GZ;0rBR[:bxe3JM1">
                               <field name="ATTR">val</field>
                               <field name="OID">feiertage.0.morgen.Name</field>
                             </block>
                           </value>
                           <next>
                             <block type="controls_if" id="{%f*[BfN@8j%_IZ~:GN.">
                               <value name="IF0">
                                 <block type="variables_get" id="WQPfYAIM)TgYZnU{2Mu:">
                                   <field name="VAR" id="TXIOr#~[LTzoBdI9+5HY">Text2</field>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="variables_set" id="F]vU9!__ucGH+KJ7QjWg">
                                   <field name="VAR" id="YTxx4`yW61V`c`=:)5X2">Ausgabe</field>
                                   <value name="VALUE">
                                     <block type="text_join" id="z9PZ/fph$T~[^g7rcnO}" inline="false">
                                       <mutation items="4"></mutation>
                                       <value name="ADD0">
                                         <block type="variables_get" id="b7Jj-SL=5%%nyrEkvH9:">
                                           <field name="VAR" id="YTxx4`yW61V`c`=:)5X2">Ausgabe</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="text" id="ezFOjy*NlP10}m-Eze:+">
                                           <field name="TEXT">Morgen ist </field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="variables_get" id="p-x|XjK?p^@zIjBJe^v_">
                                           <field name="VAR" id="TXIOr#~[LTzoBdI9+5HY">Text2</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="text_newline" id="nL1vXgDsUigBWSR:MNkv">
                                           <field name="Type">\n</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                               <next>
                                 <block type="variables_set" id="hf^QH15#T3Ur|a6koUku">
                                   <field name="VAR" id="OE.(QhboqkF3-_=vC:Vz">Text3</field>
                                   <value name="VALUE">
                                     <block type="get_value" id="/3[~*[HyY5{IgXjg|+B5">
                                       <field name="ATTR">val</field>
                                       <field name="OID">feiertage.0.naechster.Name</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="controls_if" id="GAHsEei~lu9Ib2^*Bbnd">
                                       <value name="IF0">
                                         <block type="logic_compare" id="m}KAg5q,Aeqv[.^$VQe$">
                                           <field name="OP">NEQ</field>
                                           <value name="A">
                                             <block type="variables_get" id="1qu}2;wjCFwT8uP`cs{;">
                                               <field name="VAR" id="OE.(QhboqkF3-_=vC:Vz">Text3</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="variables_get" id="25Q@Oil0j~%q]APeV;pJ">
                                               <field name="VAR" id="TXIOr#~[LTzoBdI9+5HY">Text2</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="variables_set" id="%.00YrmFmqItx?TWG}xM">
                                           <field name="VAR" id="sZYlLWV!0i`N4.EtESIU">Datum</field>
                                           <value name="VALUE">
                                             <block type="get_value" id="9r4P16bJ.{2jY$~A2t0:">
                                               <field name="ATTR">val</field>
                                               <field name="OID">feiertage.0.naechster.Datum</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="-}RwJ[*IC:XYBwX9ar3]">
                                               <field name="VAR" id="YTxx4`yW61V`c`=:)5X2">Ausgabe</field>
                                               <value name="VALUE">
                                                 <block type="text_join" id="W)}Jy8V[w2x*yF8FL7IC" inline="false">
                                                   <mutation items="6"></mutation>
                                                   <value name="ADD0">
                                                     <block type="variables_get" id="dC^GE+4Hhm=yvB?#/JQt">
                                                       <field name="VAR" id="YTxx4`yW61V`c`=:)5X2">Ausgabe</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD1">
                                                     <block type="text" id=")uGM4IA8eSb[dxB]%I7h">
                                                       <field name="TEXT">Am </field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD2">
                                                     <block type="variables_get" id="pE6SZm_5M$4dY*XVFsSq">
                                                       <field name="VAR" id="sZYlLWV!0i`N4.EtESIU">Datum</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD3">
                                                     <block type="text" id="QbmyJ_Yek~bT[wXy!?#=">
                                                       <field name="TEXT"> ist </field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD4">
                                                     <block type="variables_get" id="1WadH|nyHb=?9PUti(=5">
                                                       <field name="VAR" id="OE.(QhboqkF3-_=vC:Vz">Text3</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD5">
                                                     <block type="text_newline" id="Ok+LK`g:xA$@]gNH/KUj">
                                                       <field name="Type">\n</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="telegram" id="_irlr7({AMJ(t*iW8{Mw">
                                           <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="PAm%!tib*Zfj=`yExoqF">
                                               <field name="TEXT">text</field>
                                             </shadow>
                                             <block type="variables_get" id="BnG(4}^[4@-SE94m`()|">
                                               <field name="VAR" id="YTxx4`yW61V`c`=:)5X2">Ausgabe</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </statement>
         </block>
        </xml>
        

        I 1 Reply Last reply Reply Quote 0
        • I
          infinity @fastfoot last edited by

          @fastfoot
          Danke ich teste das mal.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          872
          Online

          32.0k
          Users

          80.4k
          Topics

          1.3m
          Posts

          2
          3
          188
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo