1111 Commits

Author SHA1 Message Date
Chris Leishman a0dfcbf85f fix(cluster_select): gate Thread clusters on OPENTHREAD_ENABLED
The three Thread-related clusters (Thread Network Diagnostics, Thread
Border Router Management, Thread Network Directory) default to enabled
regardless of whether OpenThread is present. On WiFi-only devices this
causes the clusters to be registered on the root node endpoint, but
read requests fail with CHIP_ERROR_NOT_IMPLEMENTED because
CHIP_DEVICE_CONFIG_ENABLE_THREAD is disabled, producing noisy DMG
errors like:

  E chip[DMG]: Fail to retrieve data ... clusterId: 0x0000_0035 err = 2d

Add `depends on OPENTHREAD_ENABLED` so these clusters are only
available when the Thread stack is actually present.
2026-02-24 23:22:39 -08:00
Chris Leishman c718d9b504 fix(data_model): silence spurious "Cluster cannot be NULL" error during dynamic endpoint init
When using the esp_matter data model (CONFIG_ESP_MATTER_ENABLE_DATA_MODEL=y),
attribute::get(endpoint_id, cluster_id, attribute_id) is called during endpoint
registration via emberAfExternalAttributeReadCallback. If the cluster doesn't
exist on the endpoint, the lookup returns NULL, which is then passed to the
two-argument get(cluster_t*, attribute_id) overload that logs at error level.

Add a NULL guard in the three-argument overload to return nullptr early,
consistent with how command::get(endpoint_id, cluster_id, command_id) already
handles this case.

Fixes #1692
2026-02-24 07:32:17 -08:00
Hrishikesh Dhayagude 599247e215 Merge branch 'pr_1719' into 'main'
[GH_PR] Fix: Correct MinSetpointDeadBand bounds to use int8_t (CON-1986)

See merge request app-frameworks/esp-matter!1433
2026-02-18 16:29:49 +08:00
Hrishikesh Dhayagude bc7c3eb7f1 Merge branch 'fix/feature-validation-check' into 'main'
Update Feature Validation check for clusters

See merge request app-frameworks/esp-matter!1423
2026-02-18 12:44:46 +08:00
Szilveszter Szebeni 3a721c2541 Fix: Correct MinSetpointDeadBand bounds to use int8_t
MinSetpointDeadBand is defined as an int8_t, but the bounds were incorrectly created using int16_t. Updated bounds to use int8_t with the correct range (0–127).
2026-02-15 15:51:55 +01:00
Hrishikesh Dhayagude 67db90b84d Merge branch 'feat/add-zone_management-cluster' into 'main'
Add zone_management cluster in esp_matter

See merge request app-frameworks/esp-matter!1397
2026-02-13 17:51:33 +08:00
Shu Chen 77a7e01716 Merge branch 'fix_endpoint_report' into 'main'
components/esp_matter: report attribute change in endpoint::enable and disable

See merge request app-frameworks/esp-matter!1427
2026-02-10 11:06:19 +00:00
mahesh 8164d351b1 components/esp_matter:Add missing feature for device energy management cluster
Replace at most validation check with exact one for closure dimension
cluster
- removed at most validation macro
- add features for door lock, microwave oven, device energy management,
  energy evse devices in all device type app to make them conformant
2026-02-09 12:23:21 +05:30
mahesh 11b6a1d113 components/esp_matter: add zone_management cluster in esp_matter 2026-02-09 12:04:22 +05:30
chendejin dd9d4d9c53 components/esp_matter: report attribute change in endpoint::enable and disable 2026-02-09 10:51:22 +08:00
WanqQixiang 968ff042a8 CI: add astyle pre-commit hook 2026-02-03 15:30:42 +08:00
Shu Chen cb27fe763d Merge branch 'fix_endpoint_enable' into 'main'
components/esp_matter: call init function in endpoint::enable

See merge request app-frameworks/esp-matter!1421
2026-02-03 07:20:20 +00:00
Shu Chen 6825f894d4 Merge branch 'controller/add_icd_callback' into 'main'
esp_matter_controller: Add API to register callbacks for ICD client

