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.47k stars 2k forks source link

[BUG] ZAP tool --> Primary Device is not correctly saved to zap file #35437

Closed lboue closed 1 month ago

lboue commented 1 month ago

Reproduction steps

I am facing an issue with ZAP tool. Primary Device is not correctly saved to zap file. For example, with PR #35410.

Reproduce steps

Bug prevalence

Always

GitHub hash of the SDK that was being used

c6f66811c00f6c13e09938147a7c37310ee7bdc9

Platform

core

Platform Version(s)

N/A

Anything else?

No response

QuentinCaldeira-eaton commented 1 month ago

I don't know if it's linked, but you need to activate Power Source Configuration in the endpoint 0 in order to use PowerSource Cluster in other endpoints. Tell me if it helps !

lboue commented 1 month ago

I don't know if it's linked, but you need to activate Power Source Configuration in the endpoint 0 in order to use PowerSource Cluster in other endpoints. Tell me if it helps !

@QuentinCaldeira-eaton I used the contact sensor as an example and EP 0 does not contain this cluster. This is not related to my issue.

/scripts/tools/zap/run_zaptool.sh examples/chef/devices/rootnode_contactsensor_27f76aeaf5.zap

image

bzbarsky-apple commented 1 month ago

@lboue ZAP tool issues go in https://github.com/project-chip/zap/issues

lboue commented 1 month ago

@lboue ZAP tool issues go in https://github.com/project-chip/zap/issues

New issue in zap repo: https://github.com/project-chip/zap/issues/1420