Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Tuya Adapter 3.9.x

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Tuya Adapter 3.9.x

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

      Kein Fehler nur eine Frage (hoffentlich darf ich das hier):
      Wenn man bspw. Geräte die Batteriebetrieben sind (Fensterkontakte / Thermostate) nur über die Cloud syncronisieren möchte, muss ich noLocalConnection auf "true" setzen?

      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @planetkeane last edited by

        @planetkeane Ja

        1 Reply Last reply Reply Quote 1
        • apollon77
          apollon77 last edited by

          So, die 3.9 ist ab sofort auch im Stable

          O 1 Reply Last reply Reply Quote 3
          • planetkeane
            planetkeane last edited by

            Ich habe noch folgende Schwierigkeiten:

            • Wenn ein Fensterkontakt den Status wechselt, wechselt ioBroker ihn nicht immer. Ich habe zwar das Datenabfrageintervall auf "120" stehen, aber selbstständig wird es dennoch nicht geändert.
            • Wenn ich die Variable in Objekten auf "noLocalConnection" auf "true" stelle, ändert sich an dem Verhalten (soweit ich es überblicken kann) nichts. Hab ich da ein Verständnisproblem?
            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @planetkeane last edited by

              @planetkeane nutzt du nur die App Cloud oder auch die iot Platform? Mit app Cloud geht regelmäßiges polling. Damit hast du eine Verzögerung und damit alles was nur kurz ist siehst du nicht.

              Real time updates gehen but wenn du das machst was mit iot Platform beschrieben ist. Schau in den 3.8 thread oder in die readme. Da sollte das genauer stehen.

              1 Reply Last reply Reply Quote 0
              • planetkeane
                planetkeane last edited by

                @apollon77 said in Tuya Adapter 3.9.x:

                @planetkeane nutzt du nur die App Cloud oder auch die iot Platform? Mit app Cloud geht regelmäßiges polling. Damit hast du eine Verzögerung und damit alles was nur kurz ist siehst du nicht.
                Real time updates gehen but wenn du das machst was mit iot Platform beschrieben ist. Schau in den 3.8 thread oder in die readme. Da sollte das genauer stehen.

                Ich nutze sowohl App als auch IoT Platform. Habe alles so eingerichtet, wie in der readme geschrieben. Device Status Notification ist bei Tuya eingeschaltet. Fensterkontakt "NoLocalConnection" auf "True - Bestätigt" gesetzt. Und dennoch passiert es, dass der Status nicht aktualisiert wird.

                apollon77 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @planetkeane last edited by

                  @planetkeane debug log bitte. Am Ende würde das heissen das auch per MQTT kein Update kommt. Bzw … wie prüfst du es? Per Admin oder mit nem script was da subscribed? Admin geht vllt zu schnell. Im debug log siehst du auch genau was per iot Platform reinkommt. Und was der Adapter setzt. Da ist solche Geräte nicht habe kann ich nur raten.

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    Opa75+ @apollon77 last edited by

                    @apollon77 Habe das auch beim Thread Tuya 3.8.x gepostet.

                    Ich habe von 9.2 auf 9.4 updated und nun kann ich den Schalter von einem anderen Netzwerk nicht mehr schalten. Bin über IOT Platform verbunden.
                    Meine Gräte werden alle auf der IOT Platform angezeigt!

                    Wieder ein downgrade auf 9.2 gemacht, aber der Schalter lässt sich nicht mehr über Iob schalten. Mit der App geht es problemlos. => Wird auch sofort ausgeführt.
                    Wo muss ich noch was tunen???

                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @Opa75+ last edited by

                      @opa75 naja das gleiche was ich da geantwortet hab.

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        Opa75+ @apollon77 last edited by

                        @apollon77 Gibt es einen Link "Ausführung debug log"?

                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @Opa75+ last edited by

                          @opa75 in meiner Signatur hier im Forum steht’s

                          O padrino 2 Replies Last reply Reply Quote 1
                          • O
                            Opa75+ @apollon77 last edited by

                            @apollon77Ich würde gerne meine Debug-Log Daten senden. Aber ich weiß den Befehl nicht wie ich auf der Konsole den Tuya Log aufrufen , dann den Log abspeichern und weiterleiten kann.
                            Auf der Konsole stehe ich bei Opt/iobroker/log/??????? Eingeloggt bin ich als pi-user.
                            Ich weiß leider nur wenige Befehle und möchte durch herumprobieren nicht mein gut laufendes System eventuell ruinieren.

                            1 Reply Last reply Reply Quote 0
                            • padrino
                              padrino Most Active @apollon77 last edited by padrino

                              @apollon77
                              Da es ja nun auch Szenen gibt, wie stehen die Chancen für Gruppen? 🥰

                              Btw, bright value scheint hier immer noch 1..1000 zu sein, kann das sein? 🤔

                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @padrino last edited by

                                @padrino sagte in Tuya Adapter 3.9.x:

                                Da es ja nun auch Szenen gibt, wie stehen die Chancen für Gruppen? 🥰

                                Was bringen die ausser "Strukur"? Kann man die "zusammen" steuern? Ich hätte noch nicht gesehen wo. Damit ja man könnte eine Art "Enum" anlegen ... Aber so wirklich ......?!

                                Btw, bright value scheint hier immer noch 1..1000 zu sein, kann das sein?

                                Beispiel? Screenshot und Object JSON bitte

                                padrino 2 Replies Last reply Reply Quote 0
                                • padrino
                                  padrino Most Active @apollon77 last edited by

                                  @apollon77 sagte in Tuya Adapter 3.9.x:

                                  @padrino sagte in Tuya Adapter 3.9.x:

                                  Da es ja nun auch Szenen gibt, wie stehen die Chancen für Gruppen? 🥰

                                  Was bringen die ausser "Strukur"? Kann man die "zusammen" steuern? Ich

                                  Doch doch, die kann man steuern. 😌

                                  Screenshot_20221122-002648_Smart Life.png

                                  Screenshot_20221122-002659_Smart Life.png

                                  Screenshot_20221122-002707_Smart Life.png

                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • padrino
                                    padrino Most Active @apollon77 last edited by

                                    @apollon77 sagte in Tuya Adapter 3.9.x:

                                    Btw, bright value scheint hier immer noch 1..1000 zu sein, kann das sein?

                                    Beispiel? Screenshot und Object JSON bitte

                                    20221122_003411.png

                                    20221122_003454.png

                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @padrino last edited by

                                      @padrino bitte mal noch das json des device objects (als text)

                                      padrino 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @padrino last edited by apollon77

                                        @padrino ok. Wie erstellt man Gruppen? Ich find das in meiner App nicht.

                                        Edit: gefunden …. Mal schauen wie ich in unseren testaccount noch ein zweites Gerät bekomme. Mit nur einem kann man keine Gruppe bauen. 😞 generell: github issue als Feature request bitte

                                        EDIT: Ok habs hinbekommen ... wie kann man das so verstecken ... aber ok... Ich schau mal (aber GitHub bitte nicht vergessen) @tombox hat auch schon geholfen und kenne die Calls um die Strukturen zu lesen ... wieder mal unnötig komplex 🙂

                                        Neuschwansteini 1 Reply Last reply Reply Quote 1
                                        • padrino
                                          padrino Most Active @apollon77 last edited by padrino

                                          @apollon77 sagte in Tuya Adapter 3.9.x:

                                          @padrino ok. Wie erstellt man Gruppen? Ich find das in meiner App nicht.

                                          Jo, das mit den Gruppen ist ein Graus.
                                          Keine Ahnung, wie man sowas verbrechen kann. 🤔
                                          Welche App nutzt Du?
                                          Nutze SmartLife.
                                          Evtl. ist ja eine andere Tuya App besser. 😌

                                          @apollon77 sagte in Tuya Adapter 3.9.x:

                                          @padrino bitte mal noch das json des device objects (als text)

                                          Meinste das?

                                          {
                                            "from": "system.adapter.tuya.0",
                                            "user": "system.user.admin",
                                            "ts": 1669194348590,
                                            "common": {
                                              "name": "Leinwand links",
                                              "read": true
                                            },
                                            "native": {
                                              "lon": "7.0563",
                                              "uuid": "042257175002910f7b2f",
                                              "mac": "5002910f7b2f",
                                              "iconUrl": "https://images.tuyaeu.com/smart/icon/ay1519551146071pEnBd/5d6f0a2a653b884406bbe59a8de78159.png",
                                              "runtimeEnv": "prod",
                                              "lat": "49.2386",
                                              "devId": "042257175002910f7b2f",
                                              "devKey": "",
                                              "productId": "wnvviwswgzvwgnjj",
                                              "categoryCode": "wf_dj",
                                              "name": "Leinwand links",
                                              "timezoneId": "Europe/Berlin",
                                              "category": "dj",
                                              "localKey": "94d19b043d9d8966",
                                              "productKey": "keycuag84ttsx3fm",
                                              "version": "3.3",
                                              "ip": "192.168.178.22",
                                              "gwId": "042257175002910f7b2f",
                                              "ownerId": "17527345",
                                              "gatewayVerCAD": "",
                                              "dpMaxTime": 1668168075282,
                                              "activeTime": 1668167245,
                                              "devAttribute": 3,
                                              "active": 2,
                                              "ability": 0,
                                              "mode": 0,
                                              "accessType": 0,
                                              "baseAttribute": 1024,
                                              "groudId": 17527345,
                                              "virtual": false,
                                              "encrypt": true,
                                              "cloudOnline": true,
                                              "dpName": {},
                                              "moduleMap": {
                                                "wifi": {
                                                  "upgradeStatus": 3,
                                                  "cdv": "1.0.0",
                                                  "bv": "6.01",
                                                  "pv": "2.2",
                                                  "verSw": "5.1.0",
                                                  "isOnline": true,
                                                  "id": 40249817,
                                                  "cadv": ""
                                                },
                                                "mcu": {
                                                  "upgradeStatus": 0,
                                                  "cdv": "",
                                                  "verSw": "5.1.0",
                                                  "isOnline": true,
                                                  "id": 40249818,
                                                  "cadv": ""
                                                }
                                              },
                                              "schema": [
                                                {
                                                  "code": "switch_led",
                                                  "defaultValue": "false",
                                                  "canTrigger": true,
                                                  "type": "obj",
                                                  "executable": true,
                                                  "mode": "rw",
                                                  "defaultRecommend": false,
                                                  "name": "开关",
                                                  "property": {
                                                    "type": "bool"
                                                  },
                                                  "id": 20,
                                                  "editPermission": false
                                                },
                                                {
                                                  "code": "work_mode",
                                                  "defaultValue": "white",
                                                  "canTrigger": true,
                                                  "type": "obj",
                                                  "executable": true,
                                                  "mode": "rw",
                                                  "defaultRecommend": false,
                                                  "name": "模式",
                                                  "property": {
                                                    "range": [
                                                      "white",
                                                      "colour",
                                                      "scene",
                                                      "music"
                                                    ],
                                                    "type": "enum"
                                                  },
                                                  "id": 21,
                                                  "editPermission": false
                                                },
                                                {
                                                  "code": "bright_value",
                                                  "defaultValue": "10",
                                                  "canTrigger": true,
                                                  "type": "obj",
                                                  "executable": true,
                                                  "mode": "rw",
                                                  "defaultRecommend": false,
                                                  "name": "亮度值",
                                                  "property": {
                                                    "unit": "",
                                                    "min": 10,
                                                    "max": 1000,
                                                    "scale": 0,
                                                    "step": 1,
                                                    "type": "value"
                                                  },
                                                  "id": 22,
                                                  "editPermission": false
                                                },
                                                {
                                                  "code": "colour_data",
                                                  "defaultValue": "",
                                                  "canTrigger": true,
                                                  "type": "obj",
                                                  "executable": true,
                                                  "mode": "rw",
                                                  "defaultRecommend": false,
                                                  "name": "彩光",
                                                  "property": {
                                                    "type": "string",
                                                    "maxlen": 255
                                                  },
                                                  "id": 24,
                                                  "editPermission": false
                                                },
                                                {
                                                  "code": "scene_data",
                                                  "defaultValue": "",
                                                  "canTrigger": true,
                                                  "type": "obj",
                                                  "executable": true,
                                                  "mode": "rw",
                                                  "defaultRecommend": false,
                                                  "name": "场景",
                                                  "property": {
                                                    "type": "string",
                                                    "maxlen": 255
                                                  },
                                                  "id": 25,
                                                  "editPermission": false
                                                },
                                                {
                                                  "code": "countdown",
                                                  "defaultValue": "0",
                                                  "canTrigger": true,
                                                  "type": "obj",
                                                  "executable": true,
                                                  "mode": "rw",
                                                  "defaultRecommend": false,
                                                  "name": "倒计时",
                                                  "property": {
                                                    "unit": "",
                                                    "min": 0,
                                                    "max": 86400,
                                                    "scale": 0,
                                                    "step": 1,
                                                    "type": "value"
                                                  },
                                                  "id": 26,
                                                  "editPermission": false
                                                },
                                                {
                                                  "code": "music_data",
                                                  "defaultValue": "",
                                                  "canTrigger": true,
                                                  "type": "obj",
                                                  "executable": true,
                                                  "mode": "wr",
                                                  "defaultRecommend": false,
                                                  "name": "音乐灯",
                                                  "property": {
                                                    "type": "string",
                                                    "maxlen": 255
                                                  },
                                                  "id": 27,
                                                  "editPermission": false
                                                },
                                                {
                                                  "code": "control_data",
                                                  "defaultValue": "",
                                                  "canTrigger": true,
                                                  "type": "obj",
                                                  "executable": true,
                                                  "mode": "wr",
                                                  "defaultRecommend": false,
                                                  "name": "调节",
                                                  "property": {
                                                    "type": "string",
                                                    "maxlen": 255
                                                  },
                                                  "id": 28,
                                                  "editPermission": false
                                                }
                                              ],
                                              "schemaExt": [
                                                {
                                                  "complexType": "",
                                                  "inputStyle": "",
                                                  "inputType": " ",
                                                  "id": 20
                                                },
                                                {
                                                  "complexType": "",
                                                  "inputStyle": "",
                                                  "inputType": " ",
                                                  "id": 21
                                                },
                                                {
                                                  "complexType": "",
                                                  "inputStyle": "",
                                                  "inputType": "percent1",
                                                  "id": 22
                                                },
                                                {
                                                  "complexType": "",
                                                  "inputStyle": "",
                                                  "inputType": "percent",
                                                  "id": 23
                                                },
                                                {
                                                  "complexType": "",
                                                  "inputStyle": "",
                                                  "inputType": "countdown1",
                                                  "id": 26
                                                }
                                              ],
                                              "otaInfo": {
                                                "supportAuto": true,
                                                "otaUpgradeModes": [
                                                  0
                                                ],
                                                "otaModuleMap": {
                                                  "wifi": {
                                                    "upgradeStatus": 3,
                                                    "cdv": "1.0.0",
                                                    "bv": "6.01",
                                                    "verSw": "5.1.0"
                                                  },
                                                  "mcu": {
                                                    "upgradeStatus": 0,
                                                    "cdv": "",
                                                    "verSw": "5.1.0"
                                                  }
                                                }
                                              },
                                              "communication": {
                                                "communicationNode": "042257175002910f7b2f",
                                                "communicationModes": [
                                                  {
                                                    "pv": "",
                                                    "type": 0
                                                  },
                                                  {
                                                    "pv": "2.2",
                                                    "type": 1
                                                  }
                                                ],
                                                "connectionStatus": 1
                                              },
                                              "dataPointInfo": {
                                                "dpMaxTime": 1669081926878,
                                                "dpName": {},
                                                "dps": {
                                                  "20": false,
                                                  "21": 0,
                                                  "22": 250,
                                                  "24": "0025035500f5",
                                                  "25": "000e0d0000000000000000c803e8",
                                                  "26": 0,
                                                  "27": "",
                                                  "28": ""
                                                },
                                                "dpsTime": {
                                                  "20": 1669081926878,
                                                  "21": 1669081858272,
                                                  "22": 1669081858272,
                                                  "24": 1669081794516,
                                                  "25": 1668513054497,
                                                  "26": 1668167250104,
                                                  "27": 1668167245789,
                                                  "28": 1668167245789
                                                }
                                              },
                                              "deviceTopo": {}
                                            },
                                            "acl": {
                                              "object": 1636,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            },
                                            "_id": "tuya.0.042257175002910f7b2f",
                                            "type": "device"
                                          }
                                          
                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • Neuschwansteini
                                            Neuschwansteini @apollon77 last edited by

                                            @apollon77 mal fuer "die-noch-nicht-die-gruppe-gefunden-Leute" ... ich hab nur Szenen, ist es das, wo ich mehrere Devices ein/ausschalten kann... ? Ich such und google schon die ganze Zeit.. die Anleitung sagt was von Hauptseite, dann +, dann Gruppen... da hab ich aber nur Szenen ausser dem neuen Geraet... ( Smart Life App, iOs.. )

                                            padrino apollon77 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            494
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            117
                                            13292
                                            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