Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Blockly in IQontrol einbinden

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Blockly in IQontrol einbinden

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

      Hallo zusammen,
      ist es möglich ein Blocky-Script in IQontrol einzubinden?
      Ich möchte in der Visualisierung, über eine Kachel, eine Lampe einschalten und diese nach der vorgegeben Zeit (per Blockly-Script) wieder ausschalten.
      Ausserdem wäre es super, wenn dieses Script nur nach einer besimmten Zeit greift. Also wenn ich das Licht vor 22 Uhr einschalte soll es anbleiben. Wird es nach 22 Uhr eingeschaltet, soll es z.B. nach 15 Minuten automatisch ausgeschaltet werden.

      Vielleicht hat jemand von euch eine Idee.

      Besten Dank.
      Viele Grüße
      cookiemonster1706

      paul53 Homoran 2 Replies Last reply Reply Quote 0
      • paul53
        paul53 @cookiemonster1706 last edited by paul53

        @cookiemonster1706 sagte: Blocky-Script in IQontrol einzubinden?

        Was hat Blockly mit iQontrol zu tun?

        @cookiemonster1706 sagte in Blockly in IQontrol einbinden:

        Wird es nach 22 Uhr eingeschaltet, soll es z.B. nach 15 Minuten automatisch ausgeschaltet werden.

        Blockly_temp.JPG

        C 1 Reply Last reply Reply Quote 1
        • C
          cookiemonster1706 @paul53 last edited by cookiemonster1706

          @paul53 Vielen Dank für die schnelle Hilfe. Mein ursprünglicher Gedanke war, das Licht nur automatisch auszuschalten, wenn es über die Visualisierung eingeschaltet wurde. Wenn es über den Taster angeschaltet wurde, soll es anbleiben.

          Muss aber nicht.
          So wäre es auch OK.
          Vielen Dank!

          Homoran paul53 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @cookiemonster1706 last edited by

            @cookiemonster1706 sagte in Blockly in IQontrol einbinden:

            Wenn es über den Taster angeschaltet wurde, soll es anbleiben.

            ich kenne iControl nicht.

            Der übliche weg ist über die Visualisierung einen eigenen Datenpunkt typ bool zu schalten
            darauf triggert dann das Blockly

            Manuell geschaltetes ist dann außen vor.

            1 Reply Last reply Reply Quote 1
            • paul53
              paul53 @cookiemonster1706 last edited by

              @cookiemonster1706 sagte: Licht nur automatisch auszuschalten, wenn es über die Visualisierung eingeschaltet wurde.

              Versuche es mal so:

              Blockly_temp.JPG

              1 Reply Last reply Reply Quote 1
              • Homoran
                Homoran Global Moderator Administrators @cookiemonster1706 last edited by

                @cookiemonster1706 sagte in Blockly in IQontrol einbinden:

                Wird es nach 22 Uhr eingeschaltet, soll es z.B. nach 15 Minuten

                was ist z.B. mit 0:30 Uhr.

                Ich glaube das wird im Blockly von @paul53 dann nicht mehr automatisch ausgeschaltet

                paul53 1 Reply Last reply Reply Quote 1
                • paul53
                  paul53 @Homoran last edited by paul53

                  @homoran sagte: was ist z.B. mit 0:30 Uhr.

                  @cookiemonster1706 hat geschrieben: Wird es nach 22 Uhr eingeschaltet

                  0:30 Uhr ist vor 22 Uhr.
                  Ich halte mich nur an die Vorgaben.

                  Wenn man die Vorgaben weiter auslegt:

                  Blockly_temp.JPG

                  Homoran C 2 Replies Last reply Reply Quote 2
                  • Homoran
                    Homoran Global Moderator Administrators @paul53 last edited by

                    @paul53 sagte:

                    0:30 Uhr ist vor 22 Uhr.

                    das is vollkommen korrekt! 😁

                    @paul53 sagte in Blockly in IQontrol einbinden:

                    Ich halte mich nur an die Vorgaben.

                    Deswegen habe ich diese Vorgaben hinterfragt.

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      cookiemonster1706 @Homoran last edited by

                      @homoran
                      @paul53

                      Vielen Dank für eure Hilfe. Das schaue ich mir mal an.
                      eine festgelegte Zeitspanne ist natürlich noch besser 😉

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

                        @paul53

                        Irgendwie bin ich nicht in der Lage den Eintrag system.adapter.iqontrol.0 im Script hinzuzufügen. Den Expertenmodus habe ich aktiviert.

                        system.adapater.iqontrol.0.jpg

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

                          @cookiemonster1706 sagte: nicht in der Lage den Eintrag system.adapter.iqontrol.0 im Script hinzuzufügen.

                          Das muss im Textfeld eingetippt werden.

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

                            @paul53

                            Achso, sorry. Ich bin noch recht weit am Anfang mit der Thematik.
                            Ich habe es eingetragen, aber leider funktioniert es nicht.
                            Die Lampe wird mit einem Shelly Dimmer2 geschaltet.

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

                              @cookiemonster1706 sagte: Die Lampe wird mit einem Shelly Dimmer2 geschaltet.

                              Ich habe keine Shellys, kenne also die Datenpunkte nicht.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              628
                              Online

                              32.0k
                              Users

                              80.5k
                              Topics

                              1.3m
                              Posts

                              iqontrol
                              3
                              13
                              198
                              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