Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. Scripting / Logic
  4. Blockly
  5. Pause script for x time

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    989

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Pause script for x time

Geplant Angeheftet Gesperrt Verschoben Blockly
3 Beiträge 2 Kommentatoren 554 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T Offline
    T Offline
    Tomiol80
    schrieb am zuletzt editiert von
    #1

    Hi

    Any advice how I can pause script for 720 minutes? Now if I press light button my lights turn on again immediately.
    78672736-d768-4545-b0e8-7997ce2ed4dd-image.png

    BR,
    -Tomi-

    AsgothianA 1 Antwort Letzte Antwort
    0
    • T Tomiol80

      Hi

      Any advice how I can pause script for 720 minutes? Now if I press light button my lights turn on again immediately.
      78672736-d768-4545-b0e8-7997ce2ed4dd-image.png

      BR,
      -Tomi-

      AsgothianA Offline
      AsgothianA Offline
      Asgothian
      Developer
      schrieb am zuletzt editiert von
      #2

      @tomiol80
      you want to:

      • define a variable "block_script"
      • set the variable to "false" before the trigger
      • your "if actual time is between" you want to extend with a logic block so that the condition reads "if actual time is between 15:00 and 23:00 and block_script = false
      • inside the trigger where you have the pause, you want to set it the variable to true
      • then start a timeout for 720 minutes. Inside the timeout, set the variable to false.

      A.

      ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
      "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

      T 1 Antwort Letzte Antwort
      0
      • AsgothianA Asgothian

        @tomiol80
        you want to:

        • define a variable "block_script"
        • set the variable to "false" before the trigger
        • your "if actual time is between" you want to extend with a logic block so that the condition reads "if actual time is between 15:00 and 23:00 and block_script = false
        • inside the trigger where you have the pause, you want to set it the variable to true
        • then start a timeout for 720 minutes. Inside the timeout, set the variable to false.

        A.

        T Offline
        T Offline
        Tomiol80
        schrieb am zuletzt editiert von
        #3

        @asgothian

        Ok. Thank you very much.
        I think I got it right now.
        1023170d-9d69-4660-bbdb-5b58b0977c73-image.png

        1 Antwort Letzte Antwort
        0
        Antworten
        • In einem neuen Thema antworten
        Anmelden zum Antworten
        • Älteste zuerst
        • Neuste zuerst
        • Meiste Stimmen


        Support us

        ioBroker
        Community Adapters
        Donate

        758

        Online

        32.5k

        Benutzer

        81.6k

        Themen

        1.3m

        Beiträge
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Anmelden

        • Du hast noch kein Konto? Registrieren

        • Anmelden oder registrieren, um zu suchen
        • Erster Beitrag
          Letzter Beitrag
        0
        • Home
        • Aktuell
        • Tags
        • Ungelesen 0
        • Kategorien
        • Unreplied
        • Beliebt
        • GitHub
        • Docu
        • Hilfe