Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Tuya 3.7.0 - warnings

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst] Tuya 3.7.0 - warnings

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

      @apollon77
      ich habe die neue Version des Adapters installiert und bekomme jede Menge warnings (hab daraufhin auf Log-Level error umgestellt) in der Art:

      2022-10-23 08:32:52.062 - warn: tuya.0 (16890) State value to set for "tuya.0.08152440f4cfa201c03e.6" has value "233.8" greater than max "null"
      2022-10-23 08:32:52.902 - warn: tuya.0 (16890) State value to set for "tuya.0.050407552462ab2f85d2.6" has value "233.5" greater than max "null"
      2022-10-23 08:32:52.978 - warn: tuya.0 (16890) State value to set for "tuya.0.00032373cc50e37a5e26.4" has value "400" greater than max "null"
      2022-10-23 08:32:52.978 - warn: tuya.0 (16890) State value to set for "tuya.0.00032373cc50e37a5e26.5" has value "44.2" greater than max "null"
      2022-10-23 08:32:54.311 - warn: tuya.0 (16890) State value to set for "tuya.0.050407552462ab347f5d.4" has value "32" greater than max "null"
      2022-10-23 08:32:54.311 - warn: tuya.0 (16890) State value to set for "tuya.0.050407552462ab347f5d.5" has value "7.5" greater than max "null"
      2022-10-23 08:32:54.982 - warn: tuya.0 (16890) State value to set for "tuya.0.00032373cc50e37a5e26.4" has value "366" greater than max "null"
      2022-10-23 08:32:54.983 - warn: tuya.0 (16890) State value to set for "tuya.0.00032373cc50e37a5e26.5" has value "53.3" greater than max "null"
      

      Wäre es möglich, bei Geräten, die kein min/max definiert haben (derzeit steht bei allen null), die Meldung zu unterdrücken oder ist das Verhalten so beabsichtigt?

      bahnuhr apollon77 3 Replies Last reply Reply Quote 0
      • bahnuhr
        bahnuhr Forum Testing Most Active @Latzi last edited by

        @latzi
        3.6.15 ist stable; 3.7.0 ist beta
        Warum bist du auf beta unterwegs ?

        Bei 3.7.0 wurde lt. git folgendes geändert:
        dae8b749-59d5-40fa-addc-3eb227d688ff-image.png

        Gibt es ein Issue?
        Hast du eines angelegt ?

        Latzi 1 Reply Last reply Reply Quote 0
        • bahnuhr
          bahnuhr Forum Testing Most Active @Latzi last edited by

          @latzi
          seh gerade, dass du ein issue angelegt hast.
          Mal schaun was raus kommt.

          Latzi 1 Reply Last reply Reply Quote 0
          • Latzi
            Latzi @bahnuhr last edited by

            @bahnuhr sagte in Tuya 3.7.0 - warnings:

            Warum bist du auf beta unterwegs ?

            um es zu testen

            @bahnuhr sagte in Tuya 3.7.0 - warnings:

            Gibt es ein Issue?
            Hast du eines angelegt ?

            ja

            1 Reply Last reply Reply Quote 0
            • Latzi
              Latzi @bahnuhr last edited by

              @bahnuhr sagte in Tuya 3.7.0 - warnings:

              Mal schaun was raus kommt.

              Ist ja kein großes Problem und auch anwenderseitig leicht zu umgehen, wollt es nur melden.
              Ingo wird´s schon richten 😉

              bahnuhr 1 Reply Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active @Latzi last edited by

                @latzi sagte in Tuya 3.7.0 - warnings:

                @bahnuhr sagte in Tuya 3.7.0 - warnings:

                Mal schaun was raus kommt.

                Ist ja kein großes Problem und auch anwenderseitig leicht zu umgehen, wollt es nur melden.
                Ingo wird´s schon richten 😉

                Du kannst die min max Werte aber auch manuell ändern, dann kommen die warn nicht mehr.

                Latzi 1 Reply Last reply Reply Quote 0
                • Latzi
                  Latzi @bahnuhr last edited by

                  @bahnuhr
                  ja natürlich, doch bei 37 Geräten und mehreren DP´s pro Gerät die gemeldet werden ist mir die loglevel-Variante lieber 😉
                  Derzeit benötige ich keine Grenzen bei meinen Geräten, aber das Feature ist sicherlich hilfreich!

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

                    @latzi interessant. Sollte da nicht so sein. Bitte ein debug log vom adapterstart mit ind issue hinzufügen. Wird gefixt nachher.

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

                      @apollon77
                      Hab das debug log zum issue hinzugefügt, vielen Dank! 👏

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

                        Version 3.7.1 ist auf dem Weg ... sollte das Problem beheben. Bitte testen und berichten

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

                          @apollon77

                          mit 3.7.1 habe ich leider gleiches Verhalten, upload durchgeführt - leider keine Änderung.
                          Brauchst du wieder die logs?

                          apollon77 2 Replies Last reply Reply Quote 0
                          • apollon77
                            apollon77 @Latzi last edited by

                            @latzi Ja bitte. wundert mich

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

                              @latzi Bzw lösche mal die betroffnene Objekte (WICHTITG: NICHT ALLES!! Die "device" OBjekte müssen bleiben ... ist es danach weg?
                              Es kann sein das durch die 3.7.0 da ein null reingekommen ist als Min/max was jetzt nicht wieder automatisch entfernt wird. ... am Ende die relevanten tuya.0.XXXX.Y objekte löschen,. die tuya.0.XXXX müssen da bleiben sonst musst du neu mit Proxy syncen wenn Du pech hast

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

                                @apollon77
                                das funktioniert mit dem Löschen 👏
                                Nachteil: das ist richtig mühsam, da ich hunderte DP´s einzeln "killen" muss 😞

                                Latzi 1 Reply Last reply Reply Quote 0
                                • Latzi
                                  Latzi @Latzi last edited by

                                  @latzi sagte in Tuya 3.7.0 - warnings:

                                  das funktioniert mit dem Löschen

                                  @apollon77 leider doch nicht, Fehler kommt nach jedem Neustart wieder.

                                  Debug log stell ich beim git issue rein (zu groß hier)

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

                                    @latzi Und du bist sicher das du die Objekte gelöscht hattest und danach den Adapter neu gestartet hast? (nach dem löschen)?

                                    Zeig bitte mal von so einem Device Objekt das Raw JSON (Admin - Objekte - beim Device-Objekt auf den Stift und dort das ganze JSON des Objekts kopieren.

                                    Ich verstehe nicht warum max "null" ist ... dürfte nicht passierten

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

                                      @apollon77 sagte in Tuya 3.7.0 - warnings:

                                      Und du bist sicher das du die Objekte gelöscht hattest und danach den Adapter neu gestartet hast? (nach dem löschen)?

                                      Ja, zu 100%. Adapter gestoppt, Elemente gelöscht und danach Adapter gestartet.

                                      Das Logfile auf git entstand nach dem Löschen und neustarten.

                                      Hier das JSON eines betroffenen DP´s:

                                      {
                                        "type": "state",
                                        "common": {
                                          "type": "number",
                                          "unit": "W",
                                          "scale": 1,
                                          "min": 0,
                                          "max": null,
                                          "read": true,
                                          "write": false,
                                          "name": "cur_power",
                                          "role": "value"
                                        },
                                        "native": {},
                                        "from": "system.adapter.tuya.0",
                                        "user": "system.user.admin",
                                        "ts": 1666533217954,
                                        "_id": "tuya.0.050407552462ab347f5d.5",
                                        "acl": {
                                          "object": 1638,
                                          "state": 1638,
                                          "owner": "system.user.admin",
                                          "ownerGroup": "system.group.administrator"
                                        }
                                      }
                                      
                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @Latzi last edited by

                                        @latzi brauche bitte das json eines der device Objekte. Also Ebene über den echt betroffenen datenpunkten weil da die rohdaten drin sind von tuya

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

                                          @apollon77

                                          bitte sehr ...

                                          {
                                            "type": "device",
                                            "common": {
                                              "name": "Arbeitszimmer",
                                              "read": true
                                            },
                                            "native": {
                                              "virtual": false,
                                              "dpName": {},
                                              "lon": "14.6258",
                                              "uuid": "050407552462ab347f5d",
                                              "mac": "2462ab347f5d",
                                              "iconUrl": "https://images.tuyaeu.com/smart/icon/1541647698myzx2yx1yk_0.jpg",
                                              "runtimeEnv": "prod",
                                              "lat": "48.3334",
                                              "devId": "050407552462ab347f5d",
                                              "dpMaxTime": 1645344493511,
                                              "productId": "37mnhia3pojleqfh",
                                              "activeTime": 1607151814,
                                              "categoryCode": "wf_cz",
                                              "moduleMap": {
                                                "wifi": {
                                                  "upgradeStatus": 0,
                                                  "cdv": "1.0.0",
                                                  "bv": "5.42",
                                                  "pv": "2.2",
                                                  "verSw": "1.0.2",
                                                  "isOnline": true,
                                                  "id": 47645045,
                                                  "cadv": ""
                                                },
                                                "mcu": {
                                                  "upgradeStatus": 0,
                                                  "cdv": "",
                                                  "verSw": "1.0.2",
                                                  "isOnline": true,
                                                  "id": 47645046,
                                                  "cadv": ""
                                                }
                                              },
                                              "devAttribute": 3,
                                              "name": "Arbeitszimmer",
                                              "timezoneId": "Europe/Vienna",
                                              "category": "cz",
                                              "localKey": "8993fb1109c75a3b",
                                              "schema": [
                                                {
                                                  "mode": "rw",
                                                  "code": "switch_on",
                                                  "name": "开关",
                                                  "property": {
                                                    "type": "bool"
                                                  },
                                                  "iconname": "icon-dp_power3",
                                                  "id": 1,
                                                  "type": "obj",
                                                  "desc": ""
                                                },
                                                {
                                                  "mode": "rw",
                                                  "code": "countdown",
                                                  "name": "延迟",
                                                  "property": {
                                                    "unit": "秒",
                                                    "min": 0,
                                                    "max": 86400,
                                                    "scale": 0,
                                                    "step": 1,
                                                    "type": "value"
                                                  },
                                                  "id": 2,
                                                  "type": "obj",
                                                  "passive": true,
                                                  "desc": ""
                                                },
                                                {
                                                  "mode": "ro",
                                                  "code": "add_ele",
                                                  "name": "电量",
                                                  "property": {
                                                    "unit": "度",
                                                    "min": 0,
                                                    "max": 500000,
                                                    "scale": 3,
                                                    "step": 100,
                                                    "type": "value"
                                                  },
                                                  "id": 3,
                                                  "type": "obj",
                                                  "desc": "上报的为放大100倍之后的值,即上报56,实际值为0.56度"
                                                },
                                                {
                                                  "mode": "ro",
                                                  "code": "cur_current",
                                                  "name": "电流",
                                                  "property": {
                                                    "unit": "mA",
                                                    "min": 0,
                                                    "max": 30000,
                                                    "scale": 0,
                                                    "step": 1,
                                                    "type": "value"
                                                  },
                                                  "id": 4,
                                                  "type": "obj",
                                                  "desc": ""
                                                },
                                                {
                                                  "mode": "ro",
                                                  "code": "cur_power",
                                                  "name": "功率",
                                                  "property": {
                                                    "unit": "W",
                                                    "min": 0,
                                                    "max": 50000,
                                                    "scale": 0,
                                                    "step": 1,
                                                    "type": "value"
                                                  },
                                                  "id": 5,
                                                  "type": "obj",
                                                  "desc": ""
                                                },
                                                {
                                                  "mode": "ro",
                                                  "code": "cur_voltage",
                                                  "name": "电压",
                                                  "property": {
                                                    "unit": "V",
                                                    "min": 0,
                                                    "max": 2500,
                                                    "scale": 0,
                                                    "step": 1,
                                                    "type": "value"
                                                  },
                                                  "id": 6,
                                                  "type": "obj",
                                                  "desc": ""
                                                },
                                                {
                                                  "mode": "ro",
                                                  "code": "over_current_alarm",
                                                  "name": "过流预警",
                                                  "property": {
                                                    "type": "bool"
                                                  },
                                                  "id": 7,
                                                  "type": "obj",
                                                  "desc": "当电流处于16.3A和18A之间时,预警,20秒后关闭电源"
                                                }
                                              ],
                                              "productKey": "37mnhia3pojleqfh",
                                              "schemaExt": [
                                                {
                                                  "id": 1,
                                                  "inputStyle": "",
                                                  "inputType": " "
                                                },
                                                {
                                                  "id": 2,
                                                  "inputStyle": "",
                                                  "inputType": " "
                                                }
                                              ],
                                              "version": "3.3",
                                              "ip": "10.0.0.100",
                                              "gwId": "050407552462ab347f5d",
                                              "active": 2,
                                              "ability": 0,
                                              "mode": 0,
                                              "encrypt": true,
                                              "devKey": ""
                                            },
                                            "from": "system.adapter.tuya.0",
                                            "user": "system.user.admin",
                                            "ts": 1666533217951,
                                            "_id": "tuya.0.050407552462ab347f5d",
                                            "acl": {
                                              "object": 1638,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            }
                                          }
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            ooohje war der tricky 😉 3.7.2 is your friend. Danke das Objekt hat geholfen. Bald auf npm

                                            Latzi 1 Reply Last reply Reply Quote 1
                                            • 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.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            tuya
                                            4
                                            46
                                            1963
                                            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