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.
    • 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
                        • padrino
                          padrino Most Active @Neuschwansteini last edited by padrino

                          @ilovegym
                          Du musst in ein Gerät gehen.
                          Dann in dessen Konfig.
                          Dort kannste "zu Gruppehinzufügen" auswählen. 🙄

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

                            @ilovegym Gruppen: Geht auf ein Gerät, auf den Stift und dann dort im "Menü des Geräts" quasi gibts "zu gruppe hinzufügen". so kannst du eine erstellen. Es gehen nur "Gleiche Gerätetypen" zusammen und dann kannst du nicht ur ein/ausschalten sondern wirklich werte machen - nicht alle aber einige ...

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

                              @apollon77 sagte in Tuya Adapter 3.9.x:

                              ...und dann kannst du nicht ur ein/ausschalten sondern wirklich werte machen - nicht alle aber einige ...

                              Hmm, das sind doch Szenen? Also, mit Werten. 😌
                              Gruppen sind nur für ein/aus, Szenen können mehr, oder? 😃

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

                                @padrino hehe , ja ok Fehler gefunden ... Fix in nächster Version

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

                                  @padrino Wichtig;: Wir reden von Tuya, nicht "ioBroker Szenen!!".

                                  Tuya: In meinenm Verständnis ists genau andersrum. Szenen (in der Tuya APP!!)) schalten "Eine gruppe von geräten in einem definierten Zustand". Gruppen erlauben mehrere "gleiche" Geräte zusammen zu steuern

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

                                    @apollon77 sagte in Tuya Adapter 3.9.x:

                                    Tuya: In meinenm Verständnis ists genau andersrum. Szenen (in der Tuya APP!!)) schalten "Eine gruppe von geräten in einem definierten Zustand". Gruppen erlauben mehrere "gleiche" Geräte zusammen zu steuern

                                    Jo, sag ich doch. 😉
                                    Aber hier schreibst Du das anders...

                                    @apollon77 sagte in Tuya Adapter 3.9.x:

                                    @ilovegym Gruppen: Geht auf ein Gerät, auf den Stift und dann dort im "Menü des Geräts" quasi gibts "zu gruppe hinzufügen". so kannst du eine erstellen. Es gehen nur "Gleiche Gerätetypen" zusammen und dann kannst du nicht ur ein/ausschalten sondern wirklich werte machen - nicht alle aber einige ...

                                    Kein Stress. 🥰

                                    1 Reply Last reply Reply Quote 2
                                    • Neuschwansteini
                                      Neuschwansteini @padrino last edited by

                                      @padrino sagte in Tuya Adapter 3.9.x:

                                      @ilovegym
                                      Du musst in ein Gerät gehen.
                                      Dann in dessen Konfig.
                                      Dort kannste "zu Gruppehinzufügen" auswählen. 🙄

                                      Achjee.. ja, da isses.. richtig, DANKE!

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

                                        @apollon77

                                        wer hat noch ne LSC Doorbell? Seit der neuen Adapterversion 3.8.x funktioniert der Link fuer das Doorbell-Pic nicht mehr..

                                        Seit dem 16.11.22 ist das anders, hier die History:

                                        ce5887e6-0513-43ee-9f62-318dacddf120-image.png

                                        Bekommt man das wieder hin?

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

                                          @ilovegym
                                          Evtl. mal das Gerät/Objekt löschen und dann denn Adapter neu starten (mit Cloud Abgleich)?
                                          Hatte auch schon nach Updates, dass was nimmer lief, dann hat ein "neu anlegen" geholfen.

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

                                            @ilovegym Ok, ich kann nochmal schauen. Das Problem ist das das "ein base64 encodetes etwas" ist was da von Tuya kommt. Bisher wurde immer "base64-decode gemacht". Damit war es da dann die URL. Problem ist aber das es ggf echte binäre Daten sind und die wurden dadurch zerstört.

                                            Jetzt gibts zwei varianten:
                                            1.) Ich baue im Adapter ein das er es dekodiert, irgendwie rausfindet ob es "text" ist und wenn ja so lässt und nur bei binärdaten es dann doch nicht dekodiert
                                            2.) Du dir nen Alias definierst und dort als "read" funktion das base64 decode machst

                                            Für 1.) wäre es ggf ein GitHub issue bitte

                                            Neuschwansteini 1 Reply 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

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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