project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.37k stars 1.98k forks source link

Matter nRF Connect Generic Switch Example Application #31938

Open lboue opened 7 months ago

lboue commented 7 months ago

Test issue(s)

Matter nRF Connect Generic Switch Example Application

Group 2: Generic Switch

By defaut Group 1 is enabled:

I: Button has been pressed, keep in this state for at least 500 ms to change light sensitivity of binded lighting devices.
I: Dimming started...
I: Notify Bounded Cluster | endpoint: 1 cluster: 6
I: Notify Bounded Cluster | endpoint: 1 cluster: 8
I: Notify Bounded Cluster | endpoint: 1 cluster: 8
I: Notify Bounded Cluster | endpoint: 1 cluster: 8
I: Notify Bounded Cluster | endpoint: 1 cluster: 8

I would try Group 2 (Generic Switch) for nRF5340 DK board fom . Could you tel me how to switch to generic-switch mode mode?

Setup

Platform

nrf connect

Anything else?

uart:~$ matter config
VendorId:        65521 (0xFFF1)
ProductId:       32772 (0x8004)
HardwareVersion: 0 (0x0)
PinCode:         20202021
Discriminator:   f00
Done
uart:~$ matter switch
  help            Switch commands
  onoff           Usage: switch onoff [on|off|toggle]
  groups          Usage: switch groups onoff [on|off|toggle]
  table           Print a binding table
Damian-Nordic commented 7 months ago

If I recall correctly, the generic switch is enabled by default. It's just on endpoint 2 instead of 1. Have you tried running the procedure from https://github.com/project-chip/connectedhomeip/tree/fea16046a88c0a5e8a9e4b789f0463c9c5f334d1/examples/light-switch-app/nrfconnect#testing-the-generic-switch?

If this doesn't work, then it needs fixing.

lboue commented 7 months ago

If I recall correctly, the generic switch is enabled by default. It's just on endpoint 2 instead of 1. Have you tried running the procedure from https://github.com/project-chip/connectedhomeip/tree/fea16046a88c0a5e8a9e4b789f0463c9c5f334d1/examples/light-switch-app/nrfconnect#testing-the-generic-switch?

If this doesn't work, then it needs fixing.

I thought I will have logs in the console regarding endpoint 2. I will try running the procedure. I'll keep you informed of the result.