farmio
(Matthias Alphart)
December 29, 2021, 9:00pm
22
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…
BobbyXO
(Bjørn Olav Bøe)
December 30, 2021, 8:53am
24
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.
farmio
(Matthias Alphart)
December 30, 2021, 9:24am
25
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.
farmio
(Matthias Alphart)
December 30, 2021, 9:36am
26
@BobbyXO do you have any knx
entities configured in your configuration.yaml? See KNX - Home Assistant
BobbyXO
(Bjørn Olav Bøe)
December 30, 2021, 9:45am
27
No, not yet. Haven’t done anything yet because of the errors.
farmio
(Matthias Alphart)
December 30, 2021, 9:46am
28
The integration simply doesn’t load without any yaml config.