Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Tester wanted - Zigbee Adapter 3.1

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Tester wanted - Zigbee Adapter 3.1

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Flugschüler @Asgothian last edited by

      @asgothian Super gemacht. Wird das Gerät in den neuen Zigbee Adapter integriert? Soll ich den Adapter jetzt über git installiert lassen?

      Asgothian Thomas Braun 2 Replies Last reply Reply Quote 0
      • Asgothian
        Asgothian Developer @Flugschüler last edited by

        @flugschüler sobald die ganzen Nebeneffekte geklärt sind geht das erst ins latest, dann ins stable.

        D 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Flugschüler last edited by

          @flugschüler sagte in Tester wanted - Zigbee Adapter 3.1:

          Soll ich den Adapter jetzt über git installiert lassen?

          Ja. Wenn irgendwann über dein bevorzugtes Repository eine Version größer als die jetzige angeboten wird kommt die dann über deine regelmäßige Systempflege auf die Kiste.

          F 1 Reply Last reply Reply Quote 0
          • F
            Flugschüler @Thomas Braun last edited by

            @thomas-braun Ihr seid die besten👍

            1 Reply Last reply Reply Quote 0
            • D
              dimaiv @Asgothian last edited by dimaiv

              @asgothian sagte in Tester wanted - Zigbee Adapter 3.1:

              @dimaiv kannst du folgendes machen:

              • die aktuelle Github version installieren
              • nach dem Start eine ts0121 plug auf debug setzen
              • ein Device Query machen
              • Dann das Debug interface öffnen
                Screenshot 2025-09-20 at 14.31.24.png
              • mit dem button 1 aus dem Screenshot die Daten aktualisieren
              • in jeder Zeile bei incoming messages mit dem blauen Button 2 die Meldungen öffnen
              • aus dem Dialog heraus kopieren und hier Posten ?

              Danke.

              A.

              Screenshot (315).png

              
              I01: Zigbee Event of Type readResponse from device 0x60a423fffe61dd4a, incoming event: {"type":"readResponse","data":{"tuyaBacklightMode":1},"linkquality":87,"groupID":0,"cluster":"genOnOff","meta":{"rawData":{"type":"Buffer","data":[24,8,1,1,128,0,48,1]},"zclTransactionSequenceNumber":8,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0}},"endpoint_id":1}
              I02: 3 converters available for 'TS0121_plug' '60a423fffe61dd4a' with cluster 'genOnOff' and type 'readResponse'
              I03: message received '{"linkquality":87}' from device 60a423fffe61dd4a type 'TS0121_plug'
              I04: value generated '87' from device 60a423fffe61dd4a for 'Link quality'
              I02.1a: converter 1 : Cluster genOnOff
              I02.0b: data: {"tuyaBacklightMode":1} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:undefined
              I02.2a: converter 2 : Cluster genOnOff
              I02.1b: data: {"tuyaBacklightMode":1} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:undefined
              I02.3a: converter 3 : Cluster genOnOff
              I02.2b: data: {"tuyaBacklightMode":1} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:{"indicator_mode":"off/on"}
              I02.3c: candidates: [{},{},{"indicator_mode":"off/on"}] => payload {"indicator_mode":"off/on"}
              I03-1: message received '{"indicator_mode":"off/on"}' from device 60a423fffe61dd4a type 'TS0121_plug'
              I04-1: value generated '"off/on"' from device 60a423fffe61dd4a for 'LED indicator mode'
              
              
              
              I01: Zigbee Event of Type readResponse from device 0x60a423fffe61dd4a, incoming event: {"type":"readResponse","data":{"moesStartUpOnOff":0},"linkquality":87,"groupID":0,"cluster":"genOnOff","meta":{"rawData":{"type":"Buffer","data":[24,7,1,2,128,0,48,0]},"zclTransactionSequenceNumber":7,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0}},"endpoint_id":1}
              I02: 3 converters available for 'TS0121_plug' '60a423fffe61dd4a' with cluster 'genOnOff' and type 'readResponse'
              I03: message received '{"linkquality":87}' from device 60a423fffe61dd4a type 'TS0121_plug'
              I04: value generated '87' from device 60a423fffe61dd4a for 'Link quality'
              I02.1a: converter 1 : Cluster genOnOff
              I02.0b: data: {"moesStartUpOnOff":0} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:undefined
              I02.2a: converter 2 : Cluster genOnOff
              I02.1b: data: {"moesStartUpOnOff":0} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:{"power_outage_memory":"off"}
              I02.3a: converter 3 : Cluster genOnOff
              I02.2b: data: {"moesStartUpOnOff":0} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:undefined
              I02.3c: candidates: [{},{"power_outage_memory":"off"},{}] => payload {"power_outage_memory":"off"}
              I03-1: message received '{"power_outage_memory":"off"}' from device 60a423fffe61dd4a type 'TS0121_plug'
              I04-1: value generated '"off"' from device 60a423fffe61dd4a for 'Recover state after power outage'
              
              
              
              I01: Zigbee Event of Type readResponse from device 0x60a423fffe61dd4a, incoming event: {"type":"readResponse","data":{"onOff":0},"linkquality":87,"groupID":0,"cluster":"genOnOff","meta":{"rawData":{"type":"Buffer","data":[24,6,1,0,0,0,16,0]},"zclTransactionSequenceNumber":6,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0}},"endpoint_id":1}
              I02: 3 converters available for 'TS0121_plug' '60a423fffe61dd4a' with cluster 'genOnOff' and type 'readResponse'
              I03: message received '{"linkquality":87}' from device 60a423fffe61dd4a type 'TS0121_plug'
              I04: value generated '87' from device 60a423fffe61dd4a for 'Link quality'
              I02.1a: converter 1 : Cluster genOnOff
              I02.0b: data: {"onOff":0} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:{"state":"OFF"}
              I02.2a: converter 2 : Cluster genOnOff
              I02.1b: data: {"onOff":0} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:undefined
              I02.3a: converter 3 : Cluster genOnOff
              I02.2b: data: {"onOff":0} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:undefined
              I02.3c: candidates: [{"state":"OFF"},{},{}] => payload {"state":"OFF"}
              I03-1: message received '{"state":"OFF"}' from device 60a423fffe61dd4a type 'TS0121_plug'
              I04-1: value generated 'false' from device 60a423fffe61dd4a for 'On/off state of the switch'
              
              

              P.S.: ich glaube, die weiteren Daten bei diesen Steckdosen wurden immer gepoolt, und jetzt passiert es nicht.

              Asgothian 1 Reply Last reply Reply Quote 0
              • D
                dimaiv @Asgothian last edited by dimaiv

                @asgothian
                Was mir noch aufgefallen:

                Mit 3.1.2 kann ich über:

                sendToZigbee { "id": "zigbee.0.842e14fffedb8ae5", "ep": "1", "cid": "haElectricalMeasurement", "cmd": "read", "cmdType": "foundation", "zclData": { "activePower": {} } }

                Die weiteren Daten abrufen.

                Mit 3.1.3 von jetzt funktioniert es nicht.

                Screenshot (316).png

                Screenshot (317).png

                Das sind 2 absolut gleiche Steckdosen, unterschiedliche Installationen.

                1 Reply Last reply Reply Quote 0
                • Asgothian
                  Asgothian Developer @dimaiv last edited by

                  @dimaiv sagte in Tester wanted - Zigbee Adapter 3.1:

                  P.S.: ich glaube, die weiteren Daten bei diesen Steckdosen wurden immer gepoolt, und jetzt passiert es nicht.

                  Sind die Meldungen nach einem Device_query, oder kommen die normal so ?

                  @dimaiv sagte in Tester wanted - Zigbee Adapter 3.1:

                  Was mir noch aufgefallen:
                  Mit 3.1.2 kann ich über:
                  sendToZigbee { "id": "zigbee.0.842e14fffedb8ae5", "ep": "1", "cid": "haElectricalMeasurement", "cmd": "read", "cmdType": "foundation", "zclData": { "activePower": {} } }
                  Die weiteren Daten abrufen.
                  Mit 3.1.3 von jetzt funktioniert es nicht.

                  Danke für den Hinweis - ich hab im Hintergrund einiges Optimiert.

                  A.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dimaiv @Asgothian last edited by

                    @asgothian sagte in Tester wanted - Zigbee Adapter 3.1:

                    Sind die Meldungen nach einem Device_query, oder kommen die normal so ?

                    A.

                    Die Meldungen sind nach einem Device_query, aber auch normal kommen nur die.

                    Asgothian 1 Reply Last reply Reply Quote 0
                    • Asgothian
                      Asgothian Developer @dimaiv last edited by

                      @dimaiv Ok, danke. Da scheint ein Konverter geändert - da muss ich im Detail graben, und Dir eine extra version machen. Wird aber etwas dauern.

                      A.

                      Asgothian 1 Reply Last reply Reply Quote 1
                      • Asgothian
                        Asgothian Developer @Asgothian last edited by Asgothian

                        @asgothian Zumindest der Developer Tab sollte jetzt wieder funktionieren.

                        Kannst du versuchen was passiert wenn du damit versuchst die Daten abzurufen ? Ob dann eine Meldung rein kommt ?

                        Interessant ist was genau an Antwort auf den Read Request rein kommt, wenn überhaupt etwas.

                        A.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dimaiv @Asgothian last edited by dimaiv

                          @asgothian sagte in Tester wanted - Zigbee Adapter 3.1:

                          @asgothian Zumindest der Developer Tab sollte jetzt wieder funktionieren.

                          Kannst du versuchen was passiert wenn du damit versuchst die Daten abzurufen ? Ob dann eine Meldung rein kommt ?

                          Interessant ist was genau an Antwort auf den Read Request rein kommt, wenn überhaupt etwas.

                          A.

                          Über Entwikler Tab funktioniert jetzt:

                          
                          I01: Zigbee Event of Type readResponse from device 0x60a423fffe61dd4a, incoming event: {"type":"readResponse","data":{"activePower":0},"linkquality":51,"groupID":0,"cluster":"haElectricalMeasurement","meta":{"rawData":{"type":"Buffer","data":[24,8,1,11,5,0,41,0,0]},"zclTransactionSequenceNumber":8,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0}},"endpoint_id":1}
                          I02: 1 converter available for 'TS0121_plug' '60a423fffe61dd4a' with cluster 'haElectricalMeasurement' and type 'readResponse'
                          I03: message received '{"linkquality":51}' from device 60a423fffe61dd4a type 'TS0121_plug'
                          I04: value generated '51' from device 60a423fffe61dd4a for 'Link quality'
                          I02.1a: converter 1 : Cluster haElectricalMeasurement
                          I02.0b: data: {"activePower":0} options: {} meta:{"deviceIEEE":"0x60a423fffe61dd4a","logger":"StatesController","state":{"state":""}} result:{"power":0}
                          I02.1c: candidates: [{"power":0}] => payload {"power":0}
                          I03-1: message received '{"power":0}' from device 60a423fffe61dd4a type 'TS0121_plug'
                          I04-1: value generated '0' from device 60a423fffe61dd4a for 'Load power'
                          
                          

                          Uber die Scripte stürzt aber der Adapter ab mit folgender Meldung:

                          2025-09-21 21:40:50.830 - info: javascript.0 (942) script.js.Plug_abfragen: start JavaScript (Blockly)
                          2025-09-21 21:40:50.842 - info: javascript.0 (942) script.js.Plug_abfragen: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                          2025-09-21 21:40:55.849 - error: zigbee.0 (282446) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                          2025-09-21 21:40:55.851 - error: zigbee.0 (282446) unhandled promise rejection: Cannot read properties of undefined (reading 'replace')
                          2025-09-21 21:40:56.167 - error: zigbee.0 (282446) TypeError: Cannot read properties of undefined (reading 'replace')
                          at Developer.sendToZigbee (/opt/iobroker/node_modules/iobroker.zigbee/lib/developer.js:90:45)
                          at Developer.onMessage (/opt/iobroker/node_modules/iobroker.zigbee/lib/developer.js:49:26)
                          at Zigbee.emit (node:events:536:35)
                          at Zigbee.emit (node:domain:489:12)
                          at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11040:34)
                          at Immediate. (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:365:37)
                          at processImmediate (node:internal/timers:483:21)
                          2025-09-21 21:40:56.168 - error: zigbee.0 (282446) Cannot read properties of undefined (reading 'replace')
                          2025-09-21 21:40:56.193 - info: zigbee.0 (282446) Halting zigbee adapter. Restart delay is at least 30 seconds.
                          2025-09-21 21:40:56.193 - info: zigbee.0 (282446) cleaning everything up...
                          2025-09-21 21:40:56.196 - info: zigbee.0 (282446) Saved local configuration data
                          2025-09-21 21:40:56.227 - warn: zigbee.0 (282446) ELEVATED:I03 (2e22) message received '{"available":false}' from device 60a423fffe61dd4a type 'TS0121_plug'
                          2025-09-21 21:40:56.228 - warn: zigbee.0 (282446) ELEVATED:I04 (2e22) value generated 'false' from device 60a423fffe61dd4a for 'Available'
                          2025-09-21 21:40:56.229 - warn: zigbee.0 (282446) ELEVATED:I03 (2e22) message received '{"linkquality":0}' from device 60a423fffe61dd4a type 'TS0121_plug'
                          2025-09-21 21:40:56.230 - warn: zigbee.0 (282446) ELEVATED:I04 (2e22) value generated '0' from device 60a423fffe61dd4a for 'Link quality'
                          2025-09-21 21:40:56.586 - info: zigbee.0 (282446) Closing Zigbee network, 0 seconds remaining
                          2025-09-21 21:40:57.195 - warn: zigbee.0 (282446) Terminated (UNCAUGHT_EXCEPTION): Without reason
                          2025-09-21 21:40:57.783 - error: host.GartenIoB Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                          2025-09-21 21:40:57.784 - error: host.GartenIoB Caught by controller[2]: TypeError: Cannot read properties of undefined (reading 'replace')
                          2025-09-21 21:40:57.784 - error: host.GartenIoB Caught by controller[2]: at Developer.sendToZigbee (/opt/iobroker/node_modules/iobroker.zigbee/lib/developer.js:90:45)
                          2025-09-21 21:40:57.784 - error: host.GartenIoB Caught by controller[2]: at Developer.onMessage (/opt/iobroker/node_modules/iobroker.zigbee/lib/developer.js:49:26)
                          2025-09-21 21:40:57.784 - error: host.GartenIoB Caught by controller[2]: at Zigbee.emit (node:events:536:35)
                          2025-09-21 21:40:57.785 - error: host.GartenIoB Caught by controller[2]: at Zigbee.emit (node:domain:489:12)
                          2025-09-21 21:40:57.785 - error: host.GartenIoB Caught by controller[2]: at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11040:34)
                          2025-09-21 21:40:57.785 - error: host.GartenIoB Caught by controller[2]: at Immediate. (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:365:37)
                          2025-09-21 21:40:57.785 - error: host.GartenIoB Caught by controller[2]: at processImmediate (node:internal/timers:483:21)
                          2025-09-21 21:40:57.785 - error: host.GartenIoB instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                          2025-09-21 21:40:57.785 - info: host.GartenIoB Restart adapter system.adapter.zigbee.0 because enabled
                          2025-09-21 21:41:01.905 - info: javascript.0 (942) script.js.Plug_abfragen: Stopping script
                          
                          

                          Blockly=>JS:

                          var Intervall;
                          
                          // Beschreibe diese Funktion …
                          async function Power() {
                            sendTo('zigbee.0', 'sendToZigbee', {
                              'parameter': { "id": "zigbee.0.60a423fffe61dd4a", "ep": "1", "cid": "haElectricalMeasurement", "cmd": "read", "cmdType": "foundation", "zclData": { "activePower": {} } },
                            });
                          }
                          
                          
                          Intervall = setInterval(async () => {
                            await Power();
                          }, 5000);
                          

                          Mit 3.1.2 funktionieren beide Variante.

                          1 Reply Last reply Reply Quote 0
                          • Asgothian
                            Asgothian Developer last edited by

                            @dimaiv Danke fürs Testen - ich schau mir das morgen an

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            982
                            Online

                            32.1k
                            Users

                            80.7k
                            Topics

                            1.3m
                            Posts

                            tester zhc zigbee zigbee 3.1
                            12
                            156
                            3736
                            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