Issue with using nRF7002 DK with Matter "Light Bulb Matter" example

Hello,

I am working with the nRF7002 DK board and attempting to use the "Light Bulb Matter" example from Zephyr. I am encountering issues when trying to connect the board to Wi-Fi using my Google Pixel 8a smartphone and the Home Assistant app. Although I encounter non-blocking errors, the initial connection seems to work.

First, I provision the Wi-Fi via BLE to the board, and everything appears to be functioning correctly except for one error on the COM port:

Here is the error I encounter:

  • IPV6_PKTINFO failed: 109

Despite this error, the nRF7002 DK successfully connects to the Wi-Fi. After that, Home Assistant on my smartphone allows me to connect the "Matter device," which I do. However, the system only works for about thirty seconds before the device is marked as "unavailable" in the Home Assistant app. I am unable to turn the lamp on or off. Home Assistant tries to communicate with the board but encounters repeated errors.

My Home Assistant server is running on a Linux virtual machine.

Could you clarify the correct procedure for using the "Light Bulb Matter" example with the nRF7002 DK board and Home Assistant, please?

Thank you very much for your help!

Additional Context:

  • Smartphone: Google Pixel 8a
  • App: Home Assistant
  • Server: Home Assistant running on a Linux virtual machine
  • Operating System: Windows 11 Pro
  • IDE : Virtual Studio Code
  • Board: nrf7002dk_nrf5340

  • IDE: Visual Studio Code with nRF Connect extension

  • SDK and toolchains : 3.0

  • Thank you.

    Well, the timeouts are probably because HA can't reach the bulb.

    Someone from our Matter team looked at the HA logs, and said:

    "The logs show that the device was correctly commissioned over BLE, then has been connected to the Wi-Fi network, on which it received Commissioning Complete command over Wi-Fi (CASE session)

    Then there is no more logs. At this point the Controller (Home Assistant in this case) should start Matter Subscription to learn the capabilities of the accessory, but it doesn not happen. As the CASE session has been established, this is more likely related with the AP. Is there any more logs from the Accessory (the DK/light bulb)?

    We have no experience with Home Assistant - however, for me it looks like the problem is related to lack of communication from the controller side, either due to routing issues, or Home Asssistance configuration."

    Do you have any other Matter devices on your network? Do they work as expected?

    Best regards,

    Edvin

  • When you say "AP," do you mean my Wi-Fi router (in my case, a Raspberry Pi 3 hotspot)?

    Regarding the logs from the nRF7002 DK, the board continues to attempt communication with Home Assistant and generates many logs continuously. I can provide you with hundreds of lines of logs if needed

    Concerning the connection of another device to Home Assistant, I cannot try it at the moment because we do not have another Matter device. However, I will buy a simple device for testing within the week. I have connected my Google Pixel to Home Assistant and there is no similar problem; I can see its information

    Thank you 

  • Germain B said:
    When you say "AP," do you mean my Wi-Fi router

    Yes. AP = Access Point, which is your WiFi Router. 

    The Google Pixel is not strictly a Matter device as seen from Home Assistant, though, is it?

    Best regards,

    Edvin

  • No, my Google Pixel 8a is not a Matter device; it is my personal phone. As mentioned, I currently do not have any Matter devices available to test HA, so I mentioned the only other device connected to HA.

Related