connectedhomeip icon indicating copy to clipboard operation
connectedhomeip copied to clipboard

[Scenes] Add Chip-tool support for scenes commands

Open jepenven-silabs opened this issue 2 years ago • 1 comments

Preliminary test shows that if we try to run the add-scene command, chip-tool issue the CHIP_ERROR_INVALID_ARGUMENT error code since the number of arguments seems to be more than the average command

jepenven-silabs avatar Sep 26 '22 14:09 jepenven-silabs

Once a destination device has been commissioned and paired with the nodeId=25119 and the GroupId=0x4141, the following formatting of the add-scenes command will result in the General error: 0xc3 (UNSUPPORTED_CLUSTER) from that end device:

./chip-tool scenes add-scene 0x4141 1 1 "Test" '[{"clusterId": 5, "attributeValueList":[{"attributeId": 1, "attributeValue": [1]}]}]' 25119 1

Chip-tool support for scene commands thus seems functional.

lpbeliveau-silabs avatar Oct 13 '22 18:10 lpbeliveau-silabs