Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Matter Iot Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-matter-iot-knowledge-patch-nevaberry-plugins)
---
name: matter-iot-knowledge-patch
description: Matter (IoT)
version: "Matter 1.6"
license: MIT
metadata:
author: Nevaberry
---
# Matter (IoT) compatibility guidance
Load this skill when implementing or migrating Matter commissioning flows,
controller bindings, SDK clusters, camera media, transport, or platform builds.
Use the topic references for complete guidance and release-specific attribution.
## Reference index
| Reference | Topics |
| --- | --- |
| [Commissioning and Security](references/commissioning-and-security.md) | Setup payloads, NFC, consent, network commissioning, fabrics, access control, cryptography, certificates, certification |
| [SDK Migration and Platform Integration](references/sdk-migration-and-platforms.md) | Providers, code-driven clusters, removed APIs, Python, Java, Darwin, embedded builds, examples, tests |
| [Transport, Discovery, and Reliability](references/transport-discovery-and-reliability.md) | TCP, large payloads, ICDs, MRP, DNS-SD, Wi-Fi PAF, BDX, OTA, Groupcast |
| [Camera and Media](references/camera-and-media.md) | Camera sessions, privacy, PTZ, WebRTC, Push AV, TLS, TV casting, chimes, media clusters |
| [Devices, Energy, and Climate](references/devices-energy-and-climate.md) | Device metadata, scenes, robot vacuums, locks, sensors, EV charging, tariffs, thermostats, closures, network infrastructure |
## Breaking API and integration changes
### Data-model providers and cluster initialization
- SDK data-model APIs move from `chip::app::InteractionModel` to
`chip::app::DataModel`; the former `DataModel` interface is now `Provider`.
Include `DataModelTypes.h` for types previously provided by `basic-types.h`.
- Providers enumerate metadata through span-based list iterators and use
`chip::ReadOnlyBuffer` in place of `DataModelProvider::MetadataList`.
The subject descriptor is a pointer; providers report endpoint device types
used by access control.
- Register attribute overrides through the separate attribute-access registry.
The free functions in `InteractionModelEngine.h` were removed; classes
previously grouped in `AttributeAccessInterface.h` have separate headers.
- Provider actions return `ActionReturnStatus`. `AddStatus` accepts
`ClusterStatusCode`; `StatusIB` and `StatusCode` use `std::optional`.
`StatusIB::InitFromChipError` was removed.
- Code-driven clusters initialize before Ember callbacks. Move initialization
for migrated clusters from `emberAf*ClusterInitCallback` to
`ServerClusterInterface` initialization hooks.
- Migrated clusters removed or renamed `emberAf*` attribute getters and setters.
Use replacement cluster APIs, including `GetDefault` where exposed.
- `ServerClusterInterfaceRegistry` moves to `app/server-cluster`, with separate
registries for single- and multi-endpoint paths. Use `ServerClusterShim` when
registering a legacy code-generated Ember cluster through `ServerClusterInterface`.
- Binding structures and classes move to `chip::app::Clusters`.
`ListAttributeWriteNotification` implementations need `accessingFabricIndex`.
### Removed interfaces and C++ changes
- Replace `ArraySize(array)` with `MATTER_ARRAY_SIZE(array)` for C++ arrays.
- Remove reads of `EventList` and dependencies on its generated symbols.
- Remove `SoftwareVersionString` overrides from custom
`DeviceInstanceInfoProvider` implementations; that interface member was removed.
- Remove dependencies on configuration version support when targeting 1.5.0.1.
- `LoadKeypairFromRaw` moved to `P256Keypair`; use the class member.
- `BlePlatformDelegate` operations return `CHIP_ERROR`; obsolete operations
were removed. Use a 64-bit `Long` for `CHIP_ERROR` in Java or Kotlin.
- Replace `TlsCertificateManagementCluster` with `TLSCertificateManagementCluster`.
- Replace `initWithXPConnectionBlock` with `initWithXPCConnectionBlock`.
- `Cancelable::operator=` is explicitly deleted; update copy-assignment callers.
- For string literals, replace `CharSpan::fromCharString("label")` with `"label"_span`.
- In v1.5.0.0, formatted `CHIP_ERROR` text uses thread-local storage. Copy it into
owned storage before retaining it across formatting calls or passing it to
another thread.
### Python controller migration
- `GetConnectedDevice` and `DiscoverCommissionableNodes` support asyncio.
The former Bluetooth and `ChipStack` event-loop integration is no longer provided.
- Migrate `ZCLReadAttribute`, `ZCLSubscribeAttribute`, and `ZCLSend` to the
controller's read, subscription, and command APIs. `Read` also accepts direct
attribute paths.
- Automatic resubscription starts only after the initial subscription succeeds.
Callers must handle initial failure themselves.
`SubscriptionTransaction.TriggerResubscribeIfScheduled` can trigger a pending retry.
- The Python controller automatically retries commands on a defunct secure session.
- `MatterTestConfig` moves to `matter_test_config.py`, `SetupParameters` to
`commissioning.py`, and the argument parser and helpers to `runner.py`.
### Commissioning and transfer lifecycle changes
- `RendezvousParameters` no longer carries PASE verifier fields; remove references
to those fields when constructing or inspecting rendezvous parameters.
- `RevokeCommissioning` tears down PASE. Establish a new PASE session before
retrying commissioning after revocation.
- Network Commissioning disconnects from the previous network when attempting
a new one. If secondary network commissioning fails, the auto-commissioner
removes the primary network configuration.
- A requested network scan allows the commissionee at least `ScanMaxTimeSeconds`.
Calling `StopPairing` before PASE is established reports an error.
- The default FailSafe duration increases from 1 second to 20 seconds. Set an
explicit duration in commissioning flows or tests that rely on fast expiration.
- Controller shutdown aborts in-progress BDX transfers as needed. Keep the
controller running until any required transfer completes.
- A BDX Accept message is rejected if its `MaxBlockSize` exceeds the proposed size.
The OTA Provider binds the BDX transfer to the node that sent `QueryImage`;
use that same node for the download.
### Camera and reporting migration
- Replace `IsPrivacyActive` with the appropriate hard privacy, soft livestream
privacy, or soft recording privacy check.
- `WatermarkEnabled` and `OSDEnabled` are optional; allocation and modification
code must handle either field being absent.
- Pass `MaxNetworkBandwidth` in bits per second when initializing Camera AV Stream
Management in the camera app; convert existing megabits-per-second values.
- Camera AV Settings bases command responses on completion of the physical PTZ
action. Controllers should account for movement when choosing a command timeout.
- The WebRTC Requestor delegate is `Delegate`, replacing
`WebRTCTransportRequestorDelegate`. On the Provider side, requested `StreamUsage`
must appear in `StreamUsagePriorities`.
- `GroupKeyMap` has Changes Omitted (`C`) quality; wildcard subscription consumers
should account for omitted changes. Remove `GroupKeyMulticastPolicy` from
`GroupKeySetStruct` initializers and generated binding references.
- Quieter Reporting covers more attributes and device types. Controllers may
receive fewer reports for intermediate or unchanged values.
## Onboarding and commissioning capabilities
- Enhanced Setup Flow displays localized manufacturer terms and returns the
user's consent decision to the device, which can adjust functionality.
Preserve the Custom Commissioning Flow through the manufacturer's app for
commissioners without Enhanced Setup Flow support.
- A compatible commissioner can scan one QR code containing setup information
for multiple devices. `parse-setup-payload` accepts concatenated QR payloads;
`MTRSetupPayload` exposes `concatenated` and `subPayloads`.
- Manufacturers can store the QR onboarding payload on NFC tags; setup then
completes over the usual commissioning transport. Matter 1.6 supports the full
exchange over bidirectional NFC. Compatible fixtures and in-wall devices can
be provisioned before mounting or full power-up.
- The final 1.5.1.0 SDK tag reverts the NFC commissioning backport from PR #71378.
Check behavior against the tagged SDK before relying on that cherry-pick.
- Wi-Fi Unsynchronized Service Discovery enables commissioning without a
Bluetooth LE radio and requires a commissioner supporting USD commissioning.
- `chip-tool` and Linux apps offer `--wifipaf`; this path uses MRP and defers PAF
sends while the Wi-Fi resource is unavailable.
- The commissioner can request network credentials without a scan.
Android JNI exposes `ContinueCommissioningAfterConnectNetworkRequest`.
## Large payloads, discovery, and sleepy devices
- Controller connection setup can select a transport for large payloads.
Python controller and script bindings expose `TransportPayloadCapability`.
- Set `AllowLargePayload` on `InvokeCommandRequest` when an invocation needs
large-payload transport. `BufferedReadCallback` also accepts large payloads.
- The TCP server listener can be enabled separately from TCP transport support.
Accepted connections use keepalive; oversized inbound messages close the connection.
A client disconnect marks the associated session for eviction.
- Linux supports continuous operational discovery. Minimal mDNS keeps browsing
after the first result; mDNS can report results from all interfaces.
- Thread builds use a longer default MRP retry interval. MRP backoff calculations
honor the peer's Sleepy Active Threshold, so retry timing can vary with that value.
- Persistent subscriptions are disabled on Long Idle Time ICDs. Controllers
needing reports after restart should be prepared to establish a new subscription.
- An unattached Thread ICD defers `ActiveMode` entry and Check-In dispatch until
its Thread interface attaches.
- Applications can obtain `ActiveModeDuration`, `ActiveModeThreshold`, and
`IdleModeDuration`, including on Android. `ICDConfigurationData` exposes
`ShortIdleModeDuration` separately; the ICD getter returns the maximum
applicable `IdleModeDuration` value.
## Fabrics, access, and Groupcast
- Joint Fabric lets controllers from multiple ecosystems share a fabric identity
and coordinate administration and datastore state using one fabric-table slot.
Administrators can be added or
removed independently of device enrollment; devices can also belong to
traditional ecosystem fabrics.
- The Interaction Model checks access before revealing path existence for reads,
subscriptions, writes, and commands. The SDK enforces fabric filtering on all
fabric-sensitive attribute reads.
- Groupcast is disabled by default. Enable `chip_enable_groupcast = true` at
build time; ESP32 builds use `CONFIG_ENABLE_GROUPCAST=y`.
- Groupcast validates auxiliary ACL entries and endpoint-command privileges.
- Ecosystems can check Certificate Revocation Lists during commissioning to
identify revoked Device Attestation Certificates and warn users or block setup.
Partitioned Certificate Revocation Lists allow independent partition updates.
## Camera, energy, climate, and device capabilities
- A structured camera session can carry multiple audio and video streams,
including simultaneous recording, mobile, and analysis streams and multiple lenses.
- Cameras can upload recorded video using HLS or DASH through CMAF Interface-2.
Push AV adds initial AV Analytics support and validates CMAF Interface 2 HLS uploads.
- The camera WebRTC controller supports data channels alongside media streams.
Battery-powered camera offers may be deferred; controller flows should allow
the offer to arrive later.
- Thermostats can evaluate suggestions against user preferences, demand-response
commitments, and recent manual changes, and return a standardized decline reason.
Controllers propose changes as time-bound suggestions tied to supported presets.
- The electrical-energy tariff device type carries current and forecast prices,
tariffs, and carbon data. EV charging can be certified for state-of-charge
reporting and bidirectional charging.
- Soil sensors measure soil moisture and can optionally report soil temperature.
Smoke and carbon monoxide alarms can report being unmounted; security sensors
can expose event history alongside current status.
- Endpoint unique IDs are independent of the admin and survive recommissioning.
Devices can notify controllers when firmware or user changes alter node capabilities.
## Platform and conformance integration
- Linux and Tizen default to C++20. Check aggregate initialization, including
braces around `NFCTag::Identifier` initializers.
- Include the lwIP Git submodule when updating dependencies for lwIP builds.
For Thread-enabled Zephyr builds, use Zephyr's OpenThread integration.
- `CHIP_CONFIG_LAMBDA_EVENT_ALIGN` uses `max_align_t`; custom callback event
storage must meet that alignment.
- Use Core, Application Clusters, Device Type Library, and Standard Namespace
documents from the same Matter release for implementation and conformance checks.
- The data-model errata engine can override a cluster revision at runtime.
Use the effective revision for runtime cluster-conformance checks.