Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. [gelöst] NodeRed LXC verbinden mit ioBroker

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] NodeRed LXC verbinden mit ioBroker

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

      Ich habe einen eigenen Proxmox LXC mit Node-Red aufgesetzt und node-red-contrib-iobroker -Palette installiert.
      Nun versuche ich eine Verbindung zum bestehenden ioBroker aufzubauen.
      Aber egal was ich probiere es kommt keine Verbindung zustande.

      Socketio Einstellungen
      cfbe3b02-e8bc-4d94-bb1f-7d5b61762cc3-image.png

       ss -lntp | grep :9004
      LISTEN 0      511                *:9004            *:*
      

      iob diag Listening Ports

      *** Listening Ports ***
      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          546748481  1/init
      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       546757967  1012/io.sonoff.0
      tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       546760041  1114/io.shelly.0
      tcp        0      0 0.0.0.0:1885            0.0.0.0:*               LISTEN      1001       546750444  789/io.mqtt.0
      tcp        0      0 127.0.0.1:8200          0.0.0.0:*               LISTEN      1001       546758513  1342/io.cameras.0
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       546748640  167/iobroker.js-con
      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       546746207  167/iobroker.js-con
      tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          546749659  307/master
      tcp6       0      0 :::9004                 :::*                    LISTEN      1001       554921716  386665/io.socketio.
      tcp6       0      0 :::8401                 :::*                    LISTEN      1001       546770091  1628/io.jarvis.1
      tcp6       0      0 :::8400                 :::*                    LISTEN      1001       546767124  1613/io.jarvis.0
      tcp6       0      0 :::8402                 :::*                    LISTEN      1001       546776113  1948/io.jarvis.2
      tcp6       0      0 ::1:25                  :::*                    LISTEN      0          546749660  307/master
      tcp6       0      0 :::8093                 :::*                    LISTEN      1001       546764481  1643/io.rest-api.0
      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       546747125  336/io.admin.0
      tcp6       0      0 :::8083                 :::*                    LISTEN      1001       554877114  384893/io.web.1
      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       554866598  384709/io.web.0
      tcp6       0      0 :::111                  :::*                    LISTEN      0          546748483  1/init
      tcp6       0      0 :::22                   :::*                    LISTEN      0          546745227  1/init
      tcp6       0      0 :::3020                 :::*                    LISTEN      1001       553879427  346188/io.fullybrow
      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          546748482  1/init
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       546769896  1933/io.wled.0
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       546755614  708/io.chromecast.0
      udp        0      0 0.0.0.0:41977           0.0.0.0:*                           1001       546754057  997/io.snmp.0
      udp        0      0 0.0.0.0:45996           0.0.0.0:*                           1001       546754636  682/io.broadlink2.0
      udp        0      0 0.0.0.0:15001           0.0.0.0:*                           1001       546753758  682/io.broadlink2.0
      udp        0      0 0.0.0.0:48401           0.0.0.0:*                           1001       554766760  682/io.broadlink2.0
      udp6       0      0 :::111                  :::*                                0          546748484  1/init
      
      

      Server-Config Einstellung
      5f215146-dd34-49e8-b661-2527015a0445-image.png

      273490b7-ccb5-45af-a1d9-a804143bfbb1-image.png

      @mickym Hast du eine Idee dazu?

      M mickym 2 Replies Last reply Reply Quote 0
      • M
        MCU @MCU last edited by

        @mcu Erledigt, man musste eine eigen Admin-Instanz installieren und dann zuordnen
        siehe https://flows.nodered.org/node/node-red-contrib-iobroker

        7b8f9903-a75b-416c-b5d3-81574c9dead8-image.png

        be0e6a8d-aaaf-42fe-bc53-e79190bebd22-image.png

        aa8f05d2-1273-408f-92d9-a5e2a14fb138-image.png

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

          @mcu Wenn man allerdings die TreeView startet kommt nach kurzer Zeit

          10.8.2025, 21:50:56
          msg : string[67]
          "[WebSocketClient:1754855332868-01y8vw2vl] Max payload size exceeded"
          10.8.2025, 21:50:56
          msg : string[88]
          "[ConnectionManager] Connection error for 192.168.178.150:8092: Max payload size ..."
          10.8.2025, 21:50:56
          msg : string[95]
          "[RecoveryManager] Handling connection error for 192.168.178.150:8092: Max payloa..."
          10.8.2025, 21:51:08
          msg : string[80]
          "[OperationManager] getStates failed for 192.168.178.150:8092: Get states timeout"
          

          Nachdem Fehler kommt auch
          792ddfd3-5694-4e29-855a-4ecf43509bd9-image.png

          Man muss danach den Flow neu starten

          1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @MCU last edited by

            @mcu In der Regel musst Du den Port nehmen, den der Admin auch nimmt - also 8081

            M 1 Reply Last reply Reply Quote 0
            • M
              MCU @mickym last edited by

              @mickym In der Beschreibung zur Palette steht, dass man für nodered-Contrib einen eigenen Admin Adapter nutzen soll.
              Habe ich gemacht und funktioniert auch, habe jetzt nur das Problem mit dem Treeview. Der bricht ab.

              mickym 1 Reply Last reply Reply Quote 0
              • mickym
                mickym Most Active @MCU last edited by mickym

                @mcu Ja OK - ich hab die Nodes nur mal angetestet - da müssen wir wohl warten bis @Marc-Berg wieder aus dem Urlaub ist.

                Ich hab nur mal mein Prodsystem mit dem gleichen Adminadapter verwendet und hab vielleicht nicht soviele States, aber vielleicht habe ich nicht soviele States.

                fe614aa3-ab60-49c0-acb2-bb4bbe2d437d-image.png

                M 1 Reply Last reply Reply Quote 1
                • M
                  MCU @mickym last edited by

                  @mickym
                  iob diag Objects and states

                  Objects and States
                  Please stand by - This may take a while
                  Objects:        32374
                  States:         25612
                  
                  1 Reply Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active last edited by

                    Bin (noch) nicht im Urlaub 🙂

                    @MCU Bislang konnte ich noch keine so umfänglichen Objektlisten testen, habe noch optimiert, kannst gerne mal die v1.1.0-beta11 testen:

                    https://github.com/Marc-Berg/node-red-contrib-iobroker/releases

                    .tgz runterladen und in der Palette hochladen.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MCU @Marc Berg last edited by

                      @marc-berg Spitze!
                      e4d9abc0-eb8e-4328-bfa0-4a63418c290f-image.png

                      Marc Berg 1 Reply Last reply Reply Quote 0
                      • Marc Berg
                        Marc Berg Most Active @MCU last edited by

                        @mcu

                        wie lange dauert das Laden bei Deiner Anzahl an Objekten?

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MCU @Marc Berg last edited by

                          @marc-berg Gefühlt 1-2 Sekunden

                          Marc Berg 1 Reply Last reply Reply Quote 0
                          • Marc Berg
                            Marc Berg Most Active @MCU last edited by

                            @mcu sagte in NodeRed LXC verbinden mit ioBroker:

                            Gefühlt 1-2 Sekunden

                            Okay, dann brauche ich an der Stelle wohl nicht weiter optimieren, weitergehende Optimierungen wären jetzt anstrengend geworden.

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              MCU @Marc Berg last edited by

                              @marc-berg
                              GIF
                              nodered-treeview.gif

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              826
                              Online

                              32.0k
                              Users

                              80.5k
                              Topics

                              1.3m
                              Posts

                              3
                              13
                              161
                              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