Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Über VIS Werte im Script ändern

    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

    Über VIS Werte im Script ändern

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

      Hallo zusammen,

      per Skript fahren morgens um 07:00 Uhr meine Rollos hoch (Abends wieder runter).
      Nun möchte ich die Uhrzeit durch ein Eingabefeld in VIS verändern können.
      Meint ihr das geht?

      VG!

      sigi234 paul53 2 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active last edited by sigi234

        Kennst du das?

        https://forum.iobroker.net/topic/22405/aufruf-neuer-adapter-iobroker-shuttercontrol

        D 1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @dfz last edited by

          @dfz sagte in Über VIS Werte im Script ändern:

          Eingabefeld in VIS

          Oder:

          widget jqui-Input
          Haken als String setzen.

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

            @dfz sagte:

            Nun möchte ich die Uhrzeit durch ein Eingabefeld in VIS verändern können.

            Prinzip mit Blockly oder Prinzip in Javascript

            1 Reply Last reply Reply Quote 0
            • D
              dfz @sigi234 last edited by dfz

              @sigi234 ja, kenne ich, ich habe aber Sonoff im Einsatz, daher passt das leider nicht.

              @paul53 danke, ich denke es sollte in etwa wie folgt klappen:

              var time01 = getState("broadlink2.0.RM:10-0-1-9.L.Zeit_Rollo").val;
              schedule('{"time":{"exactTime":true,"start":"(time01)"},"period":{"days":1,"dows":"[0, 6]"}}', function () {
                setState("sonoff.0.Sonoff10.POWER1"/*Sonoff10 POWER1*/, true);
                setStateDelayed("sonoff.0.Sonoff10.POWER1"/*Sonoff10 POWER1*/, false, 7000, false);
              

              2019-08-25 12_48_11-objects - ioBroker.png

              Nur fehlt mir die JavaScript Kenntnis um die Variable "Time01" korrekt zu übergeben.
              Hat da jmd. einen Tipp?

              Danke vorab und Grüße

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

              Support us

              ioBroker
              Community Adapters
              Donate

              606
              Online

              31.8k
              Users

              79.9k
              Topics

              1.3m
              Posts

              blockly javascript
              3
              5
              611
              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