Navigation

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

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Variable Blockly

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

      Hallo ich habe ein Problem! Ich möchte eine Variable hochzählen lassen, wenn eine Lampe eingeschaltet wird. Leider weiß ich nicht, wie ich das in Blockly anstelle. Wer kann mir helfen? Danke

      1 Reply Last reply Reply Quote 0
      • padrino
        padrino Most Active last edited by

        Hi,

        so?

        8705_varcount.png

        ! ````
        <block xmlns="http://www.w3.org/1999/xhtml" type="on" id="W%VX9:d7fBC0^(^l{q,E" x="37.583326816558724" y="138"><field name="OID">Object ID</field>
        <field name="CONDITION">true</field>

        <statement name="STATEMENT"><block type="variables_set" id=")HtAtEF1x671J]0UeNy"><field name="VAR">etwas</field>
        <value name="VALUE"><block type="math_arithmetic" id="%AS[bt}ul%,X)10]jaML"><field name="OP">ADD</field>
        <value name="A"><shadow type="math_number" id="W_x1/57]ZM8G.,X|/:L@"><field name="NUM">1</field></shadow>
        <block type="variables_get" id="gFerD:|ZC4l7PI?53esy"><field name="VAR">etwas</field></block></value>
        <value name="B"><shadow type="math_number" id="J2mYw
        ?IeJewfvbYc1"><field name="NUM">1</field></shadow></value></block></value></block></statement></block>

        CU,
        
        padrino
        1 Reply Last reply Reply Quote 0
        • W
          w2kscout last edited by

          Ja! Ich danke Dir

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

          Support us

          ioBroker
          Community Adapters
          Donate

          944
          Online

          32.1k
          Users

          80.7k
          Topics

          1.3m
          Posts

          2
          3
          369
          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