@farmio This fixet my connection now it is working
Local ip = ip adress of Home assistant this was not clear for me
thanks
@farmio This fixet my connection now it is working
Local ip = ip adress of Home assistant this was not clear for me
thanks
Still doesnt work for me…
Tried not commenting the local ip, but got an error. The IP (192.168.10.49) is the IP of HA
Why do you use nat-mode?
in desperation. Tried without NAT first.
Yes. See the link I posted above. I’d start with xknx.knx
and xknx.log
set to debug.
And yes, the point is to generate lots of data.
Hi!
Is this correct?
Where do i find the knx log file afterwards?
Using xknx
works, but will yield more than necessary. I guess xknx.log
would be enough. Just try it.
It will be added to your HomeAssistant log
I mean like this:
logger:
default: info
logs:
xknx.log: debug # provides general information (connection, etc.)
xknx.knx: debug # logs incoming and outgoing KNX/IP frames at socket level
But in the end it really doesn’t matter. Whats more interesting is the output…
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] Searching on lo / 127.0.0.1
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.knx] Sending to 224.0.23.12:3671 at 1640854115.492911:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="224.0.23.12:3671" />" />
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on dummy0
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] Searching on eth0 / 192.168.10.49
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.knx] Received from 127.0.0.1:3671 at 1640854115.4984138:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="224.0.23.12:3671" />" />
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.knx] Unhandled KNXIPServiceType.SEARCH_REQUEST: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="224.0.23.12:3671" />" /> from: 127.0.0.1:3671
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.knx] Sending to 224.0.23.12:3671 at 1640854115.4992268:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="224.0.23.12:3671" />" />
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on wlan0
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] Searching on docker0 / 172.17.0.1
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.knx] Received from 192.168.10.165:3671 at 1640854115.5052602:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_RESPONSE" Reserve="0" TotalLength="76" />
body="<SearchResponse control_endpoint="192.168.10.165:3671" dibs="[
<DIBDeviceInformation
knx_medium="KNXMedium.TP1"
programming_mode="False"
individual_address="1.1.255"
installation_number="0"
project_number="0"
serial_number="00:00:54:ff:a9:ad"
multicast_address="224.0.23.12"
mac_address="00:00:54:ff:a9:ad"
name="LogicMachine" />,
<DIBSuppSVCFamilies families="[DIBServiceFamily.CORE version: 1, DIBServiceFamily.TUNNELING version: 1, DIBServiceFamily.ROUTING version: 1]" />
]" />" />
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] Found KNX/IP device at 192.168.10.165:3671: GatewayDescriptor(
name=LogicMachine,
ip_addr=192.168.10.165,
port=3671,
local_interface=lo,
local_ip=127.0.0.1,
supports_routing=True,
supports_tunnelling=True,
individual_address=1.1.255
)
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.knx] Received from 192.168.10.165:3671 at 1640854115.5068424:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_RESPONSE" Reserve="0" TotalLength="76" />
body="<SearchResponse control_endpoint="192.168.10.165:3671" dibs="[
<DIBDeviceInformation
knx_medium="KNXMedium.TP1"
programming_mode="False"
individual_address="1.1.255"
installation_number="0"
project_number="0"
serial_number="00:00:54:ff:a9:ad"
multicast_address="224.0.23.12"
mac_address="00:00:54:ff:a9:ad"
name="LogicMachine" />,
<DIBSuppSVCFamilies families="[DIBServiceFamily.CORE version: 1, DIBServiceFamily.TUNNELING version: 1, DIBServiceFamily.ROUTING version: 1]" />
]" />" />
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] Found KNX/IP device at 192.168.10.165:3671: GatewayDescriptor(
name=LogicMachine,
ip_addr=192.168.10.165,
port=3671,
local_interface=eth0,
local_ip=192.168.10.49,
supports_routing=True,
supports_tunnelling=True,
individual_address=1.1.255
)
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.knx] Sending to 224.0.23.12:3671 at 1640854115.5077825:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="224.0.23.12:3671" />" />
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] Searching on hassio / 172.30.32.1
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.knx] Sending to 224.0.23.12:3671 at 1640854115.511901:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="224.0.23.12:3671" />" />
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on veth88952ad
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on veth24acca6
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on vethefde510
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on vethb16b02e
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on veth9ec2678
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on veth790ff08
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on veth7648e9f
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on veth48d261f
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on vethe4418af
2021-12-30 09:48:35 DEBUG (MainThread) [xknx.log] No IPv4 address found on veth9464af5
2021-12-30 09:48:37 DEBUG (MainThread) [xknx.log] Closing transport.
2021-12-30 09:48:37 DEBUG (MainThread) [xknx.log] Closing transport.
2021-12-30 09:48:37 DEBUG (MainThread) [xknx.log] Closing transport.
2021-12-30 09:48:37 DEBUG (MainThread) [xknx.log] Closing transport.
Well, the interface is found. Thats good.
There is a lot missing in this excerpt of your logs, like the part where HA tries to establish the tunnel - which allegedly fails. You can, if you like, provoke the error (eg. restart HA or whatever) and send me the whole, uncut home-assistant.log
file per DM - I’ll have a look.
@BobbyXO do you have any knx
entities configured in your configuration.yaml? See KNX - Home Assistant
No, not yet. Haven’t done anything yet because of the errors.
The integration simply doesn’t load without any yaml config.