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. Visualisierung
  4. Symbol Störung (mehrere WErte true und false)

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    683

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

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

Symbol Störung (mehrere WErte true und false)

Scheduled Pinned Locked Moved Visualisierung
22 Posts 3 Posters 1.6k Views 3 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.
  • T tobiasp

    @liv-in-sky
    Ich habe in meinen VIS ein Fenster "Störungen" hier sind Batterien, Kommunikationsstörungen usw. abgelegt. Ich möchte nun falls einer der gesamten Störungen auftritt das das Störungsbild blinkt als Hinweis das eine Störung vorhanden ist.
    Mit dem Widget wäre es gut wenn es mehr als 3 Beindungen könnte

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

    @tobiasp

    hier mal ein beispiel:
    ich habe 3 dp in die funtions eingesetzt (wenn du eine function erzeugst, musst du die javascript instanz neustarten, sonst funktioniert es evtl. nicht)

    Image 8.png

    jetzt läuft dieses blockly - beachte im bild auch das log (unten) - ich schalte die dp

    Image 7.png

    hier der export de scriptes

    <xml xmlns="https://developers.google.com/blockly/xml">
     <variables>
       <variable id="qi)m]fCq7[@|lZoYJP1b">checker</variable>
       <variable id="6@|9zen[MWwBVhqW*PBV">i</variable>
     </variables>
     <block type="on_ext" id="vhdrw@4lOfx+GW@d*-J4" x="-1113" y="-212">
       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
       <field name="CONDITION">any</field>
       <field name="ACK_CONDITION"></field>
       <value name="OID0">
         <shadow type="field_oid" id="4=ec2h]3`@I13ad/I~te">
           <field name="oid">default</field>
         </shadow>
         <block type="selector" id="07p0W{[P*h5bz|2*[!:h">
           <field name="TEXT">[state.id=*](functions=test)</field>
         </block>
       </value>
       <statement name="STATEMENT">
         <block type="controls_if" id="h;llyG4iEhRCZP!tyNmd">
           <mutation else="1"></mutation>
           <value name="IF0">
             <block type="on_source" id="VI@hcd9CPwkI*`^:-fU}">
               <field name="ATTR">state.val</field>
             </block>
           </value>
           <statement name="DO0">
             <block type="debug" id="@;gLZ{+IEJ.iif.$HIi$">
               <field name="Severity">log</field>
               <value name="TEXT">
                 <shadow type="text" id="8Nu$$^;CIE/K;SE1GQD)">
                   <field name="TEXT">test</field>
                 </shadow>
                 <block type="on_source" id="L`Picc+E=kJ7{LG^SQuS">
                   <field name="ATTR">id</field>
                 </block>
               </value>
               <next>
                 <block type="debug" id="%k)R8Ol3(wvk8xL2|k3e">
                   <field name="Severity">log</field>
                   <value name="TEXT">
                     <shadow type="text" id="2%y^MYcs|nnz~n+F:AVr">
                       <field name="TEXT">eines ist war  - alarm setzen</field>
                     </shadow>
                   </value>
                 </block>
               </next>
             </block>
           </statement>
           <statement name="ELSE">
             <block type="debug" id="^|eRQ?s/9nq/PD;te6gt">
               <field name="Severity">log</field>
               <value name="TEXT">
                 <shadow type="text" id=")ciX[Xx-OA#a8]BzbGmS">
                   <field name="TEXT">test</field>
                 </shadow>
                 <block type="text_join" id="w;)#?xUmcFT6,C6R]8MH">
                   <mutation items="2"></mutation>
                   <value name="ADD0">
                     <block type="on_source" id="v=V0!TVf?qK)^=skvx@L">
                       <field name="ATTR">id</field>
                     </block>
                   </value>
                   <value name="ADD1">
                     <block type="text" id="OJ`q=e~a]#;Uu.%K3M%w">
                       <field name="TEXT"> --- ist wurde falsch aktiviert</field>
                     </block>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="variables_set" id="C*o-%+W`Ap(~{!WchYo*">
                   <field name="VAR" id="qi)m]fCq7[@|lZoYJP1b">checker</field>
                   <value name="VALUE">
                     <block type="logic_boolean" id="6mJ18w|FIkBCv#QLS6ZY">
                       <field name="BOOL">FALSE</field>
                     </block>
                   </value>
                   <next>
                     <block type="controls_forEach" id=":}H%cxefu8$OmROT]ad]">
                       <field name="VAR" id="6@|9zen[MWwBVhqW*PBV">i</field>
                       <value name="LIST">
                         <block type="selector" id="FbNa^@F@wFfQDH;{uk~Y">
                           <field name="TEXT">[state.id=*](functions=test)</field>
                         </block>
                       </value>
                       <statement name="DO">
                         <block type="controls_if" id="@?uYH|-UzOmQ(dNVU|;7">
                           <value name="IF0">
                             <block type="logic_compare" id="oHEvMBZi;TN_zD:19m8?">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value_var" id=".1]GkK4k4;HA5^hH[`?F">
                                   <field name="ATTR">val</field>
                                   <value name="OID">
                                     <shadow type="text" id="[5Mi%@(Dm!BAb,vAGdM_">
                                       <field name="TEXT"></field>
                                     </shadow>
                                     <block type="variables_get" id="^,.8iwfQOS(N?gEsnjU.">
                                       <field name="VAR" id="6@|9zen[MWwBVhqW*PBV">i</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_boolean" id=")0}KlC(TI;L.Nrj]n1Y1">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="variables_set" id="[-x6CNquf4I,kQ|r:)9[">
                               <field name="VAR" id="qi)m]fCq7[@|lZoYJP1b">checker</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="~z4a;dB=`pK{qO$;Fl12">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                         </block>
                       </statement>
                       <next>
                         <block type="controls_if" id="L3J1S|J=;oMLx9@@q%%X">
                           <mutation else="1"></mutation>
                           <value name="IF0">
                             <block type="variables_get" id="Lk[Fo]pm~_lT)hkvk!.s">
                               <field name="VAR" id="qi)m]fCq7[@|lZoYJP1b">checker</field>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="debug" id="EiJ60fWx3wF]wq74zV3:">
                               <field name="Severity">log</field>
                               <value name="TEXT">
                                 <shadow type="text" id="],x5QMypLhe3aVUUCef%">
                                   <field name="TEXT">es ist ein wahr dabei  - alarm bleibt an</field>
                                 </shadow>
                               </value>
                             </block>
                           </statement>
                           <statement name="ELSE">
                             <block type="debug" id="wB,[bhAN,.R|gz0SwFB1">
                               <field name="Severity">log</field>
                               <value name="TEXT">
                                 <shadow type="text" id="n}So6}GWJ4y04ztwr7n5">
                                   <field name="TEXT">es ist kein wahr dabei  - alarm abschalten</field>
                                 </shadow>
                               </value>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </statement>
         </block>
       </statement>
     </block>
     <block type="comment" id="Fa){,}Me$;[+O0-G[:q~" x="-413" y="-88">
       <field name="COMMENT">zeigt ob selectorfunktioniert</field>
       <next>
         <block type="comment" id="FWnj,g16d9Tbilr|?3H{">
           <field name="COMMENT">zeigt die functions mitglieder</field>
           <next>
             <block type="debug" id="cvH-!I`$rmdW?ip,u5zY">
               <field name="Severity">log</field>
               <value name="TEXT">
                 <shadow type="text" id="?]OpBD#w+*7/~_mC)Ccy">
                   <field name="TEXT">test</field>
                 </shadow>
                 <block type="selector" id="SxShx(bK(_O%]2EavQy@">
                   <field name="TEXT">[state.id=*](functions=test)</field>
                 </block>
               </value>
             </block>
           </next>
         </block>
       </next>
     </block>
    </xml>
    

    im blockly muss danmn noch das steuern deines dp rein, der für da blinken verantwortlich ist - ist bei mir hier als debug drin

    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

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

      @tobiasp

      hier mal ein beispiel:
      ich habe 3 dp in die funtions eingesetzt (wenn du eine function erzeugst, musst du die javascript instanz neustarten, sonst funktioniert es evtl. nicht)

      Image 8.png

      jetzt läuft dieses blockly - beachte im bild auch das log (unten) - ich schalte die dp

      Image 7.png

      hier der export de scriptes

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable id="qi)m]fCq7[@|lZoYJP1b">checker</variable>
         <variable id="6@|9zen[MWwBVhqW*PBV">i</variable>
       </variables>
       <block type="on_ext" id="vhdrw@4lOfx+GW@d*-J4" x="-1113" y="-212">
         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
         <field name="CONDITION">any</field>
         <field name="ACK_CONDITION"></field>
         <value name="OID0">
           <shadow type="field_oid" id="4=ec2h]3`@I13ad/I~te">
             <field name="oid">default</field>
           </shadow>
           <block type="selector" id="07p0W{[P*h5bz|2*[!:h">
             <field name="TEXT">[state.id=*](functions=test)</field>
           </block>
         </value>
         <statement name="STATEMENT">
           <block type="controls_if" id="h;llyG4iEhRCZP!tyNmd">
             <mutation else="1"></mutation>
             <value name="IF0">
               <block type="on_source" id="VI@hcd9CPwkI*`^:-fU}">
                 <field name="ATTR">state.val</field>
               </block>
             </value>
             <statement name="DO0">
               <block type="debug" id="@;gLZ{+IEJ.iif.$HIi$">
                 <field name="Severity">log</field>
                 <value name="TEXT">
                   <shadow type="text" id="8Nu$$^;CIE/K;SE1GQD)">
                     <field name="TEXT">test</field>
                   </shadow>
                   <block type="on_source" id="L`Picc+E=kJ7{LG^SQuS">
                     <field name="ATTR">id</field>
                   </block>
                 </value>
                 <next>
                   <block type="debug" id="%k)R8Ol3(wvk8xL2|k3e">
                     <field name="Severity">log</field>
                     <value name="TEXT">
                       <shadow type="text" id="2%y^MYcs|nnz~n+F:AVr">
                         <field name="TEXT">eines ist war  - alarm setzen</field>
                       </shadow>
                     </value>
                   </block>
                 </next>
               </block>
             </statement>
             <statement name="ELSE">
               <block type="debug" id="^|eRQ?s/9nq/PD;te6gt">
                 <field name="Severity">log</field>
                 <value name="TEXT">
                   <shadow type="text" id=")ciX[Xx-OA#a8]BzbGmS">
                     <field name="TEXT">test</field>
                   </shadow>
                   <block type="text_join" id="w;)#?xUmcFT6,C6R]8MH">
                     <mutation items="2"></mutation>
                     <value name="ADD0">
                       <block type="on_source" id="v=V0!TVf?qK)^=skvx@L">
                         <field name="ATTR">id</field>
                       </block>
                     </value>
                     <value name="ADD1">
                       <block type="text" id="OJ`q=e~a]#;Uu.%K3M%w">
                         <field name="TEXT"> --- ist wurde falsch aktiviert</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <next>
                   <block type="variables_set" id="C*o-%+W`Ap(~{!WchYo*">
                     <field name="VAR" id="qi)m]fCq7[@|lZoYJP1b">checker</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="6mJ18w|FIkBCv#QLS6ZY">
                         <field name="BOOL">FALSE</field>
                       </block>
                     </value>
                     <next>
                       <block type="controls_forEach" id=":}H%cxefu8$OmROT]ad]">
                         <field name="VAR" id="6@|9zen[MWwBVhqW*PBV">i</field>
                         <value name="LIST">
                           <block type="selector" id="FbNa^@F@wFfQDH;{uk~Y">
                             <field name="TEXT">[state.id=*](functions=test)</field>
                           </block>
                         </value>
                         <statement name="DO">
                           <block type="controls_if" id="@?uYH|-UzOmQ(dNVU|;7">
                             <value name="IF0">
                               <block type="logic_compare" id="oHEvMBZi;TN_zD:19m8?">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value_var" id=".1]GkK4k4;HA5^hH[`?F">
                                     <field name="ATTR">val</field>
                                     <value name="OID">
                                       <shadow type="text" id="[5Mi%@(Dm!BAb,vAGdM_">
                                         <field name="TEXT"></field>
                                       </shadow>
                                       <block type="variables_get" id="^,.8iwfQOS(N?gEsnjU.">
                                         <field name="VAR" id="6@|9zen[MWwBVhqW*PBV">i</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id=")0}KlC(TI;L.Nrj]n1Y1">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="variables_set" id="[-x6CNquf4I,kQ|r:)9[">
                                 <field name="VAR" id="qi)m]fCq7[@|lZoYJP1b">checker</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="~z4a;dB=`pK{qO$;Fl12">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                           </block>
                         </statement>
                         <next>
                           <block type="controls_if" id="L3J1S|J=;oMLx9@@q%%X">
                             <mutation else="1"></mutation>
                             <value name="IF0">
                               <block type="variables_get" id="Lk[Fo]pm~_lT)hkvk!.s">
                                 <field name="VAR" id="qi)m]fCq7[@|lZoYJP1b">checker</field>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="debug" id="EiJ60fWx3wF]wq74zV3:">
                                 <field name="Severity">log</field>
                                 <value name="TEXT">
                                   <shadow type="text" id="],x5QMypLhe3aVUUCef%">
                                     <field name="TEXT">es ist ein wahr dabei  - alarm bleibt an</field>
                                   </shadow>
                                 </value>
                               </block>
                             </statement>
                             <statement name="ELSE">
                               <block type="debug" id="wB,[bhAN,.R|gz0SwFB1">
                                 <field name="Severity">log</field>
                                 <value name="TEXT">
                                   <shadow type="text" id="n}So6}GWJ4y04ztwr7n5">
                                     <field name="TEXT">es ist kein wahr dabei  - alarm abschalten</field>
                                   </shadow>
                                 </value>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
         </statement>
       </block>
       <block type="comment" id="Fa){,}Me$;[+O0-G[:q~" x="-413" y="-88">
         <field name="COMMENT">zeigt ob selectorfunktioniert</field>
         <next>
           <block type="comment" id="FWnj,g16d9Tbilr|?3H{">
             <field name="COMMENT">zeigt die functions mitglieder</field>
             <next>
               <block type="debug" id="cvH-!I`$rmdW?ip,u5zY">
                 <field name="Severity">log</field>
                 <value name="TEXT">
                   <shadow type="text" id="?]OpBD#w+*7/~_mC)Ccy">
                     <field name="TEXT">test</field>
                   </shadow>
                   <block type="selector" id="SxShx(bK(_O%]2EavQy@">
                     <field name="TEXT">[state.id=*](functions=test)</field>
                   </block>
                 </value>
               </block>
             </next>
           </block>
         </next>
       </block>
      </xml>
      

      im blockly muss danmn noch das steuern deines dp rein, der für da blinken verantwortlich ist - ist bei mir hier als debug drin

      T Offline
      T Offline
      tobiasp
      wrote on last edited by
      #22

      @liv-in-sky
      Super danke für die Unterstützung

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      Support us

      ioBroker
      Community Adapters
      Donate

      589

      Online

      32.7k

      Users

      82.6k

      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