<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107100/unable-to-connect-matter-light-switch-to-home-assistant</link><description>Hello, 
 I&amp;#39;m trying to set up a Home Assistant with different Matter devices. For this I am using the nRF Connect Matter Samples &amp;quot;light_switch&amp;quot; and &amp;quot;light_bulb&amp;quot;. 
 For commissioning I&amp;#39;m using the Home Assistant Mobile App while following this Documentation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Jan 2024 13:03:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107100/unable-to-connect-matter-light-switch-to-home-assistant" /><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/463147?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 13:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9cc99a3-8997-4353-900f-b745f46ecb92</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;No problem.&lt;/p&gt;
&lt;p&gt;Just follow this ticket again if you need any help or want to share how the issue is solved.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/463145?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 12:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c14100d-fa2c-4cb4-a2f3-710d87965c58</guid><dc:creator>Vincent124</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
[quote userid="93921" url="~/f/nordic-q-a/107100/unable-to-connect-matter-light-switch-to-home-assistant/463139"]Do the two logs from the same try?[/quote]
&lt;p&gt;No, it was another try. Sadly I didn&amp;#39;t capture the log from the first one.&lt;/p&gt;
[quote userid="93921" url="~/f/nordic-q-a/107100/unable-to-connect-matter-light-switch-to-home-assistant/463139"]but the logs from the device show that there was connection to the ecosystem app established successfully[/quote]
&lt;p&gt;I guess this is because somehow the device connects to the Thread Border Router but not to the HA.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Okay I will contact some kind of Home Assistant suppport for help.&lt;/p&gt;
&lt;p&gt;I wasn&amp;#39;t sure if the problem might lie with the sample and my build of it or with my Home Assistant configuration. But since you can&amp;#39;t find anything wrong in my device log either, I guess my problem might be somewhere else.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/463139?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 12:48:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cc6c37e-a362-4b3c-bddd-33bd8100b8a0</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Do the two logs from the same try?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;From the Matter server&amp;nbsp;log I can see that the device has not been discovered by the Home Assistant ecosystem, but the logs from the device show that there was connection to the ecosystem app established successfully:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;span&gt;I: 71470 [SWU]Device commissioned, schedule a default provider query&lt;br /&gt; I: 71477 [SVR]Commissioning completed successfully&lt;/span&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Then there are some strange logs in the device log, that there were some tries to &amp;quot;open commissioning window&amp;quot; so the device prepared itself for the commissioning to the next ecosystem:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;span&gt;I: 73249 [ZCL]Received command to open commissioning window&lt;/span&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;I guess that this command comes from the ecosystem app. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Honestly we don&amp;#39;t test any devices with HomeAssistant.io, so we don&amp;#39;t know how it works. Could you also generate an issue here to check with Home Assistant team about this issue?&amp;nbsp;&lt;a href="https://github.com/home-assistant/core/issues"&gt;Issues · home-assistant/core · GitHub&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;The light switch sample uses&amp;nbsp;Dimmable Light Switch Matter device type. It is not clear if this device type is supported by the Home Assistant ecosystem. Please be realized the&amp;nbsp;Matter integration of Home Assistant is still in beta stage.&amp;nbsp;&lt;a href="https://www.home-assistant.io/integrations/matter/"&gt;Matter (BETA) - Home Assistant (home-assistant.io)&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Best regards,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Charlie&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/463117?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 11:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:389c9c0b-2c68-4482-ad56-ef63cb46ac2f</guid><dc:creator>Vincent124</dc:creator><description>&lt;p&gt;Sure this is it:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/device_5F00_log.txt"&gt;devzone.nordicsemi.com/.../device_5F00_log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/463100?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 10:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5d4feb5-1086-43ef-9b55-0e8fda40c130</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;so the current state is light_bulb is ok but light_swith has commissioning issue?&lt;/p&gt;
&lt;p&gt;If yes, could you also share the log from the light_switch device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/463085?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 09:50:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4a8facb-5a40-447c-9042-6152411776c7</guid><dc:creator>Vincent124</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not working in a office environment and as I understand it, mDNS should be enabled in my network configuration, since I don&amp;#39;t receive these many &amp;quot;ERROR Timeout waiting for mDNS resolution.&amp;quot; Errors anymore.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So the important logs form Matter Server Log state this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2024-01-08 08:34:09 core-matter-server matter_server.server.device_controller[126] INFO Starting Matter commissioning on network using Node ID 5.
2024-01-08 08:34:39 core-matter-server chip.CTL[126] ERROR Mdns discovery timed out
2024-01-08 08:34:39 core-matter-server matter_server.server.client_handler[126] ERROR [548351953232] Error handling message: CommandMessage(message_id=&amp;#39;afe520bcea0e4fdc8fcc09c8a1dd984d&amp;#39;, command=&amp;#39;commission_on_network&amp;#39;, args={&amp;#39;setup_pin_code&amp;#39;: 6859429, &amp;#39;ip_addr&amp;#39;: None})
Traceback (most recent call last):
  File &amp;quot;/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py&amp;quot;, line 188, in _run_handler
    result = await result
             ^^^^^^^^^^^^
  File &amp;quot;/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py&amp;quot;, line 261, in commission_on_network
    raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission on network failed for node 5&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;What I don&amp;#39;t understand is why this only occurs when I use the light_switch. Adding another light_bulb is no problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/462852?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 10:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:129ebc1e-69b1-4469-b9ea-61797453ac67</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Vincent,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;mDNS is used for&amp;nbsp;bidirectional service discovery. Matter device commission would not work if the mDNS&amp;nbsp;feature is disabled by your network.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I used to test in the office environment which blocks mDNS discovery, and the commission did not work. Switching to a home network or mobile phone WiFi host will solve the issue. Could you have a try?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/462717?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 14:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a71d245-79b6-4aad-b818-c52347f59e3f</guid><dc:creator>Vincent124</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;The mDNS Error was&amp;nbsp;also there for the time the commissioning worked. I wasn&amp;#39;t able to resolve this yet but&amp;nbsp;it also wasn&amp;#39;t a problem till now. I&amp;#39;ll look into this too.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK verion 2.4.2.&lt;/p&gt;
&lt;p&gt;For some reason I&amp;#39;m now getting the same Error for the light bulb too even though it worked just fine before. Here&amp;nbsp;are some of the last few lines of the light bulb device log before the error occurs:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;I: 90714 [ZCL]Commissioning window is now open
I: 90719 [EM]&amp;lt;&amp;lt;&amp;lt; [E:10474r S:23150 M:251748559 (Ack:124261149)] (S) Msg TX to 1:D07881E73455012C [23E9] --- Type 0001:09 (IM:InvokeCommandResponse)
I: 90732 [IN](S) Sending msg 251748559 on secure session with LSID: 23150
I: 90765 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10474r S:23150 M:124261150 (Ack:251748559)] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0000:10 (SecureChannel:StandaloneAck)
I: 90832 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10475r S:23150 M:124261151] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0001:02 (IM:ReadRequest)
D: 90843 [IM]Received Read request
I: 90848 [EM]&amp;lt;&amp;lt;&amp;lt; [E:10475r S:23150 M:251748560 (Ack:124261151)] (S) Msg TX to 1:D07881E73455012C [23E9] --- Type 0001:05 (IM:ReportData)
I: 90860 [IN](S) Sending msg 251748560 on secure session with LSID: 23150
I: 90897 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10475r S:23150 M:124261152 (Ack:251748560)] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0000:10 (SecureChannel:StandaloneAck)
I: 90914 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10476r S:23150 M:124261153] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0001:0a (IM:TimedRequest)
I: 90926 [EM]&amp;lt;&amp;lt;&amp;lt; [E:10476r S:23150 M:251748561 (Ack:124261153)] (S) Msg TX to 1:D07881E73455012C [23E9] --- Type 0001:01 (IM:StatusResponse)
I: 90938 [IN](S) Sending msg 251748561 on secure session with LSID: 23150
I: 90968 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10476r S:23150 M:124261154 (Ack:251748561)] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0001:08 (IM:InvokeCommandRequest)
I: 90981 [ZCL]Received command to close commissioning window
I: 90987 [SVR]Closing pairing window
D: 90990 [IN]SecureSession[0x20003320]: Released - Type:1 LSID:23152
I: 90996 [DIS]Updating services using commissioning mode 0
D: 91001 [DL]Using Thread extended MAC for hostname.
I: 91006 [DIS]Advertise operational node 310A9064FE4923E9-FCAA50B3BD23B59E
D: 91013 [DL]Using Thread extended MAC for hostname.
I: 91019 [DIS]Advertise commission parameter vendorID=65521 productID=32773 discriminator=3840/15 cm=0
I: 91029 [DL]advertising srp service: 592473A0AEB11410._matterc._udp
D: 91035 [DIS]Scheduling extended discovery timeout in 900s
I: 91040 [DL]removing srp service: FC0492C5D7C89E9C._matterc._udp
I: 91046 [ZCL]Commissioning window is now closed
I: 91051 [EM]&amp;lt;&amp;lt;&amp;lt; [E:10476r S:23150 M:251748562 (Ack:124261154)] (S) Msg TX to 1:D07881E73455012C [23E9] --- Type 0001:09 (IM:InvokeCommandResponse)
I: 91064 [IN](S) Sending msg 251748562 on secure session with LSID: 23150
I: 91412 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10476r S:23150 M:124261155 (Ack:251748562)] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0000:10 (SecureChannel:StandaloneAck)
I: 91429 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10477r S:23150 M:124261156] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0001:02 (IM:ReadRequest)
D: 91440 [IM]Received Read request
I: 91445 [EM]&amp;lt;&amp;lt;&amp;lt; [E:10477r S:23150 M:251748563 (Ack:124261156)] (S) Msg TX to 1:D07881E73455012C [23E9] --- Type 0001:05 (IM:ReportData)
I: 91457 [IN](S) Sending msg 251748563 on secure session with LSID: 23150
I: 91497 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10477r S:23150 M:124261157 (Ack:251748563)] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0000:10 (SecureChannel:StandaloneAck)
I: 91513 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10478r S:23150 M:124261158] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0001:02 (IM:ReadRequest)
D: 91524 [IM]Received Read request
I: 91529 [EM]&amp;lt;&amp;lt;&amp;lt; [E:10478r S:23150 M:251748564 (Ack:124261158)] (S) Msg TX to 1:D07881E73455012C [23E9] --- Type 0001:05 (IM:ReportData)
I: 91541 [IN](S) Sending msg 251748564 on secure session with LSID: 23150
I: 91582 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10478r S:23150 M:124261159 (Ack:251748564)] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0000:10 (SecureChannel:StandaloneAck)
I: 91598 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10479r S:23150 M:124261160] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0001:0a (IM:TimedRequest)
I: 91610 [EM]&amp;lt;&amp;lt;&amp;lt; [E:10479r S:23150 M:251748565 (Ack:124261160)] (S) Msg TX to 1:D07881E73455012C [23E9] --- Type 0001:01 (IM:StatusResponse)
I: 91622 [IN](S) Sending msg 251748565 on secure session with LSID: 23150
I: 91680 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10479r S:23150 M:124261161 (Ack:251748565)] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0001:08 (IM:InvokeCommandRequest)
I: 91694 [ZCL]Received command to open commissioning window
D: 91700 [IN]SecureSession[0x20003320]: Allocated Type:1 LSID:23153
I: 91706 [DIS]Updating services using commissioning mode 2
D: 91711 [DL]Using Thread extended MAC for hostname.
I: 91716 [DIS]Advertise operational node 310A9064FE4923E9-FCAA50B3BD23B59E
D: 91723 [DL]Using Thread extended MAC for hostname.
I: 91728 [DIS]Advertise commission parameter vendorID=65521 productID=32773 discriminator=3106/12 cm=2
I: 91738 [DL]advertising srp service: 77AD62A682F4EF64._matterc._udp
I: 91744 [DL]removing srp service: FC0492C5D7C89E9C._matterc._udp
I: 91750 [DL]removing srp service: 592473A0AEB11410._matterc._udp
I: 91756 [ZCL]Commissioning window is now open
I: 91761 [EM]&amp;lt;&amp;lt;&amp;lt; [E:10479r S:23150 M:251748566 (Ack:124261161)] (S) Msg TX to 1:D07881E73455012C [23E9] --- Type 0001:09 (IM:InvokeCommandResponse)
I: 91774 [IN](S) Sending msg 251748566 on secure session with LSID: 23150
I: 91849 [EM]&amp;gt;&amp;gt;&amp;gt; [E:10479r S:23150 M:124261162 (Ack:251748566)] (S) Msg RX from 1:D07881E73455012C [23E9] --- Type 0000:10 (SecureChannel:StandaloneAck)
D: 92618 [DL]SRP update succeeded
E: 120209 [SWU]No suitable OTA Provider candidate found
I: 120214 [SWU]No provider available&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I hope this is enough of the log, I&amp;#39;m not sure how much of it is important sorry!&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect Matter Light Switch to Home Assistant</title><link>https://devzone.nordicsemi.com/thread/462666?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 11:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a3e5c53-312f-4e2a-bff5-199522551f6f</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Vincent,&lt;/p&gt;
&lt;p&gt;I doubt it is related to the sample itself since we normally test the samples on Apple and Google smart home ecosystems.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/matter-testing-nrf-connect-sdk-platform-with-apple-google-and-samsung-ecosystems-218911247"&gt;(+) Matter: Testing the nRF Connect platform with Apple, Google and Samsung ecosystems - Blogs - Nordic Blog - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Home Assistant log shows some errors are related to mDNS resolution timeout. Do you test in an office network environment? you need to pay attention to the router&amp;#39;s mDNS setting.&lt;/p&gt;
&lt;p&gt;Can you share&amp;nbsp;the nRF Connect SDK version you are testing? Maybe you can enable more log information from the device and share it here. It would be helpful to understand the device&amp;#39;s behaviour even if an error does not happen.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>