Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. KNX adapter?

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

KNX adapter?

KNX adapter?

Scheduled Pinned Locked Moved ioBroker Allgemein
93 Posts 7 Posters 16.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ruhigundrelaxedR Offline
    ruhigundrelaxedR Offline
    ruhigundrelaxed
    wrote on last edited by
    #58

    > Also hat knxd noch immer keine Verbindung zu meinem Interface, schätze ich einmal.
    Ich auch.

    Wenn ich dieses Problem hatte war fast immer ets offen und hat das knx/ip blockiert.

    Kannst du das ausschließen? Also ets zumachen und dann "/etc/init.d/knxd restart".

    Ansonsten bitte mal die von dir geänderten Zeilen der beiden konfig files posten. was hattest du für ein knx/ip gateway? Hersteller, typ?

    Die Tatsache, dass du die eibd binaries noch hast könnte bedeuten, dass der Schritt:
    > Als erste musst du eibd wieder entfernen. (remove any traces of the old eibd installation from /usr/local)
    nicht komplett war…

    Die binaries selber sind unkritisch, zumal sie ja zu funktionieren scheinen. Aber evt. existieren noch andere Reste die stören...

    Aber check erstmal das mit "ets offen" und dann poste die config zeilen und wir sehen weiter...

    Gruß

    iobroker auf debian bullseye amd64 (i5-8259U)
    homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
    knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LJTom
      wrote on last edited by
      #59

      Also:

      1. ETS kann ich komplett ausschließen-> das läuft eigentlich auf einer anderen Maschine welche vom Netzwerk getrennt und heruntergefahren ist.

      2. die knxd datei:

      # Defaults for knxd initscript
      # sourced by /etc/init.d/knxd
      # installed at /etc/default/knxd by the maintainer scripts
      
      ########################################################################
      # This file is ignored when using systemd: edit /etc/knxd.conf instead #
      ########################################################################
      
      # start knxd when /etc/init.d/knxd start is run
      # by default knxd does NOT start. set to YES to enable
      START_KNXD=YES 
      
      # Additional options that are passed to the Daemon.
      #
      # sane default: route between local KNX clients and multicast
      DAEMON_ARGS="-u /tmp/eib -u /var/run/knx -i -b ip:192.168.1.106"
      
      # Run `knxd --help` to get a complete list of available options and drivers.
      
      # If you have KNX hardware on a serial port or USB, add the appropriate
      # "-b TYPE:…" option. In this case, you probably want to set up a multicast
      # server, not a client (i.e. use "-D -T -R -S", not "-b ip:").
      # DO NOT use both.
      # 
      # If your KNX hardware is a KNX/IP gateway that doesn't do multicast,
      # use "-b ipt:192.168.1.2" (or its DNS name) to talk to it.
      #
      # KNX MUST NOT have more than one path between any two devices. Thus,
      # you need to make sure that the KNX/IP gateway does not route multicast
      # before you use both "-S" and "-b ipt:".
      
      # The default bus address of knxd is 0.0.1\. If that's in use in your KNX
      # network (or if you run more than one knxd on your network), set a
      # different address (-e 15.0.99).
      
      
      1. knxd.conf:
      # configuration for knxd.service
      KNXD_OPTS="-u /tmp/eib -i -DTRS -b ip:192.168.1.106"
      
      # The default options are "-u /tmp/eib -b ip:"
      # which tell knxd to route between all of
      #  /tmp/eib (legacy socket (-u))
      #  multicast client (-b ip:).
      # The knxd.socket file also tells knxd to listen to
      #  /run/eib (socket activation via systemd)
      #  TCP port 6720 (socket activation via systemd)
      
      # *** DO NOT use "-u" / "-u /run/knx" or "-i" / "-i 6720" here.
      # Systemd already does that on behalf of knxd, via 'knx.socket'.
      
      # If you have KNX hardware on a serial port or USB, add the appropriate
      # "-b TYPE:…" option. In this case, you probably want to set up a multicast
      # server, not a client (i.e. use "-D -T -R -S", not "-b ip:").
      # DO NOT use both.
      # 
      # If your KNX hardware is a KNX/IP gateway that doesn't do multicast,
      # use "-b ipt:192.168.1.2" (or its DNS name) to talk to it.
      #
      # KNX MUST NOT have more than one path between any two devices. Thus,
      # you need to make sure that the KNX/IP gateway does not route multicast
      # before you use both "-S" and "-b ipt:".
      
      # The default bus address of knxd is 0.0.1\. If that's in use in your KNX
      # network (or if you run more than one knxd on your network), set a
      # different address (-e 15.0.99).
      
      # Run `knxd --help` to get a complete list of available options and drivers.
      
      ## DO NOT use the following options:
      ## -i           -- /lib/systemd/system/knxd.socket does this for us
      ## -u /run/knx  -- likewise
      ## -d           -- /lib/systemd/system/knxd.service expects knxd to run in the foreground
      
      ###############################################################################
      # This file is ignored when NOT using systemd: edit /etc/default/knxd instead #
      ###############################################################################
      
      

      So 4)

      Wenn ich knxd neustarte mit

      /etc/init.d/knxd restart
      
      

      bekomme ich im Terminal die Fehlermeldung:

      root@raspberrypi:~# /etc/init.d/knxd restart
      [....] Restarting knxd (via systemctl): knxd.serviceJob for knxd.service failed. See 'systemctl status knxd.service' and 'journalctl -xn' for details.
       failed!
      
      

      Wenn ich dann "systemctl status knxd.service" aufrufe bekomme ich das:

      root@raspberrypi:~# systemctl status knxd.service
      ● knxd.service - KNX Daemon
         Loaded: loaded (/lib/systemd/system/knxd.service; enabled)
         Active: activating (auto-restart) (Result: exit-code) since Sa 2016-08-20 12:00:41 CEST; 6s ago
        Process: 1209 ExecStart=/usr/bin/knxd $KNXD_OPTS (code=exited, status=1/FAILURE)
       Main PID: 1209 (code=exited, status=1/FAILURE)
      
      Aug 20 12:00:41 raspberrypi systemd[1]: Failed to start KNX Daemon.
      Aug 20 12:00:41 raspberrypi systemd[1]: Unit knxd.service entered failed state.
      Hint: Some lines were ellipsized, use -l to show in full.
      
      

      So jetzt glaube ich hätte ich mal alle meldungen durch!! Hoffe das Hilft.

      Danke für deine bemühungen!! :!:

      Achja mein Interface ist ein Weinzierl KNX/IP 730

      1 Reply Last reply
      0
      • ruhigundrelaxedR Offline
        ruhigundrelaxedR Offline
        ruhigundrelaxed
        wrote on last edited by
        #60

        > Danke für deine bemühungen!! :!:

        Dafür gibts doch den "Danke" button. 😉

        Die gute Nachricht vorweg: Dein KNX/IP ist baugleiche mit meinem. Also kann es daran nicht liegen…

        Was mir allerdings auffällt ist: In der Datei knxd.conf hast du: ip:192.168.1.106 stehen. Mach da mal ein ipt:192.168.1.106 draus.

        Dannach ein "/etc/init.d/knxd restart" und schauen ob der daemon hoch kommt.

        Gruß

        iobroker auf debian bullseye amd64 (i5-8259U)
        homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
        knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

        1 Reply Last reply
        0
        • L Offline
          L Offline
          LJTom
          wrote on last edited by
          #61

          HI!

          Nein leider :

          root@raspberrypi:~# systemctl status knxd.service
          ● knxd.service - KNX Daemon
             Loaded: loaded (/lib/systemd/system/knxd.service; enabled)
             Active: activating (auto-restart) (Result: exit-code) since Sa 2016-08-20 12:25:31 CEST; 7s ago
            Process: 2297 ExecStart=/usr/bin/knxd $KNXD_OPTS (code=exited, status=1/FAILURE)
           Main PID: 2297 (code=exited, status=1/FAILURE)
          
          Aug 20 12:25:31 raspberrypi systemd[1]: knxd.service: main process exited, c...E
          Aug 20 12:25:31 raspberrypi systemd[1]: Failed to start KNX Daemon.
          Aug 20 12:25:31 raspberrypi systemd[1]: Unit knxd.service entered failed state.
          Hint: Some lines were ellipsized, use -l to show in full.
          
          
          1 Reply Last reply
          0
          • ruhigundrelaxedR Offline
            ruhigundrelaxedR Offline
            ruhigundrelaxed
            wrote on last edited by
            #62

            Hmmm… was passiert denn wenn du:

            sudo /usr/bin/knxd --eibaddr=0.0.230 -u /tmp/eib -u /var/run/knx -i -DTRS -b ipt:192.168.1.106
            

            abfeuerst?

            iobroker auf debian bullseye amd64 (i5-8259U)
            homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
            knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

            1 Reply Last reply
            0
            • L Offline
              L Offline
              LJTom
              wrote on last edited by
              #63

              Da passiert:

              E00000013: OpenInetSocket 6720: bind: Address already in use
              initialisation of the knxd inet protocol failed: Address already in use
              
              
              1 Reply Last reply
              0
              • ruhigundrelaxedR Offline
                ruhigundrelaxedR Offline
                ruhigundrelaxed
                wrote on last edited by
                #64

                Aha!

                Was sagt:````
                sudo netstat -tulpen|grep 6720

                iobroker auf debian bullseye amd64 (i5-8259U)
                homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
                knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  LJTom
                  wrote on last edited by
                  #65

                  Das meint:

                  tcp6       0      0 :::6720                 :::*                    LISTEN      0          7512        1/init
                  
                  
                  1 Reply Last reply
                  0
                  • ruhigundrelaxedR Offline
                    ruhigundrelaxedR Offline
                    ruhigundrelaxed
                    wrote on last edited by
                    #66
                    sudo ps aux |grep eibd
                    

                    und

                    sudo ps aux |grep knxd
                    

                    iobroker auf debian bullseye amd64 (i5-8259U)
                    homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
                    knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      LJTom
                      wrote on last edited by
                      #67
                      root      1060  0.2  3.1 125832 29520 ?        Sl   11:57   0:05 io.eibd.0      
                      root      2650  0.0  0.1   4300  1840 pts/0    S+   12:41   0:00 grep eibd
                      
                      
                      root      2662  0.0  0.1   4296  1812 pts/0    S+   12:41   0:00 grep knxd
                      
                      
                      1 Reply Last reply
                      0
                      • ruhigundrelaxedR Offline
                        ruhigundrelaxedR Offline
                        ruhigundrelaxed
                        wrote on last edited by
                        #68

                        Ich bin verwirrt….

                        Warum ist den der socket offen?

                        Was sagt:

                        systemctl -all list-sockets |grep 6720
                        

                        iobroker auf debian bullseye amd64 (i5-8259U)
                        homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
                        knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          LJTom
                          wrote on last edited by
                          #69

                          Der sagt:

                          [::]:6720                       knxd.socket                     knxd.service
                          
                          
                          1 Reply Last reply
                          0
                          • ruhigundrelaxedR Offline
                            ruhigundrelaxedR Offline
                            ruhigundrelaxed
                            wrote on last edited by
                            #70

                            Aber trotzdem sagt systemd das der Dienst nicht startet…

                            Machmal:

                            > systemctl stop knxd

                            dannach nochmal schauen ob der socket zu ist:

                            systemctl -all list-sockets |grep 6720

                            iobroker auf debian bullseye amd64 (i5-8259U)
                            homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
                            knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

                            1 Reply Last reply
                            0
                            • L Offline
                              L Offline
                              LJTom
                              wrote on last edited by
                              #71

                              Jetzt schauts so aus:

                              root@raspberrypi:~# systemctl stop knxd
                              Warning: Stopping knxd.service, but it can still be activated by:
                                knxd.socket
                              root@raspberrypi:~# systemctl -all list-sockets |grep 6720
                              [::]:6720                       knxd.socket                     knxd.service
                              
                              
                              1 Reply Last reply
                              0
                              • ruhigundrelaxedR Offline
                                ruhigundrelaxedR Offline
                                ruhigundrelaxed
                                wrote on last edited by
                                #72

                                Ich erinnere mich dunkel an einen cre podcast mit Lennart Poettering dem maintainer von systemd. Ein neues feature von systemd ist wohl, dass dienste "ondemand" gestartet werden können….

                                Das ist wohl hier der fall..

                                Versuch mal:

                                systemctl disable knxd
                                

                                iobroker auf debian bullseye amd64 (i5-8259U)
                                homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
                                knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

                                1 Reply Last reply
                                0
                                • L Offline
                                  L Offline
                                  LJTom
                                  wrote on last edited by
                                  #73

                                  Mal kein fehler:

                                  Synchronizing state for knxd.service with sysvinit using update-rc.d...
                                  Executing /usr/sbin/update-rc.d knxd defaults
                                  Executing /usr/sbin/update-rc.d knxd disable
                                  insserv: warning: current start runlevel(s) (empty) of script `knxd' overrides LSB defaults (2 3 4 5).
                                  insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `knxd' overrides LSB defaults (0 1 6).
                                  Removed symlink /etc/systemd/system/sockets.target.wants/knxd.socket.
                                  
                                  
                                  1 Reply Last reply
                                  0
                                  • ruhigundrelaxedR Offline
                                    ruhigundrelaxedR Offline
                                    ruhigundrelaxed
                                    wrote on last edited by
                                    #74

                                    Ok…

                                    jetzt nochmal:

                                    sudo /usr/bin/knxd --eibaddr=0.0.230 -u /tmp/eib -u /var/run/knx -i -DTRS -b ipt:192.168.1.106
                                    

                                    Wenn alles gut ist, meckert er wegen root… egal...

                                    Gruß

                                    iobroker auf debian bullseye amd64 (i5-8259U)
                                    homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
                                    knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      LJTom
                                      wrote on last edited by
                                      #75

                                      Neeee leider

                                      E00000013: OpenInetSocket 6720: bind: Address already in use
                                      initialisation of the knxd inet protocol failed: Address already in use
                                      
                                      
                                      1 Reply Last reply
                                      0
                                      • ruhigundrelaxedR Offline
                                        ruhigundrelaxedR Offline
                                        ruhigundrelaxed
                                        wrote on last edited by
                                        #76

                                        Pfff.. Renitente Kiste…

                                        Dann auf die harte nummer:

                                        In "/etc/default/knxd" den daemon deaktivieren und neustarten (reboot).

                                        also:

                                        START_KNXD=YES -> START_KNXD=NO

                                        reboot

                                        dann nochmal:

                                        sudo /usr/bin/knxd --eibaddr=0.0.230 -u /tmp/eib -u /var/run/knx -i -DTRS -b ipt:192.168.1.106

                                        iobroker auf debian bullseye amd64 (i5-8259U)
                                        homematic -> homegear -> HM-CFG-LAN ~> 11 x hm-cc-rt-dn | 3 x hm-sec-sd
                                        knx -> eibd -> SCN‐IP000.01 ~> 4 x AMS-1216.01 | (1 x JAL-0810.01 | 1 x JAL-0410.01) | 2 x BE-16000.01 | …

                                        1 Reply Last reply
                                        0
                                        • L Offline
                                          L Offline
                                          LJTom
                                          wrote on last edited by
                                          #77

                                          Und wieder das selbe wie oben schon geschrieben.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          469

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe