[Matter] Apple Home cannot identify light_switch example

Hi all,

I tested the matter light_bulb and light_switch samples. While the bulb is identified as a bulb, the switch shows as "unsupported".

Following Matter 1.0 standard, shouldn't it be identified as a switch? I did not do any changes to the code.

Light_Switch:

Light_Bulb:

Board: nrf52840-DK
nrf Connect SDK v2.2.0-rc1 (also tried the files from latest commit on Github)
Apple HomePod running OS 16.2

  • Hi,

    I will ask the Matter team if they know if our switch sample is currently undefined, but in the mean while could you verify which app (the one displayed in the screenshots)?

    Kind regards,
    Andreas

  • Hi Andreas,

    thanks for checking with them  

    the app is the default Home app in iOS. 

    kind regards 

    Robert

  • Hi,

    The issue seems to be that currently Apple Home does not support binding on 1.0.0 release date, the and dimmer switch device implemented in the sample is not recognized, thus you see the device as unsupported.

    What may be useful is to take a look on the Matter light switch example in the upstream SDK: github.com/.../nrfconnect. The generic switch device type is supported there: https://github.com/project-chip/connectedhomeip/blob/master/examples/light-switch-app/light-switch-common/light-switch-app.zap#L7924

    However note that this works different than how we've designed the sample. Here, the Generic Switch likely just reports switch state to Apple controller, which processes this information and controls the light bulb. So in fact light switch is not controlling light bulb directly in such setup, which our sample is intended to do.

    Let me know if this answers your question

    Kind regards,
    Andreas

  • Hi Andreas,

    I'm in the same boat, I'd like to add a basic switch to Apple Home to control the light_bulb app. I'd followed the same steps as Robert and can confirm the results. After discovering this support case I also followed the following tutorial, using the template application to create the generic switch implementation: https://youtu.be/9Ar13rMxGIk?t=2028. I get the same unsupported error once the device is added to Apple Home. Is it possible to get a more detailed response on how this may be accomplished?


    Board: nrf52840-DK
    nrf Connect SDK v2.2.0
    Apple HomePod running OS 16.2

    Regards

    Mike

  • Hi Mike,

    Could you elaborate a bit on exactly what you want a response on? Is it why our sample is not supported by the Apple Home controller, or is it how to use the project-chip generic light switch app to create your own generic light switch?

    PS: in case the topic of your question becomes unrelated to this original ticket at any point it might be worth considering creating another case for this. If it comes to that, please feel free to link to this case in the new ticket.

    Kind regards,
    Andreas 

1 2 3