Page 1 of 1

Matter Light example doesn't toggle using chip-tool

Posted: Wed May 22, 2024 10:20 am
by pabl40
I have flashed an ESP32-C6-DevKitM-1 board with the simple Matter light example. I have successfully commissioned this using chip-tool via ble-wifi. Chip-tool is running on an Ubuntu PC on the same Wi-Fi network.

If I turn the light on the board off by pressing the board button, and then try to toggle the light on and off using chip-tool command :

Code: Select all

chip-tool onoff toggle 0x7283 0x01
This turns the light on only once the first time, but then any further toggle commands doesn't toggle the light. Only a flicker is observed. I can't tell if this is a bug or what is wrong. I have attached the logs here from the device. I'd appreciate help with this. Thanks.

Re: Matter Light example doesn't toggle using chip-tool

Posted: Wed May 22, 2024 11:24 am
by liaifat85
What is your circuit arrangement? There should be proper debouncing when it comes to button circuits.

Re: Matter Light example doesn't toggle using chip-tool

Posted: Wed May 22, 2024 1:35 pm
by pabl40
liaifat85 wrote:
Wed May 22, 2024 11:24 am
What is your circuit arrangement? There should be proper debouncing when it comes to button circuits.
I am not using a button. Chip-tool sends the onoff toggle command over Matter / Wi-Fi. the LED is part of the development kit.