Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Zigbee Adapter nach Stromausfall keine Verbindung (gelöst)

    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

    Zigbee Adapter nach Stromausfall keine Verbindung (gelöst)

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stefu87_CH @Thomas Braun last edited by

      @thomas-braun sagte in (gelöst) Zigbee Adapter nach Stromausfall keine Verbindung:

      root@Proxmox:~# ls -la /dev/serial/by-id/
      total 0
      drwxr-xr-x 2 root root 60 Jun 19 20:58 .
      drwxr-xr-x 4 root root 80 Jun 19 20:58 ..
      lrwxrwxrwx 1 root root 13 Jun 19 20:58 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00 -> ../../ttyACM0
      
      root@Proxmox:~# ls -la /dev/ttyACM0
      crw-rw---- 1 root dialout 166, 0 Jun 19 20:58 /dev/ttyACM0
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @stefu87_CH last edited by

        @stefu87_ch
        Die Rechte passen.

        sudo -H -u iobroker groups
        

        sagt?

        S 1 Reply Last reply Reply Quote 0
        • S
          stefu87_CH @Thomas Braun last edited by

          @thomas-braun Nehme mal an dies muss in der Iobroker Shell sein, wenn ja dann das:

          admin@Iobroker:~$ sudo -H -u iobroker groups
          iobroker tty dialout audio video plugdev
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @stefu87_CH last edited by Thomas Braun

            @stefu87_ch sagte in (gelöst) Zigbee Adapter nach Stromausfall keine Verbindung:

            Nehme mal an dies muss in der Iobroker Shell sein

            Die anderen Befehle auch.
            Das Gerät muss ja dorthin durchgereicht werden.

            S 1 Reply Last reply Reply Quote 0
            • S
              stefu87_CH @Thomas Braun last edited by

              @thomas-braun sagte in (gelöst) Zigbee Adapter nach Stromausfall keine Verbindung:

              @stefu87_ch sagte in (gelöst) Zigbee Adapter nach Stromausfall keine Verbindung:

              Nehme mal an dies muss in der Iobroker Shell sein

              Die anderen Befehle auch.
              Das Gerät muss ja dorthin durchgereicht werden.

              Ok dann siehst es anderst aus:

              admin@Iobroker:~$ ls -la /dev/serial/by-id/
              total 0
              drwxr-xr-x 2 root root 60 Jun 19 20:59 .
              drwxr-xr-x 3 root root 60 Jun 19 20:59 ..
              ---------- 1 root root  0 Jun 19 20:59 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00
              
              admin@Iobroker:~$ ls -la /dev/ttyACM0
              crw-rw---- 1 nobody nogroup 166, 0 Jun 19 20:58 /dev/ttyACM0
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @stefu87_CH last edited by Thomas Braun

                @stefu87_ch

                Dann ist das Gerät nicht richtig durchgereicht worden. Sonst hätte das nämlich Rechte und Gruppen verpasst bekommen. Bzw. halt andere/die richtigen.

                S 1 Reply Last reply Reply Quote 0
                • S
                  stefu87_CH @Thomas Braun last edited by

                  @thomas-braun Und wie kann man das anpassen?

                  In der Proxmox Shell trage ich unter:

                  nano /etc/udev/rules.d/50-myusb.rules
                  

                  diese Rechte ein:

                  SUBSYSTEMS=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="55d4", GROUP="users", MODE="0666"
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @stefu87_CH last edited by

                    @stefu87_ch sagte in (gelöst) Zigbee Adapter nach Stromausfall keine Verbindung:

                    Und wie kann man das anpassen?

                    Das steht bestimmt in der Anleitung drin:

                    https://www.iobroker.net/#de/documentation/install/proxmox.md

                    Da gibt es einen Punkt
                    Proxmox - LXC (Linux Containers) -> USB Geräte durchreichen

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      stefu87_CH @Thomas Braun last edited by stefu87_CH

                      @thomas-braun da steht genau das drin, was ich auch nach der Anleitung im Video gemacht habe. Und bei mir nimmt er irgendwas nicht mit.

                      6751ba8d-0b7b-4b12-ac46-505baa6b400c-grafik.png

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @stefu87_CH last edited by

                        @stefu87_ch

                        Dann muss dir einer der Proxmoxer weiterhelfen. Ich hab das nicht im Einsatz.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          stefu87_CH @Thomas Braun last edited by

                          @thomas-braun Ok. Aber danke trotzdem für deine Unterstützung.

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

                            @stefu87_ch da ich aktuell kein proxmox mehr habe, kann ich da nur verlinken, in der aktuellen Version ist das durchreichen direkt per Gui möglich
                            https://forum.iobroker.net/post/1169880

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              stefu87_CH @crunchip last edited by

                              @crunchip ist den das auch unter einer container möglich?

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                mrjeschke @stefu87_CH last edited by

                                @stefu87_ch
                                LXC-Container? Ja. (Seit Proxmox v8.2)

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  stefu87_CH @mrjeschke last edited by

                                  @mrjeschke was müsste ich den genau da eintragen?

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mrjeschke last edited by

                                    @stefu87_ch
                                    Bei Device Path trägst du das Gerät ein.
                                    In deinem Fall müsste das wohl

                                    /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00
                                    

                                    sein?
                                    Der Rest wie im Screenshot zu sehen ist,
                                    UID: 1001
                                    GID: 1001
                                    Access Mode: 0660

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      stefu87_CH @mrjeschke last edited by

                                      @mrjeschke
                                      Also ich erhalte beim Startversuch den Fehler:

                                      ()
                                      safe_mount: 1425 No such file or directory - Failed to mount "/dev/bus/usb/001/010" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/001/010"
                                      safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyUSB0" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyUSB0"
                                      safe_mount: 1425 Invalid argument - Failed to mount "usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00"
                                      run_buffer: 571 Script exited with status 17
                                      lxc_setup: 3948 Failed to run autodev hooks
                                      do_start: 1273 Failed to setup container "250"
                                      sync_wait: 34 An error occurred in another process (expected sequence number 4)
                                      __lxc_start: 2114 Failed to spawn container "250"
                                      TASK ERROR: startup for container '250' failed
                                      

                                      Muss ich da eventuell was auf ttyACM0 ändern?

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mrjeschke @stefu87_CH last edited by

                                        @stefu87_ch
                                        /dev/serial/by-id ist sie bessere Wahl.
                                        Da stehen vermutlich noch ein paar alte / falsche Einträge in der config vom Container.
                                        Auch die rule wird nicht mehr benötigt.

                                        S 2 Replies Last reply Reply Quote 0
                                        • S
                                          stefu87_CH @mrjeschke last edited by

                                          @mrjeschke ok dann werde ich heute Abend mal die eingetragenen Einträge entfernen und nochmals versuchen.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            stefu87_CH @mrjeschke last edited by

                                            @mrjeschke Habe jetzt mal versucht, in den beiden angepassten Conf Files zu löschen oder stehen zu lassen, bekomme aber immer diese Meldung:

                                            345d6ce1-66fa-4352-b2b9-fd9041e2e16c-grafik.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            864
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            148
                                            10829
                                            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