Do you have a sample examples related to the matter generic switch ?
Do you have a sample examples related to the matter generic switch ?
Hi,
We do not have a generic switch sample, but you can use the Matter light switch sample as a starting point and follow the Adding clusters to Matter application guide to add relevant clusters.
Best regards,
Marte
There is a button and a ligth on my product, and I have configured three endpoints as shown in the figure below. After I actually added the device into apple home, the button can only recognize the long-press command, but cannot recognize the click or double-click command. Could you please help me provide a zcl configuration that meets my requirements?
Hi,
Have you enabled the events in the Switch cluster?
Best regards,
Marte
Hi,
Have you enabled the events in the Switch cluster?
Best regards,
Marte
I followed the method you provided and tested that it works, thank you very much!