Closes CON-1925

See merge request app-frameworks/esp-matter!1410
2026-01-30 12:31:21 +00:00
chendejin f3a727930b components/esp_matter: call init function in endpoint::enable 2026-01-30 14:09:50 +08:00
WanqQixiang 063f5c606d esp_matter: add soil sensor device type 2026-01-27 14:30:43 +08:00
Shu Chen 6456f3fbe2 Merge branch 'submodule/update_8f943388af' into 'main'
submodule: update connectedhomeip submodule to commit id 8f943388af

See merge request app-frameworks/esp-matter!1404
2026-01-26 07:45:05 +00:00
Hrishikesh Dhayagude a48ced16ba Merge branch 'weak_callbacks' into 'main'
components/esp_matter: Add weak definition of ESPMatterClusterInit/ShutdownCallback.

See merge request app-frameworks/esp-matter!1380
2026-01-22 16:06:19 +08:00
Hrishikesh Dhayagude 3f65036765 Merge branch 'attribute_update_cb' into 'main'
components/esp_matter: Add attribute update callback in case of attribute managed by SCI and AAI.

See merge request app-frameworks/esp-matter!1371
2026-01-22 16:02:46 +08:00
Hrishikesh Dhayagude be6172fb98 Merge branch 'feat/add-soil_measurement-cluster' into 'main'
Add soil_measurement cluster in esp_matter

See merge request app-frameworks/esp-matter!1396
2026-01-22 15:57:54 +08:00
WanqQixiang 97f93519c6 esp_matter_controller: Add API to register callbacks for ICD client
Fixes https://github.com/espressif/esp-matter/issues/1655
2026-01-22 09:43:09 +08:00
WanqQixiang baf5959df1 submodule: update connectedhomeip submodule to commit id 8f943388af 2026-01-19 08:37:19 +08:00
Rohit 651c1c6db9 components/esp_matter: Add attribute update callback in case of attribute managed by SCI and AAI. 2026-01-16 11:51:49 +05:30
Shu Chen 40b9d1413e Merge branch 'feat/add-destroy-methods' into 'main'
Add Destroy API Support for Commands, Attributes, and Events

See merge request app-frameworks/esp-matter!1336
2026-01-15 11:16:23 +00:00
liyashuai 2b39ff29d1 components/esp_matter: fix a grammar error 2026-01-15 14:00:44 +08:00
Hrishikesh Dhayagude c77ff4be94 Merge branch 'fix/delegate_initialisation' into 'main'
components/esp-matter: Fix the delegate initialization flow

See merge request app-frameworks/esp-matter!1387
2026-01-14 22:08:34 +08:00
Hrishikesh Dhayagude 2a3d3e2299 Merge branch 'pr_1638' into 'main'
[GH_PR] Fix MeterIdentification cluster AttributeAccessInterface initialization (CON-1910)

See merge request app-frameworks/esp-matter!1388
2026-01-14 15:57:36 +08:00
Rohit 4e639da910 components/esp_matter: Add weak definition of ESPMatterClusterInit/ShutdownCallback. 2026-01-14 12:31:29 +05:30
Rohit 5e56b173d2 components/esp-matter: Fix the delegate initialization flow. Fixes:https://github.com/espressif/esp-matter/issues/1630 2026-01-13 17:12:18 +05:30
mahesh d07487cdf7 components/esp_matter: add soil_measurement cluster in esp_matter 2026-01-11 16:42:56 +05:30
Shu Chen b9ab5160e8 Merge branch 'add_network_diag_clusters' into 'main'
esp_matter: Add WiFiNetworkDiagnotics and ThreadNetworkDiagnostics clusters by default

See merge request app-frameworks/esp-matter!1381
2026-01-07 10:27:28 +00:00
Ludovic BOUÉ 1db3abc215 feat: add Meter Identification delegate initialization callback
feat: add Meter Identification delegate initialization callback

feat: clarify initialization callback in Meter Identification delegate

feat: clarify initialization callback in Meter Identification delegate

