Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Objekt als timer anlegen?

    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

    Objekt als timer anlegen?

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

      Hallo,

      kann ich unter den Objekten eine Variable anlegen, welche, wenn ich sie auf "true" setzte, automatisch nach x Sekunden wieder auf "false" springt, ohne script, node oder sonst was?

      LG Martin

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        @rascal:

        Hallo,

        kann ich unter den Objekten eine Variable anlegen, welche, wenn ich sie auf "true" setzte, automatisch nach x Sekunden wieder auf "false" springt, ohne script, node oder sonst was?

        LG Martin `

        In vis geht das mit dem Widget, Iobroker selber nur per Script/blockly/scene … Irgendwo muss ja die Logic sein welche wieder zurück setzt.

        Sent from my iPhone using Tapatalk

        1 Reply Last reply Reply Quote 0
        • R
          rascal last edited by

          ok, danke, dachte man kann eine Variable gleich beim erstellen dahingehend definieren

          1 Reply Last reply Reply Quote 0
          • Bluefox
            Bluefox last edited by

            Es konnte so was funktionieren:

            setState('javascript.0.switch', {val: true, expire: 10 /* seconds */, ack: true});
            
            

            Aber das Wert wird nach 10 Sekunden auf "null" gesetzt und das geht natürlich nur aus JS-Adapter.

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

            Support us

            ioBroker
            Community Adapters
            Donate
            FAQ Cloud / IOT
            HowTo: Node.js-Update
            HowTo: Backup/Restore
            Downloads
            BLOG

            538
            Online

            31.9k
            Users

            80.3k
            Topics

            1.3m
            Posts

            3
            4
            954
            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