Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Flur mit Bewegungsmeldern schalten

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Flur mit Bewegungsmeldern schalten

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Alero last edited by

      @alero sagte in Flur mit Bewegungsmeldern schalten:

      ich schalte das licht mit einem shelly

      ok! das war nicht bekannt!
      Dann geht es natürlich nicht

      A 1 Reply Last reply Reply Quote 0
      • A
        Alero @Homoran last edited by Alero

        @homoran
        komisch sobald ich einen wert unter 1.1 eingebe funktioniert es nicht mehr. obwohl mir in objekte 0,06 angezeigt wird

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

          @alero sagte in Flur mit Bewegungsmeldern schalten:

          obwohl mir in objekte 0,06 angezeigt wird

          zeig mal die Objektdaten

          1 Reply Last reply Reply Quote 0
          • A
            Alero last edited by Alero

            hi,
            f4a167d8-856b-4ebb-ac1d-61973e9c95d2-image.png

            {
              "type": "state",
              "common": {
                "def": 0,
                "type": "number",
                "read": true,
                "write": false,
                "min": 0,
                "max": 163830,
                "name": "BM_Schlafzimmer:1.ILLUMINATION",
                "role": "value.brightness"
              },
              "native": {
                "MIN": 0,
                "OPERATIONS": 5,
                "MAX": 163830,
                "FLAGS": 1,
                "ID": "ILLUMINATION",
                "TYPE": "FLOAT",
                "DEFAULT": 0,
                "CONTROL": "MOTIONDETECTOR_TRANSCEIVER.ILLUMINATION"
              },
              "from": "system.adapter.hm-rega.0",
              "user": "system.user.admin",
              "ts": 1672913070647,
              "_id": "hm-rpc.1.000917099A8FD1.1.ILLUMINATION",
              "acl": {
                "object": 1636,
                "state": 1636,
                "owner": "system.user.admin",
                "ownerGroup": "system.group.administrator"
              }
            }
            

            Kann ich nicht im blockly einen "output" erzeugen um heraus zubekommen welcher ilumation wert gerade vorliegt?

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

              @alero sagte in Flur mit Bewegungsmeldern schalten:

              Kann ich nicht im blockly einen "output" erzeugen um heraus zubekommen welcher ilumation wert gerade vorliegt?

              das verstehe ich gerade nicht.
              was genau willst du erreichen?

              und bitte noch die Objektdaten hier in code-tags posten.
              Vielleicht sieht man da schon die Ursache

              EDIT:
              Du hast es jetzt hinzugefügt, danke.

              min 0, max 163830, operations 5

              Das interpretiere ich, dass erst nach 5 Paketen angepasst wird

              A 2 Replies Last reply Reply Quote 0
              • A
                Alero @Homoran last edited by

                @homoran
                habe die objektdaten von ilumation eingestellt.

                {
                  "type": "state",
                  "common": {
                    "def": 0,
                    "type": "number",
                    "read": true,
                    "write": false,
                    "min": 0,
                    "max": 163830,
                    "name": "BM_Schlafzimmer:1.ILLUMINATION",
                    "role": "value.brightness"
                  },
                  "native": {
                    "MIN": 0,
                    "OPERATIONS": 5,
                    "MAX": 163830,
                    "FLAGS": 1,
                    "ID": "ILLUMINATION",
                    "TYPE": "FLOAT",
                    "DEFAULT": 0,
                    "CONTROL": "MOTIONDETECTOR_TRANSCEIVER.ILLUMINATION"
                  },
                  "from": "system.adapter.hm-rega.0",
                  "user": "system.user.admin",
                  "ts": 1672913070647,
                  "_id": "hm-rpc.1.000917099A8FD1.1.ILLUMINATION",
                  "acl": {
                    "object": 1636,
                    "state": 1636,
                    "owner": "system.user.admin",
                    "ownerGroup": "system.group.administrator"
                  }
                }
                
                1 Reply Last reply Reply Quote 0
                • A
                  Alero @Homoran last edited by

                  @homoran
                  heisst was?
                  kann ich den wert 5 auf 1 stellen?

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

                    @alero sagte in Flur mit Bewegungsmeldern schalten:

                    heisst was?

                    dass ich annehme, dass dies

                    @homoran sagte in Flur mit Bewegungsmeldern schalten:

                    Homematic nimmt für die eigene Steuerung die dunkelste Helligkeit der letzten x Minuten/Sendepakete je nach Konfig.

                    diese Konfiguration ist

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Alero @Homoran last edited by Alero

                      @homoran
                      hi,
                      ich glaube ich habs gefunden. unter der ccu3 kann man die pakete einstellen. habe den wert auf 1 gestellt. und einen Fehler im script geändert.
                      0682c378-b28f-427a-9abb-82acfc1a77c5-image.png
                      und CCu3
                      3b89ddaa-f1f4-4bb9-a0c7-356a363665c7-image.png

                      hier noch mal das Script falls es jemand nachmachen will.

                      Mein script habe ich jetzt mal auf 2 gesetzt. also sollte er nicht angehen wenn Ilumination größer 2 ist. das scheint zu klappen. muss jetzt nur mal testen ab welcher Helligkeit das Licht angehen soll.

                      Danke

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

                        @alero sagte in [gelöst] Flur mit Bewegungsmeldern schalten:

                        unter der ccu3 kann man die pakete einstellen.

                        sag ich doch! 🙂

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        854
                        Online

                        32.0k
                        Users

                        80.4k
                        Topics

                        1.3m
                        Posts

                        2
                        15
                        433
                        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