feat: update initialization callback for Meter Identification delegate
2026-01-07 07:15:29 +00:00
WanqQixiang 8163ff16a5 esp_matter: Add WiFiNetworkDiagnotics and ThreadNetworkDiagnostics cluster by default 2026-01-04 09:24:43 +08:00
Shu Chen 1cbceb0d43 Merge branch 'add_calling_for_doorlock_cluster_init' into 'main'
Doorlock: Add calling for emberAfDoorLockClusterInitCallback function

See merge request app-frameworks/esp-matter!1343
2026-01-03 04:05:42 +00:00
mahesh 2e22e3014d Fix: Incorrect Software Diagnostic cluster id while checking attribute enable
Fixes: https://github.com/espressif/esp-matter/issues/1634
2025-12-31 16:01:33 +05:30
Hrishikesh Dhayagude 2e20fa03a6 Merge branch 'feat/add-electrical-device-types' into 'main'
Add electrical device types

See merge request app-frameworks/esp-matter!1369
2025-12-31 16:24:17 +08:00
Hrishikesh Dhayagude 19628f0817 Merge branch 'feat/add-meter_identification-cluster' into 'main'
Add meter identification cluster

See merge request app-frameworks/esp-matter!1368
2025-12-31 16:21:30 +08:00
Hrishikesh Dhayagude 1b7340e60c Merge branch 'feat/add-electrical_grid_conditions-cluster' into 'main'
Add electrical_grid_conditions cluster in esp_matter

See merge request app-frameworks/esp-matter!1367
2025-12-31 16:20:55 +08:00
mahesh aeb697ebe7 components/esp_matter: Add new electrical device types 2025-12-30 11:53:36 +05:30
mahesh 170bdc7400 components/esp_matter: add meter_identification cluster in esp_matter 2025-12-30 11:50:08 +05:30
Shu Chen a13535b57a Merge branch 'basic_info/fix_optional_attr' into 'main'
data-mode-provider: Set optional attributes set for basic information cluster

Closes CON-1891

See merge request app-frameworks/esp-matter!1362
2025-12-29 01:56:19 +00:00
mahesh e190a8ed2d fix: correct misplaced server init callback in wifi-network-diagnostics-cluster
Fixes https://github.com/espressif/esp-matter/issues/1623
2025-12-26 11:14:26 +05:30
mahesh a192e42299 components/esp_matter: add electrical_grid_conditions cluster in esp_matter 2025-12-26 08:35:46 +05:30
WanqQixiang 0608f84934 data-mode-provider: Set optional attributes set for basic information cluster
Fixes CON-1891
2025-12-26 11:05:08 +08:00
liyashuai 3317574efb Doorlock: Add calling for emberAfDoorLockClusterInitCallback function 2025-12-26 02:38:02 +00:00
Hrishikesh Dhayagude 7488d96e9f Merge branch 'feat/add-commodity_metering-cluster' into 'main'
Add commodity metering cluster

See merge request app-frameworks/esp-matter!1357
2025-12-22 21:10:50 +08:00
Hrishikesh Dhayagude 2fe970d1bc Merge branch 'feat/add-commodity_price-cluster' into 'main'
Add commodity price cluster

See merge request app-frameworks/esp-matter!1356
2025-12-22 21:06:39 +08:00
Hrishikesh Dhayagude 717a813d18 Merge branch 'feat/add-commodity_tarrif-cluster' into 'main'
Add commodity_tariff cluster in esp_matter

See merge request app-frameworks/esp-matter!1355
2025-12-22 20:34:38 +08:00
mahesh d3d7d328ca components/esp_matter: add commodity_metering cluster in esp_matter 2025-12-22 12:17:03 +05:30
Hrishikesh Dhayagude a4da4663c8 Merge branch 'bugfix/set_val' into 'main'
components/esp-matter: Fix the set_val call and add RAII lock.

See merge request app-frameworks/esp-matter!1350
2025-12-19 19:42:21 +08:00
Chen Dejin 9941603436 components/esp_matter: fix compile error for icd without esp data model 2025-12-19 01:50:15 +00:00