Hi all
I’m quite new to HA and now I try to integrate my KNX. I use a IP Router for interconnect. When I control a KNX light the state will be updated in HA correctly, so far so good. But the other direction will not work. I can toggle on HA dashboard and nothing will happen with the KNX light. One point I have seen is
DPTBinary value=“0” for incomming and DPTBinary value=“True”. No idea if this can be an issue.
Any other point is source_address=“0.0.0” for outgoing, but this is different configured in the integration. However, a few lines later I can see the correkt KNX address of the IP Router.
Any suggestions?
configuration.yaml
default_config:
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
knx: !include knx.yaml
logger:
default: warning
logs:
xknx: debug # sets the level of all loggers
xknx.log: debug # provides general information (connection, etc.)
# vxknx.raw_socket: debug # logs incoming UDP frames in raw hex format
# xknx.knx: debug # logs incoming and outgoing KNX/IP frames at socket level
xknx.telegram: debug # logs telegrams before they are being processed at device level
light:
- name: "Licht Arbeiten West"
address: "1/3/1"
**LOG: OTHER APP IS SWITCHING LIGHT**
2022-08-27 15:36:49.468 DEBUG (KNX Interface) [xknx.raw_socket] Received from ('172.16.100.222', 3671): 0610053000112900bcd0103e0b01010080
2022-08-27 15:36:49.469 DEBUG (KNX Interface) [xknx.knx] Received from 172.16.100.222:3671 at 1661607409.4696193:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="ROUTING_INDICATION" Reserve="0" TotalLength="17" />
body="<RoutingIndication cemi="<CEMIFrame code="L_DATA_IND" src_addr="IndividualAddress("1.0.62")" dst_addr="GroupAddress("1/3/1")" flags="1011110011010000" tpci="TDataGroup()" payload="<GroupValueWrite value="<DPTBinary value="0" />" />" />" />" />
2022-08-27 15:36:49.472 DEBUG (MainThread) [xknx.telegram] <Telegram direction="Incoming" source_address="1.0.62" destination_address="1/3/1" payload="<GroupValueWrite value="<DPTBinary value="0" />" />" />
**LOG: HA IS SWITCHING LIGHT**
2022-08-27 15:32:01.088 DEBUG (KNX Interface) [xknx.raw_socket] Received from ('172.16.100.150', 61771): 0610020b00160801ac106496f14b0804010208060700
2022-08-27 15:32:01.089 DEBUG (KNX Interface) [xknx.knx] Received from 172.16.100.150:61771 at 1661607121.089289:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST_EXTENDED" Reserve="0" TotalLength="22" />
body="<SearchRequestExtended discovery_endpoint="172.16.100.150:61771/udp" srps="[<xknx.knxip.srp.SRP object at 0x7f814a1570>]" />" />
2022-08-27 15:32:01.089 DEBUG (KNX Interface) [xknx.knx] Unhandled: KNXIPServiceType.SEARCH_REQUEST_EXTENDED from: 172.16.100.150:61771/udp
2022-08-27 15:32:01.090 DEBUG (KNX Interface) [xknx.raw_socket] Received from ('172.16.100.150', 61771): 06100201000e0801ac106496f14b
2022-08-27 15:32:01.090 DEBUG (KNX Interface) [xknx.knx] Received from 172.16.100.150:61771 at 1661607121.0905519:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="SEARCH_REQUEST" Reserve="0" TotalLength="14" />
body="<SearchRequest discovery_endpoint="172.16.100.150:61771/udp" />" />
2022-08-27 15:32:01.090 DEBUG (KNX Interface) [xknx.knx] Unhandled: KNXIPServiceType.SEARCH_REQUEST from: 172.16.100.150:61771/udp
2022-08-27 15:32:01.217 DEBUG (MainThread) [xknx.telegram] <Telegram direction="Outgoing" source_address="0.0.0" destination_address="1/3/1" payload="<GroupValueWrite value="<DPTBinary value="True" />" />" />
2022-08-27 15:32:01.226 DEBUG (KNX Interface) [xknx.knx] Sending to 224.0.23.12:3671 at 1661607121.2263212:
<KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="ROUTING_INDICATION" Reserve="0" TotalLength="17" />
body="<RoutingIndication cemi="<CEMIFrame code="L_DATA_IND" src_addr="IndividualAddress("1.0.63")" dst_addr="GroupAddress("1/3/1")" flags="1011110011100000" tpci="TDataGroup()" payload="<GroupValueWrite value="<DPTBinary value="True" />" />" />" />" />