Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. Scripting / Logic
    4. Blockly
    5. Control datapoint with Blockly SOLVED

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Control datapoint with Blockly SOLVED

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

      I need to set Boolean datapoint based on result of variable number compared with constant. Here is how I think it should work, but it does not. Datapoint does not get updated regardless of variable value. What am I doing wrong?

      7afba951-707c-402e-bf69-aa7923410212-image.png

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @ap2017 last edited by paul53

        @ap2017 sagte:

        Datapoint does not get updated

        So it works only at script start. You need a trigger.

        Blockly_temp.JPG

        A 1 Reply Last reply Reply Quote 1
        • A
          ap2017 @paul53 last edited by

          @paul53 Thank you, it works! I think that this concept is not described clearly in documentation

          paul53 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @ap2017 last edited by paul53

            @ap2017 sagte:

            concept is not described clearly in documentation

            Really ?

            A 1 Reply Last reply Reply Quote 0
            • A
              ap2017 @paul53 last edited by ap2017

              @paul53 I miss general discussion about blocks execution, for example for repeatable action user must be using Trigger block, without Trigger block the command will be executed once on script start. This is very important in my mind.

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

              Support us

              ioBroker
              Community Adapters
              Donate

              468
              Online

              31.9k
              Users

              80.2k
              Topics

              1.3m
              Posts

              blockly
              2
              5
              698
              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