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)
---
name: matter-iot-knowledge-patch
description: Matter (IoT)
version: "Matter 1.6"
license: MIT
metadata:
author: Nevaberry
---
# Matter (IoT) compatibility
Load this skill when migrating Matter SDK applications, implementing device
clusters, or integrating commissioners and controllers. It covers commissioning,
fabrics, security, transport, ICD behavior, data models, platforms, and device APIs.
Use the topic references for each item's SDK or specification attribution.
## Reference index
| Reference | Topics |
| --- | --- |
| [Commissioning, Fabrics, and Security](references/commissioning-fabrics-security.md) | Setup payloads, consent, NFC, pairing, credentials, Joint Fabric, attestation, access control, certification |
| [Data Model and Platform Migrations](references/data-model-platform-migrations.md) | Provider APIs, code-driven clusters, schema changes, C++, Python, language bindings, builds, embedded platforms, All-Devices |
| [Networking, Transport, and ICD Behavior](references/networking-transport-icd.md) | BLE, Wi-Fi PAF, TCP, MRP, DNS-SD, ICD lifecycle, Thread infrastructure, BDX, OTA, Groupcast |
| [Cameras and Media](references/cameras-media.md) | Streams, privacy, PTZ, WebRTC, Push AV, TLS management, audio, chimes, intercoms |
| [Devices, Energy, and Closures](references/devices-energy-closures.md) | Closures, thermostat presets, tariffs, metering, EV charging, water heating, soil sensors, robot vacuums, locks, alarms, scenes |
## Breaking API and schema migrations
Use [data-model migrations](references/data-model-platform-migrations.md) for the
attributed definitions and complete cluster migration lists.
| Existing dependency | Migration |
| --- | --- |
| `chip::app::InteractionModel` | Data-model APIs move to `chip::app::DataModel`; the former `DataModel` interface is `Provider`. |
| Data-model types from `basic-types.h` | Include `DataModelTypes.h`. |
| `DataModelProvider::MetadataList` | Use `chip::ReadOnlyBuffer` and span-based metadata list iterators. |
| Attribute-access free functions in `InteractionModelEngine.h` | Use the separate attribute-access registry; previously grouped classes have separate headers. |
| `StatusIB` and `StatusCode` using `chip::Optional` | Use `std::optional`; `StatusIB::InitFromChipError` was removed. |
| `ArraySize(array)` | Replace with `MATTER_ARRAY_SIZE(array)` for C++ arrays. |
| `EventList` reads or generated symbols | Remove this dependency; the SDK and generated code remove the attribute. |
| `SoftwareVersionString` overrides on `DeviceInstanceInfoProvider` | Remove the overrides; the member was removed. |
| `HomeLocationStruct` | Use `LocationDescriptorStruct`. |
| `CharSpan::fromCharString("label")` for literals | Use `"label"_span`. |
| Copy assignment of `Cancelable` | Update callers; `Cancelable::operator=` is explicitly deleted. |
Code-driven clusters initialize before Ember callbacks. Move migrated cluster
initialization from `emberAf*ClusterInitCallback` to `ServerClusterInterface`
initialization hooks. Replace removed or renamed `emberAf*` attribute accessors
with the cluster APIs, including `GetDefault` where exposed.
Use `ServerClusterShim` when registering a legacy code-generated Ember cluster
through `ServerClusterInterface`. `OptionalAttributeSet`, `AttributeSet`, and
`AttributeListBuilder` support optional-attribute configuration and lists.
`ListAttributeWriteNotification` implementations need to accept `accessingFabricIndex`.
The 1.5 SDK branch removes configuration version support; remove dependencies
when targeting 1.5.0.1. Use effective cluster revisions when the data-model errata
engine overrides them at runtime.
## Controller and language-binding migrations
Python no longer provides its former Bluetooth and `ChipStack` event-loop
integration. `GetConnectedDevice` and `DiscoverCommissionableNodes` support asyncio.
Migrate `ZCLReadAttribute`, `ZCLSubscribeAttribute`, and `ZCLSend` calls to the
controller's read, subscription, and command APIs. `Read` can accept 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 for a defunct secure session.
`ChipStackException` retains the original `PyChipError` for inspection.
Use a 64-bit `Long` for `CHIP_ERROR` in Java or Kotlin. Replace the Darwin
initializer `initWithXPConnectionBlock` with `initWithXPCConnectionBlock`.
Darwin builds enable ARC globally, and `Matter.framework` prohibits static initializers.
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. C++20 builds support `std::source_location` in `ChipError`;
`ErrorStr(error, false)` omits the location.
## Commissioning and security behavior
See [commissioning and security](references/commissioning-fabrics-security.md) for
the platform entry points, credential interfaces, and certification details.
- `RendezvousParameters` no longer carries PASE verifier fields; remove references.
- `RevokeCommissioning` tears down PASE. Establish a new PASE session before retrying.
- `StopPairing` before PASE establishment reports an error.
- A requested network scan allows the commissionee at least `ScanMaxTimeSeconds`.
- 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.
- Secondary network commissioning removes the primary network configuration if
secondary commissioning fails. Network Commissioning disconnects from the
previous network when attempting a new one.
Enhanced Setup Flow displays localized manufacturer terms and returns the user's
consent decision to the device. Preserve the manufacturer's Custom Commissioning
Flow for commissioners that lack Enhanced Setup Flow support.
The General Commissioning XML's `TCUpdateDeadline` attribute is provisional.
A compatible commissioner can set up several devices from one QR code.
`parse-setup-payload` accepts concatenated payloads; Matter.framework exposes
`concatenated` and `subPayloads` on `MTRSetupPayload` for inspection.
NFC onboarding tags carry the QR onboarding payload and then use the usual
commissioning transport. Matter 1.6 supports the full exchange over bidirectional
NFC. The sdk-1.5.1.0 tag reverts the NFC cherry-pick from PR #71378; check that
tag's behavior before relying on the cherry-pick.
Joint Fabric lets participating ecosystems share one fabric-table slot and
coordinate administration and datastore state. Administrator membership changes
independently of device enrollment; Joint Fabric and traditional ecosystem fabrics
can coexist on a device.
Ecosystems can check attestation Certificate Revocation Lists during commissioning
to warn users or block commissioning. Each partition of a partitioned Certificate
Revocation List can be updated independently. For reads, subscriptions, writes,
and command invocations, access checks precede path-existence disclosure.
Fabric-sensitive attribute reads enforce fabric filtering.
## Networking, large payloads, and sleepy devices
See [transport and ICD guidance](references/networking-transport-icd.md) for
platform support, discovery fields, transfer lifecycle, and timing details.
Set `AllowLargePayload` on `InvokeCommandRequest` when an invocation needs
large-payload transport. `BufferedReadCallback` accepts large payloads;
Python exposes `TransportPayloadCapability` for connection setup.
An oversized inbound message closes the TCP connection. Client disconnection
marks the associated session for eviction.
Thread builds use a longer default MRP retry interval. MRP backoff honors the
peer's Sleepy Active Threshold, so retransmission timing can vary with that value.
`TransmitEvent` analytics include retransmission count and acknowledgment latency.
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
the Thread interface attaches. A mismatched ICD management response leaves the
commissioner's ICD commissioning step pending.
Groupcast is disabled by default. Enable it at build time for its protocol,
clusters, group KeySet extensions, and Thread Groupcast border routing:
```gn
chip_enable_groupcast = true
```
ESP32 exposes the corresponding SDK build configuration:
```kconfig
CONFIG_ENABLE_GROUPCAST=y
```
`GroupKeyMap` has Changes Omitted (`C`) quality; wildcard subscription consumers
should account for omitted changes. Remove `GroupKeyMulticastPolicy` from
`GroupKeySetStruct` initializers and generated binding references.
Keep the controller running until required BDX transfers complete; shutdown aborts
in-progress transfers as needed. A BDX Accept is rejected if its `MaxBlockSize`
exceeds the proposed size. For OTA downloads, use the node that sent `QueryImage`.
## Camera and media integration
See [camera and media guidance](references/cameras-media.md) for stream allocation,
recording, WebRTC signaling, and device definitions.
- Replace `IsPrivacyActive` with the appropriate hard privacy, soft livestream
privacy, or soft recording privacy check.
- Handle absent `WatermarkEnabled` and `OSDEnabled` fields in stream allocation
and modification code. Preserve `MotionZones` nullability in Push AV options.
- Pass camera-app `MaxNetworkBandwidth` in bits per second; convert existing
megabits-per-second values before initialization.
- PTZ command responses follow completion of the physical action. Controllers
should account for movement when choosing timeouts. Controller position handling
needs to accommodate home positions at rotation limits.
- Replace `WebRTCTransportRequestorDelegate` with `Delegate`. A Provider's
requested `StreamUsage` must occur in `StreamUsagePriorities`.
- Battery-powered camera flows should allow deferred WebRTC offers. The camera
WebRTC controller also supports data channels alongside media streams.
- For sdk-1.5.1.0, use Push AV XML and the recorded-clip upload implementation from the same tag.
Validate recording configurations against the applicable 1.5.1 rules.
- Replace `TlsCertificateManagementCluster` with `TLSCertificateManagementCluster`.
A structured camera session can carry multiple audio and video streams, including
streams from multiple lenses. Snapshots can use HEIC; recorded video can upload
through HLS or DASH using CMAF Interface-2. Controllers can select chime sounds,
and automations can use the start of chime playback as a trigger.
## Device control and reporting
See [device, energy, and closure guidance](references/devices-energy-closures.md)
for the complete cluster behavior and examples.
- Thermostat suggestions are time-bound and tied to a supported preset. Thermostats
can evaluate user preferences, demand-response commitments, and recent manual
changes, and return a standardized reason for declining a suggestion.
- Validate `MinSetpointDeadBand` against `0..127`. Thermostat subscriptions receive
`ActivePresetHandle` change notifications.
- Closure `SetTarget` rounds to the nearest supported position resolution increment.
Position validation is gated on Positioning, and movement checks latch state.
- Soil sensors measure moisture and can optionally report temperature. The code-driven Soil
Measurement server no longer applies its previous value validation.
- Door Lock `AutoRelockTime` is optional; handle credential data when present in
`GetCredentialStatusResponse`.
- Security sensors can expose event history, and smoke/CO alarms can report being
unmounted. Level Control scenes support endpoints without optional `MaxLevel`.
Quieter Reporting may reduce intermediate or unchanged reports. `ReadClient` can
truncate data-version filters to fit the request; handle cluster attributes whose
filter was omitted. Endpoint unique IDs survive recommissioning and are independent
of the admin. Node reconfiguration notifications allow configuration re-evaluation
without recommissioning.
## Builds and conformance checks
Linux and Tizen default to C++20; check aggregate initialization, including braces
around `NFCTag::Identifier`. lwIP is a Git submodule. For a Thread-enabled Zephyr
build, use Zephyr's OpenThread integration. Custom platform event storage for
callbacks must meet the `max_align_t` alignment used by `CHIP_CONFIG_LAMBDA_EVENT_ALIGN`.
The [platform reference](references/data-model-platform-migrations.md) includes
embedded targets, SDK dependencies, Python test replacements, and All-Devices CLI
and named-pipe control. The [certification reference](references/commissioning-fabrics-security.md)
includes revised commissioning tests and the specification download link.
For implementation and conformance checks, use Core, Application Clusters,
Device Type Library, and Standard Namespace documents from the same Matter release.