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 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
                                • B
                                  Bolli @paul53 last edited by

                                  @paul53 sagte in Script Klima Steuerung:

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

                                  Dann wäre "Heizen" M3.

                                  heizen ist M2. das sieht man an der klima, weil das heizen leuchtet

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

                                    @bolli sagte: heizen ist M2.

                                    Man kann die Button-ID so konstruieren:

                                    Blockly_temp.JPG

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

                                      @paul53 wow, das geht !
                                      um drehzahl einzustellen. müsste da eine Textzeile / Baustein mehr rein?

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

                                        @bolli sagte: um drehzahl einzustellen. müsste da eine Textzeile / Baustein mehr rein?

                                        Ja, z.B. so:

                                        Blockly_temp.JPG

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

                                          @paul53 danke, hier kann ich leider nur starten wenn modus 2 angewählt ist .

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

                                            @bolli sagte in Script Klima Steuerung:

                                            @paul53 danke, hier kann ich leider nur starten wenn modus 2 angewählt ist .

                                            das = muss kleiner als , weil Stufe 0 und Stufe 1 haben nur Drehzahl.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            590
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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