Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Script Klima Steuerung

    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

    Script Klima Steuerung

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @Bolli last edited by

      @bolli
      Man kann die ID für den passenden Button konstruieren und mit dem Block "schreibe" steuern.
      Was bedeuten z.B. "M1" und "S1"?

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

        @paul53 M bedeutet Modi (M2= heizen) und S die Lüfterdrehzahl

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

          @bolli sagte: M bedeutet Modi (M2= heizen) und S die Lüfterdrehzahl

          Funktioniert das Steuern über die Datenunkte "102" bis "105" nicht?
          Welchen Adapter verwendest du?

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

            @bolli wie gesagt, erstmal die offenen Fragen!
            nicht schon wieder neue, sonst klemmt's nachher überall jnd due Suche nach der Ursache wurd noch schwieriger!

            z.B.:

            @homoran sagte in Script Klima Steuerung:

            warum ist der Wert in roter Schrift?
            wer schaltet den?

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

              @bolli sagte: Selbst wenn ich den DP von Hand in Objekte schalte geht er selbstständig kurze Zeit später wieder zurück. Muss ich vorher noch was beachten ?

              Wozu dient der DP "1" ("control")? Welche Werte kann er annehmen: Bitte OBJEKTDATEN in code tags posten.
              Ich vermute, dass er gesteuert werden muss, damit die geänderten Werte der DP "101" bis "105" gesendet werden.

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

                @paul53 für was der control state ist kann ich dir nicht sagen. Die einzelnen DP kannst du einfach kurz auf true setzen und der Modi und die Temp werden geändert.

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

                  @bolli sagte: für was der control state ist kann ich dir nicht sagen.

                  @paul53 sagte in Script Klima Steuerung:
                  Bitte OBJEKTDATEN in code tags posten.

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

                    @paul53

                    {
                      "type": "state",
                      "common": {
                        "type": "number",
                        "states": {
                          "0": "send_ir",
                          "1": "study",
                          "2": "study_exit",
                          "3": "study_key"
                        },
                        "read": true,
                        "write": true,
                        "name": "control",
                        "role": "level"
                      },
                      "native": {
                        "code": "control",
                        "defaultValue": "send_ir_s",
                        "canTrigger": true,
                        "type": "obj",
                        "executable": true,
                        "mode": "wr",
                        "defaultRecommend": false,
                        "name": "控制命令",
                        "property": {
                          "range": [
                            "send_ir",
                            "study",
                            "study_exit",
                            "study_key"
                          ],
                          "type": "enum"
                        },
                        "subType": "enum",
                        "id": 1,
                        "editPermission": false
                      },
                      "from": "system.adapter.tuya.0",
                      "user": "system.user.admin",
                      "ts": 1741353180911,
                      "_id": "tuya.0.bf7ff3fc63133ab79dbpy0.1",
                      "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                      }
                    }
                    
                    paul53 1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 @Bolli last edited by paul53

                      @bolli
                      Mit den Code tags musst du offenbar noch üben.

                      Versuche mal das Klimagerät so einzuschalten:

                      Blockly_temp.JPG

                      EDIT: Wenn das nicht funktioniert, liefern die Datenpunkte "1" bis "105" nur den Status - müssten also "read only" sein - und die Steuerung muss über die Button-Datenpunkte erfolgen.

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

                        @paul53 anschalten geht tatsächlich

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

                          @bolli sagte: anschalten geht tatsächlich

                          "switch_power" bleibt true?

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

                            @paul53 nein geht wieder auf false. in dem Moment wo man den trigger laufen lässt ist es kurz true und der control ändert sich

                            5695a29e-2d26-423a-b871-c2d980e99367-image.png

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

                              @bolli sagte: nein geht wieder auf false.

                              ... und das Gerät schaltet wieder aus?

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

                                @paul53 nein das bleibt an

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

                                  @bolli sagte: nein das bleibt an

                                  Sehr eigenartig!
                                  Versuche es mal mit den IR-Button-DP:

                                  Blockly_temp.JPG

                                  @bolli sagte in Script Klima Steuerung:

                                  M2= heizen

                                  Welche Modi sind M0 und M1?

                                  EDIT: Zeige bitte die komplette ID eines IR-Button-DP.

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

                                    @paul53 power_on = einschalten mit der letzten Einstellung (egal woher die kommt)
                                    M2_T22_S3 schaltet ein mit heizen auf Stufe3

                                    das ist die ID
                                    tuya.0.bf7ff3fc63133ab79dbpy0.ir-M2_T30

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

                                      @bolli sagte: M2_T22_S3 schaltet ein mit heizen auf Stufe3

                                      Dann kann man "power on" weglassen.

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

                                        @bolli sagte: tuya.0.bf7ff3fc63133ab79dbpy0.ir-M2_T30

                                        Fehlt nicht die Lüfter-Stufe?
                                        Welche Modi sind M0 und M1?

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

                                          @paul53 sagte in Script Klima Steuerung:

                                          @bolli sagte: tuya.0.bf7ff3fc63133ab79dbpy0.ir-M2_T30

                                          Fehlt nicht die Lüfter-Stufe?

                                          ja bei Modi2 stehen keine Lüfter dabei

                                          Welche Modi sind M0 und M1?

                                          wenn ich von der Fernbedienung ausgehe: automatisch , kühlen , trocknen , heizen , lüften

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

                                            @bolli sagte: wenn ich von der Fernbedienung ausgehe: automatisch , kühlen , trocknen , heizen , lüften

                                            Dann wäre "Heizen" M3.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            939
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            90
                                            5378
                                            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