Matter Light example doesn't toggle using chip-tool

pabl40
Posts: 15
Joined: Thu May 02, 2024 11:12 am

Matter Light example doesn't toggle using chip-tool

Postby pabl40 » Wed May 22, 2024 10:20 am

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.
Attachments
putty_toggle_on_off.log
(36.64 KiB) Downloaded 101 times

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

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

Postby liaifat85 » Wed May 22, 2024 11:24 am

What is your circuit arrangement? There should be proper debouncing when it comes to button circuits.

pabl40
Posts: 15
Joined: Thu May 02, 2024 11:12 am

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

Postby pabl40 » Wed May 22, 2024 1:35 pm

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.

Who is online

Users browsing this forum: No registered users and 104 guests