Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?

    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.

    [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @Keksmonster last edited by

      @keksmonster sagte in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

      Da ist der Zigbeestick, ist ein sonoff.

      Sorry, dann bin ich zu Dumm, denn das ist für mich ein COM Port Driver

      VCP Drivers Features and Benefits
      
      The CP210x USB to UART Bridge Virtual COM Port (VCP) drivers are required for device operation as a Virtual COM Port to facilitate host communication with CP210x products. These devices can also interface to a host using the direct access driver.
      

      Was kommt, wenn Du, das auf dem PVE Proxmox ausführst, nicht im LXC Container

      ls -la /dev/serial/by-id/
      

      VG
      Bernd

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

        @dp20eic sagte in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

        Sorry, dann bin ich zu Dumm, denn das ist für mich ein COM Port Driver

        Das ist richtig, bei vielen Zigbee-USB-Sticks wird die verlötete UART-Bridge als Interface gemeldet.

        Keksmonster 1 Reply Last reply Reply Quote 1
        • Keksmonster
          Keksmonster @Thomas Braun last edited by

          @thomas-braun
          Mir kam das ja auch etwas komisch vor, aber ich sollte mich ja auch an die Anleitung halten und da das das einzige Gerät war, was dazugekommen ist, konnte das nur der Zigbee Stick sein.

          Ist das Gerät hier:
          https://sonoff.tech/product/gateway-and-sensors/sonoff-zigbee-3-0-usb-dongle-plus-p/

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

            @keksmonster

            Auf der Seite ist es sogar erwähnt:

            b4a9a651-55b9-4b6a-aaba-56ac4c538dbb-image.png

            ? 1 Reply Last reply Reply Quote 1
            • ?
              A Former User @Thomas Braun last edited by

              @thomas-braun sagte in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

              Auf der Seite ist es sogar erwähnt:

              Moin,

              sag ich ja, ich bin dumm.

              Nur was sagt

              ls -la /dev/serial/by-id/
              

              unter Proxmox, nicht im LXC Container?

              VG
              Bernd

              Keksmonster 1 Reply Last reply Reply Quote 0
              • Keksmonster
                Keksmonster @Guest last edited by

                @dp20eic said in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

                ls -la /dev/serial/by-id/

                root@pve:~# ls -la /dev/serial/by-id/
                total 0
                drwxr-xr-x 2 root root 60 Aug 19 21:15 .
                drwxr-xr-x 4 root root 80 Aug 19 21:15 ..
                lrwxrwxrwx 1 root root 13 Aug 19 21:15 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_94ccc0be3593eb1188b1194f3d98b6d1-if00-port0 -> ../../ttyUSB0
                
                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Keksmonster last edited by

                  @keksmonster sagte in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

                  lrwxrwxrwx 1 root root 13 Aug 19 21:15 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_94ccc0be3593eb1188b1194f3d98b6d1-if00-port0 -> ../../ttyUSB0

                  Moin,

                  ok, dann ist das ja gut so. Was hast Du denn in der Konfiguration zum LXC Container eingetragen, bei mir sieht das so aus, habe zwei USB Geräte durchgereicht, Zigbee und Z-Wave.

                  oot@pve:~# cat /etc/pve/lxc/100.conf 
                  ....
                  unprivileged: 1
                  lxc.cgroup2.devices.allow: c 189:* rwm
                  lxc.cgroup2.devices.allow: c 166:* rwm
                  lxc.mount.entry: /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.12__Embed_with_CMSIS-DAP_L1100FRC-if00 dev/ttyACM0 none bind,optional,create=file
                  lxc.mount.entry: /dev/serial/by-id/usb-0658_0200-if00 dev/ttyACM2 none bind,optional,create=file
                  

                  VG
                  Bernd

                  Keksmonster 1 Reply Last reply Reply Quote 0
                  • Keksmonster
                    Keksmonster @Guest last edited by

                    @dp20eic
                    Fragst Du aus Interesse? Nicht blöd gemeint (!!) - Bei mir funktioniert ja soweit alles mit dem Durchreichen. Nur um sicher zu gehen, dass das ggf nicht untergegangen ist.

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Keksmonster last edited by

                      @keksmonster sagte in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

                      Fragst Du aus Interesse?

                      Moin,

                      ja!

                      VG
                      Bernd

                      Keksmonster 1 Reply Last reply Reply Quote 0
                      • Keksmonster
                        Keksmonster @Guest last edited by

                        @dp20eic

                        lxc.cgroup2.devices.allow: c 189:* rwm
                        lxc.mount.entry: usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_94ccc0be3593eb1188b1194f3d98b6d1-if00-port0 /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_94ccc0be3593eb1188b1194f3d98b6d1-if00-port0 none bind,optional,create=file
                        lxc.cgroup2.devices.allow: c 188:* rwm
                        lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
                        
                        1 Reply Last reply Reply Quote 0
                        • HeinMueck
                          HeinMueck last edited by

                          Moin zusammen,

                          Unter folgendem Link können für Proxmox Scripte für die Installation verschiedener LXC Maschinen runtergeladen werden. Hier ist unter Automation der ioBroker zu finden den ich auch schon längere Zeit in Betrieb habe.
                          Einmal die Befehlszeile auf der Promox Server Shell starten, einige Fragen beantworten (am besten alles auf Voreinstellungen stehen lassen) und es wird die betreffende LXC Maschine installiert.
                          Hier den Link:

                          Proxmox VE Helper Scripts

                          Hoffe das hilft!!

                          HeinMueck

                          Dutchman 1 Reply Last reply Reply Quote 0
                          • Dutchman
                            Dutchman Developer Most Active Administrators @HeinMueck last edited by

                            @heinmueck sagte in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

                            Moin zusammen,

                            Unter folgendem Link können für Proxmox Scripte für die Installation verschiedener LXC Maschinen runtergeladen werden. Hier ist unter Automation der ioBroker zu finden den ich auch schon längere Zeit in Betrieb habe.
                            Einmal die Befehlszeile auf der Promox Server Shell starten, einige Fragen beantworten (am besten alles auf Voreinstellungen stehen lassen) und es wird die betreffende LXC Maschine installiert.
                            Hier den Link:

                            Proxmox VE Helper Scripts

                            Hoffe das hilft!!

                            HeinMueck

                            ich halte persönlich nichts von diese Skripten, es macht alles mögliche im Hintergrund und man weis nicht was und wen mal ein Fehler ist hat man keine Erfahrung es zu troubleshooten.
                            Aber jedem was er mag 🙂

                            ? 1 Reply Last reply Reply Quote 2
                            • ?
                              A Former User @Dutchman last edited by

                              @dutchman sagte in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

                              ich halte persönlich nichts von diese Skripten, es macht alles mögliche im Hintergrund und man weis nicht was und wen mal ein Fehler ist hat man keine Erfahrung es zu troubleshooten.
                              Aber jedem was er mag

                              Moin,

                              100 % agree 🙂
                              Man sollte immer erst einmal zu Fuß alles Erstellen und Fehler machen, dann später, wenn man es dann noch braucht, kann man ja mal eine Abkürzung über diese Skripte gehen.

                              VG
                              Bernd

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

                                @dp20eic @Dutchman

                                Ich persönlich halte auch nix von 'iob nodejs-update'.
                                Aus den gleichen Gründen.
                                Viele brauchen so eine Krücke aber, sonst sind die komplett lost.
                                Leider bleibt durch solche Dinger die Lernkurve was das System angeht dann auch äußerst flach.

                                Fred Freund 3 Replies Last reply Reply Quote 2
                                • Fred Freund
                                  Fred Freund @Thomas Braun last edited by Fred Freund

                                  @thomas-braun
                                  Hi, darf ich mich hier anhaengen mit einer Frage. Bekomme meinen Zwave nicht zu laufen.
                                  ziehe von raspi auf proxmox um .

                                  moechte zwave js ui mit dem stick jetzt laufen lassen und alles ueber mqtt zentralisieren ..auch zigbe2mqtt

                                  erstamal als test habe ich den zwave umgesiedelt:
                                  am PVE sieht es so aus.

                                  root@pve:~# lsusb
                                  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                  Bus 001 Device 004: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
                                  Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
                                  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                  root@pve:~# ls -la /dev/serial/by-id
                                  total 0
                                  drwxr-xr-x 2 root root 60 Dec 28 08:34 .
                                  drwxr-xr-x 4 root root 80 Dec 28 08:34 ..
                                  lrwxrwxrwx 1 root root 13 Dec 28 08:34 usb-0658_0200-if00 -> ../../ttyACM0
                                  root@pve:~# ls -la /dev/ttyACM0
                                  crw-rw---- 1 root dialout 166, 0 Dec 28 08:34 /dev/ttyACM0
                                  root@pve:~# 
                                  

                                  lxc config schaut so aus:

                                  unprivileged: 1
                                  lxc.cgroup2.devices.allow: c 166:* rwm
                                  lxc.mount.entry: /dev/serial/by-id/usb-0658_0200-if00 dev/ttyACM0 none bind,optional,create=file
                                  

                                  im Container sieht das so aus.
                                  Keine Rechte vergeben:

                                  root@zwave-js-ui:~# ls -la /dev/tty*
                                  crw-rw-rw- 1 nobody nogroup   5, 0 Dec 28 08:22 /dev/tty
                                  crw------- 1 root   tty     136, 1 Dec 28 09:16 /dev/tty1
                                  crw--w---- 1 root   tty     136, 2 Dec 28 08:34 /dev/tty2
                                  c--------- 0 nobody nogroup 166, 0 Dec 28 08:34 /dev/ttyACM0
                                  

                                  45cccd91-3567-4ae6-b85c-5229e6604e3c-image.png

                                  Vielleicht habt ihr einen Tipp fuer mich, Danke.

                                  Habe das vorher nach dieser Anleitung Video
                                  gemacht da konnte ich mit chmod 777 /dev/ttyACM0 die rechte im lxc veraendern.
                                  danach kam die meldung das
                                  ** Error: Inappropriate ioctl for device setting custom baud rate of **

                                  1 Reply Last reply Reply Quote 0
                                  • Fred Freund
                                    Fred Freund @Thomas Braun last edited by

                                    @thomas-braun eigentlich mache ich auch alles selber...aber ich habe auf proxmox iobroker 3x selbst installiert , jedesmal hatte ich 2 hard drives angelegt ..weiss nicht warum.
                                    mit dem skript war es dann nur eines...drumm hab ich es gelassen...

                                    schon weil ich nicht weiss was da alles noch installiert wird waere es mir lieber...

                                    Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Fred Freund last edited by

                                      @fred-freund

                                      Ich weiß nicht wovon du da schreibst.

                                      1 Reply Last reply Reply Quote 0
                                      • Fred Freund
                                        Fred Freund @Thomas Braun last edited by

                                        @thomas-braun said in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

                                        Ich persönlich halte auch nix von 'iob nodejs-update'.
                                        Aus den gleichen Gründen.
                                        Viele brauchen so eine Krücke aber, sonst sind die komplett lost.
                                        Leider bleibt durch solche Dinger die Lernkurve was das System angeht dann auch äußerst flach.

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

                                          @fred-freund sagte in [Docu] Wie installieren ich ioBroker auf einem Proxmox LXC ?:

                                          schon weil ich nicht weiss was da alles noch installiert wird waere es mir lieber..

                                          darum haben wir es doch schön in die Doku verpackt, damit man Schritt für Schritt selbst installiert

                                          Fred Freund 1 Reply Last reply Reply Quote 0
                                          • Fred Freund
                                            Fred Freund @crunchip last edited by Fred Freund

                                            @crunchip Quick and dirty ist manchmal auch nicht schlecht ..gerade als Anfaenger.
                                            fuers Rummspielen reicht es...und Erfahrung sammeln.

                                            Ich verstehe nicht wenn ich in Proxmox eine IOBROKER Vm mit dem IMAGE mache dann habe ich 2 disks mit gleicher groesse..
                                            im Script fertig war nur eine.. hab dann das script fuer iobroker verwendet.

                                            jetzt habe ich das problem das das Template debian 12 nicht laeuft..kreiere einen Container keine VM und das ding steht bei schwarzem Bildschirm... mit UBUNTU 23.04 geht es ...da bekomme ich login..

                                            hab das template am prox schon neu runtergeladen selbes problem.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            install installation lxc lxc-container proxmox virtualisation
                                            25
                                            232
                                            37643
                                            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