Closed ronniegarcia closed 5 years ago
are you able to record the full binary packet with tcpdump?
alternatively you could add print(raw)
to data_received_callback
within /usr/lib/python3.6/site-packages/xknx/io/udp_client.py
(e.g. line 85, just before knxipframe.from_knx(raw)
)
Hi Julius, Thanks to your suggestion, I figured out with Wireshark that my KNX gateway replies with :
E_NO_MORE_CONNECTIONS - The KNXnet/IP server device could not accept the new data connection (busy) (0x24)
When I kill eibd-server on the other system (I thought it was), Home Assistant can connect successfully.
I think it would be helpful to trap this specific error code and log the appropriate message. Unfortunately I can't help you with the code, but I can make any test you would need. I attached the capture with the E_NO_MORE_CONNECTIONS
Thanks ! Ronnie
@ronniegarcia This is old but recently i try to add Siemens 5WG1 151 to home assistant but it not work. You can share now your device work with latest hass? I post thread here https://community.home-assistant.io/t/help-with-knx-cant-connect-to-knx-interface-could-not-establish-connection/54920
Hey, I'm using Home Assistant 0.56.2 within HassIO on a Raspberry Pi 3 I have a Siemens 5WG1 148-1AB22 KNX/IP ethernet gateway (AKA N148/22) I can successfully connect to my KNX bus with eibd-server and linknx on a separate Linux Voyage system.
Unfortunately I can't connect to my KNX bus with Home Assistant, as it raises this exception at startup :
Here is my config :
10.100.4.96 is my Siemens KNX/IP ethernet gateway 10.100.4.99 is my HassIO However, I understand that HassIO uses Docker and I have the following from the HassIO ssh shell :
And :
Is it something with NAT that prevents me from connecting to the gateway ? Thanks