Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter zigbee2mqtt

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter zigbee2mqtt

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      biker1602 @crunchip last edited by biker1602

      @crunchip said in Test Adapter zigbee2mqtt:

      @biker1602 sagte in Test Adapter zigbee2mqtt:

      Woran kann das liegen?

      Hast du auch dies hinterlegt?

      availability: true
      

      Nachdem ich das in der Config des zigbeemqtt2 hinterlegt habe, wurden beide grün.
      Jetzt laufen auch beide parallel.

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

        Ich bin etwas sprachlos. Hast Du die IP-Adresse des SLZB-06 im Zigbee2mqtt Adapter eingetragen?

        Dann müsste der SLZB-06 ja selber eine Art zigbee2MQTT Server Emulation bieten...

        BananaJoe B 2 Replies Last reply Reply Quote 0
        • BananaJoe
          BananaJoe Most Active @MartinP last edited by BananaJoe

          @martinp sagte in Test Adapter zigbee2mqtt:

          Ich bin etwas sprachlos. Hast Du die IP-Adresse des SLZB-06 im Zigbee2mqtt Adapter eingetragen?

          Dann müsste der SLZB-06 ja selber eine Art zigbee2MQTT Server Emulation bieten...

          ok, ok, jetzt habe ich begriffen was du meinst. Im "zigbee-adapter" funktioniert das, im "zigbee2mqtt" Adapter dürfte das nicht gehen

          öhm, Seriell über TCP/IP ? Bei ähnlichen Geräten oder auch bei meinem ZigBee-LAN-Gateway (was ich allerdings mit dem zigbee-Adapter betreibe) gibt man statt des lokalen Gerätes (ist USB, stellt sich ja aber als serielles gerät dar) auch einfach die IP ein:
          b2b15cd0-b271-4f16-8d11-04e97d900e16-image.png
          Je nachdem wie "schlau" Zigbee2MQTT ist denkt der sich den Rest dazu. Aber einen genauen Screenshot davon wurde uns ja nicht gezeigt

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

            @martinp said in Test Adapter zigbee2mqtt:

            Ich bin etwas sprachlos. Hast Du die IP-Adresse des SLZB-06 im Zigbee2mqtt Adapter eingetragen?

            Dann müsste der SLZB-06 ja selber eine Art zigbee2MQTT Server Emulation bieten...

            Da war ich wohl etwas voreiöig und frohen Mutes aber es geht wirklich nur einer und bei der Gelegenheit habe ich jetzt mehr zerschossen als ich wollte.
            Ich hatte nach ein schlaflosen Nacht heute Morgen gedacht ich mache es nochmal nei auch die Installation von zigbeemqtt2 und lasse dann nur den laufen und den normalen Zigbee Adapter lasse ich dann weg und mache alles über Zigbee2mqtt. Ich glaube aber das ich mir den zerschossen habe da ich ihn nochmal neu unter installieren wollte und ich habe ihn versucht zu deinstallieren. Das ging aber richtig schief denn ich habe dann den kompletten Ordner von zigbee2mqtt in WinSCP gelöscht und gedacht das ich alles weg habe aber es ist irgenwo immer noch etwas versteckt und läßt mich jetzt zum verzweifeln bringen da ich es nicht mehr richtig nur mit Fehlermeldungen installieren kann. Hat jemand einen Plan wie ich das mit Putty alles löschen kann?

            Asgothian MartinP 2 Replies Last reply Reply Quote 0
            • Asgothian
              Asgothian Developer @biker1602 last edited by

              @biker1602 sagte in Test Adapter zigbee2mqtt:

              Hat jemand einen Plan wie ich das mit Putty alles löschen kann?

              Ich hab da keinen. Aber du solltest ggf. mal

              • posten was Du an Fehlermeldungen bekommst
              • Beim Zigbee2mqtt.io Projekt nachschauen - die haben eigentlich gute Doku zu solchen Fällen.

              A.

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

                @asgothian
                986a06cf-4c89-4834-a9da-a2d9bb7f016a-grafik.png

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

                  @biker1602

                  1. Ausgaben aus der Konsole in Code-Tags </> posten und nicht als Bild. Schon gar nicht mit diesen Farben, das führt ja zu spontaner Netzhautablösung.
                  2. Deine lokalen IP's brauchst Du nicht zu schwärzen. Die sehen bei allen gleich oder ähnlich aus.
                  B 1 Reply Last reply Reply Quote 0
                  • B
                    biker1602 @Codierknecht last edited by

                    @codierknecht
                    Tut mir Leid

                    /opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:183
                      return new YAMLException(message, mark);
                             ^
                    YAMLException: duplicated mapping key (20:1)
                    
                     17 | # Serial settings
                     18 | serial:
                     19 | # Achtung: Wenn Sie das Z2M-Add ...
                     20 | serial:
                    ------^
                     21 | # Location of SLZB-06
                     22 |   port: tcp://192.168.57.90:6638
                        at generateError (/opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:183:10)
                        at throwError (/opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:187:9)
                        at storeMappingPair (/opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:358:7)
                        at readBlockMapping (/opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:1173:9)
                        at composeNode (/opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:1441:12)
                        at readDocument (/opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:1625:3)
                        at loadDocuments (/opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:1688:5)
                        at Object.load (/opt/zigbee2mqtt/node_modules/js-yaml/lib/loader.js:1714:19)
                        at Object.read (/opt/zigbee2mqtt/lib/util/yaml.ts:7:29)
                        at read (/opt/zigbee2mqtt/lib/util/settings.ts:3
                    
                    1 Reply Last reply Reply Quote 0
                    • Asgothian
                      Asgothian Developer @biker1602 last edited by

                      @biker1602 Der Schnipsel bringt nix. Der ist

                      • unvollständig
                      • unnötig geschwärzt - auf dein internes Netz hab ich sowieso keinen Zugriff

                      Bitte als Text, nicht als Screenshot, und bitte auch vollständig, nicht abgehackt.

                      Nebenbei gehe ich davon aus das es Inkonsistenzen bei npm gibt, sprich npm glaubt bestimmte Pakete sind vorhanden, während du sie durch das Löschen des Verzeichnisses beseitigt hast.

                      poste doch mal die Ausgaben von npm audit wenn du das unter /opt/zigbee2mqtt.io ausführst.

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

                        @biker1602 Du solltest erstmal genauer beschreiben, wie Du den bisherigen USB-Koordinator mit ioBroker verbunden hast.

                        Der Einsatz des zigbee2mqtt Adapters legt ja nahe, dass der USB-Koordinator über einen zigbee2MQTT Server eingebunden ist...

                        Jedenfalls ist DAS der Verwendungszweck des zigbee2mqtt Adapters.

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

                          @asgothian

                          biker1602@iobroker:~$ /opt/zigbee2mqtt.io
                          -bash: /opt/zigbee2mqtt.io: No such file or directory
                          biker1602@iobroker:~$ npm audit
                          # npm audit report
                          
                          axios  1.0.0 - 1.5.1
                          Severity: moderate
                          Axios Cross-Site Request Forgery Vulnerability - https://github.com/advisories/GHSA-wf5p-g6vw-rhxx
                          fix available via `npm audit fix`
                          node_modules/axios
                          
                          braces  <3.0.3
                          Severity: high
                          Uncontrolled resource consumption in braces - https://github.com/advisories/GHSA-grv7-fg5c-xmjg
                          fix available via `npm audit fix`
                          node_modules/braces
                          
                          follow-redirects  <=1.15.5
                          Severity: moderate
                          Follow Redirects improperly handles URLs in the url.parse() function - https://github.com/advisories/GHSA-jchw-25xp-jwwc
                          follow-redirects' Proxy-Authorization header kept across hosts - https://github.com/advisories/GHSA-cxjh-pqwp-8mfp
                          fix available via `npm audit fix`
                          node_modules/follow-redirects
                          
                          ip  *
                          Severity: high
                          ip SSRF improper categorization in isPublic - https://github.com/advisories/GHSA-2p57-rm9w-gvfp
                          NPM IP package incorrectly identifies some private IP addresses as public - https://github.com/advisories/GHSA-78xj-cgh5-2h22
                          fix available via `npm audit fix --force`
                          Will install iobroker.ring@1.2.8, which is a breaking change
                          node_modules/ip
                            werift  *
                            Depends on vulnerable versions of ip
                            node_modules/werift
                              ring-client-api  >=11.0.1
                              Depends on vulnerable versions of werift
                              node_modules/ring-client-api
                                iobroker.ring  >=2.0.0-beta.0
                                Depends on vulnerable versions of ring-client-api
                                node_modules/iobroker.ring
                          
                          semver  6.0.0 - 6.3.0
                          Severity: moderate
                          semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
                          fix available via `npm audit fix`
                          node_modules/semver
                          
                          tar  <6.2.1
                          Severity: moderate
                          Denial of service while parsing a tar file due to lack of folders count validation - https://github.com/advisories/GHSA-f5x3-32g6-xq36
                          fix available via `npm audit fix`
                          node_modules/tar
                          
                          ws  7.0.0 - 7.5.9 || 8.0.0 - 8.17.0
                          Severity: high
                          ws affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q
                          ws affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q
                          fix available via `npm audit fix`
                          node_modules/engine.io-client/node_modules/ws
                          node_modules/ws
                            engine.io-client  0.7.0 || 0.7.8 - 0.7.9 || 3.5.0 - 3.5.3 || 4.0.0-alpha.0 - 5.2.0
                            Depends on vulnerable versions of ws
                            node_modules/engine.io-client
                          
                          11 vulnerabilities (4 moderate, 7 high)
                          
                          To address issues that do not require attention, run:
                            npm audit fix
                          
                          To address all issues (including breaking changes), run:
                            npm audit fix --force
                          biker1602@iobroker:~$ /opt/zigbee2mqtt
                          -bash: /opt/zigbee2mqtt: Is a directory
                          biker1602@iobroker:~$ npm audit
                          # npm audit report
                          
                          axios  1.0.0 - 1.5.1
                          Severity: moderate
                          Axios Cross-Site Request Forgery Vulnerability - https://github.com/advisories/GHSA-wf5p-g6vw-rhxx
                          fix available via `npm audit fix`
                          node_modules/axios
                          
                          braces  <3.0.3
                          Severity: high
                          Uncontrolled resource consumption in braces - https://github.com/advisories/GHSA-grv7-fg5c-xmjg
                          fix available via `npm audit fix`
                          node_modules/braces
                          
                          follow-redirects  <=1.15.5
                          Severity: moderate
                          Follow Redirects improperly handles URLs in the url.parse() function - https://github.com/advisories/GHSA-jchw-25xp-jwwc
                          follow-redirects' Proxy-Authorization header kept across hosts - https://github.com/advisories/GHSA-cxjh-pqwp-8mfp
                          fix available via `npm audit fix`
                          node_modules/follow-redirects
                          
                          ip  *
                          Severity: high
                          ip SSRF improper categorization in isPublic - https://github.com/advisories/GHSA-2p57-rm9w-gvfp
                          NPM IP package incorrectly identifies some private IP addresses as public - https://github.com/advisories/GHSA-78xj-cgh5-2h22
                          fix available via `npm audit fix --force`
                          Will install iobroker.ring@1.2.8, which is a breaking change
                          node_modules/ip
                            werift  *
                            Depends on vulnerable versions of ip
                            node_modules/werift
                              ring-client-api  >=11.0.1
                              Depends on vulnerable versions of werift
                              node_modules/ring-client-api
                                iobroker.ring  >=2.0.0-beta.0
                                Depends on vulnerable versions of ring-client-api
                                node_modules/iobroker.ring
                          
                          semver  6.0.0 - 6.3.0
                          Severity: moderate
                          semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
                          fix available via `npm audit fix`
                          node_modules/semver
                          
                          tar  <6.2.1
                          Severity: moderate
                          Denial of service while parsing a tar file due to lack of folders count validation - https://github.com/advisories/GHSA-f5x3-32g6-xq36
                          fix available via `npm audit fix`
                          node_modules/tar
                          
                          ws  7.0.0 - 7.5.9 || 8.0.0 - 8.17.0
                          Severity: high
                          ws affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q
                          ws affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q
                          fix available via `npm audit fix`
                          node_modules/engine.io-client/node_modules/ws
                          node_modules/ws
                            engine.io-client  0.7.0 || 0.7.8 - 0.7.9 || 3.5.0 - 3.5.3 || 4.0.0-alpha.0 - 5.2.0
                            Depends on vulnerable versions of ws
                            node_modules/engine.io-client
                          
                          11 vulnerabilities (4 moderate, 7 high)
                          
                          To address issues that do not require attention, run:
                            npm audit fix
                          
                          To address all issues (including breaking changes), run:
                            npm audit fix --force
                          biker1602@iobroker:~$
                          
                          
                          iker1602@iobroker:~$ cd /opt/zigbee2mqtt
                          biker1602@iobroker:/opt/zigbee2mqtt$ npm audit
                          found 0 vulnerabilities
                          biker1602@iobroker:/opt/zigbee2mqtt$ npm audit
                          found 0 vulnerabilities
                          biker1602@iobroker:/opt/zigbee2mqtt$
                          
                          
                          

                          Irgendwie findet er da nichts oder?

                          MartinP 1 Reply Last reply Reply Quote 0
                          • MartinP
                            MartinP @biker1602 last edited by

                            @biker1602 Okay, also arbeitest Du mit einer dem zigbee2mqtt Adapter vorgeschalteten zigbee2MQTT Server - Instanz...

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

                              @martinp said in Test Adapter zigbee2mqtt:

                              @biker1602 Du solltest erstmal genauer beschreiben, wie Du den bisherigen USB-Koordinator mit ioBroker verbunden hast.

                              Der Einsatz des zigbee2mqtt Adapters legt ja nahe, dass der USB-Koordinator über einen zigbee2MQTT Server eingebunden ist...

                              Jedenfalls ist DAS der Verwendungszweck des zigbee2mqtt Adapters.

                              Der USB Koordinator wird durgeschliffen bei Proxmox und wird nur für den normalen Zigbee Adapter genutzt.

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

                                @martinp said in Test Adapter zigbee2mqtt:

                                @biker1602 Okay, also arbeitest Du mit einer dem zigbee2mqtt Adapter vorgeschalteten zigbee2MQTT Server - Instanz...

                                Ich weiß schon garnichts mehr. Den SLZB-06 habe ich erst kurz. Mein Plan war Zigbee2mqtt zu nutzen und den anderen (sonoff) und den Zigbee Adapter zu deaktivieren.
                                Ich bekommen zigbee2mqtt aber nicht deinstalliert um alles nochmal neu zu machen.

                                Wenn ich den Status abfrage kommt folgende Meldung

                                biker1602@iobroker:~$ systemctl status zigbee2mqtt.service
                                ● zigbee2mqtt.service - zigbee2mqtt
                                     Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
                                     Active: activating (auto-restart) (Result: exit-code) since Thu 2024-07-11 11:00:35 CEST; 2s ago
                                    Process: 72010 ExecStart=/usr/bin/node index.js (code=exited, status=1/FAILURE)
                                   Main PID: 72010 (code=exited, status=1/FAILURE)
                                        CPU: 562ms
                                
                                
                                Asgothian 1Topf 2 Replies Last reply Reply Quote 0
                                • Asgothian
                                  Asgothian Developer @biker1602 last edited by Asgothian

                                  @biker1602 Ich denke damit kommt das hier zum Tragen:

                                  @asgothian sagte in Test Adapter zigbee2mqtt:

                                  Beim Zigbee2mqtt.io Projekt nachschauen - die haben eigentlich gute Doku zu solchen Fällen.

                                  Nachtrag: wenn Du dir den Text der Fehlermeldung genau anschaust, dann beschwert er sich darüber das im YAML das Schlüsselwort "serial:" doppelt vorkommt. Das kommt von Deiner Anpassung als du den TCP Port eingetragen hast. berichtige das mal, dann sollte der laufen.

                                  A.

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    biker1602 last edited by biker1602

                                    @asgothian
                                    Ich habe probiert und versucht. Jetzt habe ich ihn im ioBroker drin kann ihn auch aufrufen.

                                    1fe35236-8081-45e6-8167-ada994244f69-grafik.png

                                    Im Protokoll sind aber Fehlermeldungen

                                    2024-07-11 16:16:04.346 - warn: zigbee2mqtt.0 (89552) Start try again in 1 seconds...
                                    2024-07-11 16:16:09.744 - error: zigbee2mqtt.0 (89588) ===================================================
                                    2024-07-11 16:16:09.747 - error: zigbee2mqtt.0 (89588) ===================================================
                                    2024-07-11 16:16:09.747 - error: zigbee2mqtt.0 (89588) Legacy api is activated, so the adapter can not work correctly!!!
                                    2024-07-11 16:16:09.747 - error: zigbee2mqtt.0 (89588) Please add the following lines to your Zigbee2MQTT configuration.yaml:
                                    2024-07-11 16:16:09.747 - error: zigbee2mqtt.0 (89588) advanced:
                                    2024-07-11 16:16:09.747 - error: zigbee2mqtt.0 (89588) legacy_api: false
                                    2024-07-11 16:16:09.748 - error: zigbee2mqtt.0 (89588)
                                    2024-07-11 16:16:09.748 - error: zigbee2mqtt.0 (89588) Legacy Availability Payload is activated, thus the adapter cannot represent the availability of the devices!!!
                                    2024-07-11 16:16:09.748 - error: zigbee2mqtt.0 (89588) Please add the following lines to your Zigbee2MQTT configuration.yaml:
                                    2024-07-11 16:16:09.748 - error: zigbee2mqtt.0 (89588) advanced:
                                    2024-07-11 16:16:09.748 - error: zigbee2mqtt.0 (89588) legacy_availability_payload: false
                                    2024-07-11 16:16:09.748 - error: zigbee2mqtt.0 (89588)
                                    2024-07-11 16:16:09.749 - error: zigbee2mqtt.0 (89588) Device Legacy Payload is activated, therefore the adapter may process the states of the devices correctly!!!
                                    2024-07-11 16:16:09.749 - error: zigbee2mqtt.0 (89588) Please add the following lines to your Zigbee2MQTT configuration.yaml:
                                    2024-07-11 16:16:09.749 - error: zigbee2mqtt.0 (89588) device_options:
                                    2024-07-11 16:16:09.749 - error: zigbee2mqtt.0 (89588) legacy: false
                                    2024-07-11 16:16:09.749 - error: zigbee2mqtt.0 (89588) ===================================================
                                    2024-07-11 16:16:09.749 - error: zigbee2mqtt.0 (89588) ===================================================
                                    

                                    und der Adapter wird nicht grün

                                    675f8487-09f6-4db0-a5c5-2d3e7dc40abd-grafik.png

                                    Asgothian crunchip 2 Replies Last reply Reply Quote 0
                                    • Asgothian
                                      Asgothian Developer @biker1602 last edited by

                                      @biker1602 Hast du den getan wozu dich das Log auffordert ?

                                      B 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @biker1602 last edited by

                                        @biker1602 sagte in Test Adapter zigbee2mqtt:

                                        configuration.yaml

                                        Wie sieht die denn im Ganzen aus?

                                        B 2 Replies Last reply Reply Quote 0
                                        • B
                                          biker1602 @Asgothian last edited by

                                          @asgothian said in Test Adapter zigbee2mqtt:

                                          @biker1602 Hast du den getan wozu dich das Log auffordert ?

                                          Soll ich das in der Configuration eintragen?
                                          legacy_api: false
                                          legacy_availability_payload: false

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

                                            @crunchip said in Test Adapter zigbee2mqtt:

                                            @biker1602 sagte in Test Adapter zigbee2mqtt:

                                            configuration.yaml

                                            Wie sieht die denn im Ganzen aus?

                                            Das ist Protokoll im iobroker da ist nicht mehr.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            765
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            zigbee zigbee 3.0 zigbee2mqtt
                                            50
                                            520
                                            89050
                                            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