Skip to main content

Aqara Data Model Tags

This appendix defines the Function, Trait, and Command in the Aqara Spec data model tag system. These definitions serve as the business semantic layer, where Function and Trait map to Object/Property of the Aqara data model, and Command maps to the Service of the Aqara data model business interaction protocol.

Aqara Spec defines the data model tag system for Aqara smart devices, used to describe what the device "can do". In this tag system, Function and Trait map to Object/Property of the Aqara data model, and Command maps to the Service of the Aqara data model business interaction protocol: Aqara Spec describes business semantics, while the data model and interaction protocol describe data structures and access methods respectively.

Data Model Architecture​

The Aqara Spec data model adopts a layered architecture, from top to bottom: Device -> Endpoint -> Device Type -> Function -> Trait / Command.

There are two special types of Endpoint in a device: Root Endpoint (Endpoint 0) and Public Endpoint (usually Endpoint 1). The Root Endpoint carries device root information; the Public Endpoint carries device-level common Functions shared by the entire device, which are not implemented repeatedly on each business Endpoint.

The following uses a multi-Endpoint human presence sensor as an example to show the actual structure of the Root Endpoint, Public Endpoint, and multiple business Endpoints:

Device: "<Device ID>"
├── Endpoint 0 (Root Endpoint)
│ └── Device Type: Root (ID: 0x0000)
│ └── Basic Information (Function ID: 0x0080)
│ ├── DebugInfo (Trait ID: 0x4E29)
│ ├── BLEVersion (Trait ID: 0x4EE9)
│ ├── MCUVersion (Trait ID: 0x4EEB)
│ ├── FirmwareRevision (Trait ID: 0x8080)
│ ├── SerialNumber (Trait ID: 0x8081)
│ ├── VendorName (Trait ID: 0x8082)
│ ├── VendorID (Trait ID: 0x8083)
│ ├── ProductName (Trait ID: 0x8084)
│ ├── Reachable (Trait ID: 0x8085)
│ ├── FirmwareRevisionString (Trait ID: 0x8117)
│ └── ProductID (Trait ID: 0x8118)
├── Endpoint 1 (Public Endpoint)
│ └── Device Type: Public (ID: 0x0001)
│ ├── Identify (Function ID: 0x0083)
│ │ ├── IdentifyTime (Trait ID: 0x8094)
│ │ ├── IdentifyType (Trait ID: 0x8095)
│ │ └── Identify (Command ID: 0x8096)
│ ├── Matter Commissioning (Function ID: 0x00AD)
│ │ ├── MatterFabricsOperationState (Trait ID: 0x4FA0)
│ │ ├── ConnectedMatterFabrics (Trait ID: 0x8123)
│ │ ├── MatterCommissioningWindowStatus (Trait ID: 0x8124)
│ │ ├── MatterNodeID (Trait ID: 0x8142)
│ │ ├── OpenMatterCommissioningWindow (Command ID: 0x88B9)
│ │ └── RemoveMatterFabric (Command ID: 0x88BC)
│ ├── General Diagnostics (Function ID: 0x00B0)
│ │ ├── UpTime (Trait ID: 0x4E23)
│ │ ├── NetworkInterfaces (Trait ID: 0x4E2A)
│ │ ├── ActiveHardwareFaults (Trait ID: 0x813D)
│ │ ├── RebootCount (Trait ID: 0x8148)
│ │ └── RebootReason (Trait ID: 0x8149)
│ ├── Matter Node Information (Function ID: 0x00B3)
│ │ └── MatterNodeFirstEndpointID (Trait ID: 0x8143)
│ └── Thread Network Diagnostics (Function ID: 0x00B5)
│ ├── OverrunCount (Trait ID: 0x4E2C)
│ ├── PartitionID (Trait ID: 0x4E2D)
│ ├── TxTotalCount (Trait ID: 0x4E2E)
│ ├── TxUnicastCount (Trait ID: 0x4E2F)
│ ├── TxBroadcastCount (Trait ID: 0x4E30)
│ ├── RxTotalCount (Trait ID: 0x4E31)
│ ├── RxUnicastCount (Trait ID: 0x4E32)
│ ├── RxBroadcastCount (Trait ID: 0x4E33)
│ ├── NetworkFaultChange (Trait ID: 0x4E34)
│ ├── Channel (Trait ID: 0x814A)
│ ├── PanID (Trait ID: 0x814B)
│ ├── ExtendedPanID (Trait ID: 0x814C)
│ ├── NetworkName (Trait ID: 0x814D)
│ ├── RouteTable (Trait ID: 0x814E)
│ ├── RoutingRole (Trait ID: 0x814F)
│ ├── NeighborTable (Trait ID: 0x8150)
│ └── MeshLocalPrefix (Trait ID: 0x8151)
├── Endpoint 2 (Business Endpoint)
│ └── Device Type: Occupancy Sensor (ID: 0x0027)
│ ├── Occupancy Sensing (Function ID: 0x00A0)
│ │ ├── HoldTime (Trait ID: 0x4E72)
│ │ ├── Occupancy (Trait ID: 0x80E8)
│ │ └── OccupancySensorType (Trait ID: 0x80E9)
│ ├── General Configuration (Function ID: 0x00AF)
│ │ └── CurrentSensitivityLevel (Trait ID: 0x813B)
│ ├── Ambient Sensing Configuration (Function ID: 0x00E3)
│ │ ├── InstallMode (Trait ID: 0x4F13)
│ │ ├── SideInstall (Trait ID: 0x4F14)
│ │ ├── InstallHeightSetting (Trait ID: 0x4F15)
│ │ ├── InstallStatus (Trait ID: 0x4F16)
│ │ ├── InstallAngle (Trait ID: 0x4F17)
│ │ ├── MaxDetectionZones (Trait ID: 0x4F18)
│ │ ├── Zones (Trait ID: 0x4F19)
│ │ ├── EntryExitRegionBitmask (Trait ID: 0x4F1B)
│ │ ├── InterferenceRegionBitmask (Trait ID: 0x4F1C)
│ │ ├── EdgeRegionBitmask (Trait ID: 0x4F1D)
│ │ ├── EnableHumanCountDetection (Trait ID: 0x4F1F)
│ │ ├── EnableAIHighPrecisionRecognition (Trait ID: 0x4F23)
│ │ ├── EnableAIInterferenceSourceRecognition (Trait ID: 0x4F27)
│ │ ├── EnableAIAdaptiveSensitivity (Trait ID: 0x4F28)
│ │ ├── CoordinateReverseSetting (Trait ID: 0x4F29)
│ │ ├── DetectionDirectionSetting (Trait ID: 0x4F2A)
│ │ ├── AutoInterferenceSourceRecognition (Trait ID: 0x4F30)
│ │ ├── AutoEdgeRecognition (Trait ID: 0x4F31)
│ │ ├── AIEntryExitRegionRecognition (Trait ID: 0x4F32)
│ │ ├── ProximityDistanceLevel (Trait ID: 0x4F5A)
│ │ ├── InterferenceSourceRecognitionReportingTimeout (Trait ID: 0x4FA8)
│ │ ├── AISpaceBackgroundLearningReportingTimeout (Trait ID: 0x4FA9)
│ │ ├── AISpaceBackgroundLearningComplete (Trait ID: 0x4FAA)
│ │ ├── SubscribeAutoInterferenceSourceRecognitionData (Command ID: 0x9C78)
│ │ ├── SubscribeAutoEdgeRecognitionData (Command ID: 0x9C79)
│ │ ├── SubscribeAIEntryExitRegionRecognitionData (Command ID: 0x9C7A)
│ │ ├── EnableAISpaceBackgroundLearning (Command ID: 0x9C7B)
│ │ ├── CreateZone (Command ID: 0x9C7C)
│ │ ├── UpdateZone (Command ID: 0x9C7D)
│ │ ├── RemoveZone (Command ID: 0x9C7E)
│ │ └── SetZones (Command ID: 0x9D36)
│ ├── Radar Sensing Union (Function ID: 0x00E4)
│ │ ├── ChildEndpointList (Trait ID: 0x4F33)
│ │ ├── CurrentHumanCount (Trait ID: 0x4F35)
│ │ └── MotionState (Trait ID: 0x80EA)
│ └── Occupant Location (Function ID: 0x00E5)
│ ├── MaxDetectionTargets (Trait ID: 0x4F3E)
│ ├── LocationInfo (Trait ID: 0x4F46)
│ ├── SubscribeLocationData (Command ID: 0x9C7F)
│ └── SubscribeRemoveDetectionTarget (Command ID: 0x9C80)
├── Endpoint 3 (Business Endpoint)
│ └── Device Type: Illuminance Sensor (ID: 0x001A)
│ └── Illuminance (Function ID: 0x009A)
│ └── CurrentIlluminance (Trait ID: 0x80DD)
├── Endpoint 4 (Business Endpoint, Sub-area)
│ └── Device Type: Occupancy Sensor (ID: 0x0027)
│ ├── Occupancy Sensing (Function ID: 0x00A0)
│ │ ├── HoldTime (Trait ID: 0x4E72)
│ │ ├── Occupancy (Trait ID: 0x80E8)
│ │ └── OccupancySensorType (Trait ID: 0x80E9)
│ ├── Radar Sensing Union (Function ID: 0x00E4)
│ │ ├── ZoneID (Trait ID: 0x4F34)
│ │ └── MotionState (Trait ID: 0x80EA)
│ └── Occupant Location (Function ID: 0x00E5)
│ └── LocationInfo (Trait ID: 0x4F46)
└── Endpoint 5 (Business Endpoint, Sub-area)
└── Device Type: Occupancy Sensor (ID: 0x0027)
├── Occupancy Sensing (Function ID: 0x00A0)
│ ├── HoldTime (Trait ID: 0x4E72)
│ ├── Occupancy (Trait ID: 0x80E8)
│ └── OccupancySensorType (Trait ID: 0x80E9)
├── Radar Sensing Union (Function ID: 0x00E4)
│ ├── ZoneID (Trait ID: 0x4F34)
│ └── MotionState (Trait ID: 0x80EA)
└── Occupant Location (Function ID: 0x00E5)
└── LocationInfo (Trait ID: 0x4F46)

Core Concepts​

Device​

A Device is a physical smart device, such as a gateway, light bulb, door lock, sensor, etc. A Device consists of one or more Endpoints.

Endpoint​

An Endpoint is a logical functional node in a device. Each Endpoint has an Endpoint ID (Uint16, ranging from 0 to 65535) and is associated with one or more Device Types.

Aqara Spec defines three types of Endpoint:

  • Root Endpoint (Endpoint 0): device root node, associated with the Root Device Type, and must implement Basic Information and Descriptor functions.
  • Public Endpoint (usually Endpoint 1): device public endpoint, associated with the Public Device Type, carrying device-level common Functions such as Identify, diagnostics, OTA, and various ecosystem collaboration, shared by the entire device.
  • Business Endpoint (Endpoint 2 and above): carries specific business functions and is associated with the corresponding business Device Type (such as Occupancy Sensor, Illuminance Sensor). The same Device Type can appear on multiple Endpoints (e.g., Endpoints 4 and 5 in the above example are sub-areas of Endpoint 2). Front-end visible business Endpoints must implement the Label and Endpoint Icon functions, otherwise they cannot be displayed on the front end.

Device Type​

A Device Type describes the device type of an Endpoint. Each Device Type is identified by a unique Device Type ID (Uint16). Each Device Type defines the set of Functions that devices of this type must (M) or may (O) implement. Duplicate Functions are not allowed under one Endpoint.

The new allocation range for business Aqara standard Device Type IDs is 1 ~ 10000. The Root Device Type ID 0 is a special reserved value and is not part of the new allocation range for business Device Types.

In addition to business Device Types, Aqara Spec defines two Device Types corresponding to special Endpoints:

  • Root (ID: 0x0000): used only for the Root Endpoint, must implement Basic Information and Descriptor.
  • Public (ID: 0x0001): used only for the Public Endpoint, must implement Identify, and may optionally implement common Functions such as diagnostics, network provisioning, OTA, and various ecosystem collaboration.

For example, in the above example, business Endpoint 2 is associated with the Occupancy Sensor (ID: 0x0027) Device Type, implementing Functions such as Occupancy Sensing and Radar Sensing Union; device-level common capabilities (such as Identify and Matter Commissioning) are uniformly provided by the Public Endpoint (Endpoint 1) and are not implemented repeatedly on each business Endpoint.

For the complete Device Type ID encoding and Function requirements, see Device Type definitions.

Function​

A Function describes a complete functional unit of a device, consisting of several Traits and Commands. Each Function is identified by a unique Function ID (Uint16).

The new allocation range for Aqara standard Function IDs is 0 ~ 19999; the private Function ID range reserved for user customization is 64001 ~ 65534.

Trait​

A Trait describes an attribute or state in a Function, supporting operations such as Read, Write, and Report. Each Trait is identified by a unique Trait ID (Uint16).

The new allocation range for Aqara standard Trait IDs is 1 ~ 30000; the private Trait ID range reserved for user customization is 60000 ~ 64000.

Command​

A Command describes an executable operation in a Function, sent from the client to the device. Each Command is identified by a unique Command ID (Uint16).

The new allocation range for Aqara standard Command IDs is 40001 ~ 50000; the private Command ID range reserved for user customization is 64001 ~ 65534.

Parameter​

A Parameter is a data field inside a Trait, identified by a Parameter ID (Uint16).

ID Numbering System​

ID Allocation Range Overview

CategoryStandard RangePrivate RangeFormat
Device Type ID1 ~ 10000 (business types; 0 is the Root special reserved value)64001 ~ 65534Uint16
Function ID0 ~ 1999964001 ~ 65534Uint16
Trait ID1 ~ 3000060000 ~ 64000Uint16
Command ID40001 ~ 5000064001 ~ 65534Uint16
Parameter ID0x0000 ~ 0xFFFF-Uint16

The standard and private ranges above constrain new ID allocation so that user-defined IDs do not collide with Aqara standard ID ranges. Values outside these ranges are not part of the corresponding category's standard or private new-allocation ranges. Updating the rules does not change IDs that are already defined or already in use: existing IDs SHOULD be kept as-is, and MUST NOT be renumbered or revalidated solely to fit the new ranges even if they fall outside the current new-allocation ranges. Except for the Root special reserved Device Type ID value 0, newly allocated Device Type IDs SHOULD use the business standard range or the private range above.

Trait Parameter Field Description​

Parameter ID uses a 16-bit integer identifier, with a valid range of 0x0001 ~ 0xFFFE (1 ~ 65534). 0x0000 and 0xFFFF are reserved and unavailable.

Standard Trait Parameter ID

Parameter IDNameBACnet PropertyDefault AccessDescription
0x0001Present ValuePROP_PRESENT_VALUE-Current value, indicating the real-time state of the Trait; the data type is defined by the Trait, and may be an integer, float, boolean, enumeration, string, or composite data type. For numeric values, Minimum Value <= Present Value <= Maximum Value MUST hold, and step and other constraints MUST be satisfied.
0x0002Maximum ValuePROP_MAX_PRES_VALUERVMaximum allowed/representable value of Present Value; the data type is consistent with the numeric Present Value, supporting integers and float, and MUST NOT be less than Minimum Value. Together with Minimum Value it describes the numeric range, not an alarm threshold.
0x0003Minimum ValuePROP_MIN_PRES_VALUERVMinimum allowed/representable value of Present Value; the data type is consistent with the numeric Present Value, supporting integers and float, and MUST NOT be greater than Maximum Value. Together with Maximum Value it describes the numeric range, not an alarm threshold.
0x0004UnitPROP_UNITSRVEngineering unit; the data type and the valid unit codes are specified by the unit definition of the corresponding Trait. Numeric values and related thresholds SHOULD use compatible units.
0x0005Step ValuePROP_STEP_VALUERVNumeric step value; the data type is consistent with Present Value, supporting integers and float, and MUST be greater than 0. It describes the step granularity of valid numeric values.
0x0006Supported ValuePROP_SUPPORTED_VALUESRVSupported value list (Array/List); the element data type MUST be consistent with Present Value, and each element SHOULD satisfy the valid-value constraints of the Trait.
0x0007Default ValuePROP_RELINQUISH_DEFAULTRVDefault value (relinquish default); readable and reportable by default, not writable (Access is RV). The data type is consistent with Present Value, supporting integers, float, and other data types defined by the Trait; it MUST satisfy the range, step, supported-value list, and other applicable constraints of Present Value. The specific timing of adoption is defined by the Trait.
0x0008High LimitPROP_HIGH_LIMITRVWHigh-side monitoring threshold; the data type is consistent with the numeric Present Value, supporting integers and float. Minimum Value <= High Limit <= Maximum Value and High Limit > Low Limit are required. It does not define the Present Value span.
0x0009Low LimitPROP_LOW_LIMITRVWLow-side monitoring threshold; the data type is consistent with the numeric Present Value, supporting integers and float. Minimum Value <= Low Limit <= Maximum Value and Low Limit < High Limit are required. It does not define the Present Value span.
0x000ACOV IncrementPROP_COV_INCREMENTRVWChange-reporting threshold, applicable to Traits whose Present Value is float; the data type is float, MUST be greater than 0, and the unit is consistent with Present Value. When the absolute difference between the current value and the baseline value of the last COV notification reaches or exceeds this threshold, a notification is triggered, suppressing frequent reports caused by minor fluctuations.
0x000BMaximum Actual ValuePROP_MAX_ACTUAL_VALUERVWUpper endpoint calibration value of the actual quantity corresponding to Present Value; readable, writable, and reportable (Access is RVW); the data type is float, and integer data types are not supported. Minimum Value <= Maximum Actual Value <= Maximum Value and Maximum Actual Value > Minimum Actual Value are required; the mapping is defined by the Trait.
0x000CMinimum Actual ValuePROP_MIN_ACTUAL_VALUERVWLower endpoint calibration value of the actual quantity corresponding to Present Value; readable, writable, and reportable (Access is RVW); the data type is float, and integer data types are not supported. Minimum Value <= Minimum Actual Value <= Maximum Value and Minimum Actual Value < Maximum Actual Value are required; the mapping is defined by the Trait.
0x000DIs NullPROP_IS_NULLRVBoolean with values true/false; true indicates that Present Value currently has no valid data or is uninitialized, and its current payload SHOULD NOT be used as a valid business value.
0x000EExtended Supported ValuesPROP_EXTENDED_SUPPORTED_VALUESRVExtended supported value list (List[Struct]); the structure fields, element constraints, and list length are defined by the corresponding Trait.
0x000FMax Item Num-RVMaximum number of elements allowed when Present Value is Array/List; the data type is uint32, ranging from 0 to 4294967295. The number of list elements MUST NOT exceed this value.
0x0010Counter Generation-RVOptional read-only, reportable Parameter of the Trait; the data type is uint32, ranging from 0 to 4294967295, used to identify the generation of a cumulative counter. MUST be provided when the implementation cannot guarantee continuous logical cumulative values and requires accurate difference calculation.

The default read/write access in this table uses full Access flags: RV means readable and reportable, and RVW means readable, writable, and reportable. All readable Parameters support reporting, so the default access does not use standalone R or RW flags. Parameters marked only R or RW in specific Trait parameter tables also follow this reporting-support rule; reportable means the capability to report exists, and does not mean a notification MUST be sent on every read or when the value is unchanged. The specific reporting timing follows the corresponding Trait and interaction protocol definitions.

Present Value has no default read/write access; it follows the Access definition in the specific Trait parameter table. When it is readable, it is also reportable. Data types, read/write access, and constraints explicitly defined by a specific Trait take precedence over the generic default conventions; this table neither automatically extends the write access of existing Traits nor requires all Traits to implement every Parameter.

Frontends determine the read, write, and reporting capabilities of Parameters based on the access descriptions in this table by default. If the actual access of a device Parameter differs from the default access in this table, the device SHALL report the difference, or clearly record it in a pre-configurable data table accessible to the frontend. The difference information SHALL be able to locate the applicable device and its Function, Trait, and Parameter, and SHALL clearly state the actual Access of that Parameter so that the frontend can identify and apply it.

Frontends SHALL prefer explicit difference information applicable to the target device and the target Parameter; when no applicable difference information is provided, the default access in this table applies. Present Value access is still determined by the actual definition of the specific Trait and is not derived from the default access in this table. The above access information is used for frontend capability display and interaction control, and does not replace the device-side validation of actual access permissions.

The range constraints in this table use Minimum Value <= parameter value <= Maximum Value, including both boundary values. When boundary parameters are not explicitly provided, the valid range and data type boundaries declared by the corresponding Trait apply. The magnitude relationship between a pair of upper and lower limit parameters is validated only when both are implemented together. For writable Parameters, the written value and parameter combinations MUST still satisfy the applicable constraints, and MUST NOT invalidate the upper/lower limit relationship by writing.

Numeric Boundary Parameters​

Minimum Value and Maximum Value​

Minimum Value (PROP_MIN_PRES_VALUE) and Maximum Value (PROP_MAX_PRES_VALUE) describe the lower and upper bounds of the numeric range of Present Value. Reading these two parameters reveals the valid numeric range declared by the Trait. When writing Present Value, clients SHOULD constrain the target value to this range while also obeying the Trait's own data type, step value, enumeration values, and other constraints. Devices SHOULD also handle out-of-range inputs according to their Trait definitions, and MUST NOT treat these two boundaries as alarm thresholds.

For example, if a temperature Trait has Minimum Value of -50, Maximum Value of 100, and Unit of degrees Celsius, it declares a numeric range of -50°C to 100°C. Clients may use this range to validate user input or to display the adjustable range. If the value is a read-only sensor reading, these boundaries describe the Trait's range and do not imply that clients can write the value.

These two parameters describe the protocol-level numeric range of Present Value; they are not necessarily identical to the sensor's physical measurement capability, the device's alarm range, or the controller's safety range. Whether they exist, whether they are readable, and their concrete constraints are defined by the corresponding Trait parameter table; do not assume every Trait defines both parameters.

Step Value and Default Value​

Step Value uses the same data type as the numeric Present Value, supporting both integer steps (for example, 1) and float steps (for example, 0.1). The step value MUST be greater than 0; when the Trait uses Minimum Value as the step start, valid values are determined by Minimum Value + n × Step Value, where n is a non-negative integer, and the result MUST NOT exceed Maximum Value. Floating-point comparisons SHOULD consider the representation precision of the data type and MUST NOT rely on a floating-point remainder being exactly zero to judge step validity.

Default Value uses the same data type as Present Value and obeys the same valid-value constraints. Its data type is not limited to integers, and it does not mean the value can be silently returned when the current value cannot be read. Whether the default value is adopted when restoring default settings, releasing control, or in other circumstances SHOULD be defined by the corresponding Trait.

COV Increment Parameters​

COV Increment references the change-notification semantics of BACnet COV_Increment and is used for change-reporting filtering of float-type Present Value. Let Vref be the baseline value at the last notification and V the current valid value; when abs(V - Vref) >= COV Increment, the COV notification condition for the current value change is satisfied. After a notification is triggered, the baseline is updated to the value of this notification. The comparison baseline is not the previous sample value, so accumulated offsets from multiple small changes may still trigger a notification.

For example, with COV Increment = 0.5 and a baseline of 20.0, a current value of 20.2 does not trigger a change notification, while continuing to change to 20.5 or 19.5 satisfies the notification condition. This Parameter is not a sampling period, a periodic reporting interval, or an alarm deadband, and it does not change the read precision or numeric range of Present Value.

This specification requires COV Increment to be a finite floating-point number greater than 0. The initial notification on first subscription, subscription validity, other state changes, and periodic notifications are still handled according to the corresponding interaction protocol and Trait definitions and MUST NOT be blocked by this change threshold. Defining this Parameter alone does not mean a subscription is established or a notification will necessarily be sent; this section only borrows the increment semantics of BACnet and does not directly introduce its full subscription mechanism.

Monitoring Threshold Parameters​

Low Limit and High Limit​

Low Limit (PROP_LOW_LIMIT) and High Limit (PROP_HIGH_LIMIT) represent the low-side and high-side monitoring thresholds, for scenarios where the object defines corresponding monitoring or alarm semantics. They answer "at what operating value should a low-side or high-side anomaly be considered", not "what numeric values this Trait can represent". Thresholds are often configurable for site operating requirements, but whether they can actually be configured depends on the parameter's access permissions and the corresponding Trait definition.

For example, chilled-water temperature monitoring may set Low Limit to 5°C and High Limit to 35°C: when the current value is below the low limit it may be judged as a low-side limit violation, and when above the high limit as a high-side limit violation. Exact comparison rules (for example, whether equality to the threshold counts as a violation) SHOULD be defined by the corresponding object or alarm mechanism.

Merely defining or reading Low Limit and High Limit does not automatically mean that the device will generate alarms or events, or proactively report them. To implement complete alarm behavior, the object must also support the relevant mechanisms and handle factors such as enabling conditions, duration/delay, deadband, event state, and notification methods according to their definitions. Clients MUST NOT infer that alarms are enabled or that alarm notifications will necessarily be sent solely from the presence of threshold parameters. Thresholds MUST use the same data type as the monitored Present Value and compatible units, and their values MUST satisfy Minimum Value <= Low Limit < High Limit <= Maximum Value. Thresholds may lie outside the normal operating range for the application, but MUST NOT exceed the declared numeric range or be used as substitutes for Minimum Value or Maximum Value.

Actual Quantity Calibration Parameters​

Minimum Actual Value and Maximum Actual Value​

Minimum Actual Value (PROP_MIN_ACTUAL_VALUE) and Maximum Actual Value (PROP_MAX_ACTUAL_VALUE) describe the actual-quantity endpoints corresponding to the two ends of the Present Value range, and may be used to interpret or convert between device numeric values and actual physical quantities. Together with Unit, they help clients understand the meaning of the actual quantity; for example, the actual quantity's unit may be lumens, volts, or another engineering unit. Which actual quantity is represented, which Present Value the endpoints correspond to, whether the mapping is linear, and whether it is used for output mapping MUST be stated by the corresponding Trait or object definition and MUST NOT be inferred from parameter names alone.

For example, a dimming object's Present Value may represent a dimming control interval of 0% to 100%, while the brightness the device can actually reach is 20% to 80% of rated brightness; the object defines a linear mapping between these interval endpoints. In that case Minimum Actual Value is 20% brightness and Maximum Actual Value is 80% brightness: control value 0% maps to actual brightness 20%, control value 100% maps to actual brightness 80%, and control value 50% maps to 20% + (80% - 20%) × 50% = 50% brightness. Here the two Actual Value percentages are actual output relative to rated brightness, while the control-value percentage is the position of Present Value in the control interval; they have different meanings. For a general linear endpoint mapping, use proportional interpolation between the Present Value endpoints defined by the object; if the object specifies a nonlinear mapping, or Present Value is not a percentage, follow that object's mapping rules and do not apply this example directly.

This parameter pair explains the correspondence between numeric endpoints and actual quantities. It is not the protocol-allowed range of Present Value (described by Minimum Value / Maximum Value), nor the operating alarm thresholds (described by Low Limit / High Limit). For example, a dimmable luminaire's Present Value control range may be 0% to 100%, while the corresponding actual brightness range is 20% to 80% of rated brightness.

Both Actual Value parameters use the float data type; integer data types are not supported, and their data type is not required to match that of Present Value. Their values MUST satisfy Minimum Value <= Minimum Actual Value < Maximum Actual Value <= Maximum Value. The corresponding Trait MUST still explicitly define the unit and mapping of the actual quantity and ensure that the endpoint values can be represented within the declared range.

Distinguishing the Three Parameter Groups​

  • Minimum Value / Maximum Value: validate or understand the protocol-level numeric bounds of Present Value—"how far is this value allowed/representable?"
  • Low Limit / High Limit: judge whether an operating value has reached a monitoring threshold—"at what operating level is a low-side/high-side limit violation?"
  • Minimum Actual Value / Maximum Actual Value: where the object definition supports it, explain the correspondence between Present Value and actual physical-quantity endpoints—"how much actual quantity does this numeric endpoint correspond to?"

The three groups are not interchangeable, and a Trait is not guaranteed to define all of them. Implementations and clients SHOULD first consult the specific Trait's parameter table, data types, units, access permissions, and constraints, then interpret and use them according to that Trait definition; linear interpolation for actual-quantity conversion is appropriate only when the object explicitly defines a linear mapping.

Permission Flags​

Permission Types

FlagDescription
ReadClient can read this parameter
WriteClient can write this parameter
ReportActively report this parameter when the device changes
ConfiguredDevice reports during configuration phase

Mandatory Flags​

  • M (Mandatory): device must implement
  • O (Optional): device may implement optionally

Function List Overview​

The following summarizes all Function definitions covered in this appendix. See the corresponding sections for the Trait, Command, and data types of each Function.

Function Index​

This section summarizes all Function definitions in Aqara Spec. See the corresponding sections for the Trait, Command, and data types of each Function.

Function IDCodeDescription
0x0001BindingIndicates the persistent binding relationship between an endpoint and one or more other local or remote Endpoints.
0x0009COProvides carbon monoxide concentration monitoring and alarm capabilities, used to detect carbon monoxide leaks in the environment and alert in time.
0x000AWaterFreezeDetectorUsed to detect the risk of freezing in pipes or the environment, and report water freezing related events when the threshold is reached.
0x000BRainSensorUsed to detect rainfall status, reporting whether it is raining and related rainfall information.
0x000COnOffSensorUsed to detect binary switch input status, reporting discrete states such as on/off or triggered/not triggered.
0x0080BasicInformationProvides basic device information, including vendor, product model, firmware version, serial number, online status and other basic attributes.
0x0081DescriptorDescribes the device endpoint composition and capability structure, including endpoint list, device types, Server/Client clusters, etc.
0x0082EndpointLabelManages endpoint visibility and display information, such as name, room, icon, tags, etc., for front-end display and organization.
0x0083IdentifyProvides device identification capability, helping users locate physical devices through LED blinking, sound and other methods.
0x0084OutputProvides switch output control capability, supporting reading and controlling the on/off state of the load.
0x0085LevelControlProvides brightness or level adjustment capability, supporting setting, reading current brightness/level, and gradual control.
0x0086ColorControlProvides color control capability, including adjusting light color through color temperature, HSV, XY color space and other methods.
0x0087ButtonDescribes event reporting of button-type input devices, including single click, long press, multi-click and other action recognition.
0x0088CameraManages camera basic capabilities, including device status, mode switching, image encryption and cloud-related capabilities.
0x0089WindowCoveringProvides lift, tilt, position control and status feedback for shading devices such as curtains and blinds.
0x008ALifterProvides stroke control for lifting devices, supporting setting target position, stopping and status query.
0x008BIRControlProvides infrared emission control capability, used to control traditional infrared appliances such as air conditioners and TVs.
0x008CEnergyManagementManages device battery level and energy information, including battery percentage, power consumption statistics and low battery alarm.
0x008DHeaterCoolerProvides cooling/heating control capability, including target temperature, operation mode, fan speed and other HVAC parameters.
0x008EFanControlProvides fan speed and mode control, supporting gear adjustment and operation status reading.
0x008FTemperatureMeasures and reports ambient temperature, providing attributes such as current temperature value and valid range.
0x0090RelativeHumidityMeasures and reports ambient relative humidity, providing attributes such as current humidity value and valid range.
0x0091MediaPlaybackProvides media playback control capability, including play, pause, track switching, volume and playback state management.
0x0092SpeakerDescribes device speaker output capability, including text-to-speech broadcast, volume control, mute and other audio output functions.
0x0093PowerSourceDescribes device power source and battery status, including battery level, charging status, battery type and other information.
0x0094DoorLockProvides smart door lock core capabilities, including lock status, user/credential management, lock/unlock and alarm events.
0x0095SweeperProvides basic sweeping robot control, including starting cleaning, pausing, returning to dock and status feedback.
0x0096AirQualityMonitors and reports air quality indicators, such as AQI or comprehensive air quality level.
0x0097PressureMeasures and reports atmospheric pressure or system pressure value.
0x0098ParticulateMatterMonitors and reports particulate matter concentration (such as PM2.5, PM10).
0x0099CO2Measures and reports carbon dioxide concentration in the environment.
0x009AIlluminanceMeasures and reports ambient illuminance (lux).
0x009BContactDetects binary states such as contact/door magnetic, reporting open or closed state and optional angle information.
0x009CSmokeDetects smoke and reports alarm events, supporting related configurations such as sensitivity, self-test and mute.
0x009DGasDetects combustible gas or harmful gas leaks and reports alarm events.
0x009ESleepMonitors sleep-related states, reporting indicators such as sleep stage, duration or quality.
0x009FWaterLeakDetects water immersion events and reports alarm in time when water leakage is detected.
0x00A0OccupancySensingDetects whether people are present in the space, reporting occupancy/idle state and parameters such as hold time.
0x00A1LocationProvides location information reporting and query capability for devices or targets.
0x00A2KnobDescribes rotation angle, press and combined action events of knob-type input devices.
0x00A3CubeDescribes gesture recognition of the cube controller, including actions such as flip, rotate, shake and face recognition.
0x00A4VibrationDetects vibration or motion changes, reporting events such as movement, tilt and fall.
0x00A5ModesProvides device multi-mode management capability, supporting switching and reading the current operation mode.
0x00A6PetFeederProvides pet feeding control capability, including food amount, feeding schedule and remaining quantity status.
0x00A7BridgeConfigurationManages gateway bridging configuration, describing sub-device access, bridging capability and network topology related information.
0x00A8AttitudeDetectionDetects device posture or tilt angle changes, reporting abnormal posture or angle information.
0x00A9GroupManages device group configuration, maintaining node list within the group and group-level control capabilities.
0x00AADoorbellProvides doorbell related capabilities, including call event reporting and linkage with indoor chimes/relays.
0x00ABNetworkCommissioningProvides network provisioning capability, supporting scanning, connecting and configuring networks such as Wi-Fi and Thread.
0x00ACEcosystemInformationDescribes ecosystem platform information that the device is connected to, such as binding status of HomeKit, Matter Fabric, etc.
0x00ADMatterCommissioningProvides Matter onboarding and Fabric management capability, including provisioning window, Fabric list and node identification.
0x00AEIndicationLightManages device indicator light behavior, including status indication, brightness, color and blinking modes.
0x00AFGeneralConfigurationProvides common device configuration items, such as sensitivity, delay, default parameters and other device-level settings.
0x00B0GeneralDiagnosticsProvides common diagnostic information, including running time, restart count, network interfaces and hardware faults.
0x00B1PanTiltProvides Pan/Tilt/Zoom control capability, including presets, calibration and relative/absolute movement.
0x00B2BridgedConfigurationDescribes configuration information of bridged sub-devices, used in Matter/Zigbee bridging scenarios.
0x00B3MatterNodeInformationProvides Matter node related information, such as the first Endpoint ID and node topology auxiliary information.
0x00B5ThreadNetworkDiagnosticsProvides Thread network diagnostic metrics, including channel, PAN ID, neighbor table, routing role and transmission/reception statistics.
0x00B6GarageDoorOpenerProvides garage door control and status feedback, including open/close/stop and position status.
0x00B7MatterBridgeCommissioningManages the capability of the Matter Bridge to share bridged devices with third-party Matter ecosystems.
0x00B8MARSConfigurationProvides smart load (MARS) related configuration, used for load identification and smart power distribution management.
0x00B9CustomizedConfigurationProvides read/write capability for vendor or user custom extension configuration items.
0x00BAFreshAirControlProvides fresh air system control capability, supporting introducing outdoor air and adjusting air volume, modes, etc.
0x00BBScreenDisplayManages screen display related hardware properties, such as resolution, brightness, backlight and display status.
0x00BCValveControlProvides automatic or manual valve control capability, used to precisely adjust water/gas flow.
0x00BDFilterMonitoringContinuously monitors the usage status and remaining life of various filter elements (such as HEPA, activated carbon).
0x00BEOperationalStateDescribes the current running state of the device, such as idle, running, paused, fault, etc.
0x00BFFlowMeasures and reports the flow rate of liquid or gas.
0x00C0ModeProvides device characteristic mode interface, supporting switching between multiple predefined modes.
0x00C1VacuumOperationalStateDescribes the current running state of the sweeping robot, such as cleaning, returning to dock, charging, etc.
0x00C2RefrigeratorStateDescribes refrigerator running state, including idle, cooling, defrosting, fault, etc.
0x00C3EVSEProvides electric vehicle supply equipment (EVSE) control capability, including charging start/stop, current limit and charging status.
0x00C4VacuumRunModeControls sweeping robot operation modes, such as auto, edge, spot, etc.
0x00C5VacuumCleanModeControls sweeping robot cleaning modes, such as standard, strong, quiet, etc.
0x00C6TemperatureControlProvides temperature setting and adjustment capability, used for target temperature control of thermostat devices.
0x00C7MediaInputDescribes media input source management and switching, supporting selecting the current playback source and input list.
0x00C8HEPAFilterMonitoringMonitors HEPA filter usage, remaining life and replacement reminders.
0x00C9ActivatedCarbonFilterMonitoringMonitors activated carbon filter usage, remaining life and replacement reminders.
0x00CAThreadBorderRouterManages Thread border routers and the operation and configuration of the Thread networks they host.
0x00CBThemePackManages device theme package resources, including theme download, switching and version information.
0x00CCWiFiNetworkDiagnosticsProvides standardized Wi-Fi network diagnostic metrics, assisting in troubleshooting connection quality and link status.
0x00CDZigbeeNetworkDiagnosticsProvides Zigbee network diagnostic capability, including channel, PAN, neighbors and routing information.
0x0125ZigbeeSubscribeProvides Zigbee subscription capability, used to record subscribable device resources, capability scope and subscription record management.
0x00CEAnalogInputObjectCollects continuously changing analog input in a read-only manner (such as voltage and temperature analog signals).
0x00CFAnalogOutputObjectProvides writable continuous analog output control signals.
0x00D0BinaryInputObjectCollects binary state inputs, such as door magnetic, switch and other true/false or active/inactive quantities.
0x00D1BinaryOutputObjectDrives binary actuator outputs, such as relays, contactors, solenoid valves or alarms.
0x00D2MultiStateInputObjectCollects multi-state discrete inputs, representing one of N states.
0x00D3MultiStateOutputObjectOutputs multi-state discrete control commands, such as HVAC mode or light scene switching.
0x00D4CharacterStringValueObjectDefines data objects represented in string form and their externally visible characteristics.
0x00D5ScreenUserInterfaceManages panel-side user interface configuration, including page layout, cards, themes and display data.
0x00D6DeviceAnomalyMonitoringContinuously monitors key safety indicators such as device temperature, load, current and voltage, and reports alarms to support protection strategies when anomalies such as over-temperature, overload, overcurrent or undervoltage occur.
0x00D7OTAManages the device firmware upgrade process, including download, installation scheduling and upgrade progress and result reporting.
0x00D8HumanRecognitionUses algorithms such as vision to detect human-shaped targets in the image in real time, distinguishing humans from other objects and reporting events.
0x00D9SoundDetectionCollects ambient sounds through microphones, recognizes specific sound types (such as glass breaking, baby crying) and raises alarms.
0x00DAPetRecognitionIdentifies pet individuals such as cats and dogs in the image, reporting pet appearance or related recognition events.
0x00DBFaceRecognitionCollects facial features and compares them with the local library, reporting face recognition results and matching information.
0x00DCGestureRecognitionAnalyzes gesture actions in real time and converts predefined gestures into control commands.
0x00DDVehicleDetectionDetects vehicle appearance in the monitored area, reporting vehicle presence events for security or automation use.
0x00DEFlameDetectionDetects visible flames through image or sensor algorithms, reporting fire events immediately for early warning.
0x00DFPackageRecognitionAutomatically recognizes packages in the image, sending reminders and recording events upon delivery or pickup.
0x00E0HumanPresenceDetects human presence in the space, supporting advanced perception capabilities such as people counting, trajectory and identity association.
0x00E1HeartMonitoringUses sensors to continuously or periodically measure the user's heart rate, recording and analyzing heart health related data.
0x00E2BreathingMonitoringUses sensors to continuously or periodically measure the user's respiratory rate and patterns, supporting health monitoring.
0x00E3AmbientSensingConfigurationProvides environmental sensing configuration capability, including area management, installation mode, detection switch and AI area recognition.
0x00E4RadarSensingUnionAggregates radar sensing capabilities, including joint data such as sub-endpoint list, people counting and motion status.
0x00E5OccupantLocationProvides location, activity state and posture information of presence targets, supporting location data subscription and target management.
0x00E6MatterCoordinationCentrally manages Matter protocol related collaboration operations, including onboarding, binding, data synchronization and certificate management.
0x00E7OTACoordinationManages OTA firmware upgrade collaboration process, including task issuance, progress reporting, result feedback and version query.
0x00E8StudioCoordinationManages the integration of gateway with the Aqara Studio development environment, including account authentication, project backup and device synchronization.
0x00E9CameraCoordinationHandles complex camera business logic, including WebRTC calls, pan/tilt control, recognition data synchronization and extended events.
0x00EASecurityGuardCoordinationManages home space security alert capability, including alert arm/disarm, alarm confirmation and local/cloud configuration synchronization.
0x00EBSceneCoordinationManages the lifecycle of smart scenes (automation rules), including synchronization, deletion, trigger execution and consistency verification.
0x00ECHubCoordinationServes as the gateway core collaboration module, managing sub-device onboarding, configuration, heartbeat, tokens and various proxy services.
0x00EDLightBoxCoordinationManages configuration issuance of smart light box devices, controlling displayed content and effects.
0x00EEIRCoordinationManages gateway infrared learning and emission, including code library synchronization, virtual remote creation and button control.
0x00EFCommLinkCoordinationMonitors the communication link quality between gateway and cloud, performing latency probing and reporting results.
0x00F0RingtoneCoordinationManages gateway local ringtone/music files, including download, deletion and consistency verification with the cloud library.
0x00F1ScreenCoordinationManages smart scene panel interaction, including configuration issuance, status query and cloud/panel bidirectional transparent transmission.
0x00F2ConfigurationCoordinationManages common function configuration, resource subscription and location information synchronization through multicast or batch methods.
0x00F3LockCoordinationHandles smart door lock extended business, including dedicated transparent transmission channel, encryption/decryption assistance and extended event reporting.
0x00F4WakeupCoordinationObtains wake-up service address or token for low-power devices supporting remote wake-up.
0x00F5CloudStorageCoordinationManages cloud recording/cloud storage business resource configuration, obtaining information such as storage quota and upload credentials.
0x00F6CentralHubCoordinationManages hub gateway advanced capabilities, including hub enabling, Broker information and data transparent transmission channel.
0x00F7IftttCoordinationServes as the automation rule collaboration center, managing the synchronization, subscription and execution of IFTTT/local automation rules.
0x00F8NetworkManagementServes as the core control module for device network connection and access policies, managing remote proxies and access addresses.
0x00F9ToiletCoreIntegrates the most basic physical state sensing and component control of smart toilets, including sitting detection, lid opening, flushing, seat heating and night light.
0x00FAToiletDiagnosticMonitors the health status of key hardware subsystems of smart toilets, proactively reporting fault information such as temperature, flow and fan.
0x00FBToiletHygieneMaintains device self-cleaning hygiene, including nozzle cleaning, foam shield, plasma sterilization and pipeline cleaning.
0x00FCToiletWashDryDefines the complete washing and drying process of smart toilets, covering wash modes, water temperature/water pressure, drying wind speed and duration settings.
0x00FDToiletSettingsAllows users to personalize default parameters and automation scenarios, such as automatic lid opening, automatic flushing, foam shield and prolonged sitting reminders.
0x00FELightingProvides Aqara dimming and scene control capability, including built-in/custom scenes, music rhythm and light strip segment control.
0x00FFScreenUIConfigProvides unified panel UI configuration, including page layout, themes, card count and multi-page information management.
0x0100RingtoneProvides ringtone and music playback control, supporting track selection, volume/duration adjustment and playback status monitoring.
0x0101FenceDetectionDefines virtual fence areas in camera images, detecting people entering or leaving and supporting linkage policies such as recording and push notifications.
0x0102SecurityManages device security policies and access permissions, including user passwords, lost mode and related verification mechanisms.
0x0103StorageManages local SD card recording, formatting, recording modes and storage status monitoring and maintenance.
0x0104ImageMediaManagementManages canvas layout and image resources, supporting image download, storage, deletion, status reporting and ID list maintenance.
0x0105VoiceAssistantManages device voice interaction capabilities, including wake word, voice control switch, voice timbre, continuous conversation, voice control language, near-field wake-up and space area configuration.
TBDVoiceIntercomManages device voice intercom related capabilities, including the list of online devices available for intercom.
0x0106SpaceSecurityManages device security capabilities in a specific space, including alarm ringtone, volume, arm/disarm status and alarm duration.
0x0107MassageManages electric bed comfort and posture adjustment, including back/leg lifting, massage mode/intensity/timer, child lock and emergency stop.
0x0108TowelRackDryManages towel rack drying process, controlling target temperature and drying duration, and feeding back remaining time and fault status.
0x0109LiveControls real-time video streaming, supporting enhanced capabilities such as time-lapse photography, zoom, sleep/wake and associated event recording.
0x010APlaybackManages recording playback and history, including cloud short video type recognition and local recording download capability.
0x010BCloudRecordingControls the cloud recording master switch, deciding whether to upload video content to cloud storage.
0x010CCameraSettingsProvides camera extended configuration, such as scheduled image upload, RTSP streaming and advanced function switches.
0x010DAIDetectionPerforms AI-driven image and audio analysis, implementing event detection, content recognition and intelligent alerts.
0x010EVideoSettingsManages image processing and display, including image quality, watermark, privacy masking, night vision and fill light linkage.
0x010FCameraWorkModeDefines camera power consumption strategy and working modes, adapting to different power types and usage scenarios.
0x0110AudioSettingsControls audio capture and output, adjusting parameters such as recording mute and system prompt volume.
0x0111CameraPrivacySecurityFocuses on camera privacy policies, including low-power security privacy protection capabilities such as scheduled sleep.
0x0112CameraNotificationsManages event notification policies, supporting notification type, scheduled time period, filter rules and importance level settings.
0x0113NASStorageIntegrates with network attached storage (NAS), providing binding, policy configuration, transmission interval and status management.
0x0114RepeaterManages Wi-Fi relay capability, including keep-alive, relay link information, network diagnostics and connection status with the gateway.
0x0115TamperProtectionProvides physical security protection, detecting and responding to tampering behaviors such as illegal disassembly and forced removal, supporting alarm and recording linkage.
0x0116SmileDetectionRecognizes smiling faces in the image and reports events, supporting enabling/disabling control of smile recognition capability.
0x0128SO2Represents the monitoring functional domain for sulfur dioxide in the air, including but not limited to SO2 concentration measurement, SO2 detection status, over-limit alarm, sensor status and other capabilities.
0x0129NO2Represents the monitoring functional domain for nitrogen dioxide in the air, including but not limited to NO2 concentration measurement, NO2 detection status, over-limit alarm, sensor status and other capabilities.
0x012AO3Represents the monitoring functional domain for ozone in the air, including but not limited to O3 concentration measurement, O3 detection status, over-limit alarm, sensor status and other capabilities.
0x012BFormaldehydeRepresents the monitoring functional domain for formaldehyde in the air, including but not limited to HCHO concentration measurement, formaldehyde detection status, over-limit alarm, sensor status and other capabilities.
0x012CO2Represents the monitoring functional domain for oxygen in the environment, including but not limited to O2 concentration measurement, hypoxia/hyperoxia determination, sensor status and other capabilities.
0x012DChlorineRepresents the monitoring functional domain for chlorine gas in the air, including but not limited to Cl2 concentration measurement, chlorine detection status, over-limit alarm, sensor status and other capabilities.
0x012EHydrochloricAcidRepresents the monitoring functional domain for hydrogen chloride gas in the air, including but not limited to HCl concentration measurement, hydrogen chloride detection status, over-limit alarm, sensor status and other capabilities.
0x012FHydrogenSulfideRepresents the monitoring functional domain for hydrogen sulfide in the air, including but not limited to H2S concentration measurement, hydrogen sulfide detection status, over-limit alarm, sensor status and other capabilities.
0x0130AmmoniaRepresents the monitoring functional domain for ammonia gas in the air, including but not limited to NH3 concentration measurement, ammonia detection status, over-limit alarm, sensor status and other capabilities.
0x0131WaterQualityRepresents the monitoring functional domain for water quality, covering but not limited to the measurement and state determination of parameters such as water hardness, turbidity, pH, TDS, residual chlorine and dissolved oxygen.
0x0132NitrogenOxidesRepresents the monitoring functional domain for nitrogen oxides in the air, including but not limited to NOx concentration measurement, nitrogen oxide detection status, over-limit alarm, sensor status and other capabilities.
0x0133LiquidLevelRepresents the monitoring functional domain for liquid level in containers or pipelines, including but not limited to liquid level height measurement, stored liquid volume determination, replenishment/drainage demand analysis, and high/low liquid level risk warning.
0x0134NoiseRepresents the monitoring functional domain for environmental noise, including but not limited to noise level measurement, noise over-limit determination, peak noise, average noise and other capabilities.
0x0135HeatMeterRepresents the comprehensive management of heating/cooling metering functions in heating/cooling supply systems, covering the measurement and reporting of parameters such as instantaneous heat flow, instantaneous cooling flow, cumulative heat value, cumulative cooling value and their fractional parts.
0x0136BoilerRepresents the monitoring and control functional domain for boiler equipment operation status, covering the measurement, setting and reporting of parameters such as exhaust gas temperature, flame regulation, load output, combustion timing and ignition count.
0x0137ControlCabinetRepresents the monitoring and control functional domain for control cabinet equipment, covering the measurement, setting and reporting of parameters such as frequency feedback, cooling water temperature actual value and setpoint, temperature difference setting and manual frequency reference.
0x0138CompressorRepresents the monitoring and control functional domain for compressor equipment operation status, covering the measurement, setting and reporting of parameters such as temperature, pressure, current, voltage, power, humidity, speed, opening, running time and cooling capacity.
0x0139CoolingPumpRepresents the monitoring and control functional domain for cooling pump equipment, covering the measurement, setting and reporting of parameters such as frequency feedback, manual frequency reference, frequency upper/lower limits and running time.
0x013ABuzzerRepresents the control functional domain for device buzzers, used to play or stop buzzer sounds, supporting setting playback volume and duration, applicable to scenarios such as doorbell prompts, alarm reminders and operation feedback.
0x013BGasMeteringProvides gas metering related capabilities, including gas calorific value and the conversion coefficient from working-condition volume to standard volume, used for energy conversion and standardized conversion of gas consumption.
0x013CEnergyStorageManages energy storage battery SOC, rated/available capacity, cumulative charge/discharge energy and charge/discharge power measured at the battery boundary, as well as battery health status.
0x013DElectricityMeteringProvides energy meter and grid connection point metering capabilities, including power direction, demand, and imported/exported energy accumulated separately by tariff registers.
0x013EPowerGenerationDescribes the rated power and operation status of power generation equipment, as well as energy, power and heat recovery data related to gas cogeneration.

Device Type Definitions​

A Device Type describes the device type of an Endpoint. A Device can consist of one or more Endpoints. Each Endpoint can consist of one or more Device Types. Duplicate Functions are not allowed under one Endpoint.

Each Device Type is identified by a unique Device Type ID (Uint16). The following table lists the ID encoding of each Device Type and its mandatory (M) or optional (O) Function set, grouped by category.

Special types: Root, Public. They correspond to the Root Endpoint and Public Endpoint respectively.

  • Root (ID: 0x0000): used for the Root Endpoint (Endpoint 0), must implement Basic Information and Descriptor functions.
  • Public (ID: 0x0001): used for the Public Endpoint (usually Endpoint 1), carrying device-level common Functions, including Identify and various optional collaboration/diagnostic functions.

Device Type List​

System Types​

System Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0000Root (Root Node)BasicInformationM
0x0000Root (Root Node)DescriptorM
0x0000Root (Root Node)EndpointLabelO
0x0001Public (Public Node)IdentifyM
0x0001Public (Public Node)WindowCoveringO
0x0001Public (Public Node)EnergyManagementO
0x0001Public (Public Node)PowerSourceO
0x0001Public (Public Node)NetworkCommissioningO
0x0001Public (Public Node)EcosystemInformationO
0x0001Public (Public Node)IndicationLightO
0x0001Public (Public Node)GeneralConfigurationO
0x0001Public (Public Node)GeneralDiagnosticsO
0x0001Public (Public Node)ThreadNetworkDiagnosticsO
0x0001Public (Public Node)ZigbeeNetworkDiagnosticsO
0x0001Public (Public Node)DeviceAnomalyMonitoringO
0x0001Public (Public Node)MatterCoordinationO
0x0001Public (Public Node)OTACoordinationO
0x0001Public (Public Node)StudioCoordinationO
0x0001Public (Public Node)CameraCoordinationO
0x0001Public (Public Node)SecurityGuardCoordinationO
0x0001Public (Public Node)SceneCoordinationO
0x0001Public (Public Node)HubCoordinationO
0x0001Public (Public Node)LightBoxCoordinationO
0x0001Public (Public Node)IRCoordinationO
0x0001Public (Public Node)CommLinkCoordinationO
0x0001Public (Public Node)RingtoneCoordinationO
0x0001Public (Public Node)ScreenCoordinationO
0x0001Public (Public Node)ConfigurationCoordinationO
0x0001Public (Public Node)LockCoordinationO
0x0001Public (Public Node)WakeupCoordinationO
0x0001Public (Public Node)CloudStorageCoordinationO
0x0001Public (Public Node)CentralHubCoordinationO
0x0001Public (Public Node)IftttCoordinationO
0x0001Public (Public Node)NetworkManagementO
0x0001Public (Public Node)SecurityO
0x0001Public (Public Node)OTAO

Gateway/Bridge Types​

Gateway/Bridge Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0003Hub (Gateway)BridgeConfigurationM
0x0003Hub (Gateway)SpeakerO
0x0003Hub (Gateway)MatterBridgeCommissioningO
0x0003Hub (Gateway)ZigbeeNetworkDiagnosticsO
0x0003Hub (Gateway)RingtoneO
0x0003Hub (Gateway)ThreadNetworkDiagnosticsO
0x0004BridgedNode (Bridged Device)BridgedConfigurationMDescribes bridged devices

Lighting Types​

Lighting Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x000ALight (Light)OutputM
0x000ALight (Light)LevelControlO
0x000ALight (Light)ColorControlO
0x000ALight (Light)DeviceAnomalyMonitoringO
0x000ALight (Light)LightingO
0x000ALight (Light)ImageMediaManagementO

Electrical Types​

Electrical Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x000BOutlet (Socket)OutputM
0x000BOutlet (Socket)EnergyManagementO
0x000BOutlet (Socket)DeviceAnomalyMonitoringO
0x000CSwitch (Switch)OutputM
0x000CSwitch (Switch)EnergyManagementO
0x000CSwitch (Switch)MARSConfigurationO
0x000CSwitch (Switch)CustomizedConfigurationO
0x000CSwitch (Switch)ScreenUserInterfaceO
0x000CSwitch (Switch)DeviceAnomalyMonitoringO
0x004AGeneralValve (Valve)IdentifyMThis defines conformance to the Water Valve device type.
0x004AGeneralValve (Valve)ValveControlM
0x003EValve (Valve)OutputM
0x0042ElectricalSensor (Electrical Parameter Sensor)EnergyManagementOGeneral electrical parameter sensor; does not indicate the imported/exported, demand or time-of-use metering capabilities of a grid connection point meter.
0x0043Pump (Pump)OutputMA Pump device in a smart home system is designed to control and manage the flow of liquids, such as water or other fluids.

HVAC Types​

HVAC Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x000DAirConditioner (Air Conditioner, dual setpoint)OutputMSupports automatic cool/heat switching and maintains separate cooling and heating target temperatures.
0x000DAirConditioner (Air Conditioner, dual setpoint)HeaterCoolerMMust implement CoolingTemperature, HeatingTemperature, and MinHeatCoolDeadBand; HeaterCoolerMode must support Auto and report Supported Value. See below for dual-setpoint and Auto mode requirements.
0x000DAirConditioner (Air Conditioner, dual setpoint)FanControlO
0x000DAirConditioner (Air Conditioner, dual setpoint)FreshAirControlO
0x000DAirConditioner (Air Conditioner, dual setpoint)TemperatureOOutdoor temperature uses OutdoorTemperature; indoor temperature reuses HeaterCooler's CurrentTemperature.
0x0087SingleSetpointAC (Single-setpoint Air Conditioner)OutputMThe user first selects cool or heat mode, then sets the single target temperature for that mode.
0x0087SingleSetpointAC (Single-setpoint Air Conditioner)HeaterCoolerMMust implement SetTemperature; HeaterCoolerMode must report Supported Value and support at least one of Cool or Heat. See below for single-setpoint control requirements.
0x0087SingleSetpointAC (Single-setpoint Air Conditioner)FanControlO
0x0087SingleSetpointAC (Single-setpoint Air Conditioner)FreshAirControlO
0x0087SingleSetpointAC (Single-setpoint Air Conditioner)TemperatureOOutdoor temperature uses OutdoorTemperature; indoor temperature reuses HeaterCooler's CurrentTemperature.
0x0062AirConditionerController (Air Conditioner Controller)BindingMThis device type represents a controller that can be bound to one or more target air conditioners.
0x000EWindowCovering (Curtain)WindowCoveringM
0x002DThermostat (Thermostat)HeaterCoolerM
0x002DThermostat (Thermostat)FanControlO
0x0061ThermostatController (Thermostat Controller)BindingMThis device type represents a thermostat controller that can be bound to one or more target thermostats.
0x0030FloorHeating (Floor Heating)OutputM
0x0030FloorHeating (Floor Heating)HeaterCoolerM
0x0031Ventilation (Fresh Air)OutputM
0x0031Ventilation (Fresh Air)FanControlM
0x0031Ventilation (Fresh Air)FreshAirControlO
0x0038BathroomHeater (Bathroom Heater)OutputM
0x0038BathroomHeater (Bathroom Heater)HeaterCoolerO
0x0038BathroomHeater (Bathroom Heater)FanControlO
0x005ETemperatureControlledCabinet (Temperature Controlled Cabinet)TemperatureControlM
0x005ETemperatureControlledCabinet (Temperature Controlled Cabinet)TemperatureO
0x0048Fan (Fan)FanControlMA Fan is a smart home device designed to circulate air in order to provide cooling, ventilation, or air circulation within a roo
0x0048Fan (Fan)OutputO
0x0059HeatPump (Heat Pump)HeaterCoolerMA Heat Pump Device is an energy-efficient heating and cooling system that transfers heat between indoor and outdoor environments
0x0059HeatPump (Heat Pump)PowerSourceM
0x0059HeatPump (Heat Pump)EnergyManagementM

AirConditioner and SingleSetpointAC both implement Output and HeaterCooler; they differ in target-temperature and mode-control models:

  • AirConditioner (Device Type ID 0x000D, decimal 13) is a dual-setpoint air conditioner for devices that can maintain cooling and heating targets at the same time and automatically switch between cooling and heating based on room temperature. Its CoolingTemperature and HeatingTemperature are two independent targets that are both effective concurrently; SetTemperature MUST NOT be used as an alias or substitute for these two targets. The difference between the two targets MUST be no less than the Present Value of MinHeatCoolDeadBand. The device MUST support and report Auto in HeaterCoolerMode/Supported Value. In Auto mode, cool when room temperature is above the cooling target, and heat when below the heating target; while in the deadband between the two targets, do not simultaneously request both cooling and heating because of this automatic temperature-control logic. In Auto mode, clients SHOULD display and allow independent adjustment of both targets; when switching to Cool or Heat, use the corresponding cooling or heating target, while the other target remains independently effective. The device SHOULD validate the relationship whenever either target or the minimum deadband is updated; writes that violate the minimum deadband MUST be rejected, and MUST NOT be applied partially.
  • SingleSetpointAC (Device Type ID 0x0087, decimal 135) is a single-setpoint air conditioner for devices where the user first selects cool or heat mode and then sets one target temperature, including cool-only or heat-only devices. Its SetTemperature is the only effective air-conditioner target temperature in the current mode; the device MUST NOT use CoolingTemperature and HeatingTemperature together to represent the current air-conditioner control target. For this Device Type, HeaterCoolerMode/Supported Value MUST list the modes the device actually supports and MUST include at least one of Cool or Heat; after the user switches Cool/Heat mode, SetTemperature still means the single target for the current mode and does not represent separately stored cooling and heating targets.
  • HeaterCoolerMode/Supported Value is the basis for modes available to the client; clients MUST NOT present modes the device has not declared support for based only on the global enumeration definition. Auto mode on AirConditioner works from the two targets and the deadband; the client flow for SingleSetpointAC SHOULD first present the Cool/Heat modes the device supports (only that one mode if only one is supported), then edit SetTemperature.
  • MinHeatCoolDeadBand constrains dual-setpoint automatic control and represents the minimum temperature difference that MUST be kept between the cooling and heating targets; it does not apply to SingleSetpointAC controlled with SetTemperature. When a current-temperature Trait is used for status display, implement it according to its own Conformance; the device may use an internal sensor for Auto control and need not fabricate an external temperature measurement solely because of that internal sensor.

Audio/Video Types​

Audio/Video Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x000FCamera (Camera)CameraM
0x000FCamera (Camera)SpeakerO
0x000FCamera (Camera)PanTiltO
0x000FCamera (Camera)StorageO
0x000FCamera (Camera)NASStorageO
0x000FCamera (Camera)CameraNotificationsO
0x000FCamera (Camera)CameraPrivacySecurityO
0x000FCamera (Camera)AudioSettingsO
0x000FCamera (Camera)CameraWorkModeO
0x000FCamera (Camera)VideoSettingsO
0x000FCamera (Camera)AIDetectionO
0x000FCamera (Camera)CameraSettingsO
0x000FCamera (Camera)CloudRecordingO
0x000FCamera (Camera)PlaybackO
0x000FCamera (Camera)LiveO
0x0011Speaker (Speaker)SpeakerM
0x0011Speaker (Speaker)MediaPlaybackO
0x0012TV (TV)OutputM
0x0012TV (TV)MediaPlaybackO
0x0012TV (TV)SpeakerO
0x005ABasicVideoPlayer (Basic Video Player)OutputM
0x005ABasicVideoPlayer (Basic Video Player)MediaPlaybackM
0x005ABasicVideoPlayer (Basic Video Player)MediaInputO
0x005BCastingVideoPlayer (Casting Video Player)OutputM
0x005BCastingVideoPlayer (Casting Video Player)MediaPlaybackM
0x005BCastingVideoPlayer (Casting Video Player)MediaInputO
0x005CVideoRemoteControl (Video Remote Control)OutputM
0x005CVideoRemoteControl (Video Remote Control)MediaPlaybackM
0x005CVideoRemoteControl (Video Remote Control)MediaInputO
0x003FProjector (Projector)OutputO
0x0039Panel (Panel)SpeakerO
0x0039Panel (Panel)ScreenDisplayO
0x003AVideoDoorbell (Video Doorbell)CameraM
0x003AVideoDoorbell (Video Doorbell)SpeakerO

IR/Remote Control Types​

IR/Remote Control Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0013IRDevice (IR Device)IRControlM
0x0013IRDevice (IR Device)OutputO
0x0013IRDevice (IR Device)HeaterCoolerO
0x006CGestureSensor (Gesture Sensor)GestureRecognitionM

Clothes Drying Rack Types​

Clothes Drying Rack Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0014ClotheDryingMachine (Clothes Drying Machine)LifterM

Sensor Types​

Sensor Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0015ContactSensor (Contact Sensor)ContactM
0x0016DoorLock (Door Lock)DoorLockM
0x0017TemperatureSensor (Temperature Sensor)TemperatureM
0x0018HumiditySensor (Humidity Sensor)RelativeHumidityM
0x0019AtmosphericPressureSensor (Atmospheric Pressure)PressureM
0x005DPressureSensor (Pressure Sensor)PressureMPressure Sensor is a general-purpose pressure detection device capable of measuring air pressure, water pressure, and hydraulic
0x001AIlluminanceSensor (Illuminance Sensor)IlluminanceM
0x001BCO2Sensor (CO2 Sensor)CO2M
0x001CTVOCSensor (TVOC Sensor)AirQualityM
0x0049AirQualitySensor (Air Quality Sensor)AirQualityMAn Air Quality Sensor is a smart device designed to monitor the quality of the air within a home or other indoor environments.
0x007CWaterQualitySensor (Water Quality Sensor)WaterQualityM
0x001DNaturalGasAlarm (Natural Gas Alarm)GasM
0x001ESmokeAlarm (Smoke Alarm)SmokeM
0x001ESmokeAlarm (Smoke Alarm)COO
0x001ESmokeAlarm (Smoke Alarm)PowerSourceO
0x0047COAlarm (Carbon Monoxide Alarm)COMA CO Alarm is a critical safety device designed to detect the presence of carbon monoxide (CO) gas in the air.
0x0047COAlarm (Carbon Monoxide Alarm)PowerSourceO
0x003DLPGAlarm (Liquefied Petroleum Gas Alarm)GasM
0x001FParticulateMatterSensor (Particulate Matter Sensor)ParticulateMatterM
0x0020WaterLeakSensor (Water Leak Sensor)WaterLeakM
0x0021SleepMonitor (Sleep Monitor)SleepM
0x0022MotionSensor (Motion Sensor)OccupancySensingM
0x0027OccupancySensor (Occupancy Sensor)OccupancySensingM
0x0027OccupancySensor (Occupancy Sensor)OccupantLocationO
0x0027OccupancySensor (Occupancy Sensor)RadarSensingUnionO
0x0027OccupancySensor (Occupancy Sensor)AmbientSensingConfigurationO
0x0023Knob (Knob Switch)KnobM
0x0023Knob (Knob Switch)ButtonO
0x0024Button (Wireless Switch)ButtonM
0x0025Cube (Cube)CubeM
0x0026VibrationSensor (Vibration Sensor)VibrationM
0x0029LocationSensor (Location Sensor)LocationM
0x0028WaterHeater (Water Heater)OutputM
0x0044OnOffSensor (On/Off Sensor)OnOffSensorOAn On/Off Sensor is a smart home device designed to detect and report the status of electrical appliances or systems-whether the
0x0046RainSensor (Rain Sensor)RainSensorOA Rain Sensor is a smart device designed to detect rainfall and provide real-time information about weather conditions.
0x0045WaterFreezeDetector (Water Freeze Detector)WaterFreezeDetectorMA Water Freeze Detector is a smart device designed to monitor the temperature of water systems in the home.
0x004CFlowSensor (Flow Sensor)FlowMA Flow Sensor device measures and reports the flow rate of a fluid.
0x007DHeatMeter (Heat Meter)HeatMeterMUsed for heat/cooling metering and statistics in heating/cooling supply systems.
0x007ECompressor (Compressor)CompressorMUsed for operation monitoring and control of the compression stage in refrigeration systems.
0x007FControlCabinet (Control Cabinet)ControlCabinetMUsed for centralized monitoring and frequency regulation control in scenarios such as cooling water systems.
0x0080CoolingPump (Cooling Pump)CoolingPumpMUsed for pump operation monitoring and frequency regulation in cooling water circulation systems.
0x0081Boiler (Boiler)BoilerMUsed for boiler operation parameter monitoring, flame regulation and combustion control.
0x0082LiquidLevelSensor (Liquid Level Sensor)LiquidLevelMUsed to monitor liquid level height and liquid level risks in containers or pipelines.
0x0084WaterMeter (Water Meter)FlowMUsed to measure and report water flow rate and cumulative water consumption.
0x0084WaterMeter (Water Meter)TemperatureOApplicable to water meters that support water temperature measurement.
0x0084WaterMeter (Water Meter)ValveControlOApplicable to water meters with integrated shut-off valves.
0x0085GasMeter (Gas Meter)FlowMUsed to measure and report gas flow rate and cumulative gas consumption.
0x0085GasMeter (Gas Meter)ValveControlOApplicable to gas meters with integrated shut-off valves.
0x0085GasMeter (Gas Meter)GasMeteringOProvides gas metering parameters such as gas calorific value and gas volume conversion coefficient.
0x003CAttitudeDetector (Attitude Detection)AttitudeDetectionM
0x005FModeSelector (Mode Selector)ModeM

Security/AI Detection Types​

Security/AI Detection Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0071HumanDetector (Human Detector)HumanRecognitionO
0x0071HumanDetector (Human Detector)HumanPresenceO
0x002FFireAlarm (Fire Alarm)FlameDetectionM
0x0070PackageDetector (Package Detector)PackageRecognitionM
0x006FSoundSensor (Sound Sensor)SoundDetectionM
0x006EPetMonitor (Pet Monitor)PetRecognitionM
0x006DFaceScanner (Face Scanner)FaceRecognitionM
0x006BVehicleDetector (Vehicle Detector)VehicleDetectionM
0x0072Doorbell (Doorbell)DoorbellMA doorbell that is not a video doorbell

Health Monitoring Types​

Health Monitoring Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0073BreathingMonitor (Breathing Monitor)BreathingMonitoringM
0x0074HeartMonitor (Heart Monitor)HeartMonitoringM
0x0075VirtualFence (Virtual Fence)FenceDetectionO

Cleaning/Appliance Types​

Cleaning/Appliance Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0010SweepingRobot (Sweeping Robot)SweeperM
0x004DRoboticVacuumCleaner (Robotic Vacuum Cleaner)VacuumOperationalStateMThis defines conformance for the Robotic Vacuum Cleaner device type.
0x004DRoboticVacuumCleaner (Robotic Vacuum Cleaner)ModeM
0x004BAirPurifier (Air Purifier)IdentifyMAn Air Purifier is a standalone device that is designed to clean the air in a room.
0x004BAirPurifier (Air Purifier)OutputM
0x004BAirPurifier (Air Purifier)FanControlM
0x004BAirPurifier (Air Purifier)ActivatedCarbonFilterMonitoringO
0x004BAirPurifier (Air Purifier)HEPAFilterMonitoringO
0x002ASmartToilet (Toilet)ToiletCoreM
0x002ASmartToilet (Toilet)ToiletDiagnosticO
0x002ASmartToilet (Toilet)ToiletHygieneO
0x002ASmartToilet (Toilet)ToiletWashDryO
0x002ASmartToilet (Toilet)ToiletSettingsO
0x002BTVBox (TV Box)BasicInformation
0x002CSmartBed (Bed)LifterORepresent a motorized bed system that allows for independent or synchronized adjustment of the backrest and legrest positions, and may incorporate multi-mode massage functions, timer-based operations, and safety mechanisms such as child locks to enhance user comfort and safety.
0x002CSmartBed (Bed)MassageO
0x002EPusher (Window Pusher)BasicInformation
0x0035TowelRack (Towel Rack)TowelRackDryMRepresent an intelligent bathroom heating appliance designed to dry and warm towels through controlled heating cycles, providing real-time monitoring of surface temperature, remaining drying duration, and operational status while ensuring system safety through fault detection.
0x0036PetFeeder (Pet Feeder)PetFeederM
0x0037PetWaterer (Pet Waterer)BasicInformation
0x0034ElectricCooker (Electric Cooker)BasicInformation
0x0033Oven (Steamer/Oven)OperationalStateMAn Oven is a household or commercial appliance used for cooking, baking, roasting, or heating food.
0x0032Hearth (Stove)BasicInformation
0x004FRefrigerator (Refrigerator)ModeMA Refrigerator is an appliance that keeps food and beverages cold to preserve freshness.
0x004FRefrigerator (Refrigerator)RefrigeratorStateM
0x004ELaundryWasher (Washing Machine)OperationalStateMA Laundry Washer is an appliance that cleans clothes and textiles by agitating them in water with detergent to remove dirt, stai
0x0051LaundryDryer (Clothes Dryer)OperationalStateMA Laundry Dryer is an appliance designed to dry clothes, towels, and other textiles by removing moisture through heat
0x0050Dishwasher (Dishwasher)OperationalStateMA Dishwasher is an appliance designed to automatically clean dishes, utensils, and cookware by spraying hot water mixed with det
0x0052Cooktop (Cooktop)OutputMA Cooktop is a kitchen appliance designed for cooking food by providing heat through burners, induction coils, or other heating
0x0053CookSurface (Cooking Surface)OutputMA Cook Surface refers to the flat cooking area of a stove or cooktop, where heat is applied to cookware for cooking food.
0x0054ExtractorHood (Range Hood)FanControlMAn Extractor Hood is an appliance installed above the cooktop or stove to ventilate and remove smoke, steam, odors
0x0055MicrowaveOven (Microwave Oven)OutputMA Microwave Oven is an appliance that uses electromagnetic waves (microwaves) to rapidly heat or cook food.
0x003BAccessController (Access Controller)BasicInformation

Energy Types​

Energy Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0056ElectricVehicleSupplyEquipment (EV Charging Pile)EVSEMElectric Vehicle Supply Equipment (EVSE) refers to the hardware used to deliver electrical energy from a power source
0x0056ElectricVehicleSupplyEquipment (EV Charging Pile)ModeM
0x0056ElectricVehicleSupplyEquipment (EV Charging Pile)EnergyStorageOOnly implemented when the device can provide vehicle battery-side data; must not be confused with EVSE's own backup battery.
0x0057SolarPower (Solar Power)PowerSourceMSolar Power is the energy harnessed from the sun using photovoltaic (PV) cells, which convert sunlight into electricity.
0x0057SolarPower (Solar Power)EnergyManagementMThe SolarPower implementation must provide CumulativeGeneratedActiveEnergy and GeneratedActivePower, whose metering boundary is the AC output side of the inverter.
0x0057SolarPower (Solar Power)PowerGenerationORated generation power and cumulative sold energy are implemented according to device capabilities; grid connection status is provided by EnergyManagement.
0x0058BatteryStorage (Battery Storage)PowerSourceMPowerSource describes the device power source; BatPercentRemaining does not replace the storage SOC.
0x0058BatteryStorage (Battery Storage)EnergyManagementM
0x0058BatteryStorage (Battery Storage)EnergyStorageMProvides battery-side data of the storage system, such as SOC, capacity, charge/discharge and health status.
0x0086ElectricityMeter (Energy Meter)EnergyManagementMProvides general electrical parameters and cumulative imported/exported active energy.
0x0086ElectricityMeter (Energy Meter)ElectricityMeteringMThe MeteringPointType of the grid connection point meter must be GridConnectionPoint; demand and time-of-use energy are optionally implemented according to device capabilities.

BACnet Object Types​

BACnet Object Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0063AnalogInputDevice (Analog Input Device)AnalogInputObjectM
0x0064AnalogOutputDevice (Analog Output Device)AnalogOutputObjectM
0x0065BinaryInputDevice (Binary Input Device)BinaryInputObjectM
0x0066BinaryOutputDevice (Binary Output Device)BinaryOutputObjectM
0x0067MultiStateInputDevice (Multi-state Input Device)MultiStateInputObjectM
0x0068MultiStateOutputDevice (Multi-state Output Device)MultiStateOutputObjectM
0x0069CharStringValueDevice (Character String Device)CharacterStringValueObjectM

Vehicle-mounted Types​

Vehicle-mounted Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x0041MultiActionDetector (Multi-action Detector)CubeOMulti-action detector supporting multiple types of action detection, such as double tap, rotation, vibration, etc.
0x0041MultiActionDetector (Multi-action Detector)VibrationO
0x0041MultiActionDetector (Multi-action Detector)KnobO
0x0040GarageDoor (Garage Door)GarageDoorOpenerM

Other Types​

Other Types

IDDevice TypeRequired FunctionsMandatoryRemarks
0x006AScene (Scene)BasicInformation
0x0077NAS (Network Attached Storage)BasicInformation
0x0076WiFiRepeater (WiFi Repeater)BasicInformation
0x0083VoiceAssistant (Voice Assistant)VoiceAssistantMVoice assistant device type.
note

Function names in the table are consistent with the Aqara Spec Function definition sections.

Device Type ID Index​

The following table lists all Device Types in ascending ID order for easy lookup by code. See the previous section list for Function requirements.

Device Type ID Index Table

IDCodeNameCategory
[[devtype_0000]]0x0000RootRoot nodeOther
[[devtype_0001]]0x0001PublicPublic nodeOther
[[devtype_0003]]0x0003HubGatewayOther
[[devtype_0004]]0x0004BridgedNodeBridged deviceOther
[[devtype_000a]]0x000ALightLightLighting
[[devtype_000b]]0x000BOutletSocketOutlet
[[devtype_000c]]0x000CSwitchSwitchSwitch
[[devtype_000d]]0x000DAirConditionerDual-setpoint Air ConditionerHeaterCooler
[[devtype_000e]]0x000EWindowCoveringCurtainShading
[[devtype_000f]]0x000FCameraCameraSecurity
[[devtype_0010]]0x0010SweepingRobotSweeping robotOther
[[devtype_0011]]0x0011SpeakerSpeakerOther
[[devtype_0012]]0x0012TVTVOther
[[devtype_0013]]0x0013IRDeviceIR deviceIRDevice
[[devtype_0014]]0x0014ClotheDryingMachineClothes drying machineOther
[[devtype_0015]]0x0015ContactSensorContact sensorSecurity
[[devtype_0016]]0x0016DoorLockDoor lockSecurity
[[devtype_0017]]0x0017TemperatureSensorTemperature sensorEnvironment
[[devtype_0018]]0x0018HumiditySensorHumidity sensorEnvironment
[[devtype_0019]]0x0019AtmosphericPressureSensorAtmospheric pressureEnvironment
[[devtype_001a]]0x001AIlluminanceSensorIlluminance sensorEnvironment
[[devtype_001b]]0x001BCO2SensorCO2 sensorEnvironment
[[devtype_001c]]0x001CTVOCSensorTVOC sensorEnvironment
[[devtype_001d]]0x001DNaturalGasAlarmNatural gas alarmSecurity
[[devtype_001e]]0x001ESmokeAlarmSmoke alarmSecurity
[[devtype_001f]]0x001FParticulateMatterSensorParticulate matter sensorEnvironment
[[devtype_0020]]0x0020WaterLeakSensorWater leak sensorSecurity
[[devtype_0021]]0x0021SleepMonitorSleep monitorOther
[[devtype_0022]]0x0022MotionSensorMotion sensorSecurity
[[devtype_0023]]0x0023KnobKnob switchRemote
[[devtype_0024]]0x0024ButtonWireless switchRemote
[[devtype_0025]]0x0025CubeCubeRemote
[[devtype_0026]]0x0026VibrationSensorVibration sensorSecurity
[[devtype_0027]]0x0027OccupancySensorOccupancy sensorSecurity
[[devtype_0028]]0x0028WaterHeaterWater heaterOther
[[devtype_0029]]0x0029LocationSensorLocation sensorOther
[[devtype_002a]]0x002ASmartToiletToiletOther
[[devtype_002b]]0x002BTVBoxTV boxOther
[[devtype_002c]]0x002CSmartBedBedOther
[[devtype_002d]]0x002DThermostatThermostatHeaterCooler
[[devtype_002e]]0x002EPusherWindow pusherOther
[[devtype_002f]]0x002FFireAlarmFire alarmSecurity
[[devtype_0030]]0x0030FloorHeatingFloor heatingHeaterCooler
[[devtype_0031]]0x0031VentilationFresh airHeaterCooler
[[devtype_0032]]0x0032HearthStoveOther
[[devtype_0033]]0x0033OvenSteamer/OvenOther
[[devtype_0034]]0x0034ElectricCookerElectric cookerOther
[[devtype_0035]]0x0035TowelRackTowel rackOther
[[devtype_0036]]0x0036PetFeederPet feederOther
[[devtype_0037]]0x0037PetWatererPet watererOther
[[devtype_0038]]0x0038BathroomHeaterBathroom heaterHeaterCooler
[[devtype_0039]]0x0039PanelPanelOther
[[devtype_003a]]0x003AVideoDoorbellVideo doorbellSecurity
[[devtype_003b]]0x003BAccessControllerAccess controllerOther
[[devtype_003c]]0x003CAttitudeDetectorAttitude detectionOther
[[devtype_003d]]0x003DLPGAlarmLPG alarmSecurity
[[devtype_003e]]0x003EValveValveOther
[[devtype_003f]]0x003FProjectorProjectorOther
[[devtype_0040]]0x0040GarageDoorGarage doorOther
[[devtype_0041]]0x0041MultiActionDetectorMulti-action detectorRemote
[[devtype_0042]]0x0042ElectricalSensorElectrical parameter sensorOutlet
[[devtype_0043]]0x0043PumpPumpOther
[[devtype_0044]]0x0044OnOffSensorOn/off sensorEnvironment
[[devtype_0045]]0x0045WaterFreezeDetectorWater freeze detectorEnvironment
[[devtype_0046]]0x0046RainSensorRain sensorEnvironment
[[devtype_0047]]0x0047COAlarmCarbon monoxide alarmEnvironment
[[devtype_0048]]0x0048FanFanOther
[[devtype_0049]]0x0049AirQualitySensorAir quality sensorEnvironment
[[devtype_004a]]0x004AGeneralValveValveOutlet
[[devtype_004b]]0x004BAirPurifierAir purifierEnvironment
[[devtype_004c]]0x004CFlowSensorFlow sensorEnvironment
[[devtype_004d]]0x004DRoboticVacuumCleanerSweeping robotOther
[[devtype_004e]]0x004ELaundryWasherWashing machineOther
[[devtype_004f]]0x004FRefrigeratorRefrigeratorOther
[[devtype_0050]]0x0050DishwasherDishwasherOther
[[devtype_0051]]0x0051LaundryDryerClothes dryerOther
[[devtype_0052]]0x0052CooktopCooktopOther
[[devtype_0053]]0x0053CookSurfaceCooking surfaceOther
[[devtype_0054]]0x0054ExtractorHoodRange hoodOther
[[devtype_0055]]0x0055MicrowaveOvenMicrowave ovenOther
[[devtype_0056]]0x0056ElectricVehicleSupplyEquipmentEV charging pileOther
[[devtype_0057]]0x0057SolarPowerSolar powerOther
[[devtype_0058]]0x0058BatteryStorageBattery storageOther
[[devtype_0059]]0x0059HeatPumpHeat pumpOther
[[devtype_005a]]0x005ABasicVideoPlayerBasic video playerOther
[[devtype_005b]]0x005BCastingVideoPlayerCasting video playerOther
[[devtype_005c]]0x005CVideoRemoteControlVideo remote controlOther
[[devtype_005d]]0x005DPressureSensorPressure sensorEnvironment
[[devtype_005e]]0x005ETemperatureControlledCabinetTemperature controlled cabinetHeaterCooler
[[devtype_005f]]0x005FModeSelectorMode selectorOther
[[devtype_0061]]0x0061ThermostatControllerThermostat controllerHeaterCooler
[[devtype_0062]]0x0062AirConditionerControllerAir conditioner controllerHeaterCooler
[[devtype_0063]]0x0063AnalogInputDeviceAnalog input deviceOther
[[devtype_0064]]0x0064AnalogOutputDeviceAnalog output deviceOther
[[devtype_0065]]0x0065BinaryInputDeviceBinary input deviceOther
[[devtype_0066]]0x0066BinaryOutputDeviceBinary output deviceOther
[[devtype_0067]]0x0067MultiStateInputDeviceMulti-state input deviceOther
[[devtype_0068]]0x0068MultiStateOutputDeviceMulti-state output deviceOther
[[devtype_0069]]0x0069CharStringValueDeviceCharacter string deviceOther
[[devtype_006a]]0x006ASceneSceneOther
[[devtype_006b]]0x006BVehicleDetectorVehicle detectorSecurity
[[devtype_006c]]0x006CGestureSensorGesture sensorRemote
[[devtype_006d]]0x006DFaceScannerFace scannerSecurity
[[devtype_006e]]0x006EPetMonitorPet monitorSecurity
[[devtype_006f]]0x006FSoundSensorSound sensorSecurity
[[devtype_0070]]0x0070PackageDetectorPackage detectorSecurity
[[devtype_0071]]0x0071HumanDetectorHuman detectorSecurity
[[devtype_0072]]0x0072DoorbellDoorbellOther
[[devtype_0073]]0x0073BreathingMonitorBreathing monitorOther
[[devtype_0074]]0x0074HeartMonitorHeart monitorOther
[[devtype_0075]]0x0075VirtualFenceVirtual fenceOther
[[devtype_0076]]0x0076WiFiRepeaterWiFi repeaterOther
[[devtype_0077]]0x0077NASNetwork attached storageOther
[[devtype_007c]]0x007CWaterQualitySensorWater quality sensorEnvironment
[[devtype_007d]]0x007DHeatMeterHeat meterEnvironment
[[devtype_007e]]0x007ECompressorCompressorHeaterCooler
[[devtype_007f]]0x007FControlCabinetControl cabinetHeaterCooler
[[devtype_0080]]0x0080CoolingPumpCooling pumpHeaterCooler
[[devtype_0081]]0x0081BoilerBoilerHeaterCooler
[[devtype_0082]]0x0082LiquidLevelSensorLiquid level sensorEnvironment
[[devtype_0083]]0x0083VoiceAssistantVoice assistantOther
[[devtype_0084]]0x0084WaterMeterWater meterEnvironment
[[devtype_0085]]0x0085GasMeterGas meterEnvironment
[[devtype_0086]]0x0086ElectricityMeterEnergy meterOther
[[devtype_0087]]0x0087SingleSetpointACSingle-setpoint Air ConditionerHeaterCooler
note

Function names in the table are consistent with the Aqara Spec Function definition sections.

Matter / Zigbee Device Type to Aqara Spec Device Type Mapping​

This appendix defines the correspondence between Matter Device Types, Zigbee Device Types and Aqara Spec Device Types.

Matter Device Type Mapping​

No.Matter Device TypeMatter Device Type IDAqara Spec Device TypeAqara Spec Device Type ID
1Dimmable Plug-In Unit0x010BLight0x000A
2Mounted On/Off Control0x010FSwitch0x000C
3Mounted Dimmable Load Control0x0110Light0x000A
4Pump0x0303Pump0x0043
5Pressure Sensor0x0305PressureSensor0x005D
6On/Off Sensor0x0850OnOffSensor0x0044
7Smoke & CO Alarm0x0076SmokeAlarm0x001E
Smoke & CO Alarm0x0076COAlarm0x0047
8Air Quality Sensor0x002CAirQualitySensor0x0049
9Water Leak Detector0x0043WaterLeakDetector0x0020
10Water Freeze Detector0x0041WaterFreezeDetector0x0045
11Rain Sensor0x0044RainSensor0x0046
12Window Covering0x0202WindowCovering0x000E
13Fan0x002BFan0x0048
14Water Valve0x0042GeneralValve0x004A
15Flow Sensor0x0306FlowSensor0x004C
16Air Purifier0x002DAirPurifier0x004B
17Laundry Washer0x0073LaundryWasher0x004E
18Refrigerator0x0070Refrigerator0x004F
19Room Air Conditioner0x0072AirConditioner0x000D
20Dishwasher0x0075Dishwasher0x0050
21Laundry Dryer0x007CLaundryDryer0x0051
22Oven (Range)0x007BOven0x0033
23Cooktop0x0078Cooktop0x0052
24Cook Surface0x0077CookSurface0x0053
25Extractor Hood0x007AExtractorHood0x0054
26Microwave Oven0x0079MicrowaveOven0x0055
27Robotic Vacuum Cleaner0x0074RoboticVacuumCleaner0x004D
28Electric Vehicle Supply Equipment0x050CElectricVehicleSupplyEquipment0x0056
29Water Heater0x050FWaterHeater0x0028
30Solar Power0x0017SolarPower0x0057
31Battery Storage0x0011BatteryStorage0x0058
32Heat Pump0x0309HeatPump0x0059
33Electrical Sensor0x0510ElectricalSensor0x0042
34Basic Video Player0x0028BasicVideoPlayer0x005A
35Casting Video Player0x0023CastingVideoPlayer0x005B
36Video Remote Control0x002AVideoRemoteControl0x005C
37Speaker0x0022Speaker0x0011
38Door Lock0x000ADoorLock0x0016
39On/Off Light0x0100Switch0x000C
40Dimmable Light0x0101Light0x000A
41Color Temperature Light0x010CLight0x000A
42Extended Color Light0x010DLight0x000A
43On/Off Plug-in Unit0x010AOutlet0x000B
44Thermostat0x0301Thermostat0x002D
45Occupancy Sensor0x0107OccupancySensor0x0027
Occupancy Sensor0x0107MotionSensor0x0022
46Light Sensor0x0106IlluminanceSensor0x001A
47Contact Sensor0x0015ContactSensor0x0015
48Temperature Sensor0x0302TemperatureSensor0x0017
49Humidity Sensor0x0307HumiditySensor0x0018
50Generic Switch0x000FButton0x0024
51Bridge0x000EBridgeNode0x0004
52Temperature Controlled Cabinet0x0071TemperatureControlledCabinet0x005E

Zigbee Device Type Mapping​

No.Zigbee Device TypeZigbee Device Type IDAqara Spec Device TypeAqara Spec Device Type ID
1Aqara Root Node0x0016Public0x0001
2On/Off Switch0x0000Switch0x000C
3Door Lock0x000ADoorLock0x0016
4Smart Plug0x0051Outlet0x000B
5On/Off Light0x0100Switch0x000C
6Dimmable Light0x0101Light0x000A
7Color Dimmable Light0x0102Light0x000A
8Light Sensor0x0106IlluminanceSensor0x001A
9Occupancy Sensor0x0107OccupancySensor0x0027
10Window Covering Device0x0202WindowCovering0x000E
11Window Covering Controller0x0203WindowCovering0x000E
12Thermostat0x0301Thermostat0x002D
13Temperature Sensor0x0302TemperatureSensor0x0017
14Pump0x0303Pump0x0043
15Pressure Sensor0x0305AtmosphericPressureSensor0x0019
16Flow Sensor0x0306FlowSensor0x004C
17Mini Split AC0x0307AirConditioner0x000D

Binding​

Introduction​

Indicates the persistent binding relationship between an endpoint and one or more other local or remote Endpoints.

Function Identification​

Function IDCodeName
0x0001BindingBinding

Trait​

Trait IDCodeNameConformance
0x0002BindingBindingM
0x4E76SupportedBindingDeviceTypesSupported bindable device typesO
0x4E75SupportedBindingFunctionsSupported bindable FunctionsO

Command​

This Function does not contain Commands.

Data Types​

BindingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the Binding Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DeviceIDcharacterStringMDevice ID of the target device. Maximum length 32 bytes.
1ParentIDcharacterStringODevice ID of the parent device to which the target device belongs. Not required if it is under the same preferred Matter controller as the binding party. Maximum length 32 bytes.
2GroupIDuint32OSHALL be set when the binding target is a device group (Conformance: GROUP).
3ModelValuecharacterStringOFor non-Matter devices, the target model value SHALL be set (Conformance: !MATTER). Maximum length 32 bytes.
4EndPointIDuint32MEndpoint ID of the target device.
5DeviceTypeIDuint32MAqara Device Type ID of the target device.

Trait Definitions​

Trait IDNameConformance
0x0002BindingM
0x4E76SupportedBindingDeviceTypesO
0x4E75SupportedBindingFunctionsO

Binding Trait​

Binding indicates the persistent relationship between an endpoint and one or more other local or remote Endpoints.

Trait IDCode
0x0002Binding
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[BindingTraitPresentValueStructure]RVWM

SupportedBindingDeviceTypes Trait​

Indicates the list of device types that can be bound by this controller endpoint.

Trait IDCode
0x4E76SupportedBindingDeviceTypes
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

SupportedBindingFunctions Trait​

Indicates the list of Function capabilities that this controller endpoint can bind and control.

Trait IDCode
0x4E75SupportedBindingFunctions
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

Command Definitions​

This Function does not contain Commands.

CO (Carbon Monoxide)​

Introduction​

Provides carbon monoxide concentration monitoring and alarm capabilities, used to detect carbon monoxide leaks in the environment and alert in time.

Function Identification​

Function IDCodeName
0x0009COCarbon monoxide

Trait​

Trait IDCodeNameConformance
0x0004CODetectedCO detection statusM
0x0005ExpressedStateAlarm statusO
0x51A2CODensityCO concentrationO

Command​

Command IDCodeNameConformance
0x9C42SelfTestRequestSelf-testO

Data Types​

ExpressedStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the ExpressedState Trait.

ValueNameDescription
0x00NormalNormal
0x01SmokeAlarmSmoke leak
0x02COAlarmCO leak
0x03BatteryAlertBattery warning
0x04TestingTesting
0x05HardwareFaultHardware error
0x06EndOfServiceService end
0x07InterconnectSmokeInterconnected smoke alarm
0x08InterconnectCOInterconnected CO alarm

Trait Definitions​

Trait IDNameConformance
0x0004CODetectedM
0x0005ExpressedStateO
0x51A2CODensityO

CODetected Trait​

Indicates whether a carbon monoxide leak has been detected.

Trait IDCode
0x0004CODetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM
0x0007Default Valueboolean0RWO

ExpressedState Trait​

ExpressedState defines the status of the alarm.

Trait IDCode
0x0005ExpressedState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueExpressedStateEnum80RVO
0x0006Supported Valuelist[ExpressedStateEnum8]RO
0x0007Default Valueuint80RWO

CODensity Trait​

Indicates the carbon monoxide concentration in the air, used to monitor toxic gas risks and assist with ventilation linkage and safety alarms. Unit: mg/m^3.

Trait IDCode
0x51A2CODensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat1000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

Command Definitions​

Command IDNameConformance
0x9C42SelfTestRequestO

SelfTestRequest Command​

SelfTestRequest indicates alarm self-test.

This Command has no parameters.

WaterFreezeDetector​

Introduction​

Used to detect the risk of freezing in pipes or the environment, and report water freezing related events when the threshold is reached.

Function Identification​

Function IDCodeName
0x000AWaterFreezeDetectorWater freeze detector

Trait​

Trait IDCodeNameConformance
0x000ABooleanStateBoolean stateM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x000ABooleanStateM

BooleanState Trait​

BooleanState describes how boolean values are used to represent statistics in the context of the device (possibly in a smart home system).

Trait IDCode
0x000ABooleanState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain Commands.

RainSensor​

Introduction​

Used to detect rainfall status, reporting whether it is raining and related rainfall information.

Function Identification​

Function IDCodeName
0x000BRainSensorRain sensor

Trait​

Trait IDCodeNameConformance
0x000ABooleanStateBoolean stateM
0x51AERainfallRainfallO

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x000ABooleanStateM
0x51AERainfallO

BooleanState Trait​

BooleanState describes how boolean values are used to represent statistics in the context of the device (possibly in a smart home system).

Trait IDCode
0x000ABooleanState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM
0x0007Default Valueboolean0RWO

Rainfall Trait​

Indicates the rainfall intensity per unit time, which can be used to determine weather changes, on-site precipitation levels, and linkage conditions related to the outdoor environment. Unit: mm/min.

Trait IDCode
0x51AERainfall
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat500.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

OnOffSensor​

Introduction​

Used to detect binary switch input status, reporting discrete states such as on/off or triggered/not triggered.

Function Identification​

Function IDCodeName
0x000COnOffSensorOn/off sensor

Trait​

Trait IDCodeNameConformance
0x000ABooleanStateBoolean stateM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x000ABooleanStateM

BooleanState Trait​

BooleanState describes how boolean values are used to represent statistics in the context of the device (possibly in a smart home system).

Trait IDCode
0x000ABooleanState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain Commands.

BasicInformation​

Introduction​

Provides basic device information, including vendor, product model, firmware version, serial number, online status and other basic attributes.

Function Identification​

Function IDCodeName
0x0080BasicInformationBasic device information

Trait​

Trait IDCodeNameConformance
0x8116HardwareVersionStringHardware version stringM
0x8117FirmwareRevisionStringFirmware revision stringM
0x4F8EConfigurationVersionConfiguration versionM
0x8089DeviceIDDevice IDM
0x8085ReachableConnection statusM
0x8084ProductNameProduct nameM
0x5241NodeLabelNode labelO
0x8083VendorIDVendor IDM
0x8082VendorNameVendor nameM
0x4F52HubConnectionStatusHub connection statusO
0x4EE9BLVersionBootloader versionO
0x4EEBMCUVersionMCU versionO
0x4EEARadarVersionRadar versionO
0x4E7FChipTemperatureChip temperatureO
0x4EA4ManufacturerChipIDManufacturer chip IDO
0x4E9EDeviceXCodeDevice type X codeO
0x8175ModelValueModel valueO
0x816FConfigurationFlagConfiguration flagO
0x8147MatterSpecificationVersionMatter specification versionO
0x8146PartNumberPart numberO
0x8120SupportedMatterRolesSupported Matter rolesO
0x8118ProductIDProduct IDO
0x8088MacMAC addressO
0x8087LocationLocationO
0x8086HardwareVersionHardware versionO
0x8081SerialNumberSerial numberO
0x8080FirmwareRevisionFirmware revisionO
0x4FC4AIModelVersionAI algorithm model versionO
0x5146LogicBlockVersionLogic block firmware versionO
0x5155ThermostatBaseSNThermostat base SNO
0x515EThermostatBaseFWVersionThermostat base firmware versionO

Command​

This Function does not contain Commands.

Data Types​

ConfigurationVersionTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ConfigurationVersion Trait.

Struct Member No.Field NameTypeMandatoryDescription
0ConfigurationVersionuint32MDevice configuration version number.
1ThingModelMd5characterStringMData model MD5 checksum.
HubConnectionStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the HubConnectionStatus Trait.

ValueNameDescription
0x00DisconnectedDisconnected
0x01ConnectedConnected

Trait Definitions​

Trait IDNameConformance
0x8116HardwareVersionStringM
0x8117FirmwareRevisionStringM
0x4F8EConfigurationVersionM
0x8089DeviceIDM
0x8085ReachableM
0x8084ProductNameM
0x5241NodeLabelO
0x8083VendorIDM
0x8082VendorNameM
0x4F52HubConnectionStatusO
0x4EE9BLVersionO
0x4EEBMCUVersionO
0x4EEARadarVersionO
0x4E7FChipTemperatureO
0x4EA4ManufacturerChipIDO
0x4E9EDeviceXCodeO
0x8175ModelValueO
0x816FConfigurationFlagO
0x8147MatterSpecificationVersionO
0x8146PartNumberO
0x8120SupportedMatterRolesO
0x8118ProductIDO
0x8088MacO
0x8087LocationO
0x8086HardwareVersionO
0x8081SerialNumberO
0x8080FirmwareRevisionO
0x4FC4AIModelVersionO
0x5146LogicBlockVersionO
0x5155ThermostatBaseSNO
0x515EThermostatBaseFWVersionO

HardwareVersionString Trait​

Specifies the version number of the node hardware. The value meaning and version numbering rules are defined by the vendor. This attribute provides a value that is easier for users to understand than the HardwareVersion attribute.

Trait IDCode
0x8116HardwareVersionString
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

FirmwareRevisionString Trait​

This Trait is used for access to and reporting of "firmware revision string" data.

Trait IDCode
0x8117FirmwareRevisionString
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

ConfigurationVersion Trait​

Used to store the device ConfigurationVersion and data model MD5. Each time the App directly connects to the device and builds a new data model, it compares this Trait with the cloud data model, then decides whether to update the data model or report the new Trait value.

Trait IDCode
0x4F8EConfigurationVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueConfigurationVersionTraitPresentValueStructureRVWM

DeviceID Trait​

Indicates the unique identifier of the device.

Trait IDCode
0x8089DeviceID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

Reachable Trait​

Indicates whether the device is reachable. 0: Offline, 1: Online.

Trait IDCode
0x8085Reachable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVM

ProductName Trait​

Specifies the readable (displayable) name of the node model, such as the model number (or other identifier) assigned by the vendor.

Trait IDCode
0x8084ProductName
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

NodeLabel Trait​

Indicates the custom name set by the user for the Matter node, with a string length of at most 32 bytes. When a Matter device is connected to Aqara, the device name preferentially uses a non-empty NodeLabel; when NodeLabel is empty, it falls back to displaying ProductName. After the user modifies the device name in Aqara Home, the gateway or App should write the custom name to the device's NodeLabel, which is saved by the device and synchronized through this Trait.

Trait IDCode
0x5241NodeLabel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuestring32Maximum 32 bytesRVWO

VendorID Trait​

This Trait is used for access to and reporting of "vendor ID" data.

Trait IDCode
0x8083VendorID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

VendorName Trait​

This Trait is used for access to and reporting of "vendor name" data.

Trait IDCode
0x8082VendorName
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

HubConnectionStatus Trait​

Indicates the connection status between the device and the central Hub, used to determine whether the device is currently connected to the central Hub.

Trait IDCode
0x4F52HubConnectionStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHubConnectionStatusEnum80RVO
0x0006Supported Valuelist[HubConnectionStatusEnum8]RO
0x0007Default Valueuint80RWO

BLVersion Trait​

Specifies the Bootloader version. UTF-8 characters with a maximum length of 64 bytes.

Trait IDCode
0x4EE9BLVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

MCUVersion Trait​

Specifies the MCU version. (Current value: String(64), default null)

Trait IDCode
0x4EEBMCUVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

RadarVersion Trait​

Specifies the radar module version. (Current value: String(64), default null)

Trait IDCode
0x4EEARadarVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ChipTemperature Trait​

Indicates the current temperature measured by the device. Unit: deg C.

Trait IDCode
0x4E7FChipTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat1000.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

ManufacturerChipID Trait​

Identifies the manufacturer chip ID.

Trait IDCode
0x4EA4ManufacturerChipID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

DeviceXCode Trait​

Indicates the device type X code of the device.

Valid X code range is 1 to 65534. 0 and 65535 are invalid X code values, both indicating that the device has no X code; the default value is 65535.

Trait IDCode
0x4E9EDeviceXCode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161 to 65534; 65535 is the default no-X-code marker65535RVO
0x0002Maximum Valueuint1665534RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO

ModelValue Trait​

AIOT model value, e.g., lumi.gateway.cn01.

Trait IDCode
0x8175ModelValue
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ConfigurationFlag Trait​

Indicates the configuration status. When the flag is set to 1, the device must be configured before normal use.

Trait IDCode
0x816FConfigurationFlag
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

MatterSpecificationVersion Trait​

This Trait is used for access to and reporting of "Matter specification version" data.

Trait IDCode
0x8147MatterSpecificationVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

PartNumber Trait​

This Trait is used for access to and reporting of "part number" data.

Trait IDCode
0x8146PartNumber
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

SupportedMatterRoles Trait​

Indicates the Matter roles supported by the device, such as Thread Border Router, Matter Controller, Matter Commissioner, and Matter Bridge. Each bit represents one role.

Trait IDCode
0x8120SupportedMatterRoles
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

ProductID Trait​

Specifies the numeric ID assigned by the vendor to uniquely identify the specific product of this node.

Trait IDCode
0x8118ProductID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

Mac Trait​

Specifies the IEEE 802 link MAC (Wi-Fi or Ethernet) of the device. The BLE address and Magic Pair Unique ID are not values of this Trait; the Unique ID can be found in ref_MagicPairOnboardingPayload.

Trait IDCode
0x8088Mac
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

Location Trait​

This Trait is used for access to and reporting of "location" data.

Trait IDCode
0x8087Location
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

HardwareVersion Trait​

Specifies the version number of the node hardware. The value meaning and version numbering rules are defined by the vendor.

Trait IDCode
0x8086HardwareVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterString0RVO
0x0002Maximum ValuecharacterString4294967295RO
0x0003Minimum ValuecharacterString0RO

SerialNumber Trait​

This Trait is used for access to and reporting of "serial number" data.

Trait IDCode
0x8081SerialNumber
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

FirmwareRevision Trait​

Contains the current version number of the software running on this node.

Trait IDCode
0x8080FirmwareRevision
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterString0RVO
0x0002Maximum ValuecharacterString4294967295RO
0x0003Minimum ValuecharacterString0RO

AIModelVersion Trait​

Version string of the current AI algorithm model.

Trait IDCode
0x4FC4AIModelVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

LogicBlockVersion Trait​

Logic Block Firmware Version. Indicates the firmware version of the Aqara Studio logic block, used to identify the specific version of the logic block firmware for OTA upgrades, compatibility determination and troubleshooting.

Trait IDCode
0x5146LogicBlockVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ThermostatBaseSN Trait​

Thermostat base serial number (SN), used to uniquely identify the hardware identity information of the thermostat base. It is typically used for device registration, after-sales tracking and production traceability.

Trait IDCode
0x5155ThermostatBaseSN
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ThermostatBaseFWVersion Trait​

Indicates the firmware version of the thermostat base. The version number consists of five parts separated by dots: integrator.Air conditioner brand.Fresh air brand.Floor heating brand.Version number. This version number is used to identify the base firmware version for OTA upgrades, compatibility checks and troubleshooting.

Trait IDCode
0x515EThermostatBaseFWVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

Command Definitions​

This Function does not contain Commands.

Descriptor​

Introduction​

Describes the device endpoint composition and capability structure, including endpoint list, device types, Server/Client clusters and other information.

Function Identification​

Function IDCodeName
0x0081DescriptorDevice capability description

Trait​

Trait IDCodeNameConformance
0x808CEndpointCountEndpoint countM
0x808EEndpointDeviceTypesEndpoint device typesM
0x808ASupportedEndpointDynamicSupports dynamic modeM
0x808DEndpointArrayEndpoint arrayO
0x808FEndpointFunctionsEndpoint functionsO
0x80F5EndpointArrayDynamicEndpoint dynamic arrayO
0x808BEndpointDynamicCountDynamic mode countO
0x8090SelectedEndpointDynamicCurrent modeO
0x8156EndpointStructureDevice Endpoint hierarchy structureO

Command​

This Function does not contain Commands.

Data Types​

EndpointStructureNodeStructure Type​

This structure defines the nested child node field layout of EndpointStructure.

Struct Member No.Field NameTypeMandatoryDescription
0EndpointIduint16MEndpoint ID.
1ChildEndpointslist[EndpointStructureNodeStructure]OList of child Endpoint nodes, used to express the nested hierarchy.
EndpointStructureTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the EndpointStructure Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EndpointIduint16MRoot Endpoint ID.
1ChildEndpointslist[EndpointStructureNodeStructure]OChild Endpoint hierarchy structure.

Trait Definitions​

Trait IDNameConformance
0x808CEndpointCountM
0x808EEndpointDeviceTypesM
0x808ASupportedEndpointDynamicM
0x808DEndpointArrayO
0x808FEndpointFunctionsO
0x80F5EndpointArrayDynamicO
0x808BEndpointDynamicCountO
0x8090SelectedEndpointDynamicO
0x8156EndpointStructureO

EndpointCount Trait​

Indicates the number of Endpoints contained in the current Device.

Trait IDCode
0x808CEndpointCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint323RVM
0x0002Maximum Valueint3265279RO
0x0003Minimum Valueint322RO
0x0005Step Valueuint321RO

EndpointDeviceTypes Trait​

Describes the Device Type of each Endpoint in all configuration instances of the current Device, used together with EndpointArray or EndpointArrayDynamic.

Trait IDCode
0x808EEndpointDeviceTypes
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVM

SupportedEndpointDynamic Trait​

Indicates whether the current Device instance supports dynamic configuration.

Trait IDCode
0x808ASupportedEndpointDynamic
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM

EndpointArray Trait​

Describes all possible combinations of Endpoints contained in the current Device. Used together with SupportedEndpointDynamic, EndpointDynamicCount and SelectedEndpointDynamic.

Trait IDCode
0x808DEndpointArray
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

EndpointFunctions Trait​

This Trait is used for access to and reporting of "endpoint functions" data.

Trait IDCode
0x808FEndpointFunctions
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

EndpointArrayDynamic Trait​

Describes the Endpoint combination used by the current Device instance. Mutually exclusive with EndpointArray (only one is valid at a time).

Trait IDCode
0x80F5EndpointArrayDynamic
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

EndpointDynamicCount Trait​

Indicates the number of dynamic Endpoint configuration instances supported by the current Device. Default value is 1.

Trait IDCode
0x808BEndpointDynamicCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVO
0x0002Maximum Valueint3265279RO
0x0003Minimum Valueint320RO
0x0005Step Valueuint321RO

SelectedEndpointDynamic Trait​

Indicates the array index of EndpointArray, identifying the currently selected Device Endpoint configuration instance.

Trait IDCode
0x8090SelectedEndpointDynamic
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVWO
0x0002Maximum Valueint3265279RO
0x0003Minimum Valueint320RO
0x0005Step Valueuint321RO
0x0007Default Valueint320RWO

EndpointStructure Trait​

Describes the Endpoint hierarchy (nested relationship) in the configuration instance used by the current Device.

Trait IDCode
0x8156EndpointStructure
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEndpointStructureTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain Commands.

EndpointLabel​

Introduction​

Manages endpoint visibility and display information, such as name, room, icon, tags, etc., for front-end display and organization.

Function Identification​

Function IDCodeName
0x0082EndpointLabelEndpoint label

Trait​

Trait IDCodeNameConformance
0x8093EndpointVisibilityEndpoint visibilityM
0x8091EndpointNameDevice or card nameO
0x8092EndpointRoomLocation ID of the device or cardO
0x80F8EndpointRoomNameRoom name of the device or cardO
0x8097EndpointIconEndpoint iconO
0x80A1EndpointApplianceTypeEndpoint usageO
0x80F4EndpointStatisticsEndpoint statisticsO
0x8154EndpointTagEndpoint labelO

Command​

This Function does not contain Commands.

Data Types​

EndpointApplianceTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the EndpointApplianceType Trait.

ValueNameDescription
LightLight fixtureUsed to represent an endpoint for light fixtures or lighting control functions.
SwitchSwitchUsed to represent an endpoint that controls the on/off state of a circuit or device.
OutletSocketUsed to represent an endpoint for a controlled power outlet or power output.
FanFanUsed to represent an endpoint for fan-type devices.
VentilationFresh air deviceUsed to represent an endpoint for fresh air or ventilation devices.
AirConditionerAir conditionerUsed to represent an endpoint for air conditioner devices.
AirPurifierAir purifierUsed to represent an endpoint for air purification devices.
HumidifierHumidifierUsed to represent an endpoint for devices that increase ambient humidity.
DehumidifierDehumidifierUsed to represent an endpoint for devices that decrease ambient humidity.
TVTVUsed to represent an endpoint for TV devices.
RefrigeratorRefrigeratorUsed to represent an endpoint for refrigerators or cold storage devices.
ComputerComputerUsed to represent an endpoint for computer devices.
WaterHeaterWater heaterUsed to represent an endpoint for devices that prepare or supply hot water.
KettleElectric kettleUsed to represent an endpoint for kettle-type devices.
MicrowaveOvenMicrowave ovenUsed to represent an endpoint for microwave heating or cooking devices.
HubGatewayUsed to represent an endpoint for gateway or hub devices.
ContactSensorContact sensorUsed to represent a sensor endpoint that detects the opening/closing or contact state of objects such as doors and windows.
DoorDoorUsed to represent an endpoint for door bodies or door-type devices.
WindowWindowUsed to represent an endpoint for window bodies or window-type devices.
CabinetCabinetUsed to represent an endpoint for cabinets or cabinet-type devices.
OtherOtherUsed to represent an endpoint for appliances or devices not classified into the above categories.

Trait Definitions​

Trait IDNameConformance
0x8093EndpointVisibilityM
0x8091EndpointNameO
0x8092EndpointRoomO
0x80F8EndpointRoomNameO
0x8097EndpointIconO
0x80A1EndpointApplianceTypeO
0x80F4EndpointStatisticsO
0x8154EndpointTagO

EndpointVisibility Trait​

Describes the visibility of all Endpoints contained in the current Device. 0: Invisible, 1: Visible.

Trait IDCode
0x8093EndpointVisibility
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVM

EndpointName Trait​

Describes the Endpoint name, in string format, maximum length 32.

Trait IDCode
0x8091EndpointName
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

EndpointRoom Trait​

Describes the ID of the room where the Endpoint is located, in string format, maximum length 32 bytes.

Trait IDCode
0x8092EndpointRoom
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

EndpointRoomName Trait​

Describes the name of the room where the Endpoint is located, in string format, maximum length 128 bytes.

Trait IDCode
0x80F8EndpointRoomName
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

EndpointIcon Trait​

Describes the current icon ID. The selectable icon list varies by Device Type and cannot be customized by the vendor.

Trait IDCode
0x8097EndpointIcon
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

EndpointApplianceType Trait​

Describes the current appliance type (e.g., Light, Fan, Air Conditioner, etc.). The selectable type list varies by Device Type.

Trait IDCode
0x80A1EndpointApplianceType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO
0x0006Supported Valuelist[characterString]RO

EndpointStatistics Trait​

Describes whether the device can be included in statistics functions.

Trait IDCode
0x80F4EndpointStatistics
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EndpointTag Trait​

The current value of this attribute should be the ID of a semantic tag within the namespace. 0 indicates the "aggregation" capability, and N (N > 0) specifies the capability of the Nth channel.

Trait IDCode
0x8154EndpointTag
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain Commands.

Identify​

Introduction​

Provides device identification capability, helping users locate a physical device through indicator blinking, sounds, etc.

Function Identification​

Function IDCodeName
0x0083IdentifyIdentify

Trait​

Trait IDCodeNameConformance
0x8094IdentifyTimeIdentify timeM
0x8095IdentifyTypeIdentify typeM
0x8136ReverseIdentifyReverse identifyO

Command​

Command IDCodeNameConformance
0x8096IdentifyIdentifyM

Data Types​

IdentifyTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the IdentifyType Trait.

ValueNameDescription
0x00NoneNone
0x01LightLight
0x02LEDIndicatorLEDIndicator
0x03AudibleBeepAudibleBeep
0x04DisplayDisplay
0x05ActuatorActuator
Identify Command Structure Type​

Parameter structure of the Identify Command.

Struct Member No.Field NameTypeMandatoryDescription
0IdentifyTimeuint16MRemaining time in seconds for the device to continue self-identifying. When the value is 0, the device MAY use the default identification duration.

Trait Definitions​

Trait IDNameConformance
0x8094IdentifyTimeM
0x8095IdentifyTypeM
0x8136ReverseIdentifyO

IdentifyTime Trait​

Indicates the remaining duration (in seconds) during which the device will continue self-identifying. Value range is 0 to 10, step 0.1, unit seconds (s). When the value is 0, the default remaining duration is used.

Trait IDCode
0x8094IdentifyTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat10.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO

IdentifyType Trait​

Specifies the way identification is presented to the user. Values: 0 = None, 1 = Light, 2 = LED indicator, 3 = Sound, 4 = Display (visible on screen), 5 = Actuator (e.g., curtain or relay action), 6-255 = Reserved.

Trait IDCode
0x8095IdentifyType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueIdentifyTypeEnum80RVWM
0x0006Supported Valuelist[IdentifyTypeEnum8]RO
0x0007Default ValueIdentifyTypeEnum80RWO

ReverseIdentify Trait​

When triggered (through a local operation on the device, such as button press or touch screen interaction), the device sends a signal to all connected client tools (e.g., mobile App, Web application, or desktop software) to locate and identify the corresponding device in that tool. The user can physically operate the device to quickly find it in the tool.

Trait IDCode
0x8136ReverseIdentify
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81VO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

Command Definitions​

Command IDNameConformance
0x8096IdentifyM

Identify Command​

When written, starts or stops device self-identification.

Parameters​

Identify Command Structure

Output​

Introduction​

Provides switch output control capability, supporting reading and controlling the on/off state of the load.

Function Identification​

Function IDCodeName
0x0084OutputOutput

Trait​

Trait IDCodeNameConformance
0x8098OnOffSwitch stateM
0x8099StartUpOnOffStart-up switchO
0x4E87OutputSwitchingTypeExternal switch typeO
0x4E86OutputNodeModeSwitch node mode configurationO
0x4E85OutputInterlockFlagSwitch interlock enable configuration flagO

Command​

Command IDCodeNameConformance
0x811AOffOffO
0x8119OnOnO
0x809AToggleToggleO

Data Types​

StartUpOnOffEnum8 Type​

This enumeration defines the valid values of the Present Value of the StartUpOnOff Trait.

ValueNameDescription
0x00OffOff at power-on
0x01OnOn at power-on
0x02ToggleInvert at power-on
0x03HoldMemory at power-on
OutputSwitchingTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the OutputSwitchingType Trait.

ValueNameDescription
0x01NonResettableSwitchNon-rebound switch
0x02MomentaryPushSwitchRebound switch
0x03ActiveLowCloseRelayLow-level closed relay
0x04InsertCardOnModeCard insertion power-on mode
0x05InsertCardOffModeCard insertion power-off mode
OutputNodeModeEnum32 Type​

This enumeration defines the valid values of the Present Value of the OutputNodeMode Trait.

ValueNameDescription
0x00WetModeWet node mode
0x01DryPulseNormallyClosedDry node pulse normally closed mode
0x02DryPulseNormallyOpenDry node pulse normally open mode
0x03DryToggleModeDry node on/off mode

Trait Definitions​

Trait IDNameConformance
0x8098OnOffM
0x8099StartUpOnOffO
0x4E87OutputSwitchingTypeO
0x4E86OutputNodeModeO
0x4E85OutputInterlockFlagO

OnOff Trait​

When written, turns the device on or off, i.e. controls the device switch state. Reading indicates the current switch state. Values: false = Off, true = On.

Trait IDCode
0x8098OnOff
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanRVWM
0x0007Default Valueboolean0RWO

StartUpOnOff Trait​

Defines the startup behavior of a set of custom configuration parameters when the device powers on (e.g., restoring user-customized configurations). It may override the default OnOff behavior.

Trait IDCode
0x8099StartUpOnOff
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStartUpOnOffEnum80RVWO
0x0006Supported Valuelist[StartUpOnOffEnum8]RO
0x0007Default ValueStartUpOnOffEnum80RWO

OutputSwitchingType Trait​

Defines the type of external switch connected to the device.

Trait IDCode
0x4E87OutputSwitchingType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOutputSwitchingTypeEnum81RVWO
0x0006Supported Valuelist[OutputSwitchingTypeEnum8]RO
0x0007Default ValueOutputSwitchingTypeEnum81RWO

OutputNodeMode Trait​

Defines the working mode of the output node.

Trait IDCode
0x4E86OutputNodeMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOutputNodeModeEnum320RVWO
0x0006Supported Valuelist[OutputNodeModeEnum32]RO
0x0007Default ValueOutputNodeModeEnum320RWO

OutputInterlockFlag Trait​

When the values of two attributes are the same, the states corresponding to these two attributes are in an interlock relationship.

Trait IDCode
0x4E85OutputInterlockFlag
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO
0x0007Default Valueuint80RWO

Command Definitions​

Command IDNameConformance
0x811AOffO
0x8119OnO
0x809AToggleO

Off Command​

This Command is used to perform the "Off" operation.

This Command has no parameters.

On Command​

This Command is used to perform the "On" operation.

This Command has no parameters.

Toggle Command​

This Command is used to perform the "Toggle" operation.

This Command has no parameters.

LevelControl​

Introduction​

Provides brightness level adjustment capability, supporting setting/reading the current brightness, step dimming, and dimming control linked or decoupled with the switch.

Function Identification​

Function IDCodeName
0x0085LevelControlLevel control

Trait​

Trait IDCodeNameConformance
0x809BCurrentLevelCurrent levelM
0x4EACDimmingCurvatureDimming algorithm curvatureO
0x4E8AStartUpBrightnessStart-up brightnessO
0x8166OffTransitionTimeOff transition timeO
0x8165OnTransitionTimeOn transition timeO
0x4F8BInitialBrightnessInitial brightness of dimming curvatureO

Command​

Command IDCodeNameConformance
0x88CBStepBrightnessWithOnOffStep brightness (with on/off)O
0x811DSetBrightnessWithOnOffSet brightness (with on/off)O
0x811CSetBrightnessSet brightnessO
0x80FEStepBrightnessStep brightnessO

Data Types​

StepBrightnessWithOnOff Command Structure Type​

Parameter structure of the StepBrightnessWithOnOff Command.

Struct Member No.Field NameTypeMandatoryDescription
0SizefloatMBrightness step value, range -100 ~ 100; positive means increase, negative means decrease, unit %.
1Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
SetBrightnessWithOnOff Command Structure Type​

Parameter structure of the SetBrightnessWithOnOff Command.

Struct Member No.Field NameTypeMandatoryDescription
0LevelfloatMTarget brightness value, range 1 ~ 100, unit %; default value 50.
1Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
SetBrightness Command Structure Type​

Parameter structure of the SetBrightness Command.

Struct Member No.Field NameTypeMandatoryDescription
0LevelfloatMTarget brightness value, range 1 ~ 100, unit %; default value 50.
1Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
2ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of the CurrentLevel Trait.
StepBrightness Command Structure Type​

Parameter structure of the StepBrightness Command.

Struct Member No.Field NameTypeMandatoryDescription
0SizefloatMBrightness step value, range -100 ~ 100; positive means increase, negative means decrease, unit %.
1Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
2ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of the CurrentLevel Trait.

Trait Definitions​

Trait IDNameConformance
0x809BCurrentLevelM
0x4EACDimmingCurvatureO
0x4E8AStartUpBrightnessO
0x8166OffTransitionTimeO
0x8165OnTransitionTimeO
0x4F8BInitialBrightnessO

CurrentLevel Trait​

This Trait indicates the current brightness level and is the core state value of Level Control.

On the Matter side (light-type devices), a level range of 1-254 is commonly used; the Aqara side uses percentage semantics, with mapping examples of 1%=1, 50%=127, 100%~=254.

Trait IDCode
0x809BCurrentLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO
0x000BMaximum Actual ValuefloatRVWO
0x000CMinimum Actual ValuefloatRVWO

DimmingCurvature Trait​

This Trait is used to indicate the power value of the dimming algorithm curve, which controls the change speed and dwell time of brightness in the low-brightness region (near the minimum brightness range).

The value range is 0.1 to 10.0. The device should apply curve mapping within this range and adjust the subjective visual rhythm of the brightness transition accordingly.

  • When the value is 1.0, it indicates a linear dimming curve, where brightness changes at an approximately uniform rate over time.
  • When the value is greater than 1.0, the low-brightness region changes more slowly and dwells longer, making the overall visual effect closer to "slow start, then accelerating at the end".
  • When the value is less than 1.0, the low-brightness region passes through faster, brightness enters the medium-high region earlier, and the visual start-up is more direct.

The larger the value, the higher the proportion of transition time occupied by the low-brightness region; the smaller the value, the lower the proportion. This parameter only affects the shape of the transition curve and does not change the target brightness range of the command.

Trait IDCode
0x4EACDimmingCurvature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1.5RVWO
0x0002Maximum Valuefloat10.0RO
0x0003Minimum Valuefloat0.1RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat1.5RWO

StartUpBrightness Trait​

This Trait indicates the start-up brightness used by the device after power-on (when the light is turned on). Unit: %.

Trait IDCode
0x4E8AStartUpBrightness
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

OffTransitionTime Trait​

This Trait is used to indicate the brightness transition duration when the On/Off Cluster of the same endpoint receives the Off command.

Its semantics are: the device should gradually transition CurrentLevel from the maximum brightness to the minimum brightness allowed by the device (usually corresponding to the off state) within this duration.

The unit of this value is ms. For example, a value of 1000 means 1000 ms, i.e., a 1 s off transition duration.

When this Trait is not implemented, or the Present Value is null, the device should fall back to the configuration of OnOffTransitionTime.

Trait IDCode
0x8166OffTransitionTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVWO
0x0002Maximum Valueint3210000RO
0x0003Minimum Valueint320RO
0x0005Step Valueuint32500RO
0x0007Default Valueint320RWO

OnTransitionTime Trait​

This Trait is used to indicate the brightness transition duration when the On/Off Cluster of the same endpoint receives the On command.

Its semantics are: the device should gradually transition CurrentLevel from the minimum brightness allowed by the device to the maximum brightness within this duration.

The unit of this value is ms. For example, a value of 1000 means 1000 ms, i.e., a 1 s on transition duration.

When this Trait is not implemented, or the Present Value is null, the device should fall back to the configuration of OnOffTransitionTime.

Trait IDCode
0x8165OnTransitionTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVWO
0x0002Maximum Valueint3210000RO
0x0003Minimum Valueint320RO
0x0005Step Valueuint32500RO
0x0007Default Valueint320RWO

InitialBrightness Trait​

This Trait indicates the starting brightness when the device begins the brightness transition after power-on or reset.

If a target brightness is configured, the device should start from this initial brightness and gradually transition to the target brightness. Unit: %.

Trait IDCode
0x4F8BInitialBrightness
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint8RVWO
0x0002Maximum Valueuint850RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO
0x0007Default Valueuint80RWO

Command Definitions​

Command IDNameConformance
0x88CBStepBrightnessWithOnOffO
0x811DSetBrightnessWithOnOffO
0x811CSetBrightnessO
0x80FEStepBrightnessO

StepBrightnessWithOnOff Command​

This command is used to perform brightness step adjustment with switch linkage.

When the brightness drops near the minimum level, the device may synchronously update the switch state according to the linkage semantics.

Effect on Receipt​

After receiving this command, the device should first perform the brightness step according to the semantics of StepBrightness:

  • When Size = 0, the command has no effect and should return INVALID_COMMAND.
  • When Size ≠ 0, update CurrentLevel according to the step direction and step size; if the minimum/maximum boundary allowed by the device is reached, stop at the boundary and shorten the actual transition duration proportionally.

On top of the above behavior, this command should also perform switch linkage:

  • If the command effect would make CurrentLevel higher than the device minimum level, the OnOff of the same endpoint should be set to TRUE (On).
  • If the command effect would make CurrentLevel reach the device minimum level, the OnOff of the same endpoint should be set to FALSE (Off).
Parameters​

StepBrightnessWithOnOff Command Structure

SetBrightnessWithOnOff Command​

This command is used to perform target brightness setting with switch linkage.

Compared with SetBrightness, this command supports affecting the switch state while setting the brightness.

Effect on Receipt​

After receiving this command, the device should first, according to the semantics of SetBrightness, continuously transition from the current brightness to the target brightness.

  • The transition duration preferentially uses the Time in the command.
  • When Time is empty, the device transition duration configuration should be used; if no configuration is available, the transition should be completed as fast as the device can achieve.

On top of the above behavior, this command should also perform switch linkage:

  • If the command effect would make CurrentLevel higher than the device minimum level, the OnOff of the same endpoint should be set to TRUE (On).
  • If the command effect would make CurrentLevel reach the device minimum level, the OnOff of the same endpoint should be set to FALSE (Off).
Parameters​

SetBrightnessWithOnOff Command Structure

SetBrightness Command​

This command is used to set the target brightness without changing the on/off state of the light.

Effect on Receipt​

After receiving this command, the device should continuously transition from the current brightness to the target value specified by Level.

  • The transition duration preferentially uses the Time in the command.
  • When Time is empty, the device transition duration configuration should be used; if no configuration is available, the transition should be completed as fast as the device can achieve.

If the device does not support variable-rate transition, the transition duration field may be ignored.

Parameters​

SetBrightness Command Structure

StepBrightness Command​

This command is used to perform brightness step adjustment without changing the on/off state of the light.

Effect on Receipt​

When Size = 0, the command has no effect and should return INVALID_COMMAND.

When Size ≠ 0, the device should perform the brightness change according to the step direction:

  • Up: increase CurrentLevel by Size, or stop when the device maximum level is reached; if the boundary is reached early, the transition duration should be shortened proportionally.
  • Down: decrease CurrentLevel by Size, or stop when the device minimum level is reached; if the boundary is reached early, the transition duration should be shortened proportionally.
Parameters​

StepBrightness Command Structure

ColorControl​

Introduction​

Provides color control capability, supporting adjustment of light color through HSV, XY and color temperature modes, and supporting combined delivery with brightness commands.

This Function provides the light color adjustment interface. Color definition follows the CIE 1931 color space, with the core control method being x, y chromaticity coordinates (corresponding to ColorXY / CurrentX / CurrentY). In addition, color can optionally be controlled through ColorTemperature or Hue + Saturation; Hue and Saturation are recommended to be interpreted according to the HSV (HSB) model. RGB/W primary point capabilities can be used to extend the color expression range. This Function does not handle brightness control; brightness is provided by the LevelControl Function. During linkage control, the brightness value in LevelControl should be interpreted as "the ratio of the maximum light intensity achievable at the current color".

Function Identification​

Function IDCodeName
0x0086ColorControlColor control

Trait​

Trait IDCodeNameConformance
0x809CColorModeColor modeM
0x4F9FColorPointRGBXYRGB color point XY coordinatesO
0x4F9EWhitePointXYWhite point XY coordinatesO
0x4EE0ColorXYColor value XYO
0x4F00LEDICQuantityNumber of dimming driver ICsO
0x4EFFLEDICProtocolLight IC protocolO
0x4EFELEDTypeLED bead typeO
0x4EEELightingMusicSyncModeMusic rhythm modeO
0x4EEDLightingMusicSyncEnableMusic rhythm enable configurationO
0x4EECLightingDynamicSceneModeLight flow dynamic modeO
0x4E8CStartUpXYColorStart-up XY colorO
0x4EDFColorRGBColor value RGBO
0x809FColorTemperatureColor temperature valueO
0x4E8BStartUpColorTemperatureStart-up color temperature valueO
0x813FSaturationSaturationO
0x813EHueHue colorO
0x80F3CurrentBBlue valueO
0x80F2CurrentGGreen valueO
0x80F1CurrentRRed valueO
0x809ECurrentYY valueO
0x809DCurrentXX valueO
0x4FEBLightStripSegmentCountTotal segments of the light stripO
0x506BDynamicColorSequenceSettingDynamic sequence scene settingsO
0x506CDynamicSequenceOperationDynamic sequence operationO
0x506AOtaDynamicColorSequenceResultOTA dynamic sequence transmission resultO
0x506DIsInDynamicColorSequenceWhether to enter dynamic scene modeO
0x5107DynamicColorSequencesAll dynamic sequence data informationO

Command​

Command IDCodeNameConformance
0x88CAMoveToXYColorBrightnessSet XY color and brightnessO
0x88C9MoveToColorTemperatureBrightnessSet color temperature and brightnessO
0x88C8MoveToHueSaturationBrightnessSet color and brightnessO
0x88C7MoveToXYColorSet XY colorO
0x88BFMoveToHueAndSaturationSet colorO
0x88BEMoveToColorTemperatureSet color temperatureO
0x80FFStepColorTemperatureStep color temperatureO
0x88C0MoveToHueSet HueO
0x88C1MoveToSaturationSet saturationO
0x9D82SaveDynamicColorSequenceAdd or update dynamic sequenceO
0x9D83PreviewDynamicColorSequencePreview dynamic sequenceO
0x9D84RemoveDynamicColorSequenceDelete dynamic sequenceO
0x9D85GetDynamicColorSequenceDataGet dynamic sequence detailsO
0x9D81StartDynamicColorSequenceStart dynamic sequenceO
0x9D86StopDynamicColorSequenceStop dynamic sequenceO

Data Types​

ColorModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the ColorMode Trait.

ValueNameDescription
0x00HSVCurrent color determined by Hue and Saturation
0x01XYCurrent color determined by CurrentX and CurrentY
0x02ColorTemperatureCurrent color determined by the color temperature value
ColorPointRGBXYPresentValueStructure Type​

This structure defines the Present Value field layout of ColorPointRGBXY.

Struct Member No.Field NameTypeMandatoryDescription
0ColorPointRXuint16MThis parameter represents the normalized chromaticity value x of the device's current red primary point defined in the CIE xyY color space. x and the ColorPointRX attribute satisfy: x = ColorPointRX / 65536 (ColorPointRX value range is 0 to 65279, inclusive).
1ColorPointRYuint16MThis parameter represents the normalized chromaticity value y of the device's current red primary point defined in the CIE xyY color space. y and the ColorPointRY attribute satisfy: y = ColorPointRY / 65536 (ColorPointRY value range is 0 to 65279, inclusive).
2ColorPointGXuint16MThis parameter represents the normalized chromaticity value x of the device's current green primary point defined in the CIE xyY color space. x and the ColorPointGX attribute satisfy: x = ColorPointGX / 65536 (ColorPointGX value range is 0 to 65279, inclusive).
3ColorPointGYuint16MThis parameter represents the normalized chromaticity value y of the device's current green primary point defined in the CIE xyY color space. y and the ColorPointGY attribute satisfy: y = ColorPointGY / 65536 (ColorPointGY value range is 0 to 65279, inclusive).
4ColorPointBXuint16MThis parameter represents the normalized chromaticity value x of the device's current blue primary point defined in the CIE xyY color space. x and the ColorPointBX attribute satisfy: x = ColorPointBX / 65536 (ColorPointBX value range is 0 to 65279, inclusive).
5ColorPointBYuint16MThis parameter represents the normalized chromaticity value y of the device's current blue primary point defined in the CIE xyY color space. y and the ColorPointBY attribute satisfy: y = ColorPointBY / 65536 (ColorPointBY value range is 0 to 65279, inclusive).
WhitePointXYPresentValueStructure Type​

This structure defines the Present Value field layout of WhitePointXY.

Struct Member No.Field NameTypeMandatoryDescription
0WhitePointXuint16MThis parameter represents the normalized chromaticity value x of the device's current white point defined in the CIE xyY color space. x and the WhitePointX attribute satisfy: x = WhitePointX / 65536 (WhitePointX value range is 0 to 65279, inclusive).
1WhitePointYuint16MThis parameter represents the normalized chromaticity value y of the device's current white point defined in the CIE xyY color space. y and the WhitePointY attribute satisfy: y = WhitePointY / 65536 (WhitePointY value range is 0 to 65279, inclusive).
LEDICProtocolEnum8 Type​

This enumeration defines the valid values of the Present Value of the LEDICProtocol Trait.

ValueNameDescription
0x01SIDSingle-wire zero code
LEDTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the LEDType Trait.

ValueNameDescription
0x00RGBWRGBW light-color LED bead
LightingMusicSyncModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the LightingMusicSyncMode Trait.

ValueNameDescription
0x00RandomRandom
0x01BreathBreathing
0x02RainbowRainbow
0x03WaterFlowFlowing
LightingDynamicSceneModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the LightingDynamicSceneMode Trait.

ValueNameDescription
0x00BreathBreathing
0x01ForwardRainbowForward rainbow
0x02WaterFlowFlowing
0x03FlickerBlinking
0x04JumpJumping
0x05ReverseRainbowReverse rainbow
0x06FloatingFloating
0x07RunningRunning
OtaDynamicColorSequenceResultEnum8 Type​

This enumeration defines the valid values of the Present Value of the OtaDynamicColorSequenceResult Trait.

ValueNameDescription
0x00DeliveringTransmitting
0x01SuccessSuccess
0x02UninitializedNot initialized
0x03IdleIdle
0x04SameVersionNo upgrade needed, same version
0x05OtaInProgressOTA in progress
0x06DeviceErrorFailed_device returned
0x07TimeoutFailed_timeout
0x08OtaBusyFailed_OTA in progress
0x09FileFetchFailedFailed_file not obtained
0x0ANoMemoryFailed_memory allocation unsuccessful
0x0BInvalidCommandParameterInvalid command parameter
0x11DongleUpgradingdongle upgrading
0x12DongleChipInfoFaileddongle upgrade failed to obtain chip information
0x13DongleChipInfoParseFaileddongle upgrade failed to parse chip information
0x14DongleVersionIncompatibledongle upgrade version incompatible
0x15DongleFlashWriteFaileddongle upgrade failed to write flash
IsInDynamicColorSequenceEnum8 Type​

This enumeration defines the valid values of the Present Value of the IsInDynamicColorSequence Trait.

ValueNameDescription
0x00NotInSequenceNot in dynamic sequence mode
0x01InSequenceIn dynamic sequence mode
DynamicSequenceModeEnum8 Type​

This enumeration defines the valid values of the Mode field in the dynamic sequence configuration.

ValueNameDescription
0x00LevelLevel mode
0x01LevelColorTemperatureLevel + color temperature mode
0x02LevelXYLevel + XY mode
0x03SegmentedLevelXYStaticLevel + XY segmented mode (static)
0x04SegmentedLevelXYDynamicLevel + XY segmented mode (dynamic)
0x05PureIdPure ID mode
DynamicSequenceOperationFunctionCodeEnum8 Type​

This enumeration defines the valid values of the FunctionCode field in DynamicSequenceOperation.

ValueNameDescription
0x00FunctionSendPreviewSend custom sequence data (preview, not persisted)
0x01FunctionSaveSend custom sequence data (persisted, requires later startup)
0x02FunctionStartStart sequence mode (using SequenceID)
0x03FunctionDeleteDelete custom sequence mode (using SequenceID)
0x04FunctionStopStop the current sequence mode (ignoring SequenceID)
0x80StatusSuccessOperation successful
0x81StatusIncompleteRequest received but operation not completed
0x82StatusInternalErrorInternal error (e.g., insufficient storage, data corruption)
0x83StatusInvalidAttributeIllegal attribute value (e.g., ID does not exist, wrong step count)
0x84StatusOtaReadyThe device has exited the previous OTA and can perform the next OTA
SequenceStepStructure Type​

Parameter structure of a single step of a dynamic sequence.

Struct Member No.Field NameTypeMandatoryDescription
0Durationuint32MHold time of this step, in milliseconds (ms).
1LightLeveluint8MBrightness value, range 0-255 (0 means off).
2TransitionTimeuint32MTime to transition to this step, in milliseconds (ms).
3XYuint32OColor value (XY encoded).
4ColorTempuint16OColor temperature value (micro reciprocal degree, 1000000 / K).
SequenceStructDataStructure Type​

Main structure of a dynamic sequence.

Struct Member No.Field NameTypeMandatoryDescription
0Channeluint8MChannel number of the light strip (0 indicates the main channel or monochrome light).
1Cyclesuint16MNumber of loop executions (0 means infinite loop).
2EndActioncharacterStringMEnd action: 0x00 turns off the light, 0x02 keeps the last sequence state.
3ModeDynamicSequenceModeEnum8MSequence mode.
4Queueslist[SequenceStepStructure]MStep list.
DynamicColorSequenceInfoStructure Type​

Complete information structure of a dynamic sequence.

Struct Member No.Field NameTypeMandatoryDescription
0SequenceIDuint32MSequence ID.
1SequenceStructDataSequenceStructDataStructureMSequence content.
2SequenceNamecharacterStringMSequence name.
3IconIDcharacterStringMIcon ID.
4UpdateTimeuint32OUpdate time.
5Sourceuint8OSource (e.g., 1 indicates AI).
6TypecharacterStringMType: inner (built-in) or self (custom).
7Stateuint32MStatus (1 indicates success).
DynamicSequenceOperationTraitPresentValueStructure Type​

Parameter structure of the DynamicSequenceOperation Trait.

Struct Member No.Field NameTypeMandatoryDescription
0SequenceIDuint32MID of the dynamic/static sequence mode. Recommended range: 0x00-0x3F (custom dynamic), 0x40-0x7F (preset dynamic), 0x80-0x9F (preset static), 0xA0-0xBF (custom static), 0xFF (not specified).
1FunctionCodeDynamicSequenceOperationFunctionCodeEnum8MFunction code when sent by the client; status code when reported by the device.
2ChannelMaskuint32MChannel mask of a multi-channel device. Bit0-Bit3 correspond to channels 1-4, Bit4-Bit7 are reserved and should be 0. Only valid when stopping (0x04) or sending data (0x00/0x01); otherwise set to 0.
SaveDynamicColorSequence Command Structure Type​

Parameter structure of the SaveDynamicColorSequence Command.

Struct Member No.Field NameTypeMandatoryDescription
0SequenceIDuint32OMay be left empty when adding; the server assigns a new sequence ID.
1SequenceStructDataSequenceStructDataStructureMMain structure of the sequence.
2SequenceNamecharacterStringMSequence name.
3IconIDcharacterStringMIcon ID; not reported by the device, maintained on the server side.
4UpdateTimeuint32ONot reported by the device, maintained on the server side.
5Sourceuint8ONot reported by the device, maintained on the server side.
PreviewDynamicColorSequence Command Structure Type​

Parameter structure of the PreviewDynamicColorSequence Command.

Struct Member No.Field NameTypeMandatoryDescription
0SequenceStructDataSequenceStructDataStructureMPreview sequence content.
RemoveDynamicColorSequence Command Structure Type​

Parameter structure of the RemoveDynamicColorSequence Command.

Struct Member No.Field NameTypeMandatoryDescription
0SequenceIDuint32MSequence ID to be deleted.
GetDynamicColorSequenceData Command Structure Type​

Request parameter structure of the GetDynamicColorSequenceData Command.

Struct Member No.Field NameTypeMandatoryDescription
0SequenceIDuint32MSequence ID to be queried.
StartDynamicColorSequence Command Structure Type​

Parameter structure of the StartDynamicColorSequence Command.

Struct Member No.Field NameTypeMandatoryDescription
0SequenceIDuint32MSequence ID to be executed.
MoveToXYColorBrightness Command Structure Type​

Parameter structure of the MoveToXYColorBrightness Command.

Struct Member No.Field NameTypeMandatoryDescription
0ColorXuint16MTarget color X value, range 0 ~ 0xFEFF.
1ColorYuint16MTarget color Y value, range 0 ~ 0xFEFF.
2LevelfloatMTarget brightness value, range 1 ~ 100, unit %; default value 50.
3Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
4ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.
MoveToColorTemperatureBrightness Command Structure Type​

Parameter structure of the MoveToColorTemperatureBrightness Command.

Struct Member No.Field NameTypeMandatoryDescription
0ColorTemperatureuint32MTarget color temperature value (micro reciprocal degree).
1LevelfloatMTarget brightness value, range 1 ~ 100, unit %; default value 50.
2Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
3ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.
MoveToHueSaturationBrightness Command Structure Type​

Parameter structure of the MoveToHueSaturationBrightness Command.

Struct Member No.Field NameTypeMandatoryDescription
0HuefloatMHue value, range 0 ~ 360.
1SaturationfloatMSaturation value.
2LevelfloatMTarget brightness value, range 1 ~ 100, unit %; default value 50.
3Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
4ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.
MoveToXYColor Command Structure Type​

Parameter structure of the MoveToXYColor Command.

Struct Member No.Field NameTypeMandatoryDescription
0ColorXuint16MTarget color X value, range 0 ~ 0xFEFF.
1ColorYuint16MTarget color Y value, range 0 ~ 0xFEFF.
2Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
3ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.
MoveToHueAndSaturation Command Structure Type​

Parameter structure of the MoveToHueAndSaturation Command.

Struct Member No.Field NameTypeMandatoryDescription
0HuefloatMHue value, range 0 ~ 360.
1SaturationfloatMSaturation value.
2Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
3ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.
MoveToColorTemperature Command Structure Type​

Parameter structure of the MoveToColorTemperature Command.

Struct Member No.Field NameTypeMandatoryDescription
0ColorTemperatureuint32MTarget color temperature value (micro reciprocal degree).
1Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
2ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.
StepColorTemperature Command Structure Type​

Parameter structure of the StepColorTemperature Command.

Struct Member No.Field NameTypeMandatoryDescription
0Sizeint32MColor temperature step value, range -370 ~ 370; positive means increase, negative means decrease.
1Timeint32OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
2ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.
MoveToHue Command Structure Type​

Parameter structure of the MoveToHue Command.

Struct Member No.Field NameTypeMandatoryDescription
0HuefloatMHue value, range 0 ~ 360.
1Directionuint8OHue change direction: 0 shortest path, 1 longest path, 2 up, 3 down.
2Timeuint16OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
3ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.
MoveToSaturation Command Structure Type​

Parameter structure of the MoveToSaturation Command.

Struct Member No.Field NameTypeMandatoryDescription
0SaturationfloatMSaturation value.
1Timeuint16OTransition time, unit ms; value range 0 ~ 1000000, step uniformly 500 ms.
2ExecuteIfOffbooleanOWhether to execute the command when the light is off: 0 means not executed when the Present Value of the OnOff Trait is FALSE; 1 means executed even when OnOff is FALSE, and may change the Present Value of related Traits.

Trait Definitions​

Trait IDNameConformance
0x809CColorModeM
0x4F9FColorPointRGBXYO
0x4F9EWhitePointXYO
0x4EE0ColorXYO
0x4F00LEDICQuantityO
0x4EFFLEDICProtocolO
0x4EFELEDTypeO
0x4EEELightingMusicSyncModeO
0x4EEDLightingMusicSyncEnableO
0x4EECLightingDynamicSceneModeO
0x4E8CStartUpXYColorO
0x4EDFColorRGBO
0x809FColorTemperatureO
0x4E8BStartUpColorTemperatureO
0x813FSaturationO
0x813EHueO
0x80F3CurrentBO
0x80F2CurrentGO
0x80F1CurrentRO
0x809ECurrentYO
0x809DCurrentXO
0x4FEBLightStripSegmentCountO
0x506BDynamicColorSequenceSettingO
0x506CDynamicSequenceOperationO
0x506AOtaDynamicColorSequenceResultO
0x506DIsInDynamicColorSequenceO
0x5107DynamicColorSequencesO

ColorMode Trait​

The ColorMode trait is used to indicate the color space in which the lighting device currently operates, i.e., the color encoding format or coordinate system used by the device to receive and report color data. It supports reading and reporting but not writing. Its values are four types: Hue color, XY color, color temperature, and RGB color. Hue color represents a color description method based on hue, usually used together with saturation and lightness, suitable for intuitive color selection; XY color represents a precise color description method based on CIE 1931 chromaticity coordinates, which is device-independent and suitable for professional color management scenarios; color temperature represents white light color based on the color temperature value (micro reciprocal degree, value 1000000 / Kelvin color temperature), used to adjust the warmth/coolness of white light; RGB color represents colored light described by the three primary components red, green and blue, and is the most common full-color control method. It should be noted that ColorMode and LightingModeSetting are two traits at different levels: LightingModeSetting determines the set of functions supported by the device (e.g., whether color temperature, whether color is supported), affecting the exposure of data model points, while ColorMode only determines the specific encoding format of the current color data; the two are independent of each other but together affect the color control behavior of the device. In particular, when the light device is a sub-device bridged under a gateway, the gateway will automatically identify the color space actually supported by the sub-device and update the data model data of the sub-device. Therefore, when an external system (such as an App or AI control) wants to control the color of the light, it should determine which specific color control commands can be sent based on the traits and commands contained in the device's data model (e.g., whether color temperature control, RGB control or XY control commands are included), and the gateway will automatically handle color space adaptation and ultimately control the sub-device.

Trait IDCode
0x809CColorMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueColorModeEnum80RVM
0x0006Supported Valuelist[ColorModeEnum8]RO

ColorPointRGBXY Trait​

Defines the coordinate points of the RGB three primary colors in the CIE 1931 chromaticity space (R/G/B each contains X and Y), used to describe the device color gamut boundary.

Trait IDCode
0x4F9FColorPointRGBXY
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueColorPointRGBXYPresentValueStructureRVO

WhitePointXY Trait​

Defines the X and Y coordinates of the white point in the CIE 1931 chromaticity space, used to describe the device white point reference.

Trait IDCode
0x4F9EWhitePointXY
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWhitePointXYPresentValueStructureRVO

ColorXY Trait​

ColorXY is used to represent x and y in the CIE 1931 color space.

The two high bytes of ColorXY correspond to CurrentX, and the two low bytes correspond to CurrentY; the conversion relationship between CurrentX/CurrentY and x/y in the CIE 1931 color space is as follows: x = CurrentX / 65535, y = CurrentY / 65535.

Trait IDCode
0x4EE0ColorXY
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32O0RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint32O0RWO

LEDICQuantity Trait​

Indicates the number of dimming driver ICs.

Trait IDCode
0x4F00LEDICQuantity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVWO
0x0002Maximum Valueuint16100RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint160RWO

LEDICProtocol Trait​

Indicates the IC protocol of the LED.

Trait IDCode
0x4EFFLEDICProtocol
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLEDICProtocolEnum80RVWO
0x0006Supported Valuelist[LEDICProtocolEnum8]RO
0x0007Default ValueLEDICProtocolEnum80RWO

LEDType Trait​

Indicates the type of LED beads.

Trait IDCode
0x4EFELEDType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLEDTypeEnum80RVWO
0x0006Supported Valuelist[LEDTypeEnum8]RO
0x0007Default ValueLEDTypeEnum80RWO

LightingMusicSyncMode Trait​

Determines how the light responds to music after enabling (e.g., random effects, breathing transitions, rainbow flowing or water ripple, etc.).

Trait IDCode
0x4EEELightingMusicSyncMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightingMusicSyncModeEnum8O0RVWO
0x0006Supported Valuelist[LightingMusicSyncModeEnum8]RO
0x0007Default Valueuint8O0RWO

LightingMusicSyncEnable Trait​

Makes the light color and brightness change synchronously with the music rhythm to achieve a dynamic audio-visual effect.

Trait IDCode
0x4EEDLightingMusicSyncEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanO0RVWO
0x0007Default ValuebooleanO0RWO

LightingDynamicSceneMode Trait​

Supports dynamic lighting effects (such as rainbow flowing, breathing gradients, blinking, etc.) and provides preset scenes such as "forward rainbow" or "waterfall", delivering a rich visual experience.

Trait IDCode
0x4EECLightingDynamicSceneMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightingDynamicSceneModeEnum8O0RVWO
0x0006Supported Valuelist[LightingDynamicSceneModeEnum8]RO
0x0007Default Valueuint8O0RWO

StartUpXYColor Trait​

ColorXY represents the x and y values in the CIE xyY color space, containing the ColorX and ColorY elements, where x = ColorX/65535 and y = ColorY/65535.

Trait IDCode
0x4E8CStartUpXYColor
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32O0RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint32O0RWO

ColorRGB Trait​

ColorRGB represents a 24-bit color value in the RGB color space, packed as 0xRRGGBB, without an Alpha channel.

Trait IDCode
0x4EDFColorRGB
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32O0RVWO
0x0002Maximum Valueuint3216777215RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint32O0RWO

ColorTemperature Trait​

This Trait is used for access to and reporting of color temperature values.

In implementation, Kelvin and Mired are often converted: Mired = 1000000 / Kelvin.

Trait IDCode
0x809FColorTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32O270RVWO
0x0002Maximum Valueuint32500RO
0x0003Minimum Valueuint32153RO
0x0005Step Valueuint321RO
0x0007Default Valueuint32O270RWO

StartUpColorTemperature Trait​

Sets the default color temperature applied when the device powers on and the light is turned on. Unit: mired.

Trait IDCode
0x4E8BStartUpColorTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32O270RVWO
0x0002Maximum Valueuint32370RO
0x0003Minimum Valueuint32153RO
0x0005Step Valueuint321RO
0x0007Default Valueuint32O270RWO

Saturation Trait​

Contains the current saturation of the light source.

The conversion relationship with Matter CurrentSaturation is: Saturation(0~1) = CurrentSaturation / 254, and it can be displayed as 0-100% in the Aqara percentage view.

Trait IDCode
0x813FSaturation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default ValuefloatO50RWO

Hue Trait​

Contains the current hue value of the light source, in degrees (0-360).

The conversion relationship with Matter CurrentHue is: Hue(deg) = CurrentHue * 360 / 254. Unit: deg.

Trait IDCode
0x813EHue
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat360.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

CurrentB Trait​

This Trait is used for access to and reporting of "blue value" data.

Trait IDCode
0x80F3CurrentB
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVWO
0x0002Maximum Valueint32255RO
0x0003Minimum Valueint320RO
0x0005Step Valueuint321RO
0x0007Default Valueint320RWO

CurrentG Trait​

This Trait is used for access to and reporting of "green value" data.

Trait IDCode
0x80F2CurrentG
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVWO
0x0002Maximum Valueint32255RO
0x0003Minimum Valueint320RO
0x0005Step Valueuint321RO
0x0007Default Valueint320RWO

CurrentR Trait​

This Trait is used for access to and reporting of "red value" data.

Trait IDCode
0x80F1CurrentR
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVWO
0x0002Maximum Valueint32255RO
0x0003Minimum Valueint320RO
0x0005Step Valueuint321RO
0x0007Default Valueint320RWO

CurrentY Trait​

This Trait represents the y component of the CIE 1931 chromaticity coordinate.

The relationship is: y = CurrentY / 65536, and the valid range of CurrentY is 0-65279.

Trait IDCode
0x809ECurrentY
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVWO
0x0002Maximum Valueuint1665279RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint160RWO

CurrentX Trait​

This Trait represents the x component of the CIE 1931 chromaticity coordinate.

The relationship is: x = CurrentX / 65536, and the valid range of CurrentX is 0-65279.

Trait IDCode
0x809DCurrentX
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVWO
0x0002Maximum Valueuint1665279RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint160RWO

LightStripSegmentCount Trait​

Indicates the total number of segments (addressable sections) of the light strip connected to the control module.

Trait IDCode
0x4FEBLightStripSegmentCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32O10RVWO
0x0002Maximum Valueuint3250RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint32O10RWO

DynamicColorSequenceSetting Trait​

This Trait is used for access to and reporting of "dynamic sequence scene settings" data.

Trait IDCode
0x506BDynamicColorSequenceSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

DynamicSequenceOperation Trait​

This Trait is used to represent the related operation configuration for writing a dynamic sequence.

Trait IDCode
0x506CDynamicSequenceOperation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDynamicSequenceOperationTraitPresentValueStructureRVWO

OtaDynamicColorSequenceResult Trait​

This Trait is used to represent the reporting of dynamic sequence transmission results.

Trait IDCode
0x506AOtaDynamicColorSequenceResult
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOtaDynamicColorSequenceResultEnum80RVO
0x0006Supported Valuelist[OtaDynamicColorSequenceResultEnum8]RO

IsInDynamicColorSequence Trait​

This Trait is used to indicate whether the device is in dynamic scene mode.

Trait IDCode
0x506DIsInDynamicColorSequence
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueIsInDynamicColorSequenceEnum80RVO
0x0006Supported Valuelist[IsInDynamicColorSequenceEnum8]RO

DynamicColorSequences Trait​

This Trait is used to report all dynamic sequence data information.

Trait IDCode
0x5107DynamicColorSequences
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[DynamicColorSequenceInfoStructure]RVO

Command Definitions​

Command IDNameConformance
0x88CAMoveToXYColorBrightnessO
0x88C9MoveToColorTemperatureBrightnessO
0x88C8MoveToHueSaturationBrightnessO
0x88C7MoveToXYColorO
0x88BFMoveToHueAndSaturationO
0x88BEMoveToColorTemperatureO
0x80FFStepColorTemperatureO
0x88C0MoveToHueO
0x88C1MoveToSaturationO
0x9D82SaveDynamicColorSequenceO
0x9D83PreviewDynamicColorSequenceO
0x9D84RemoveDynamicColorSequenceO
0x9D85GetDynamicColorSequenceDataO
0x9D81StartDynamicColorSequenceO
0x9D86StopDynamicColorSequenceO
General Usage Notes​

When the device receives any color control command in this section, the implementation should, within the hardware capability range of the device, choose a target color as close as possible to the requested color. The definition of the "actual presentation" of color is outside the scope of this specification; however, as long as the color data fields in the received command are within the range allowed by this specification and there is no error condition, the returned status code should be Success.

Taking the MoveToColorTemperature command as an example: if the target color temperature exceeds the hardware reachable range, the device should clamp at the physical minimum or maximum value (depending on the color temperature transition direction); this arrival time may be earlier than the end of the requested transition time.

If the color loop is active (ColorLoopActive = 1), the loop can only be stopped by sending the ColorLoopSet command that explicitly requests "disable color loop"; it should not be stopped by other commands with "stop semantics" (e.g., EnhancedMoveToHue with MoveMode = Stop, or StopMoveStep). In addition, while the color loop is active, the vendor may choose to ignore input color commands that would change Hue.

ColorMode Switching Notes​

When the device receives any color command in this section, the first processing action should be to switch ColorMode to the mode corresponding to that command (see each command definition).

When switching from one color mode to another (e.g., from CurrentX/CurrentY to CurrentHue/CurrentSaturation), the command start color should be converted from the old mode attribute values to the new mode attribute values, and then executed as the starting point in the new mode.

When switching from a mode with a wider gamut to a mode with a more restricted gamut (e.g., CurrentX/CurrentY to CurrentHue/CurrentSaturation, or CurrentHue/CurrentSaturation to ColorTemperatureMireds), the current color may not have an equivalent value in the new mode. The behavior in such scenarios is vendor-defined, and it is recommended to avoid such mode switching during use.

MoveToXYColorBrightness Command​

This command is used to set XY color and brightness simultaneously.

It is usually equivalent to sending MoveToColor and MoveToLevelWithOnOff in combination.

Effect on Receipt​

After receiving this command, the device should first set the target XY color according to the semantics of MoveToXYColor (switching ColorMode to XY), and continuously transition to the target color according to the transition time; meanwhile, set the target brightness according to the semantics of MoveToLevelWithOnOff and handle switch linkage.

The color transition path is not mandated; the shortest path in the CIE xyY space is recommended.

Parameters​

MoveToXYColorBrightness Command Structure

MoveToColorTemperatureBrightness Command​

This command is used to set color temperature and brightness simultaneously.

It is usually equivalent to sending MoveToColorTemperature and MoveToLevelWithOnOff in combination.

Effect on Receipt​

After receiving this command, the device should first perform the color temperature transition according to the semantics of MoveToColorTemperature (switching ColorMode to ColorTemperature), and perform brightness and switch linkage according to the semantics of MoveToLevelWithOnOff.

If the target color temperature exceeds the device's physical capability range, it should be clamped to the device's reachable minimum/maximum color temperature.

Parameters​

MoveToColorTemperatureBrightness Command Structure

MoveToHueSaturationBrightness Command​

This command is used to set Hue/Saturation and brightness simultaneously.

It is usually equivalent to sending MoveToHueAndSaturation and MoveToLevelWithOnOff in combination.

Effect on Receipt​

After receiving this command, the device should first switch ColorMode to HSV, and transition continuously from the current Hue/Saturation to the target values; meanwhile, perform brightness and switch linkage according to the semantics of MoveToLevelWithOnOff.

Parameters​

MoveToHueSaturationBrightness Command Structure

MoveToXYColor Command​

This command is used to set the XY color.

After execution, the device should switch ColorMode to XY mode.

Effect on Receipt​

After receiving this command, the device should set ColorMode (if implemented) to XY mode and transition continuously from the current color to the target color specified by ColorX/ColorY.

The transition duration should be consistent with the Time field. The color space transition path is not mandated; the shortest path in the CIE xyY space (which can be regarded as a "straight line" path) is recommended.

Parameters​

MoveToXYColor Command Structure

MoveToHueAndSaturation Command​

This command is used to set Hue and Saturation.

After execution, the device should switch ColorMode to HSV mode.

Effect on Receipt​

After receiving this command, the device should switch ColorMode to HSV mode and transition continuously from the current Hue/Saturation to the target Hue/Saturation.

The transition duration should be consistent with the Time field. The transition path is not mandated; the shortest path in the color space is recommended.

Parameters​

MoveToHueAndSaturation Command Structure

MoveToColorTemperature Command​

This command is used to set the color temperature.

After execution, the device should switch ColorMode to ColorTemperature mode.

Effect on Receipt​

After receiving this command, the device should set ColorMode (if implemented) to ColorTemperature mode and transition continuously from the current color temperature to the target color temperature.

The transition duration should be consistent with the Time field. According to this mode definition, the color temperature transition path changes along the Black Body Line.

If the target value is less than the device's physical minimum color temperature (Mired) or greater than the device's physical maximum color temperature (Mired), it should be clamped to the physical minimum/maximum value respectively as the final target.

Parameters​

MoveToColorTemperature Command Structure

StepColorTemperature Command​

This command is used to perform color temperature step adjustment.

Effect on Receipt​

When StepSize = 0, the command has no effect and should return INVALID_COMMAND.

When StepSize > 0, the device should set ColorMode (and the corresponding enhanced mode, if implemented) to ColorTemperature mode and perform one step of color temperature change in the direction specified by StepMode:

  • Up: increase Mired (i.e., decrease Kelvin color temperature).
  • Down: decrease Mired (i.e., increase Kelvin color temperature).

When the device-allowed boundary (configured boundary or physical boundary) is reached, the step operation should stop.

Parameters​

StepColorTemperature Command Structure

MoveToHue Command​

This command is used to set the target Hue (optionally with direction and time).

Effect on Receipt​

After receiving this command, the device should switch ColorMode to HSV mode and transition continuously from the current Hue to the target Hue.

The transition duration should be consistent with the Time field; the direction is determined by the Direction field:

  • Shortest path: move along the shortest direction of the hue ring.
  • Longest path: move along the longest direction of the hue ring (commonly used for rainbow effects).
  • When the two directions are equal in distance, the Up direction should be used.
Parameters​

MoveToHue Command Structure

MoveToSaturation Command​

This command is used to set the target Saturation (optionally with time).

Effect on Receipt​

After receiving this command, the device should switch ColorMode to HSV mode and transition continuously from the current Saturation to the target Saturation.

The transition duration should be consistent with the Time field.

Parameters​

MoveToSaturation Command Structure

SaveDynamicColorSequence Command​

This command is used to add or update a dynamic sequence.

Parameters​

SaveDynamicColorSequence Command Structure

PreviewDynamicColorSequence Command​

This command is used to preview the dynamic sequence content.

Parameters​

PreviewDynamicColorSequence Command Structure

RemoveDynamicColorSequence Command​

This command is used to delete the specified dynamic sequence.

Parameters​

RemoveDynamicColorSequence Command Structure

GetDynamicColorSequenceData Command​

This command is used to get the details of the specified dynamic sequence.

Parameters​

GetDynamicColorSequenceData Command Structure

StartDynamicColorSequence Command​

This command is used to start the specified dynamic sequence.

Parameters​

StartDynamicColorSequence Command Structure

StopDynamicColorSequence Command​

This command is used to stop dynamic sequence execution.

This Command has no parameters.

Button​

Introduction​

Describes event reporting of button-type input devices, including action recognition such as single click, long press, and multi-click.

Function Identification​

Function IDCodeName
0x0087ButtonButton

Trait​

Trait IDCodeNameConformance
0x80A0ButtonEventButton eventM
0x8155LocalControlDisabledWhether the switch disables local control (convert to wireless switch function)O
0x4E89SpeedModeSettingKey speed mode switchingO

Command​

This Function does not contain Commands.

Data Types​

ButtonEventEnum8 Type​

This enumeration defines the valid values of the Present Value of the ButtonEvent Trait.

ValueNameDescription
0x00SinglePressSingle click
0x01DoublePressDouble click
0x02LongPressLong press
0x03LongPressReleaseLong press release
SpeedModeSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the SpeedModeSetting Trait.

ValueNameDescription
0x01FastClickModeFast click mode
0x02MultiFuncModeMulti-function mode

Trait Definitions​

Trait IDNameConformance
0x80A0ButtonEventM
0x8155LocalControlDisabledO
0x4E89SpeedModeSettingO

ButtonEvent Trait​

This Trait is used for access to and reporting of "button event" data.

Trait IDCode
0x80A0ButtonEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueButtonEventEnum80VM
0x0006Supported Valuelist[ButtonEventEnum8]RO

LocalControlDisabled Trait​

Describes whether the button disables the associated local device control function (e.g., relay control). If disabled, pressing the button cannot turn on or off the local actuator.

Trait IDCode
0x8155LocalControlDisabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SpeedModeSetting Trait​

Defines the speed mode of key operations, e.g., Fast Click Mode and Multi-Function Mode.

Trait IDCode
0x4E89SpeedModeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSpeedModeSettingEnum81RVWO
0x0006Supported Valuelist[SpeedModeSettingEnum8]RO
0x0007Default Valueuint81RWO

Command Definitions​

This Function does not contain Commands.

Camera​

Introduction​

Manages camera basic capabilities, including device status, mode switching, image encryption and cloud-related capabilities.

Function Identification​

Function IDCodeName
0x0088CameraCamera

Trait​

Trait IDCodeNameConformance
0x5001CloudRecordingModeCloud recording modeO
0x5000HdrEnableHDR enableO
0x4FFFCloudTimelapseInfoCloud timelapse informationO
0x4E3EP2PCaptureEnabledWhether P2P snapshot is supportedO
0x50D8P2PVideoEnableP2P video enableO
0x4FC9CameraAdvancedEventNotificationSettingsCamera advanced event notification settingsO
0x4FE9CloudClipRecordingTypeCloud clip recording typeO
0x4FE8ZoomRatioZoom ratio settingO
0x4FE6ImageEncryptionKeyImage encryption keyO
0x4FE0LensObstructionPushEnableLens obstruction push enableO
0x4FDFLensObstructionTimePeriodLens obstruction detection time periodO
0x4FDELensObstructionEnableLens obstruction enableO
0x4FDBWhiteLightDurationWhite light durationO
0x4FDDCloudAISupportedAlgorithmCloud-supported AI algorithmsO
0x4FDAEventLightingModeEvent-triggered light modeO
0x4FD9ActiveWakeupIntervalActive wake-up intervalO
0x4FD7CameraMatterCapabilityCamera Matter capabilityO
0x4FD8CamWorkModeCamera work modeO
0x4FD6AOVRecordingEnableAOV recording enableO
0x4FD2RecordingModeRecording modeO
0x4FD3RangeTestModeEnter ranging test modeO
0x4FD1RecordingMuteEnableSilent recording enableO
0x4FD0VideoCorrectionEnableVideo correction enableO
0x4FCEOSDTimeFormatSettingTime watermark format settingO
0x4FCFImageFlipModeImage flipO
0x4FCBOSDWatermarkEnableOSD time watermark enableO
0x4FCAInfraredNightVisionSettingNight vision settingO
0x4FC8TimelapseTimePeriodTimelapse time periodO
0x4FC7TimelapseEnableTimelapse enableO
0x5027DynamicCoverRefreshEnableDynamic refresh cover enableO
0x5028PeriodicSnapshotUploadEnableScheduled image upload enableO
0x5026CloudRecordingEnableCloud video recording master enableO
0x501DTheftModeNotificationEnableLost mode push enableO
0x501CTheftModeEnableLost mode enableO
0x501BScheduledSleepTimePeriodScheduled sleep time periodO
0x5019AIDetectionBoxEnableShow detection frame enableO
0x501AScheduledSleepEnableScheduled sleep enableO
0x5018PrivacyMaskRegionsPrivacy mask regionsO
0x5017PowerFrequencyPower frequencyO
0x5014WhiteLightOnOffWhite light fill switchO
0x5016WhiteLightBrightnessWhite light brightness settingO
0x5013CameraEventImportanceLevelCamera event importance levelO
0x5012CameraAdvancedEventNotificationEnableCamera advanced event notification enableO
0x5010CameraNotificationSchedulePeriodsCamera notification schedule periodO
0x5011CameraFilterUnimportantNotificationsCamera filter unimportant notifications enableO
0x500FCameraNotificationScheduleEnableCamera notification schedule enableO
0x500ECameraNotificationTypeCamera notification typeO
0x516DAlexaDetectionEventsAlexa supported detection eventsO
0x4FFCLensObstructionRecordEnableLens obstruction recording enableO
0x4FFDLensObstructionIntervalLens obstruction detection intervalO
0x4FFBLensObstructionSensitivityLens obstruction detection sensitivityO
0x4FC5AIModelSilenceOTAEnableAI algorithm model silent upgrade enableO
0x4FC6SetDetectionModeDetection typeO
0x4FC3AIVideoSummaryEnableAI video summary enableO
0x4FC2AIVideoSearchEnableAI video search enableO
0x4FC1SupportLocalVideoDownloadWhether local recording download is supportedO
0x4FBFLightingTimePeriodLighting time periodO
0x4FC0RelatedEventRecordEnableAssociated event recording enableO
0x4FBELightUpWhenEventDetectedLight up when an event is detectedO
0x4FB0LogoWatermarkEnableLogo watermark enableO
0x4F91CameraRTSPEnableCamera RTSP enableO
0x4F90CameraRTSPURLCamera RTSP addressO
0x517CLiveChannelLive video channelO
0x517DPlaybackChannelPlayback video channelO
0x4E44P2PCaptureStatusP2P dynamic snapshot statusO
0x80C0VolumeVolumeO
0x80A2CameraActiveStatusCamera sleep statusO

Command​

Command IDCodeNameConformance
0x9DADThirdPartySnapshotTriggerThird-party snapshot triggerO
0x9D3EWhiteLightToggleWhite light status toggle controlO
0x9D3DSnapshotUploadCommandCapture and uploadO
0x9D3BFormatSDCardCommandFormat SD cardO
0x9D3ACameraActiveToggleCamera sleep toggle commandO

Data Types​

CloudRecordingModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the CloudRecordingMode Trait.

ValueNameDescription
0x00EventEvent recording
0x01ContinuousContinuous recording
CloudTimelapseInfoTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the CloudTimelapseInfo Trait.

Struct Member No.Field NameTypeMandatoryDescription
0task_numcharacterStringMNumber of tasks.
1taskarray[Struct]MCloud timelapse task array. Each Task contains id, active, repeat, start_date, end_date, start_time, end_time and interval.
CloudClipRecordingTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the CloudClipRecordingType Trait.

ValueNameDescription
0x00DefaultDefault
0x01RecordingRecording
0x16AssociatedEventAssociated event
0x1BSecurityAssociatedSecurity associated event
LensObstructionTimePeriodTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LensObstructionTimePeriod Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, format HH:MM (24-hour).
1endtimecharacterStringMEnd time, format HH:MM (24-hour).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, in the order Sunday to Saturday; 1 means active, 0 means inactive.
CloudAISupportedAlgorithmEnum8 Type​

This enumeration defines the valid values of the Present Value of the CloudAISupportedAlgorithm Trait.

ValueNameDescription
0x00HumanRecognitionHuman detection
0x01FaceRecognitionFace recognition
0x02PetRecognitionCat and dog recognition
0x03VehicleDetectionVehicle detection
0x04PackageRecognitionPackage recognition
0x05FlameDetectionFlame detection
EventLightingModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the EventLightingMode Trait.

ValueNameDescription
0x00SteadyAlways on
0x01BlinkBlinking
CamWorkModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the CamWorkMode Trait.

ValueNameDescription
0x00PowerSavingPower saving mode
0x01SuperPowerSavingSuper power saving mode
0x02MainsPowerAlways-on mode
0x03AOVSmart monitoring mode (AOV)
RecordingModeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the RecordingMode Trait.

Struct Member No.Field NameTypeMandatoryDescription
0modeuint32MRecording mode: 0=Off, 1=Continuous recording, 2=Event-triggered recording.
1coveruint32MStorage overwrite policy; 1 means circular overwrite when storage is full.
ImageFlipModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the ImageFlipMode Trait.

ValueNameDescription
0x00NormalNormal
0x01HorizontalFlipHorizontal flip
0x02VerticalFlipVertical flip
0x03HorizontalVerticalFlipHorizontal and vertical flip
InfraredNightVisionSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the InfraredNightVisionSetting Trait.

ValueNameDescription
0x00AlwaysOffAlways off
0x01AlwaysOnAlways on
0x02AutoAuto switch
0x03WarmColorFullColorWarm light full color
TimelapseTimePeriodTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimelapseTimePeriod Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, format HH:MM (24-hour).
1endtimecharacterStringMEnd time, format HH:MM (24-hour).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, in the order Sunday to Saturday; 1 means active, 0 means inactive.
ScheduledSleepTimePeriodTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ScheduledSleepTimePeriod Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, format HH:MM (24-hour).
1endtimecharacterStringMEnd time, format HH:MM (24-hour).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, in the order Sunday to Saturday; 1 means active, 0 means inactive.
PrivacyMaskRegionsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the PrivacyMaskRegions Trait.

Struct Member No.Field NameTypeMandatoryDescription
0visiblebooleanMWhether to show the outline of mask regions in the live preview.
1regionsarray[Struct]MPrivacy mask region array, up to 4 regions. Each Region contains color and rect.
PowerFrequencyEnum8 Type​

This enumeration defines the valid values of the Present Value of the PowerFrequency Trait.

ValueNameDescription
0x0050Hz50Hz
0x0160Hz60Hz
CameraNotificationSchedulePeriodsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the CameraNotificationSchedulePeriods Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, format HH:MM (24-hour).
1endtimecharacterStringMEnd time, format HH:MM (24-hour).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, in the order Sunday to Saturday; 1 means active, 0 means inactive.
CameraNotificationTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the CameraNotificationType Trait.

ValueNameDescription
0x01EventNotificationEvent notification
0x02AIVideoSummaryAI video summary notification
LiveChannelEnum8 Type​

This enumeration defines the valid values of the Present Value of the LiveChannel Trait.

ValueNameDescription
0x00MainMain stream
0x01SubSub stream
0x02ThirdThird stream
0x03OtherOther
PlaybackChannelEnum8 Type​

This enumeration defines the valid values of the Present Value of the PlaybackChannel Trait.

ValueNameDescription
0x00MainMain stream
0x01SubSub stream
0x02ThirdThird stream
0x03OtherOther
AlexaDetectionEventsEnum8 Type​

This enumeration defines the valid values of the array members of the AlexaDetectionEvents Trait.

ValueNameDescription
0x01HumanRecognitionHuman detection
0x02PackageRecognitionPackage detection
ThirdPartySnapshotTriggerSourceEnum8 Type​

This enumeration defines the valid values of the source field of the ThirdPartySnapshotTrigger Command.

ValueNameDescription
0x01AlexaAmazon Alexa
LensObstructionSensitivityEnum8 Type​

This enumeration defines the valid values of the Present Value of the LensObstructionSensitivity Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
SetDetectionModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the SetDetectionMode Trait.

ValueNameDescription
0x00FaceRecognitionFace recognition
0x01HumanDetectionHuman detection
0x02PetDetectionCat and dog recognition
0x03PackageDetectionPackage recognition
0x04HumanLoiteringPerson lingering
0x05LensBlockingLens obstruction recognition
LightingTimePeriodTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LightingTimePeriod Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, format HH:MM (24-hour).
1endtimecharacterStringMEnd time, format HH:MM (24-hour).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, in the order Sunday to Saturday; 1 means active, 0 means inactive.
WhiteLightToggle Command Structure Type​

Parameter structure of the WhiteLightToggle Command.

Struct Member No.Field NameTypeMandatoryDescription
0Typeenum8MCommand type.
SnapshotUploadCommand Command Structure Type​

Parameter structure of the SnapshotUploadCommand Command.

Struct Member No.Field NameTypeMandatoryDescription
0Typeenum8MCommand type. Values: 0:Default; 1:Capture.
FormatSDCardCommand Command Structure Type​

Parameter structure of the FormatSDCardCommand Command.

Struct Member No.Field NameTypeMandatoryDescription
0Typeenum8MCommand type.
CameraActiveToggle Command Structure Type​

Parameter structure of the CameraActiveToggle Command.

Struct Member No.Field NameTypeMandatoryDescription
0Typeenum8MCommand type.
ThirdPartySnapshotTrigger Command Structure Type​

Parameter structure of the ThirdPartySnapshotTrigger Command. This Command is invoked by third-party ecosystem platforms (such as Alexa) to trigger the device to perform a snapshot operation.

Struct Member No.Field NameTypeMandatoryDescription
0SourceThirdPartySnapshotTriggerSourceEnum8MTrigger source identifier. 0x01 = Alexa (Amazon Alexa), other values reserved for extension.

Trait Definitions​

Trait IDNameConformance
0x5001CloudRecordingModeO
0x5000HdrEnableO
0x4FFFCloudTimelapseInfoO
0x4E3EP2PCaptureEnabledO
0x50D8P2PVideoEnableO
0x4FC9CameraAdvancedEventNotificationSettingsO
0x4FE9CloudClipRecordingTypeO
0x4FE8ZoomRatioO
0x4FE6ImageEncryptionKeyO
0x4FE0LensObstructionPushEnableO
0x4FDFLensObstructionTimePeriodO
0x4FDELensObstructionEnableO
0x4FDBWhiteLightDurationO
0x4FDDCloudAISupportedAlgorithmO
0x4FDAEventLightingModeO
0x4FD9ActiveWakeupIntervalO
0x4FD7CameraMatterCapabilityO
0x4FD8CamWorkModeO
0x4FD6AOVRecordingEnableO
0x4FD2RecordingModeO
0x4FD3RangeTestModeO
0x4FD1RecordingMuteEnableO
0x4FD0VideoCorrectionEnableO
0x4FCEOSDTimeFormatSettingO
0x4FCFImageFlipModeO
0x4FCBOSDWatermarkEnableO
0x4FCAInfraredNightVisionSettingO
0x4FC8TimelapseTimePeriodO
0x4FC7TimelapseEnableO
0x5027DynamicCoverRefreshEnableO
0x5028PeriodicSnapshotUploadEnableO
0x5026CloudRecordingEnableO
0x501DTheftModeNotificationEnableO
0x501CTheftModeEnableO
0x501BScheduledSleepTimePeriodO
0x5019AIDetectionBoxEnableO
0x501AScheduledSleepEnableO
0x5018PrivacyMaskRegionsO
0x5017PowerFrequencyO
0x5014WhiteLightOnOffO
0x5016WhiteLightBrightnessO
0x5013CameraEventImportanceLevelO
0x5012CameraAdvancedEventNotificationEnableO
0x5010CameraNotificationSchedulePeriodsO
0x5011CameraFilterUnimportantNotificationsO
0x500FCameraNotificationScheduleEnableO
0x500ECameraNotificationTypeO
0x516DAlexaDetectionEventsO
0x4FFCLensObstructionRecordEnableO
0x4FFDLensObstructionIntervalO
0x4FFBLensObstructionSensitivityO
0x4FC5AIModelSilenceOTAEnableO
0x4FC6SetDetectionModeO
0x4FC3AIVideoSummaryEnableO
0x4FC2AIVideoSearchEnableO
0x4FC1SupportLocalVideoDownloadO
0x4FBFLightingTimePeriodO
0x4FC0RelatedEventRecordEnableO
0x4FBELightUpWhenEventDetectedO
0x4FB0LogoWatermarkEnableO
0x4F91CameraRTSPEnableO
0x4F90CameraRTSPURLO
0x517CLiveChannelO
0x517DPlaybackChannelO
0x4E44P2PCaptureStatusO
0x80C0VolumeO
0x80A2CameraActiveStatusO

CloudRecordingMode Trait​

Indicates the cloud recording type. Value 0 means event-triggered recording (only when an event occurs), 1 means continuous recording (24/7).

Trait IDCode
0x5001CloudRecordingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCloudRecordingModeEnum80RVWO
0x0006Supported Valuelist[CloudRecordingModeEnum8]RO
0x0007Default Valueuint80RWO

HdrEnable Trait​

Enables or disables the HDR (High Dynamic Range) function. After enabling, the device improves image quality in backlit or high-contrast scenes, preserving details in highlights and shadows for a clearer, more natural picture.

Trait IDCode
0x5000HdrEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CloudTimelapseInfo Trait​

Provides cloud timelapse task information, including the number of tasks, task ID, active status, daily repeat flags, start/end dates, start/end times (absolute time or relative to sunrise/sunset) and capture interval.

Trait IDCode
0x4FFFCloudTimelapseInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCloudTimelapseInfoTraitPresentValueStructureRVWO

P2PCaptureEnabled Trait​

Indicates whether the camera enables the P2P (peer-to-peer) snapshot function.

Trait IDCode
0x4E3EP2PCaptureEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVO
0x0007Default Valueboolean1RWO

P2PVideoEnable Trait​

Enables or disables the P2P video transmission capability of the camera. After enabling, a video connection can be established through a peer-to-peer link.

Trait IDCode
0x50D8P2PVideoEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraAdvancedEventNotificationSettings Trait​

Configures the advanced event set for camera notifications. This value is a string composed of event type numbers separated by vertical bars (|), e.g., "39 | 40 | 111 | 108". Each number corresponds to a specific event type listed below. Only events whose numbers are included in the string will trigger notifications. Value Event Description 1 Motion detection 2 Human 3 Cat or dog present 4 Human wandering 5 Doorbell pressed 6 Tampering alarm 7 Family member recognized 8 Stranger recognized 9 Abnormal crying 10 Crying 11 Coughing 12 Alarm sound 13 Dog barking 14 Lens blocked 15 Package detected 16 Package disappeared 17 Vehicle present 32 Crib 33 Stroller 38 Toy car 39 Mask/face covering 40 Mouth and nose covered 46 Holding phone 48 Person fallen 50 Person climbing 53 Person smoking 56 Wearing hat 58 Dog 59 Cat 60 Drinking water 61 Eating 62 Using toilet 63 Animal 64 Pet 65 Bird 66 Bear 67 Brown bear 68 Squirrel 69 Rabbit 70 Deer 71 Reindeer

Trait IDCode
0x4FC9CameraAdvancedEventNotificationSettings
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

CloudClipRecordingType Trait​

Indicates the type of cloud short video (clip) recording triggered. Value 0 = Default (unspecified), 1 = Recording (general event), 22 = Associated event (triggered by other sensors/devices), 27 = Security associated event (e.g., home security alarm). This Trait can be read, written and actively reported by the device.

Trait IDCode
0x4FE9CloudClipRecordingType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCloudClipRecordingTypeEnum80RVWO
0x0006Supported Valuelist[CloudClipRecordingTypeEnum8]RO
0x0007Default Valueuint80RWO

ZoomRatio Trait​

Controls the zoom ratio of the camera. The larger the value, the closer the shooting subject appears.

Trait IDCode
0x4FE8ZoomRatio
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVWO
0x0002Maximum Valuefloat9.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat1RWO

ImageEncryptionKey Trait​

Provides the encryption key used to encrypt images (snapshots) before pushing them to the cloud or to clients.

Trait IDCode
0x4FE6ImageEncryptionKey
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

LensObstructionPushEnable Trait​

Enables or disables push notifications for lens obstruction events. When enabled, the user will receive an alert when the lens is obstructed.

Trait IDCode
0x4FE0LensObstructionPushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

LensObstructionTimePeriod Trait​

Defines the time period during which lens obstruction detection is active. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are "HH:MM" format strings (24-hour), ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period is valid all day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of 7 unsigned 8-bit integers, indexed in the order Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. A value of 1 means active on that weekday, 0 means inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FDFLensObstructionTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLensObstructionTimePeriodTraitPresentValueStructureRVWO

LensObstructionEnable Trait​

Enables or disables the lens obstruction detection function. When enabled, the camera monitors whether the lens is partially or fully obstructed, and can trigger events, recordings or notifications accordingly.

Trait IDCode
0x4FDELensObstructionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

WhiteLightDuration Trait​

Sets how long the white light (fill light) stays on after being triggered. A value of 0 means stays on continuously (always on). 1 to 1800 means the number of seconds it stays on before automatically turning off.

Trait IDCode
0x4FDBWhiteLightDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWO
0x0002Maximum Valueuint321800RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint3230RWO

CloudAISupportedAlgorithm Trait​

Indicates the AI algorithm types supported by the cloud. The value is an enumeration representing the detection/recognition capabilities available through cloud processing.

Trait IDCode
0x4FDDCloudAISupportedAlgorithm
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuearrayRVO
0x0006Supported Valuelist[array]RO

EventLightingMode Trait​

Defines the behavior of the indicator/lighting when the device detects an event. Steady: the light stays on continuously; Blink: the light blinks repeatedly.

Trait IDCode
0x4FDAEventLightingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEventLightingModeEnum80RVWO
0x0006Supported Valuelist[EventLightingModeEnum8]RO
0x0007Default Valueuint80RWO

ActiveWakeupInterval Trait​

Configures the active wake-up interval of a battery-powered camera when operating in AOV (Always-On Video) smart monitoring mode. The device periodically wakes up at this interval (in seconds) to capture frames for event detection. For example, setting it to 3 means the camera wakes up every 3 seconds to check for motion or events.

Trait IDCode
0x4FD9ActiveWakeupInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint323RVWO
0x0002Maximum Valueuint3265535RO
0x0003Minimum Valueuint321RO
0x0005Step Valueuint321RO
0x0007Default Valueuint323RWO

CameraMatterCapability Trait​

Indicates Matter feature support using a bit mask. Bit0: the device supports native Matter camera (no gateway bridging required). Bit1: the gateway supports bridging the camera to Matter. Bit2: the camera (without a built-in gateway) can be bridged to Matter through a standalone gateway. Predefined combination values: 0 (bits 000), 2 (bits 010), 4 (bits 100), 5 (bits 101).

Trait IDCode
0x4FD7CameraMatterCapability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

CamWorkMode Trait​

Defines the working mode of the camera in terms of power consumption and functionality. PowerSaving: reduces performance to extend battery life; SuperPowerSaving: maximum power saving with limited functions; MainsPower: full performance running under continuous power supply (AC/DC); AOV: Always-On Video low-power smart monitoring mode.

Trait IDCode
0x4FD8CamWorkMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCamWorkModeEnum80RVWO
0x0006Supported Valuelist[CamWorkModeEnum8]RO
0x0007Default Valueuint80RWO

AOVRecordingEnable Trait​

Enables or disables the AOV (Always-On Video) recording function. When enabled, the device records continuously to ensure critical moments are not missed.

Trait IDCode
0x4FD6AOVRecordingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

RecordingMode Trait​

Configures the recording behavior of the device. The structure contains two fields: mode (uint8, values: 0 = Off, 1 = Continuous recording, 2 = Event-triggered recording) and overwrite (uint8, value: 1 = circular overwrite when storage is full). Both fields are mandatory.

Trait IDCode
0x4FD2RecordingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRecordingModeTraitPresentValueStructureRVWO
0x0007Default ValueRecordingModeTraitPresentValueStructureIf the default value is represented in JSON format, the default value is: {"0":2,"1":1}RWO

RangeTestMode Trait​

Enables the ranging test mode for camera detection distance configuration. In this mode, the device gives a prompt when a target is detected (e.g., the white light flashes three times), indicating the effective range of the current distance setting.

Trait IDCode
0x4FD3RangeTestMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

RecordingMuteEnable Trait​

Determines whether audio is recorded simultaneously with video. When set to 1 (muted), the recording file does not save audio; when 0, audio is included.

Trait IDCode
0x4FD1RecordingMuteEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

VideoCorrectionEnable Trait​

Turns lens distortion correction on/off. When enabled, the device applies distortion correction to straighten the curved edges caused by wide-angle lenses (improving image geometry but possibly cropping the field of view).

Trait IDCode
0x4FD0VideoCorrectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

OSDTimeFormatSetting Trait​

Specifies the format string for displaying date and time in the OSD watermark. Uses strftime-compatible format specifiers (e.g., %Y for year, %m for month, %d for day, %H for hour, %M for minute, %S for second).

Trait IDCode
0x4FCEOSDTimeFormatSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

ImageFlipMode Trait​

Controls whether the video image is flipped vertically (180 deg rotation). When set to Flip (1), the image is upside down, suitable for ceiling or inverted mounting scenarios; when set to Normal (0), the image orientation is standard.

Trait IDCode
0x4FCFImageFlipMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueImageFlipModeEnum80RVWO
0x0006Supported Valuelist[ImageFlipModeEnum8]RO
0x0007Default Valueuint80RWO

OSDWatermarkEnable Trait​

Controls whether to overlay a timestamp in the live preview and recordings. When enabled, the current date and time are displayed at the specified position of the video image, making it easy for viewers to accurately identify when an event occurred.

Trait IDCode
0x4FCBOSDWatermarkEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

InfraredNightVisionSetting Trait​

Sets the night vision mode of the camera. AlwaysOff: IR cut and illuminator off; AlwaysOn: IR cut on (black and white) and IR LED on; Auto: switches according to ambient light; WarmColorFullColor: uses warm white light for full-color night vision.

Trait IDCode
0x4FCAInfraredNightVisionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueInfraredNightVisionSettingEnum82RVWO
0x0006Supported Valuelist[InfraredNightVisionSettingEnum8]RO
0x0007Default Valueuint82RWO

TimelapseTimePeriod Trait​

Defines the scheduled period during which timelapse recording is active. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are "HH:MM" format (24-hour) strings, ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of 7 unsigned 8-bit integers, indexed in the order Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. A value of 1 means active on that weekday, 0 means inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FC8TimelapseTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimelapseTimePeriodTraitPresentValueStructureRVWO

TimelapseEnable Trait​

Enables or disables the timelapse function. When enabled, the device captures an image sequence at fixed intervals (configured separately) and composes them into a video.

Trait IDCode
0x4FC7TimelapseEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DynamicCoverRefreshEnable Trait​

Enables or disables dynamic refresh of the device cover image on the App home page.

Trait IDCode
0x5027DynamicCoverRefreshEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

PeriodicSnapshotUploadEnable Trait​

Enables or disables periodic snapshot upload to the cloud. When PeriodicSnapshotInterval is implemented, the capture interval is configured by that Trait; when it is not implemented, the behavior of uploading one frame every 10 minutes is maintained.

Trait IDCode
0x5028PeriodicSnapshotUploadEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CloudRecordingEnable Trait​

Enables or disables the master switch for event cloud recording.

Trait IDCode
0x5026CloudRecordingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TheftModeNotificationEnable Trait​

Enables or disables push notifications for anti-theft mode events.

Trait IDCode
0x501DTheftModeNotificationEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TheftModeEnable Trait​

Enables or disables the anti-theft/lost mode.

Trait IDCode
0x501CTheftModeEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ScheduledSleepTimePeriod Trait​

Defines the scheduled period during which the device should enter sleep mode. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are "HH:MM" format (24-hour) strings, ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of 7 unsigned 8-bit integers, indexed in the order Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. A value of 1 means active on that weekday, 0 means inactive. All times are based on the device's current time zone.

Trait IDCode
0x501BScheduledSleepTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueScheduledSleepTimePeriodTraitPresentValueStructureRVWO

AIDetectionBoxEnable Trait​

Enables or disables drawing AI detection bounding boxes (e.g., people, pets) in the live preview.

Trait IDCode
0x5019AIDetectionBoxEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ScheduledSleepEnable Trait​

Enables or disables the scheduled sleep mode.

Trait IDCode
0x501AScheduledSleepEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

PrivacyMaskRegions Trait​

Defines mask regions in the video frame to protect privacy. Its value is a structure containing two fields: visible and regions. visible is a boolean or integer (0 or 1), indicating whether to show the outline of mask regions in the live preview (for debugging or confirmation, without affecting the actual masking effect). regions is an array of up to 4 mask objects. Each mask object contains color and rect. color is an integer (decimal), representing the RGB color of the mask block (e.g., the decimal form of 0xRRGGBB, with the high byte being red, the middle byte green, and the low byte blue). rect is an array of four integers specifying the bounding rectangle: left coordinate, top coordinate, width, height. The coordinate origin is at the top-left corner of the image, with the X axis increasing to the right and the Y axis increasing downward. This configuration applies to both live video and recording streams; masking is performed on the device side to ensure privacy-sensitive content cannot be restored.

Trait IDCode
0x5018PrivacyMaskRegions
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePrivacyMaskRegionsTraitPresentValueStructureRVWO

PowerFrequency Trait​

Sets the power line frequency to avoid flicker (50Hz or 60Hz).

Trait IDCode
0x5017PowerFrequency
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePowerFrequencyEnum80RVWO
0x0006Supported Valuelist[PowerFrequencyEnum8]RO
0x0007Default Valueuint80RWO

WhiteLightOnOff Trait​

Controls the master switch of the white fill light. Toggling can change the current state.

Trait IDCode
0x5014WhiteLightOnOff
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

WhiteLightBrightness Trait​

Sets the white light brightness level, ranging from 1% to 100%.

Trait IDCode
0x5016WhiteLightBrightness
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat1RWO

CameraEventImportanceLevel Trait​

Sets the minimum importance level for event notifications. Only events with level >= this value trigger notifications.

Trait IDCode
0x5013CameraEventImportanceLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint82RVWO
0x0002Maximum Valueuint85RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO
0x0007Default Valueuint82RWO

CameraAdvancedEventNotificationEnable Trait​

Enables or disables advanced event notifications (e.g., detailed AI event alerts).

Trait IDCode
0x5012CameraAdvancedEventNotificationEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraNotificationSchedulePeriods Trait​

Defines the scheduled period during which notifications are allowed. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are "HH:MM" format (24-hour) strings, ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of 7 unsigned 8-bit integers, indexed in the order Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. A value of 1 means active on that weekday, 0 means inactive. All times are based on the device's current time zone.

Trait IDCode
0x5010CameraNotificationSchedulePeriods
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCameraNotificationSchedulePeriodsTraitPresentValueStructureRVWO

CameraFilterUnimportantNotifications Trait​

Enables or disables unimportant notification filtering to reduce disturbance.

Trait IDCode
0x5011CameraFilterUnimportantNotifications
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraNotificationScheduleEnable Trait​

Enables or disables the notification schedule function.

Trait IDCode
0x500FCameraNotificationScheduleEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraNotificationType Trait​

Specifies the type of notifications to receive: event notifications or AI video summary notifications.

Trait IDCode
0x500ECameraNotificationType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCameraNotificationTypeEnum81RVWO
0x0006Supported Valuelist[CameraNotificationTypeEnum8]RO
0x0007Default ValueCameraNotificationTypeEnum81RWO

AlexaDetectionEvents Trait​

Represents the list of detection event types that the device is required to support, as configured by the user through the Alexa platform.

Trait IDCode
0x516DAlexaDetectionEvents
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[AlexaDetectionEventsEnum8]RVWO

LensObstructionRecordEnable Trait​

Enables or disables local recording when lens obstruction is detected.

Trait IDCode
0x4FFCLensObstructionRecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

LensObstructionInterval Trait​

The time interval (in seconds) between consecutive lens obstruction detection triggers.

Trait IDCode
0x4FFDLensObstructionInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

LensObstructionSensitivity Trait​

This enumeration configures the sensitivity level for multiple device functions (such as detection, recognition, sensing, alerting, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity. Higher sensitivity makes the function more responsive to trigger conditions (e.g., more easily detecting weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FFBLensObstructionSensitivity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLensObstructionSensitivityEnum81RVWO
0x0006Supported Valuelist[LensObstructionSensitivityEnum8]RO
0x0007Default Valueuint81RWO

AIModelSilenceOTAEnable Trait​

Enables or disables silent OTA upgrades of AI models without user intervention. When enabled, AI models are updated automatically in the background.

Trait IDCode
0x4FC5AIModelSilenceOTAEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SetDetectionMode Trait​

Sets the primary detection mode of the camera. This mode determines the AI algorithm preferred for event generation and recording.

Trait IDCode
0x4FC6SetDetectionMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSetDetectionModeEnum80RVWO
0x0006Supported Valuelist[SetDetectionModeEnum8]RO
0x0007Default Valueuint80RWO

AIVideoSummaryEnable Trait​

Enables or disables AI video summary generation. AI extracts key moments (events) and composes them into short video summaries.

Trait IDCode
0x4FC3AIVideoSummaryEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AIVideoSearchEnable Trait​

Enables or disables the AI video search function. When enabled, users can search recordings by object type (e.g., people, vehicles, packages).

Trait IDCode
0x4FC2AIVideoSearchEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SupportLocalVideoDownload Trait​

Indicates whether the device supports downloading local videos from the SD card through the App.

Trait IDCode
0x4FC1SupportLocalVideoDownload
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

LightingTimePeriod Trait​

Defines the scheduled period during which the event-triggered lighting function is active. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are "HH:MM" format (24-hour) strings, ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of 7 unsigned 8-bit integers, indexed in the order Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. A value of 1 means active on that weekday, 0 means inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FBFLightingTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightingTimePeriodTraitPresentValueStructureRVWO
0x0007Default ValueLightingTimePeriodTraitPresentValueStructureIf the default value is represented in JSON format, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

RelatedEventRecordEnable Trait​

Enables or disables local recording when associated events (e.g., from other Zigbee/Thread sensors) occur. Allows recording to be triggered by external devices such as door/window sensors.

Trait IDCode
0x4FC0RelatedEventRecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

LightUpWhenEventDetected Trait​

Turns on the white light for 20 seconds when an event (such as motion or human detection) is detected within the scheduled period. Used as a visual deterrent or for illumination.

Trait IDCode
0x4FBELightUpWhenEventDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean0RWO

LogoWatermarkEnable Trait​

Enables or disables the brand Logo watermark overlay on videos. When enabled, the device embeds a fixed Logo image into video files.

Trait IDCode
0x4FB0LogoWatermarkEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

CameraRTSPEnable Trait​

Indicates the RTSP (Real Time Streaming Protocol) enable switch configuration of the camera. When enabled, the live video stream can be accessed via the RTSP protocol; when disabled, RTSP access is prohibited.

Trait IDCode
0x4F91CameraRTSPEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraRTSPURL Trait​

Indicates the RTSP (Real Time Streaming Protocol) URL of the camera, used to access the live video stream via the RTSP protocol. This attribute returns a JSON object whose keys are resolution identifiers (e.g., "360p", "720p", "1080p", "4mp") and whose values are the corresponding complete RTSP URL strings. Example format: {"360p": "rtsp://192.168.1.109:8554/360p","720p": "rtsp://192.168.1.109:8554/720p","1080p": "rtsp://192.168.1.109:8554/1080p","4mp": "rtsp://192.168.1.109:8554/4mp"}

Trait IDCode
0x4F90CameraRTSPURL
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

LiveChannel Trait​

Live video channel. Indicates the stream channel used for live video. 0 = Main stream, 1 = Sub stream, 2 = Third stream, 3 = Other.

Trait IDCode
0x517CLiveChannel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLiveChannelEnum80RVWO
0x0006Supported Valuelist[LiveChannelEnum8]RO
0x0007Default Valueuint80RWO

PlaybackChannel Trait​

Playback video channel. Indicates the stream channel used for playback video. 0 = Main stream, 1 = Sub stream, 2 = Third stream, 3 = Other.

Trait IDCode
0x517DPlaybackChannel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePlaybackChannelEnum80RVWO
0x0006Supported Valuelist[PlaybackChannelEnum8]RO
0x0007Default Valueuint80RWO

P2PCaptureStatus Trait​

P2P dynamic snapshot status switch

Trait IDCode
0x4E44P2PCaptureStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanRVWO
0x0007Default Valueboolean0RWO

Volume Trait​

Indicates or sets the speaker volume of the camera device (e.g., two-way voice). The value is usually a percentage (0 to 100) or a device-defined numeric range.

Trait IDCode
0x80C0Volume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

CameraActiveStatus Trait​

This Trait is used for access to and reporting of "camera sleep status" data.

Trait IDCode
0x80A2CameraActiveStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

Command Definitions​

Command IDNameConformance
0x9DADThirdPartySnapshotTriggerO
0x9D3EWhiteLightToggleO
0x9D3DSnapshotUploadCommandO
0x9D3BFormatSDCardCommandO
0x9D3ACameraActiveToggleO

ThirdPartySnapshotTrigger Command​

This Command is invoked by third-party ecosystem platforms (such as Alexa) to trigger the device to perform a snapshot operation. The command contains a trigger source parameter to identify the caller.

Parameters​

ThirdPartySnapshotTrigger Command Structure

WhiteLightToggle Command​

This Command is used to perform the "white light status toggle control" operation.

Parameters​

WhiteLightToggle Command Structure

SnapshotUploadCommand Command​

This Command is used to perform the "capture and upload" operation.

Parameters​

SnapshotUploadCommand Command Structure

FormatSDCardCommand Command​

This Command is used to perform the "format SD card" operation.

Parameters​

FormatSDCardCommand Command Structure

CameraActiveToggle Command​

This Command is used to perform the "camera sleep toggle" operation.

Parameters​

CameraActiveToggle Command Structure

WindowCovering​

Introduction​

This Function provides open/close control, tilt control, target position management and running status feedback for window covering devices such as curtains, roller blinds and venetian blinds.

In addition to standard open/close and tilt control, this Function also includes Aqara extended capabilities: scene management (startup, reading, preview, add/delete/modify of built-in/custom scenes), manual calibration, remote pairing, remote travel records, motor mapping exchange and enhanced mode status.

The client should determine the current controllability and operation stage of the device based on Traits such as TravelConfigured, MotorControllability, MotorOperationStatus and EnhanceMode, avoiding sending invalid commands when conditions are not met.

Function Identification​

Function IDCodeName
0x0089WindowCoveringWindow covering

Trait​

Trait IDCodeNameConformance
0x80A5WindowCoveringOpenOrientationWindow covering open orientationM
0x5199TravelCalibrationReminderEnableTravel calibration reminder enableM
0x504ETravelCalibrationCustomDaysTravel calibration custom daysM
0x504DTravelCalibrationReminderTravel calibration reminderM
0x4F8AEffectInfoEffect infoM
0x50C0LastCalibrationDateLast calibration dateM
0x5062EffectOperationStateEffect operation stateO
0x5051SafetyStatusSafety statusO
0x4F33ChildEndpointListChild endpoint listO
0x504CAutoCalibrationAuto calibrationO
0x504AMotorMappingExchangedMotor mapping exchangedO
0x5049StepResolutionStep precisionO
0x5048ManualPullStrengthManual pull start/stop strengthO
0x5047MotorStrengthMotor strengthO
0x5046EnhanceModeEnhance modeO
0x4EADLimitPointSettingSet travel limit pointsO
0x4F9CMaxEffectNameLengthMaximum effect name lengthO
0x4F9BUserDefinedEffectsUser defined effectsO
0x4F89MaxUserDefinedEffectsMaximum user defined effect countO
0x4F88CurrentEffectIDCurrent effect IDO
0x4F87BuiltInEffectsBuilt-in effectsO
0x4FABSupportedActionTypesSupported action typesO
0x4F05TargetPositionRotationPercentageTarget tilt rotation position percentageO
0x4F04CurrentPositionRotationPercentageCurrent tilt rotation position percentageO
0x51F0TiltLimitRangeFlip motor limit pointsO
0x8158CurrentRotationAngleCurrent rotation angle of the window coveringO
0x80A4TargetPositionPercentageTarget position percentageO
0x4EDEObstacleLimitMarkingBlockTimeObstacle tick function mute durationO
0x4EDDLimitPointCountMotor limit point countO
0x4EDCObstacleLimitSensitivityObstacle sensitivity settingO
0x4EDBObstacleLimitAutoReboundEnableObstacle rebound enable configurationO
0x4EDAObstacleLimitMarkingEnableObstacle tick function enable configurationO
0x4ED9MotorSpeedPercentageMotor speed percentage settingO
0x4ED8MotorSpeedSettingMotor speed level settingO
0x4ED7ManualPullStartStopEnabledManual pull start/stop enableO
0x4EAEManualPullStartEnabledManual pull start enableO
0x4EAFManualPullStopEnabledManual pull stop enableO
0x4E3FMotorOperationStatusMotor operation statusO
0x8157WindowCoveringMotorsBindingWindow covering motors bound as unified master controlO
0x4EB1ManualPullEventManual pull event reportingO
0x4EB0ManualPullAdaptiveSpeedEnabledManual pull speed adaptive enableO
0x4E26UnconfiguredTravelControlPermissionTravel-not-configured control permissionO
0x4E43MotorControllabilityWhether the motor is controllableO
0x80AEWindowCoveringTypeWindow covering sub typeO
0x4E42WindowCoveringCategoryWindow covering categoryO
0x4E41MotorDirectionReversedMotor direction reversalO
0x4E40TravelConfiguredWhether travel is configuredO
0x8159TargetRotationAngleTarget rotation angle of the window coveringO
0x80F9TripTimeTravel timeO
0x80A3CurrentPositionPercentageCurrent position percentageO
0x51EFLiftLimitRangeLift motor limit pointsO

Command​

Command IDCodeNameConformance
0x9D63RemoveUserDefinedEffectsBatch remove user defined effectsO
0x9D44EnterRemoteControlPairingEnter remote control pairingO
0x9D43CommitManualCalibrationComplete manual calibrationO
0x9D42ManualCalibrationOperationManual calibration operationO
0x9D41EnterManualCalibrationEnter manual calibrationO
0x9D30StopPreviewStop previewO
0x9D2FPreviewEffectPreview effectO
0x9D2ERemoveUserDefinedEffectRemove user defined effectO
0x9D2DUpdateUserDefinedEffectUpdate user defined effectO
0x9D2CAddUserDefinedEffectAdd user defined effectO
0x9D2BGetEffectDataGet effect dataO
0x9D2AStartEffectStart effectO
0x9C74GoToPositionRotationPercentageGo to tilt rotation percentageO
0x88C4RotationControlRotation controlO
0x8100StepPositionStep positionO
0x80AAGoToPositionPercentageGo to position percentageO
0x80A9AutoControlAutomatic controlO
0x80A8StopMotionStopO
0x80A7GoToMinPositionPercentageGo to minimumO
0x80A6GoToMaxPositionPercentageGo to maximumO

Data Types​

LiftLimitRangeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LiftLimitRange Trait.

Struct Member No.Field NameTypeMandatoryDescription
0MinfloatMMinimum actual value of the open/close position, in %.
1MaxfloatMMaximum actual value of the open/close position, in %.
TiltLimitRangeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TiltLimitRange Trait.

Struct Member No.Field NameTypeMandatoryDescription
0MinfloatMMinimum actual value of the tilt/rotation position, in %.
1MaxfloatMMaximum actual value of the tilt/rotation position, in %.
WindowCoveringOpenOrientationEnum8 Type​

This enumeration defines the valid values of the Present Value of the WindowCoveringOpenOrientation Trait.

ValueNameDescription
0x00LeftRightDual open left and right
0x01LeftToRightFrom left to right
0x02RightToLeftFrom right to left
0x03UpFrom bottom to top
0x04HorizontalLeft and right open/close
0x05VerticalTop and bottom open/close
TravelCalibrationReminderEnum8 Type​

This enumeration defines the valid values of the Present Value of the TravelCalibrationReminder Trait.

ValueNameDescription
0x00TwoWeeksTwo weeks
0x01OneMonthOne month
0x02TwoMonthsTwo months
0x03ThreeMonthsThree months
0x04SixMonthsSix months
0x05CustomCustom
EffectInfoTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the EffectInfo Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EffectIDuint8MEffect ID.
1EffectDatacharacterStringMEffect data.
2EffectNamecharacterStringMEffect name.
EffectOperationStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the EffectOperationState Trait.

ValueNameDescription
0x00IdleIdle
0x01ExecutingExecuting
0x02PreviewingPreviewing
AutoCalibrationEnum8 Type​

This enumeration defines the valid values of the Present Value of the AutoCalibration Trait.

ValueNameDescription
0x00NormalModeNormal mode
0x01CalibrationModeCalibration mode
ManualPullStrengthEnum8 Type​

This enumeration defines the valid values of the Present Value of the ManualPullStrength Trait.

ValueNameDescription
0x00LowLow
0x01MediumMedium
0x02HighHigh
MotorStrengthEnum8 Type​

This enumeration defines the valid values of the Present Value of the MotorStrength Trait.

ValueNameDescription
0x00NormalNormal
0x01StrongStrong
LimitPointSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the LimitPointSetting Trait.

ValueNameDescription
0x00ClearLimitPointsClear limit points
0x01SetOpenLimitSet open limit point
0x02SetCloseLimitSet close limit point
UserDefinedEffectsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the UserDefinedEffects Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EffectIDuint8MUser defined effect ID.
1EffectNamecharacterStringMEffect name.
BuiltInEffectsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the BuiltInEffects Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EffectIDuint8MBuilt-in effect ID.
1BuiltInEffectLabelIDenum8MBuilt-in effect tag ID.
ObstacleLimitSensitivityEnum8 Type​

This enumeration defines the valid values of the Present Value of the ObstacleLimitSensitivity Trait.

ValueNameDescription
0x00LowLow
0x01MediumLowLower
0x02MediumMedium
0x03MediumHighHigher
0x04HighHigh
MotorSpeedSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the MotorSpeedSetting Trait.

ValueNameDescription
0x00LowSpeedLow speed
0x01MediumSpeedMedium speed
0x02HighSpeedHigh speed
MotorOperationStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the MotorOperationStatus Trait.

ValueNameDescription
0x00ClosingClosing
0x01OpeningOpening
0x02StoppedStopped
0x03ObstacleStopStopped by obstacle
0x04ObstacleLimitAutoReboundObstacle rebound
ManualPullEventEnum32 Type​

This enumeration defines the valid values of the Present Value of the ManualPullEvent Trait.

ValueNameDescription
0x01ManualOpenManual pull open
0x02ManualCloseManual pull close
0x03ManualStopManual pull stop
WindowCoveringTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the WindowCoveringType Trait.

ValueNameDescription
0x00RollerShadeRoller shade
0x01VenetianBlindVenetian blind
0x02ShangrilaBlindShangri-La blind
0x03ZebraBlindZebra blind
0x04CurtainCurtain
0x05VerticalVenetianBlindDream curtain
0x1FRomanShadeRoman blind
0x20BalloonShadeBalloon blind
0x21WovenWoodWoven wood blind
0x22PleatedShadePleated blind
0x23CellularShadeHoneycomb blind
0x24LayeredShadeLayered blind
0x25LayeredShade2D2D layered blind
0x26SheerShadeTranslucent blind
0x27TiltOnlyInteriorBlindTilt-only interior venetian blind
0x28InteriorBlindInterior venetian blind
0x29VerticalBlindStripCurtainVertical blind slat curtain
0x2AInteriorVenetianBlindInterior venetian blind (window)
0x2BExteriorVenetianBlindExterior venetian blind
0x2CLateralLeftCurtainLeft sliding curtain
0x2DLateralRightCurtainRight sliding curtain
0x2ECentralCurtainCenter curtain
0x2FRollerShutterRolling door
0x30ExteriorVerticalScreenExterior vertical sun shade
0x31AwningTerracePatioTerrace awning
0x32AwningVerticalScreenVertical awning
0x33TiltOnlyPergolaTilt-only gazebo
0x34SwingingShutterSwinging blind
0x35SlidingShutterSliding blind
0xFFUnknownUnknown
WindowCoveringCategoryEnum8 Type​

This enumeration defines the valid values of the Present Value of the WindowCoveringCategory Trait.

ValueNameDescription
0x00RollerShadeRoller shade
0x01RollerShade2MotorDouble roller shade
0x02RollerShadeExteriorExterior roller shade
0x03RollerShadeExterior2MotorDouble exterior roller shade
0x04DraperyCurtain
0x05AwningAwning
0x06ShutterBlind
0x07TiltBlindTiltOnlyTilt-only blind
0x08TiltBlindLiftAndTiltTilt and lift blind
0x09ProjectorScreenProjection screen
0xFFUnknownUnknown
RemoveUserDefinedEffects Command Structure Type​

Parameter structure of the RemoveUserDefinedEffects Command.

Struct Member No.Field NameTypeMandatoryDescription
0EffectIDslist[Struct]MList of EffectIDs to be batch deleted. Each item should be an existing UserDefined effect ID; the list length must not exceed the Present Value of MaxUserDefinedEffects.
EnterRemoteControlPairing Command Structure Type​

Parameter structure of the EnterRemoteControlPairing Command.

Struct Member No.Field NameTypeMandatoryDescription
0PairingDurationuint16MDuration of remote pairing (seconds). After success, the device enters pairing mode and automatically exits after the timeout.
ManualCalibrationOperation Command Structure Type​

Parameter structure of the ManualCalibrationOperation Command.

Struct Member No.Field NameTypeMandatoryDescription
0Operationenum8MCalibration operation type (Open/Close/Stop). Only valid in manual calibration mode.
EnterManualCalibration Command Structure Type​

Parameter structure of the EnterManualCalibration Command.

Struct Member No.Field NameTypeMandatoryDescription
0CalibrationTimeoutuint16MIdle timeout of the manual calibration session (seconds). After the timeout, the device should automatically exit calibration mode and discard temporary records.
PreviewEffect Command Structure Type​

Parameter structure of the PreviewEffect Command.

Struct Member No.Field NameTypeMandatoryDescription
0EffectDatacharacterStringMRaw data of the effect to be previewed. The encoding format should be consistent with adding/updating user defined effects.
RemoveUserDefinedEffect Command Structure Type​

Parameter structure of the RemoveUserDefinedEffect Command.

Struct Member No.Field NameTypeMandatoryDescription
0EffectIDuint8MEffect ID to be deleted. It should be an existing and removable UserDefined effect.
UpdateUserDefinedEffect Command Structure Type​

Parameter structure of the UpdateUserDefinedEffect Command.

Struct Member No.Field NameTypeMandatoryDescription
0EffectIDuint8MEffect ID to be updated. It should be an existing UserDefined effect.
1EffectDatacharacterStringMUpdated effect data, with an encoding format consistent with the EffectData specification.
AddUserDefinedEffect Command Structure Type​

Parameter structure of the AddUserDefinedEffect Command.

Struct Member No.Field NameTypeMandatoryDescription
0EffectNamecharacterStringMName of the new effect; the UTF-8 byte length must not exceed MaxEffectNameLength.
1EffectDatacharacterStringMRaw data of the new effect, with an encoding format consistent with the EffectData specification.
GetEffectData Command Structure Type​

Parameter structure of the GetEffectData Command.

Struct Member No.Field NameTypeMandatoryDescription
0EffectIDuint8MEffect ID of the effect data to be read; it should exist in the BuiltIn or UserDefined list.
StartEffect Command Structure Type​

Parameter structure of the StartEffect Command.

Struct Member No.Field NameTypeMandatoryDescription
0EffectIDenum8MEffect ID to be started; it should be a BuiltIn or UserDefined effect currently supported by the device.
GoToPositionRotationPercentage Command Structure Type​

Parameter structure of the GoToPositionRotationPercentage Command.

Struct Member No.Field NameTypeMandatoryDescription
0RotationPercentagefloatMTilt rotation percentage.
RotationControl Command Structure Type​

Parameter structure of the RotationControl Command.

Struct Member No.Field NameTypeMandatoryDescription
0Directionenum8MDirection.
StepPosition Command Structure Type​

Parameter structure of the StepPosition Command.

Struct Member No.Field NameTypeMandatoryDescription
0SizefloatMStep value.
1Timeint32OTime.
GoToPositionPercentage Command Structure Type​

Parameter structure of the GoToPositionPercentage Command.

Struct Member No.Field NameTypeMandatoryDescription
0PositionPercentagefloatMOpen/close ratio.
1TransitionTimeuint32OTime.

Trait Definitions​

Trait IDNameConformance
0x80A5WindowCoveringOpenOrientationM
0x5199TravelCalibrationReminderEnableM
0x504ETravelCalibrationCustomDaysM
0x504DTravelCalibrationReminderM
0x4F8AEffectInfoM
0x50C0LastCalibrationDateM
0x5062EffectOperationStateO
0x5051SafetyStatusO
0x4F33ChildEndpointListO
0x504CAutoCalibrationO
0x504AMotorMappingExchangedO
0x5049StepResolutionO
0x5048ManualPullStrengthO
0x5047MotorStrengthO
0x5046EnhanceModeO
0x4EADLimitPointSettingO
0x4F9CMaxEffectNameLengthO
0x4F9BUserDefinedEffectsO
0x4F89MaxUserDefinedEffectsO
0x4F88CurrentEffectIDO
0x4F87BuiltInEffectsO
0x4FABSupportedActionTypesO
0x4F05TargetPositionRotationPercentageO
0x4F04CurrentPositionRotationPercentageO
0x8158CurrentRotationAngleO
0x80A4TargetPositionPercentageO
0x4EDEObstacleLimitMarkingBlockTimeO
0x4EDDLimitPointCountO
0x4EDCObstacleLimitSensitivityO
0x4EDBObstacleLimitAutoReboundEnableO
0x4EDAObstacleLimitMarkingEnableO
0x4ED9MotorSpeedPercentageO
0x4ED8MotorSpeedSettingO
0x4ED7ManualPullStartStopEnabledO
0x4EAEManualPullStartEnabledO
0x4EAFManualPullStopEnabledO
0x4E3FMotorOperationStatusO
0x8157WindowCoveringMotorsBindingO
0x4EB1ManualPullEventO
0x4EB0ManualPullAdaptiveSpeedEnabledO
0x4E26UnconfiguredTravelControlPermissionO
0x4E43MotorControllabilityO
0x80AEWindowCoveringTypeO
0x4E42WindowCoveringCategoryO
0x4E41MotorDirectionReversedO
0x4E40TravelConfiguredO
0x8159TargetRotationAngleO
0x80F9TripTimeO
0x80A3CurrentPositionPercentageO

WindowCoveringOpenOrientation Trait​

Identifies the actual opening orientation of the window covering in automatic control.

Trait IDCode
0x80A5WindowCoveringOpenOrientation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWindowCoveringOpenOrientationEnum80RVWM
0x0006Supported Valuelist[WindowCoveringOpenOrientationEnum8]RO
0x0007Default ValueWindowCoveringOpenOrientationEnum80RWO

TravelCalibrationReminderEnable Trait​

This Trait is used to enable or disable the travel calibration reminder.

When the Present Value is true, the device should trigger travel calibration reminders according to the periodic configuration of TravelCalibrationReminder and TravelCalibrationCustomDays; when false, the device does not trigger travel calibration reminders.

Trait IDCode
0x5199TravelCalibrationReminderEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWM
0x0007Default Valueboolean0RWO

TravelCalibrationCustomDays Trait​

This Trait is used to configure the custom period (in days) for travel calibration reminders.

When the value of TravelCalibrationReminder is Custom, the device should use the Present Value of this Trait as the reminder period.

Trait IDCode
0x504ETravelCalibrationCustomDays
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVWM
0x0002Maximum Valueuint16999RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO
0x0007Default Valueuint161RWO

TravelCalibrationReminder Trait​

This Trait is used to configure the travel calibration reminder period.

The device can trigger reminders at fixed levels (two weeks/one month/two months/three months/six months) or custom days; when the value is Custom, it should be used together with TravelCalibrationCustomDays.

Trait IDCode
0x504DTravelCalibrationReminder
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTravelCalibrationReminderEnum80RVWM
0x0006Supported Valuelist[TravelCalibrationReminderEnum8]RO
0x0007Default ValueTravelCalibrationReminderEnum80RWO

EffectInfo Trait​

This Trait provides a list of effect information, each item containing EffectID, EffectData and EffectName, used for maintaining, displaying and synchronizing effect details.

The encoding of EffectData should be consistent with the effect write/preview commands, so that the client can directly display, back up or reuse it after reading.

Trait IDCode
0x4F8AEffectInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[EffectInfoTraitPresentValueStructure]RVM

LastCalibrationDate Trait​

Should indicate the date of the last calibration. Total = Year << 12 | Month << 8 | Day

Trait IDCode
0x50C0LastCalibrationDate
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVM
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

EffectOperationState Trait​

Indicates the current effect operation state of the window covering device (e.g., idle, executing, previewing).

Trait IDCode
0x5062EffectOperationState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEffectOperationStateEnum80RVO
0x0006Supported Valuelist[EffectOperationStateEnum8]RO

SafetyStatus Trait​

This Trait is used to report the safety status bit set of the device (e.g., obstacle, overload or other protection states).

The client can use this to determine whether the device is in a restricted running state, and decide whether to prompt the user or limit further control.

Trait IDCode
0x5051SafetyStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

ChildEndpointList Trait​

This attribute should report the child endpoints currently allocated in the configured partitions of the window covering device.

Trait IDCode
0x4F33ChildEndpointList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

AutoCalibration Trait​

This Trait indicates the current auto calibration mode state of the device.

NormalMode indicates the normal control state; CalibrationMode indicates being in the calibration process. When in a calibration-related mode, some regular control behaviors may be restricted.

Trait IDCode
0x504CAutoCalibration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAutoCalibrationEnum80RVWO
0x0006Supported Valuelist[AutoCalibrationEnum8]RO
0x0007Default Valueuint80RWO

MotorMappingExchanged Trait​

This Trait indicates whether the logical mapping of the primary/secondary motor has been exchanged.

When the value is true, the device should exchange the primary/secondary motor mapping, used to correct scenarios where the installation wiring direction is inconsistent, without rewiring.

Trait IDCode
0x504AMotorMappingExchanged
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

StepResolution Trait​

This Trait defines the minimum resolution step accepted for position control.

When processing position targets or step requests, the device should align to this resolution (may round to the nearest supported value, or reject requests that do not meet the precision requirement according to device policy).

Trait IDCode
0x5049StepResolution
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16100RVO
0x0002Maximum Valueuint1610000RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16100RWO

ManualPullStrength Trait​

This Trait is used to configure the manual pull trigger threshold strength.

The higher the threshold, the greater the external force usually required to trigger a manual pull action.

Trait IDCode
0x5048ManualPullStrength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueManualPullStrengthEnum80RVWO
0x0006Supported Valuelist[ManualPullStrengthEnum8]RO
0x0007Default ValueManualPullStrengthEnum80RWO

MotorStrength Trait​

This Trait is used to configure the motor output strength mode.

Normal is suitable for regular operating conditions, Strong is suitable for load scenarios requiring greater driving force.

Trait IDCode
0x5047MotorStrength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMotorStrengthEnum80RVWO
0x0006Supported Valuelist[MotorStrengthEnum8]RO
0x0007Default ValueMotorStrengthEnum80RWO

EnhanceMode Trait​

This Trait represents the enhanced mode bitmap state of the device.

Under the manual calibration capability model, the key bits include: manual calibration mode (bit0), open/close calibration records configured (bit1/bit2); the remaining bits are reserved (bit3-bit7).

ManualCalibration and RemoteTravelRecord features are mutually exclusive; when the device implements one of them, it should keep the bitmap semantics consistent and not mix them.

The remote pairing state is not expressed through the EnhanceMode bitmap; the client should not use bit7 to infer the remote pairing state, but should rely on command responses and device pairing window behavior.

Trait IDCode
0x5046EnhanceMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

LimitPointSetting Trait​

Used to configure the curtain motor limit points, specifically setting the fully open or fully closed limit position.

Trait IDCode
0x4EADLimitPointSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLimitPointSettingEnum80RVWO
0x0006Supported Valuelist[LimitPointSettingEnum8]RO
0x0007Default ValueLimitPointSettingEnum80RWO

MaxEffectNameLength Trait​

Indicates the maximum byte length allowed for the EffectName field in user defined effects of the window covering device. This value is fixed by the device, ranging from 1-32.

Trait IDCode
0x4F9CMaxEffectNameLength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint832RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

UserDefinedEffects Trait​

Contains a list of all user defined effects stored on the window covering device. Each entry includes EffectID (0x80-0xFE) and EffectName.

Trait IDCode
0x4F9BUserDefinedEffects
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[UserDefinedEffectsTraitPresentValueStructure]RVO

MaxUserDefinedEffects Trait​

Indicates the maximum number of user defined effects that the window covering device can support.

Trait IDCode
0x4F89MaxUserDefinedEffects
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint832RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

CurrentEffectID Trait​

Indicates the EffectID of the currently active effect on the window covering device.

Trait IDCode
0x4F88CurrentEffectID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x000DIs NullbooleanFalseRVO

BuiltInEffects Trait​

Contains a list of all built-in effects supported by the window covering device. Each entry includes EffectID (0x00-0x7F) and BuiltInEffectLabelID.

Trait IDCode
0x4F87BuiltInEffects
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[BuiltInEffectsTraitPresentValueStructure]RVO
0x000DIs NullbooleanFalseRVO

SupportedActionTypes Trait​

This Trait indicates the set of action types supported by the device in EffectData.

Before sending AddUserDefinedEffect, UpdateUserDefinedEffect or PreviewEffect, the client should constrain the optional action modes based on this list.

Trait IDCode
0x4FABSupportedActionTypes
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

TargetPositionRotationPercentage Trait​

The current value of the TargetPositionRotationPercentage feature represents the target position that the window covering device tilt will reach or is moving toward, in percentage (unit 1%).

Trait IDCode
0x4F05TargetPositionRotationPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

CurrentPositionRotationPercentage Trait​

The current value of the CurrentPositionRotationPercentage feature represents the actual tilt/rotation position, ranging from 0% to 100%, with a default step of 1%.

Trait IDCode
0x4F04CurrentPositionRotationPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

TiltLimitRange Trait​

This extended Trait is used to report the tilt/rotation limit range.

Trait IDCode
0x51F0TiltLimitRange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTiltLimitRangeTraitPresentValueStructureRVO

CurrentRotationAngle Trait​

The current value indicates the current rotation angle of the window covering device, ranging from -90 degrees to 90 degrees.

Trait IDCode
0x8158CurrentRotationAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat90.0RO
0x0003Minimum Valuefloat-90.0RO
0x0005Step Valuefloat1.0RO

TargetPositionPercentage Trait​

This Trait indicates the current or upcoming target open/close position percentage.

After receiving an open/close position control command, the device should write the target value to this Trait, and keep it consistent with CurrentPositionPercentage after movement completes or is interrupted.

Trait IDCode
0x80A4TargetPositionPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

ObstacleLimitMarkingBlockTime Trait​

The duration (in seconds) during which the obstacle limit marking function is disabled.

Trait IDCode
0x4EDEObstacleLimitMarkingBlockTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint8255RVWO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint810RO
0x0005Step Valueuint321RO
0x0007Default Valueuint8255RWO

LimitPointCount Trait​

Represents the number of limit points (or travel limits) configured for curtain-type motors.

Trait IDCode
0x4EDDLimitPointCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint82RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO
0x0007Default Valueuint80RWO

ObstacleLimitSensitivity Trait​

Refers to the sensitivity setting of the curtain motor when encountering obstacles.

Trait IDCode
0x4EDCObstacleLimitSensitivity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueObstacleLimitSensitivityEnum82RVWO
0x0006Supported Valuelist[ObstacleLimitSensitivityEnum8]RO
0x0007Default Valueuint82RWO

ObstacleLimitAutoReboundEnable Trait​

When enabled, the curtain motor reverses direction when encountering an obstacle, preventing damage.

Trait IDCode
0x4EDBObstacleLimitAutoReboundEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

ObstacleLimitMarkingEnable Trait​

Enables or disables the function of marking limit points (open or close) when the motor encounters an obstacle.

Trait IDCode
0x4EDAObstacleLimitMarkingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

MotorSpeedPercentage Trait​

Defines the motor running speed percentage, ranging from 1 (lowest speed) to 100 (highest speed).

Trait IDCode
0x4ED9MotorSpeedPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

MotorSpeedSetting Trait​

Defines the motor running speed level, ranging from 1 (lowest speed) to 2 (highest speed).

Trait IDCode
0x4ED8MotorSpeedSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMotorSpeedSettingEnum81RVWO
0x0006Supported Valuelist[MotorSpeedSettingEnum8]RO
0x0007Default Valueuint81RWO

ManualPullStartStopEnabled Trait​

Enables the function that allows users to manually start and stop the curtain/window covering movement by pulling.

Trait IDCode
0x4ED7ManualPullStartStopEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

ManualPullStartEnabled Trait​

Enables the function that allows users to manually start the curtain/window covering movement by pulling.

Trait IDCode
0x4EAEManualPullStartEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

ManualPullStopEnabled Trait​

Enables the function that allows users to manually stop the curtain/window covering movement by pulling.

Trait IDCode
0x4EAFManualPullStopEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

MotorOperationStatus Trait​

Indicates the current running status of the motor.

Trait IDCode
0x4E3FMotorOperationStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMotorOperationStatusEnum82RVO
0x0006Supported Valuelist[MotorOperationStatusEnum8]RO
0x0007Default Valueuint82RWO

WindowCoveringMotorsBinding Trait​

Indicates whether multiple motors of a curtain-type device are logically bound for unified control. Values: false = independent control, true = unified master control.

Trait IDCode
0x8157WindowCoveringMotorsBinding
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ManualPullEvent Trait​

Tracks or emits events triggered by manual pull interactions with the window covering device.

Trait IDCode
0x4EB1ManualPullEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueManualPullEventEnum321VO
0x0006Supported Valuelist[ManualPullEventEnum32]RO

ManualPullAdaptiveSpeedEnabled Trait​

Allows adaptive speed adjustment during manual pull operations, providing pull-force-based variable speed response.

Trait IDCode
0x4EB0ManualPullAdaptiveSpeedEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

UnconfiguredTravelControlPermission Trait​

Used to indicate whether control is allowed when the curtain motor device has no travel configured.

Trait IDCode
0x4E26UnconfiguredTravelControlPermission
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVO
0x0007Default Valueboolean1RWO

MotorControllability Trait​

Indicates whether the motor is currently controllable.

Trait IDCode
0x4E43MotorControllability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

WindowCoveringType Trait​

Identifies the window covering product type (e.g., roller shade, venetian blind, curtain, etc.). The value is an enumeration defined in the supported value list (0 = Roller Shade, 1 = Venetian Blind, ... 255 = Unknown).

Trait IDCode
0x80AEWindowCoveringType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWindowCoveringTypeEnum80RVWO
0x0006Supported Valuelist[WindowCoveringTypeEnum8]RO
0x0007Default Valueuint80RWO

WindowCoveringCategory Trait​

Reported by curtain-type devices to classify window covering devices into major categories.

Trait IDCode
0x4E42WindowCoveringCategory
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWindowCoveringCategoryEnum80RVO
0x0006Supported Valuelist[WindowCoveringCategoryEnum8]RO
0x0007Default Valueuint80RWO

MotorDirectionReversed Trait​

Specifies whether the motor running direction is reversed, affecting the open/close manner of the window covering device.

Trait IDCode
0x4E41MotorDirectionReversed
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TravelConfigured Trait​

Indicates whether the curtain motor travel (movement range) has been configured.

Trait IDCode
0x4E40TravelConfigured
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO
0x0007Default Valueboolean0RWO

TargetRotationAngle Trait​

The current value specifies the target rotation angle of the window covering device, ranging from -90 degrees to 90 degrees.

Trait IDCode
0x8159TargetRotationAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat90.0RO
0x0003Minimum Valuefloat-90.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

TripTime Trait​

Indicates the motor travel time, i.e., the time required from fully open to fully closed (or vice versa), in seconds. Value range 1 to 300 seconds, default 1 second.

Trait IDCode
0x80F9TripTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO

CurrentPositionPercentage Trait​

Identifies the actual position as a percentage from 0% to 100%, with a default step of 1%.

Trait IDCode
0x80A3CurrentPositionPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

LiftLimitRange Trait​

This extended Trait is used to report the lift limit range.

Trait IDCode
0x51EFLiftLimitRange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLiftLimitRangeTraitPresentValueStructureRVO

Command Definitions​

Command IDNameConformance
0x9D63RemoveUserDefinedEffectsO
0x9D44EnterRemoteControlPairingO
0x9D43CommitManualCalibrationO
0x9D42ManualCalibrationOperationO
0x9D41EnterManualCalibrationO
0x9D30StopPreviewO
0x9D2FPreviewEffectO
0x9D2ERemoveUserDefinedEffectO
0x9D2DUpdateUserDefinedEffectO
0x9D2CAddUserDefinedEffectO
0x9D2BGetEffectDataO
0x9D2AStartEffectO
0x9C74GoToPositionRotationPercentageO
0x88C4RotationControlO
0x8100StepPositionO
0x80AAGoToPositionPercentageO
0x80A9AutoControlO
0x80A8StopMotionO
0x80A7GoToMinPositionPercentageO
0x80A6GoToMaxPositionPercentageO

RemoveUserDefinedEffects Command​

This command should request the device to batch remove user defined effects; only UserDefined type effects can be removed.

The device may return the processing result for each EffectID individually, or return a global error as defined by the implementation.

Effect on Receipt​

After receiving the command, the device should validate each EffectID in turn:

  • The length of the EffectIDs list must not exceed the Present Value of the MaxUserDefinedEffects Trait.
  • If the target ID does not exist, return a not-found semantic error.
  • If the target ID corresponds to a BuiltIn effect, return a "cannot be deleted" semantic error.
  • If the target ID corresponds to a UserDefined effect, delete it and return success.

The device may adopt the "per-item result return" or "overall failure return" strategy, but should ensure the final storage state is consistent with the returned semantics.

Parameters​

RemoveUserDefinedEffects Command Structure

EnterRemoteControlPairing Command​

This command should request the device to enter remote pairing mode and remain pairable for the duration specified by PairingDuration.

The state of this command does not depend on the EnhanceMode bitmap; the device should manage this process through the pairing window state.

Effect on Receipt​

After receiving the command, the device should validate whether PairingDuration is within the supported range of the device.

  • On validation success: the device should enter remote pairing mode and start the pairing timer.
  • If already in remote pairing mode: the device may choose to reset the timer according to the implementation, or keep the existing timer policy.
  • When the pairing duration expires: the device should automatically exit remote pairing mode.
Parameters​

EnterRemoteControlPairing Command Structure

CommitManualCalibration Command​

This command should request the device to commit the current manual calibration temporary records and exit manual calibration mode.

If the open/close key calibration records are incomplete, the command should fail and temporary records should not be persisted.

Effect on Receipt​

The device should only process this command in manual calibration mode.

  • If the device is not in manual calibration mode: return a "not in manual calibration mode" semantic error.
  • If in manual calibration mode and the open/close temporary records are complete: the device should persist the calibration records, exit manual calibration mode, and update EnhanceMode (clear bit0, set bit1/bit2).
  • If the temporary records are incomplete: the device should return a "missing calibration records" semantic error, and should not persist the temporary records; it should exit manual calibration mode and clear bit0 to ensure a predictable state.

This Command has no parameters.

ManualCalibrationOperation Command​

This command should perform open/close/stop actions in manual calibration mode, used for position adjustment during calibration.

If the device is not in manual calibration mode, the command should return the corresponding error.

Effect on Receipt​

The device should only process this command in manual calibration mode.

  • When Operation = Open: the device should move in the opening direction.
  • When Operation = Close: the device should move in the closing direction.
  • When Operation = Stop: the device should immediately stop the current movement.

After successful command execution, the device should reset the manual calibration idle timer; if the device is not in manual calibration mode, it should return the corresponding error.

Parameters​

ManualCalibrationOperation Command Structure

EnterManualCalibration Command​

This command should request the device to enter manual calibration mode and start the idle timeout timer according to CalibrationTimeout.

When the timeout expires and no valid calibration action is received, the device should automatically exit calibration mode and clean up temporary records.

Effect on Receipt​

After receiving the command, the device should validate whether CalibrationTimeout satisfies the supported range of the device.

  • On validation success: the device should enter manual calibration mode, set bit0 of EnhanceMode, and start the idle timer according to this parameter.
  • When entering manual calibration mode: the device should not clear the saved open/close calibration records, and should not change bit1/bit2 of EnhanceMode.
  • During the calibration session, after each successfully processed calibration action command, the device should reset the idle timer.
  • After the timer expires: the device should exit manual calibration mode, clear bit0, and discard uncommitted temporary calibration records of this session; uncommitted records should not be persisted.
Parameters​

EnterManualCalibration Command Structure

StopPreview Command​

This command should request the device to stop the currently running effect preview and resume normal window covering operation.

Effect on Receipt​

After receiving the command, the device should stop the current preview effect and restore to the regular control state.

  • If a preview effect currently exists: terminate the preview and switch EffectOperationState back to idle or a stable state defined by the device.
  • If no preview effect currently exists: the device may return a "no active preview" semantic status, or return success as a no-op according to the implementation.

This Command has no parameters.

PreviewEffect Command​

This command should request the device to preview an effect using the provided EffectData without saving. Users can preview an effect before adding or updating a user defined effect.

Effect on Receipt​

After receiving the command, the device should validate the EffectData encoding legality and action type support.

  • On validation success: the device should enter preview state and execute the corresponding effect, without writing to persistent storage.
  • On validation failure: the device SHALL return a parameter or data format error semantic status.

During preview, EffectOperationState SHALL reflect Previewing; after completion, it SHALL return to idle or an implementation-defined state.

Parameters​

PreviewEffect Command Structure

RemoveUserDefinedEffect Command​

This command should request the device to remove an existing user defined effect. Only UserDefined type effects can be removed; BuiltIn effects cannot be removed.

Effect on Receipt​

After receiving the command, the device should validate whether EffectID exists and belongs to the UserDefined range.

  • On validation success: the device should delete the effect record and update the UserDefinedEffects list.
  • If EffectID does not exist: return a "effect not found" semantic error.
  • If the target is a BuiltIn effect: return a "non-user-defined effects cannot be deleted" semantic error.
Parameters​

RemoveUserDefinedEffect Command Structure

UpdateUserDefinedEffect Command​

This command should request the device to update an existing user defined effect. Only UserDefined type effects can be updated.

Effect on Receipt​

After receiving the command, the device should first validate the legality of EffectID and the data content.

  • On validation success: the device should update the corresponding effect data, keeping the effect ID unchanged.
  • If EffectID does not exist: return a "effect not found" semantic error.
  • If the target is a BuiltIn effect: return a "non-user-defined effects cannot be updated" semantic error.
Parameters​

UpdateUserDefinedEffect Command Structure

AddUserDefinedEffect Command​

This command should request the device to add a new user defined effect. The new effect type is UserDefined.

Effect on Receipt​

After receiving the command, the device should validate the EffectName length and the EffectData format.

  • On validation success and capacity not full: the device should allocate a new UserDefined EffectID, write the effect and update UserDefinedEffects.
  • If the current count reaches MaxUserDefinedEffects: return a "effect count has reached the upper limit" semantic error.
  • If the name or data is invalid: return a parameter error semantic status.
Parameters​

AddUserDefinedEffect Command Structure

GetEffectData Command​

This command should request the device to return the effect data of the specified EffectID. Clients can use it to read stored effect data (e.g., for display, backup or editing).

Effect on Receipt​

After receiving the command, the device should validate whether EffectID exists in the BuiltIn or UserDefined list.

  • On validation success: the device should return the corresponding EffectData.
  • On validation failure: SHALL return an "invalid scene ID" or "scene not found" semantic error.
Parameters​

GetEffectData Command Structure

StartEffect Command​

This command should request the device to start the specified window covering effect.

The target EffectID should exist in the BuiltInEffects or UserDefinedEffects list.

Effect on Receipt​

After receiving the command, the device should validate the existence and executability of the target EffectID.

  • On validation success: the device should start the corresponding effect, update CurrentEffectID to the target ID, and update EffectOperationState to executing.
  • On validation failure: return a "effect not found" or "effect invalid" semantic error.
Parameters​

StartEffect Command Structure

GoToPositionRotationPercentage Command​

The GoToPositionRotationPercentage command is used to set the target tilt position of the window covering device to the percentage value specified in the command. TargetPositionRotationPercentage should be set to RotationPercentage; after completion, CurrentPositionRotationPercentage will be set to the percentage value specified in the command.

Effect on Receipt​

After receiving the command, the device should constrain RotationPercentage within the supported range of the device and write it to TargetPositionRotationPercentage.

The device should drive the tilt movement; after reaching the target, it should update CurrentPositionRotationPercentage. If it cannot fully reach due to mechanical boundary constraints, it should stop at the reachable boundary and report the actual position.

Parameters​

GoToPositionRotationPercentage Command Structure

RotationControl Command​

This command should request the device to perform rotation control in the specified direction.

The device should perform rotation in combination with the current angle boundary, resolution and mechanical constraints, stopping at the boundary when necessary.

Parameters​

RotationControl Command Structure

StepPosition Command​

This command should request the device to perform a relative position step.

The step direction is determined by the sign of Size; the device should clip the target value within the controllable range and execute at the available resolution.

Effect on Receipt​

After receiving the command, the device should calculate the relative target position according to Size.

  • When Size > 0: step in the opening direction.
  • When Size < 0: step in the closing direction.
  • When Size = 0: the device may return a no-action success according to the implementation, or return an invalid parameter semantic error.

If Time is provided, the device should perform the transition at that duration; otherwise, execute according to the device default policy. If the calculation result exceeds the boundary, it should be clipped to the minimum/maximum reachable position.

Parameters​

StepPosition Command Structure

GoToPositionPercentage Command​

This command should request the device to move to the specified open/close percentage position.

When TransitionTime is provided, the device should try to complete the transition at the specified duration; otherwise, execute according to the device default policy.

Effect on Receipt​

After receiving the command, the device should validate and normalize PositionPercentage, and write it to TargetPositionPercentage.

The device should drive the position transition and update MotorOperationStatus during the movement; after reaching the target, it should update CurrentPositionPercentage.

When TransitionTime cannot be satisfied or the device does not support timed transitions, the device may adopt the nearest feasible policy according to implementation capability, but should not exceed the position boundary.

Parameters​

GoToPositionPercentage Command Structure

AutoControl Command​

This command should request the device to perform a product-defined automatic control action (e.g., switching between preset targets).

The specific policy is defined by the device implementation; the client can trigger it based on the current state and configuration.

This Command has no parameters.

StopMotion Command​

This command should request the device to immediately stop the current movement.

After successful execution, the device should keep the current position and update the relevant running status.

This Command has no parameters.

GoToMinPositionPercentage Command​

This command should request the device to move to the minimum open/close percentage position (usually corresponding to fully closed or the device-defined minimum endpoint).

This Command has no parameters.

GoToMaxPositionPercentage Command​

This command should request the device to move to the maximum open/close percentage position (usually corresponding to fully open or the device-defined maximum endpoint).

This Command has no parameters.

Lifter​

Introduction​

Provides travel control for lifting-type devices, supporting target position setting, stop and status query.

Function Identification​

Function IDCodeName
0x008ALifterLifter

Trait​

Trait IDCodeNameConformance
0x80A4TargetPositionPercentageTarget position percentageM
0x80A3CurrentPositionPercentageCurrent position percentageM
0x80F9TripTimeTravel timeO

Command​

Command IDCodeNameConformance
0x80AAGoToPositionPercentageGo to position percentageM
0x80A8StopMotionStopM
0x80A7GoToMinPositionPercentageGo to minimumM
0x80A6GoToMaxPositionPercentageGo to maximumM
0x80A9AutoControlAutomatic controlO

Data Types​

GoToPositionPercentage Command Structure Type​

Parameter structure of the GoToPositionPercentage Command.

Struct Member No.Field NameTypeMandatoryDescription
0PositionPercentagefloatMOpen/close ratio.
1TransitionTimeuint32OTime.

Trait Definitions​

Trait IDNameConformance
0x80A4TargetPositionPercentageM
0x80A3CurrentPositionPercentageM
0x80F9TripTimeO

TargetPositionPercentage Trait​

This Trait is used for access to and reporting of "target position percentage" data.

Trait IDCode
0x80A4TargetPositionPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

CurrentPositionPercentage Trait​

Identifies the actual position as a percentage from 0% to 100%, with a default step of 1%.

Trait IDCode
0x80A3CurrentPositionPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

TripTime Trait​

Indicates the motor travel time, i.e., the time required from fully open to fully closed (or vice versa), in seconds. Value range 1 to 300 seconds, default 1 second.

Trait IDCode
0x80F9TripTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO

Command Definitions​

Command IDNameConformance
0x80AAGoToPositionPercentageM
0x80A8StopMotionM
0x80A7GoToMinPositionPercentageM
0x80A6GoToMaxPositionPercentageM
0x80A9AutoControlO

GoToPositionPercentage Command​

This Command is used to perform the "go to position percentage" operation.

Parameters​

GoToPositionPercentage Command Structure

StopMotion Command​

This Command is used to perform the "stop" operation.

This Command has no parameters.

GoToMinPositionPercentage Command​

This Command is used to perform the "go to minimum" operation.

This Command has no parameters.

GoToMaxPositionPercentage Command​

This Command is used to perform the "go to maximum" operation.

This Command has no parameters.

AutoControl Command​

This Command is used to perform the "automatic control" operation.

This Command has no parameters.

IRControl​

Introduction​

Provides infrared transmission control capability for controlling traditional IR appliances such as air conditioners and TVs.

Function Identification​

Function IDCodeName
0x008BIRControlIR control

Trait​

Trait IDCodeNameConformance
0x80CCIRKeyIR keyM
0x80ACIRTypeIR typeM
0x5089IRRemoteIdIR remote code IDO
0x5088IRBrandIdIR brand IDO
0x506FIRCodeMatchStatusIR code match statusO
0x508AIRLearnResultIR learn resultO

Command​

Command IDCodeNameConformance
0x9D60SetIRDeviceInfoSet IR device infoO
0x80ADSendIRCodeSend IR codeO
0x9D71SendIrKeySend IR keyO

Data Types​

IRKeyEnum32 Type​

This enumeration defines the valid values of the Present Value of the IRKey Trait.

ValueNameDescription
0x00ReservedReserved
0x01PowerPower
0x02ModeMode
0x03Temp+Temp+
0x04Temp-Temp-
0x05WindSpeedWindSpeed
0x25A5P_KEYP_KEY
IRTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the IRType Trait.

ValueNameDescription
0x00AirConditionerAirConditioner
0x01TVTV
0x02FanFan
0x03TVBoxTVBox
0x04ProjectorProjector
0x05SettopBoxSettopBox
0x06DVDDVD
0x07HeaterHeater
0x08AirPurifierAirPurifier
0x09SpeakerSpeaker
0x0ALightingLighting
0x0BCameraCamera
0x0CCustomizeCustomize
IRCodeMatchStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the IRCodeMatchStatus Trait.

ValueNameDescription
0x00DefaultDefault
0x01MatchSuccessMatch success
0x02MatchFailureMatch failure
0x03RedownloadRedownload firmware
0x04DownloadSuccessCode library download success
IRLearnResultTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the IRLearnResult Trait.

Struct Member No.Field NameTypeMandatoryDescription
0didcharacterStringMDevice ID of the gateway that performed the IR learning.
1ircodecharacterStringMThe learned IR code (Base64 or Hex encoded).
2keycharacterStringMKey ID generated during the learning process.
3lenuint32MIR code length (in bits or bytes).
4successuint32MStatus code: 0 means success, non-zero means failure.
SetIRDeviceInfo Command Structure Type​

Parameter structure of the SetIRDeviceInfo Command.

Struct Member No.Field NameTypeMandatoryDescription
0BrandIduint32MBrand ID; default value 0.
1RemoteIduint32MRemote control ID; default value 0.
2ACModeuint32OAC mode; default value 0.
3ACTypeuint32OAC type; default value 0.
SendIRCode Command Structure Type​

Parameter structure of the SendIRCode Command.

Struct Member No.Field NameTypeMandatoryDescription
0Modeenum8MMode.
1BrandIduint32MBrand ID.
2RemoteIduint32MRemote control ID.
3IRCodecharacterStringOIR compressed code.
4IRCodeLengthuint16OIR raw data length.
5ACKeycharacterStringOAir conditioner status data.
6Frequencyuint32MIR transmission frequency.
SendIrKey Command Structure Type​

Parameter structure of the SendIrKey Command.

Struct Member No.Field NameTypeMandatoryDescription
0IRKeyuint32OIR key.

Trait Definitions​

Trait IDNameConformance
0x80CCIRKeyM
0x80ACIRTypeM
0x5089IRRemoteIdO
0x5088IRBrandIdO
0x506FIRCodeMatchStatusO
0x508AIRLearnResultO

IRKey Trait​

This Trait is used for access to and reporting of "IR key" data.

Trait IDCode
0x80CCIRKey
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueIRKeyEnum320WM
0x0006Supported Valuelist[IRKeyEnum32]RO
0x0007Default ValueIRKeyEnum320RWO

IRType Trait​

Defines the device type of the IR remote control.

Trait IDCode
0x80ACIRType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueIRTypeEnum80RVWM
0x0006Supported Valuelist[IRTypeEnum8]RO
0x0007Default ValueIRTypeEnum80RWO

IRRemoteId Trait​

Indicates the remote control identifier (code library ID) of the IR device.

Trait IDCode
0x5089IRRemoteId
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32O0RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint32O0RWO

IRBrandId Trait​

Indicates the brand identifier of the IR device (e.g., air conditioner, TV).

Trait IDCode
0x5088IRBrandId
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32O0RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint32O0RWO

IRCodeMatchStatus Trait​

Indicates the IR code match or code library download status. Values: 0 = Default (idle), 1 = Match success, 2 = Match failure, 3 = File needs to be redownloaded, 4 = Code library download success.

Trait IDCode
0x506FIRCodeMatchStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueIRCodeMatchStatusEnum8O0RVO
0x0006Supported Valuelist[IRCodeMatchStatusEnum8]RO
0x0007Default Valueuint8O0RWO

IRLearnResult Trait​

Reports the result of an IR code learning operation. The device publishes this result when IR code learning is completed. The value is a structure containing:

did (characterString): Device ID of the gateway that performed the learning.

ircode (characterString): The learned IR code (base64 or hex encoded).

key (characterString): Key ID generated during the learning process.

len (uint32): Length of the learned IR code (in bits or bytes).

success (uint32): Status code, 0 means success, 1 means failure (or other non-zero values indicate specific errors).

Trait IDCode
0x508AIRLearnResult
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueIRLearnResultTraitPresentValueStructureRVO

Command Definitions​

Command IDNameConformance
0x9D60SetIRDeviceInfoO
0x80ADSendIRCodeO
0x9D71SendIrKeyO

SetIRDeviceInfo Command​

This command configures IR device information, including brand ID, remote control ID, AC mode and AC type. After receiving the command, the device downloads the corresponding remote control code library. Setting all fields to 0 restores the device to the factory unconfigured state.

Parameters​

SetIRDeviceInfo Command Structure

SendIRCode Command​

This Command is used to perform the "send IR code" operation.

Parameters​

SendIRCode Command Structure

SendIrKey Command​

This command sends an IR key to control the target device (e.g., air conditioner, TV).

Parameters​

SendIrKey Command Structure

EnergyManagement​

Introduction​

EnergyManagement is used to describe the energy measurement and management capabilities of a device, including data such as voltage, current, power, energy and grid connection status.

Abbreviations and Units​

This section and related energy Functions use the following abbreviations and units. When first reading the energy data definitions, you may refer to this table first.

Abbreviation/UnitFull English NameChinese Description
PCCPoint of Common CouplingPoint of common coupling; the metering boundary connecting the user's energy system to the public grid.
PCSPower Conversion SystemPower conversion system; equipment that converts electric energy between the battery DC side and the AC system.
BMSBattery Management SystemBattery management system; monitors and manages battery status and operating boundaries.
SOCState of ChargeState of charge; the percentage of currently available charge of the battery.
SOHState of HealthState of health; describes the performance/capacity health of the battery relative to its initial state.
ACAlternating CurrentAlternating current.
DCDirect CurrentDirect current.
WwattWatt, unit of power.
kWkilowattKilowatt, unit of power; 1 kW = 1000 W.
W·hwatt-hourWatt-hour, unit of energy.
kWhkilowatt-hourKilowatt-hour, unit of energy; 1 kWh = 1000 W·h.
UTCCoordinated Universal TimeCoordinated Universal Time; timestamps in this specification are expressed in UTC Unix epoch milliseconds.
Unix epochUnix epoch timeUnix time epoch; the cumulative time since 1970-01-01T00:00:00Z.

Energy Data Model Usage Guide​

This section explains common concepts and their boundaries in energy data, helping implementers select Functions and Traits based on the actual metering position of the device. Whether energy data is comparable first depends on whether the measurement boundary, direction convention and statistics period are consistent; having the same unit alone does not mean the data has the same meaning.

Basic Concepts​

ConceptMeaningCommon UnitDescription
PowerThe rate at which energy is transferred or consumed at a given momentW / kWInstantaneous measurement; energy is obtained by integrating power over time.
EnergyEnergy transferred or consumed over a period of timeWh / kWhCumulative energy is usually a non-negative counter; import and export should be accumulated separately and should not cancel each other out.
ImportEnergy flows from the grid to the user sideW / WhImport power/energy at the point of common coupling, used to represent electricity purchased from the grid.
ExportEnergy flows from the user side to the gridW / WhExport power/energy at the point of common coupling, used to represent electricity fed back to the grid.
GenerationElectric energy output by generating equipmentW / WhThe total PV generation includes on-site self-consumption and grid export; it is not equal to the energy fed back to the grid.
Charge/DischargeEnergy flowing into/out of the storage battery respectivelyW / WhShould be metered separately at the battery-side boundary; charge and discharge use independent non-negative values.
SOCThe percentage of the battery's currently available state of charge%Estimated or measured by the battery management system; not equivalent to the remaining battery power attribute.
DemandAverage power over a specified integration periodW / kWMaximum demand is the maximum of the average power of each demand interval in a billing period, not the instantaneous power peak.

Estimation of Currently Available Stored Energy​

EnergyStorage/StoredEnergy should give priority to using the effective value directly reported by the device. Consumers may estimate the currently available energy only when the EnergyStorage/StateOfCharge of the same battery is a trusted, valid and sufficiently fresh value, and EnergyStorage/UsableEnergyCapacity is currently valid:

Currently available energy = UsableEnergyCapacity × StateOfCharge / 100

Here, 0% and 100% of SOC correspond to the usable discharge lower limit and charge upper limit configured by the BMS, so SOC should not be normalized again by the optional SOC lower/upper limit parameters. Rated capacity, SOH, power limits or missing parameters cannot replace a trusted SOC or usable capacity; when any input is missing, invalid, expired or semantically unclear, the result must not be calculated or falsely reported as 0. RatedEnergyCapacity, UsableEnergyCapacity, SOC allowed range, maximum charge/discharge power and SOH are all optional information by default.

Measurement Boundary and Direction​

At the PCC, import means electric energy enters the user side from the grid, and export means electric energy is sent from the user side to the grid. CurrentForwardTotalActiveEnergy and CurrentReverseTotalActiveEnergy represent import cumulative energy and export cumulative energy respectively in meter/PCC scenarios; both are non-negative cumulative values.

Device-side data must be interpreted using the physical boundary of that device:

  • PV generation represents the total generation on the AC output side of the inverter; the export energy at the PCC only represents the part fed into the grid and cannot replace the total generation.
  • Storage charge/discharge energy and power use the battery DC terminal as the boundary; the import/export energy of the meter uses the grid AC PCC as the boundary. There are PCS conversion losses between the two boundaries, which cannot be directly treated as equal.
  • For storage devices, in EnergyStorage, charging power/energy means energy flowing into the battery, and discharging power/energy means energy flowing out of the battery. Itemized power and energy are all non-negative values.
  • ElectricityMetering/GridActivePower uses a signed value: a positive value means flowing from the upstream power source to the user side (purchasing at the PCC), a negative value means reverse flow (feeding back at the PCC).

Unsigned import, export, generation, charge and discharge cumulative values are counted separately, avoiding loss of direction information from netting. Before comparing or summing cumulative values across devices, you must confirm that the measurement boundary, multiplier, unit, counter reset/rollover handling and statistics time range are consistent.

Cumulative Values and Counter Generations​

A cumulative value represents the non-negative total since the metering start. The same device endpoint, Function, Trait, metering boundary and counter field constitute a counter identity. Implementations must guarantee that logical cumulative values are monotonically non-decreasing; device restart, network reconnection or software upgrade must not cause readings to roll back. Implementations that can guarantee continuity of logical cumulative values may omit the counter generation.

When an implementation cannot guarantee continuity of logical cumulative values and requires consumers to compute precise differences, it must provide a Counter Generation Parameter (Parameter ID 0x0010, Uint32) on the corresponding cumulative Trait; this Parameter is at the same level as Trait Parameters such as Present Value, Minimum Value and Maximum Value, and is not required by default. The initial generation is 0; when the counter is reset, an uncompensable rollover, or a replacement of the underlying meter causes the cumulative reading to restart, the device must first increment the generation, then publish the new reading. The generation must be persisted and must not roll back; before reaching 4294967295, a new device endpoint/counter identity must be established, and wrap-around is not allowed. The reading and the generation must come from the same consistency snapshot. If the device can maintain the logical cumulative value losslessly after replacing the underlying meter or counter rollover, it may continue to use the same generation or omit the generation.

Maximum Value represents the upper limit of the Trait numeric range and does not automatically represent the hardware rollover modulus. The device should first compensate for identifiable hardware rollover to maintain the logical cumulative value; when lossless compensation is impossible and precise differences are required, increment the generation and re-establish the baseline according to the rules below.

Consumers compute the difference only when the counter identity is the same and the new reading is not less than the old reading: delta = newValue - oldValue. If a generation is provided, the consumer must also confirm that the old and new generations are the same; when the generation changes, the difference for that sampling interval is unknown, and the consumer should establish a baseline with the new reading instead of treating it as consumption for that interval. If the generation is unchanged but the reading decreases, it is invalid/inconsistent data and must not be silently corrected as a reset or rollover. When no generation is provided and the reading decreases, the consumer cannot determine whether it is a reset, rollover or anomaly, and should mark the difference as unavailable and establish a baseline with the new reading. The first reading only establishes a baseline unless there is another reliable metering start.

When a cumulative value is a member of a structure list, each independent counter may carry CounterGeneration in the corresponding data item; the counter identity also includes the stable list key (e.g., circuit number, tariff register number) and cumulative direction. This field is only required when the implementation cannot guarantee continuity of logical cumulative values and precise differences are required. When the source protocol does not provide a generation, the adapter may generate a generation only when it can reliably identify reset/meter replacement events; a decrease in reading alone cannot distinguish between reset, rollover and abnormal values. When it cannot be identified, the difference must be marked unavailable and a baseline re-established, without fabricating precise increments.

Function Selection Guide​

Device/UsageRecommended FunctionPrimary DataConcepts That Should Not Be Confused
General electrical parameters or power-consuming equipmentEnergyManagementVoltage, current, power, cumulative energy consumptionThe CumulativeEnergyConsumption in this Function represents consumption, not generation.
PV inverter/generating equipmentEnergyManagementGeneratedActivePower, CumulativeGeneratedActiveEnergyTotal generation is different from the PCC export energy; self-consumed energy is not counted in the export register.
Battery energy storage systemEnergyManagement + EnergyStorageGrid/device electrical parameters, as well as SOC, capacity, charge/discharge, SOHPowerSource/BatPercentRemaining is the remaining battery power of the device power supply, not the SOC of the storage system.
Electricity meter/PCC metering deviceEnergyManagement + ElectricityMeteringImport/export energy, directional grid power, demand, time-of-use registersThe meter measurement position and time/tariff configuration determine the data meaning; not equivalent to PV generation metering.

Common Energy Flow Examples​

In a residential PV storage system, the PCC meter reports the import energy purchased from the grid and the export energy sent to the grid; the PV inverter reports the total PV generation; the battery management system reports the battery-side SOC, cumulative charge energy and cumulative discharge energy. The load consumption of the user side can be reported by a dedicated load meter, or inferred from other metering values when the measurement boundary, time synchronization and conversion losses are all clear. Data from different devices cannot simply be subtracted/added by value to derive unmeasured quantities.

Function Identification​

Function IDCodeName
0x008CEnergyManagementEnergy management

Trait​

Trait IDCodeConformance
0x8141PowerModeO
0x4EABConfiguredLoadVoltageO
0x80B1CurrentPowerO
0x80B0CurrentVoltageO
0x4E80ConfiguredLoadPowerO
0x4E3DCircuitCurrentO
0x80B2CumulativeEnergyConsumptionO
0x51B0PhaseAVoltageO
0x51B1PhaseBVoltageO
0x51B2PhaseCVoltageO
0x51B3CurrentForwardTotalActiveEnergyO
0x51B4CurrentReverseTotalActiveEnergyO
0x51B5PhaseACurrentO
0x51B6PhaseBCurrentO
0x51B7PhaseCCurrentO
0x51B8FrequencyO
0x51B9TotalActivePowerO
0x51BATotalReactivePowerO
0x51BBTotalApparentPowerO
0x51BCPowerFactorO
0x51F7CumulativeGeneratedActiveEnergyO
0x51F8GeneratedActivePowerO
0x5232SystemInterconnectionStatusO

Command​

This Function does not contain Commands.

Data Types​

PowerModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the PowerMode Trait.

ValueNameDescription
0x00UnknownUnknown
0x01MainsMains
0x02BatteryBattery
0x03DCSourceDC power
0x04ACSourceAC power
SystemInterconnectionStatusEnum8 Type​

This enumeration represents the grid connection state of the energy device. Currently, the islanding operation value is defined; other values should be added after the semantics and interoperability rules are clarified.

ValueNameDescription
0x00IndependentIslanding operation

Trait Definitions​

Trait IDNameConformance
0x8141PowerModeO
0x4EABConfiguredLoadVoltageO
0x80B1CurrentPowerO
0x80B0CurrentVoltageO
0x4E80ConfiguredLoadPowerO
0x4E3DCircuitCurrentO
0x80B2CumulativeEnergyConsumptionO
0x51B0PhaseAVoltageO
0x51B1PhaseBVoltageO
0x51B2PhaseCVoltageO
0x51B3CurrentForwardTotalActiveEnergyO
0x51B4CurrentReverseTotalActiveEnergyO
0x51B5PhaseACurrentO
0x51B6PhaseBCurrentO
0x51B7PhaseCCurrentO
0x51B8FrequencyO
0x51B9TotalActivePowerO
0x51BATotalReactivePowerO
0x51BBTotalApparentPowerO
0x51BCPowerFactorO
0x51F7CumulativeGeneratedActiveEnergyO
0x51F8GeneratedActivePowerO
0x5232SystemInterconnectionStatusO

PowerMode Trait​

Indicates the power supply mode of the device.

Trait IDCode
0x8141PowerMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePowerModeEnum80RVO
0x0006Supported Valuelist[PowerModeEnum8]RO

ConfiguredLoadVoltage Trait​

The load voltage value configured for device operation (unit: volts), overriding the internal measurement after initialization.

Trait IDCode
0x4EABConfiguredLoadVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat500.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

CurrentPower Trait​

Indicates the current real-time power consumption. Unit: watt (W).

Trait IDCode
0x80B1CurrentPower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat5000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO

CurrentVoltage Trait​

Indicates the currently measured power supply voltage value. Unit: volt (V).

Trait IDCode
0x80B0CurrentVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat500.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO

ConfiguredLoadPower Trait​

The externally configured active power value (watts); the device should use it as the load power after initial setup. Unit: W.

Trait IDCode
0x4E80ConfiguredLoadPower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat5000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

CircuitCurrent Trait​

The current flowing through a specific circuit or circuit section, usually used to measure the current load. Unit: A.

Trait IDCode
0x4E3DCircuitCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default Valuefloat0RWO

CumulativeEnergyConsumption Trait​

This Trait is used for access to and reporting of "cumulative energy consumption" data. Unit: W·h.

Trait IDCode
0x80B2CumulativeEnergyConsumption
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat1.0E8RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO

CumulativeGeneratedActiveEnergy Trait​

Cumulative generation energy represents the cumulative active energy output by the generating equipment within the current counter generation. For PV devices, the metering boundary is the AC output side of the inverter, including generation for on-site self-consumption, storage charging and grid export; it is not the PCC export energy. This value is a non-negative cumulative counter, unit W·h. Device restart must not clear the reading or generation; when counter reset, uncompensable rollover or meter replacement causes the count to restart, the Counter Generation must be incremented.

Trait IDCode
0x51F7CumulativeGeneratedActiveEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·h0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

GeneratedActivePower Trait​

Generation power represents the active power currently output by the generating equipment. For PV devices, the metering boundary is the AC output side of the inverter; this value does not include the PCC net power direction, unit W. Report 0 when there is no generation or the device is in standby.

Trait IDCode
0x51F8GeneratedActivePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-5000000 W0RVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

PhaseAVoltage Trait​

Represents the real-time voltage of phase A in a three-phase power supply system, used to determine whether the phase power supply is stable and whether there are undervoltage, overvoltage or phase imbalance issues. Unit: V.

Trait IDCode
0x51B0PhaseAVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat220RVO
0x0002Maximum Valuefloat500.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat220RWO

PhaseBVoltage Trait​

Represents the real-time voltage of phase B in a three-phase power supply system, used to determine the phase power supply stability and voltage anomalies. Unit: V.

Trait IDCode
0x51B1PhaseBVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat220RVO
0x0002Maximum Valuefloat500.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat220RWO

PhaseCVoltage Trait​

Represents the real-time voltage of phase C in a three-phase power supply system, used to determine the phase power supply stability and voltage anomalies. Unit: V.

Trait IDCode
0x51B2PhaseCVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat220RVO
0x0002Maximum Valuefloat500.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat220RWO

CurrentForwardTotalActiveEnergy Trait​

Represents the cumulative active energy obtained forward from the grid by the device, commonly used for statistics of actual power consumption, energy analysis and billing settlement. Unit: W·h.

In a PCC meter scenario, the forward direction is defined as flowing from the grid to the user side (import/purchase), and this value is a non-negative cumulative value. Other measurement boundaries must clarify the forward meaning in the corresponding device/Function definitions, and must not infer generation or storage charging from the Forward name alone.

Trait IDCode
0x51B3CurrentForwardTotalActiveEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat100000000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

CurrentReverseTotalActiveEnergy Trait​

Represents the cumulative active energy fed back to the grid by the device, commonly used for analyzing feedback energy, grid-connected operation and energy recovery. Unit: W·h.

In a PCC meter scenario, the reverse direction is defined as flowing from the user side to the grid (export/feed-in), and this value is a non-negative cumulative value. This value is not equal to the total generation of the generating equipment; other measurement boundaries must clarify the reverse meaning in the corresponding device/Function definitions.

Trait IDCode
0x51B4CurrentReverseTotalActiveEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat100000000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

PhaseACurrent Trait​

Represents the real-time current of phase A in a three-phase power supply system, used to determine the phase load size, running current status and whether there is an overload risk.

Trait IDCode
0x51B5PhaseACurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default Valuefloat0RWO

PhaseBCurrent Trait​

Represents the real-time current of phase B in a three-phase power supply system, used to determine the phase load size and whether there is phase imbalance among the three phases. Unit: A.

Trait IDCode
0x51B6PhaseBCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default Valuefloat0RWO

PhaseCCurrent Trait​

Represents the real-time current of phase C in a three-phase power supply system, used to determine the phase load size and whether there is phase imbalance among the three phases. Unit: A.

Trait IDCode
0x51B7PhaseCCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default Valuefloat0RWO

Frequency Trait​

Represents the real-time frequency of the AC power supply system, used to determine whether the grid operation is stable and whether there are frequency fluctuations or supply anomalies. Unit: Hz.

Trait IDCode
0x51B8Frequency
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat50RWO

TotalActivePower Trait​

Represents the total active power actually being done by the device, an important indicator reflecting the real load level, energy consumption state and operating intensity. Unit: W.

Trait IDCode
0x51B9TotalActivePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat5000000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

TotalReactivePower Trait​

Represents the total reactive power of the device, used to evaluate reactive power compensation requirements, power quality levels and power supply/distribution operation status. Unit: kvar.

Trait IDCode
0x51BATotalReactivePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat5000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

TotalApparentPower Trait​

Represents the total apparent power of the device, i.e., the combined power formed by voltage and current, used together with active power and power factor to analyze load characteristics. Unit: kVA.

Trait IDCode
0x51BBTotalApparentPower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat5000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

PowerFactor Trait​

Represents the ratio of active power to apparent power in an AC circuit, used to measure how effectively electric energy is utilized. The closer the value is to 1, the smaller the reactive loss; commonly used in distribution monitoring, energy efficiency evaluation and operation analysis.

Trait IDCode
0x51BCPowerFactor
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVO
0x0002Maximum Valuefloat1.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat1RWO

SystemInterconnectionStatus Trait​

The system grid connection state represents the current grid connection operation mode of the energy device; currently the islanding operation state is defined, and other states will be added after the semantics and interoperability rules are clarified.

Trait IDCode
0x5232SystemInterconnectionStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSystemInterconnectionStatusEnum80No fixed default valueRVO

Command Definitions​

This Function does not contain any Commands.

HeaterCooler (Heating/Cooling Control Function)​

Introduction​

Provides heating/cooling control capabilities, including HVAC parameters such as target temperature, operating mode, and fan speed.

Function Identifier​

Function IDCodeName
0x008DHeaterCoolerHeating/cooling control function

Trait​

Trait IDCodeNameConformance
0x80B3HeaterCoolerModeHeating/cooling modeM
0x80B8CurrentTemperatureTemperatureO
0x5050TRVValvePositionValve openingO
0x504FSummerModeSummer cooling modeO
0x5045SchedulesSmart scheduleO
0x5044ActiveScheduleHandleCurrent schedule handleO
0x5043NumberOfScheduleTransitionPerDayNumber of schedule transitions per dayO
0x5042NumberOfScheduleTransitionsNumber of schedule transitionsO
0x5041NumberOfSchedulesNumber of schedulesO
0x5040ScheduleTypesSchedule typesO
0x4EF2PresetPresetO
0x4EF1ActivePresetHandleActive preset handleO
0x4EF0NumberOfPresetsNumber of presetsO
0x4EEFPresetTypesPreset typesO
0x4EC4AntiFreezeTemperatureAnti-freeze temperatureO
0x4E82HeaterCoolerPolarityThermostat polarityO
0x4E81HeaterCoolerButtonEventThermostat button eventO
0x4E6CSetBackSetbackO
0x4E37TemperatureUIDisplayModeTemperature UI display modeO
0x8144MinHeatCoolDeadBandMinimum heat/cool dead bandO
0x80B9CurrentHumidityHumidityO
0x80B5CoolingTemperatureCooling temperatureO
0x80B4HeatingTemperatureHeating temperatureO
0x4E5BSetTemperatureSet temperatureO
0x5154AcPreheatStatusAC preheat statusO
0x5156FilterCleanRequiredFilter clean requiredO
0x5157AcPumpStatusAC pump statusO
0x5158HvacCommStatusHVAC communication statusO
0x5159AntifreezeModeEnableAnti-freeze mode enableO
0x515AFloorHeatingBrandFloor heating brandO
0x515BQuickCoolEnableQuick cool switchO
0x515FThermostatBaseTypeThermostat base typeO
0x5160AcSelfCleaningEnableAC self-cleaning switchO
0x5161AcErrorCodeAC error codeO
0x5164AcBrandAC brandO
0x5165DefrostStatusDefrost statusO
0x5167FloorHeatingErrorCodeFloor heating error codeO
0x5168AntifreezeStatusAnti-freeze protection statusO
0x518EOpenWindowAlarmOpen window alarmO
0x518FEnableOpenWindowDetectionOpen window detection enableO
0x5190OpenWindowTemperatureControlPauseDurationOpen window temperature control pause durationO

Command​

Command IDCodeNameConformance
0x9D65SetHvacSet HVACO
0x9D40SetActiveScheduleSet active scheduleO
0x9C72ClearActivePresetClear active presetO
0x9C71SetActivePresetSet active presetO
0x9DB1ClearOpenWindowAlarmClear open window alarmO

Data Types​

HeaterCoolerModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the HeaterCoolerMode Trait.

ValueNameDescription
0x00CoolCooling
0x01HeatHeating
0x02AutoAuto
0x03FanFan only
0x04DryDehumidify
0x05SleepSleep
0x06FreshAirFresh air
0x07FloorHeatFloor heating
0x08HeatandFloorHeatStrong heat
0x09FloorHeatandFreshAirFloor heating + fresh air
0x0AEmergencyHeatQuick heat
0x0BPrecoolingPre-cool
0x0COffOff
0x0DManualManual
0x0EAntiFreezeAnti-freeze
SchedulesTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the Schedules Trait.

Struct Member No.Field NameTypeMandatoryDescription
0ScheduleHandlecharacterStringOSchedule handle; null when creating a new schedule.
1SystemModeenum8MSystem mode.
2Transitionslist[Struct]MSchedule transition list (ScheduleTransitionStruct).
3BuiltInbooleanMWhether it is a built-in schedule.
ScheduleTypesTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ScheduleTypes Trait.

Struct Member No.Field NameTypeMandatoryDescription
0SystemModeenum8MSystem mode (consistent with the HeaterCoolerMode enumeration).
1NumberOfSchedulesuint8MNumber of schedules supported in this mode.
2ScheduleTypeFeaturesuint8MSchedule type capability bitmap.
PresetTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the Preset Trait.

Struct Member No.Field NameTypeMandatoryDescription
0PresetHandlecharacterStringMPreset handle.
1PresetScenarioenum8MPreset scenario: 1=Occupied, 2=Unoccupied, 3=Sleep, 4=Wake, 5=Vacation, 6=GoingToSleep; 7-254=Reserved.
2NamecharacterStringOPreset name; omitted if null.
3CoolingSetpointfloatOCooling set temperature, default 26.
4HeatingSetpointfloatOHeating set temperature, default 20.
5BuiltInbooleanMWhether it is a built-in preset, default false.
HeaterCoolerPolarityEnum8 Type​

This enumeration defines the valid values of the Present Value of the HeaterCoolerPolarity Trait.

ValueNameDescription
0x00ForwardForward (heating)
0x01ReverseReverse (cooling)
0x02BidirectionalBidirectional
HeaterCoolerButtonEventEnum8 Type​

This enumeration defines the valid values of the Present Value of the HeaterCoolerButtonEvent Trait.

ValueNameDescription
0x00PowerShortPressPower short press
0x01FanSpeedShortPressFan speed short press
0x02TempUpShortPressTemperature + short press
0x03TempDownShortPressTemperature - short press
0x04ModeShortPressMode short press
0x10PowerMidPressPower medium press
0x11FanSpeedMidPressFan speed medium press
0x12TempUpMidPressTemperature + medium press
0x13TempDownMidPressTemperature - medium press
0x14ModeMidPressMode medium press
0x30PowerLongPressPower long press
0x31FanSpeedLongPressFan speed long press
0x32TempUpLongPressTemperature + long press
0x33TempDownLongPressTemperature - long press
0x34ModeLongPressMode long press
TemperatureUIDisplayModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the TemperatureUIDisplayMode Trait.

ValueNameDescription
0x00CelsiusCelsius
0x01FahrenheitFahrenheit
AcPumpStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the AcPumpStatus Trait.

ValueNameDescription
0x00OffOff
0x01OnOn
HvacCommStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the HvacCommStatus Trait.

ValueNameDescription
0x00AbnormalCommunication abnormal
0x01NormalCommunication normal
ThermostatBaseTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the ThermostatBaseType Trait.

ValueNameDescription
0x00UnknownUnknown
0x01FreonFluorine system version
0x02WaterWater system version
DefrostStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the DefrostStatus Trait.

ValueNameDescription
0x00NoNo
0x01YesDefrosting
AntifreezeStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the AntifreezeStatus Trait.

ValueNameDescription
0x00InactiveNot in anti-freeze protection
0x01ActiveIn anti-freeze protection
OpenWindowAlarmEnum8 Type​

This enumeration defines the valid values of the Present Value of the OpenWindowAlarm Trait.

ValueNameDescription
0x00NoAlarmNo open window alarm
0x01InternalOpenWindowAlarmOpen window alarm detected by built-in probe
0x02ExternalOpenWindowAlarmOpen window alarm detected by external sensor
SetHvac Command Structure Type​

Parameter structure of the SetHvac Command.

Struct Member No.Field NameTypeMandatoryDescription
0Powerenum8OPower switch; default value 0.
1Modeenum8OMode; default value 0.
2TemperaturefloatOSet temperature; default value 26.
3FanSpeedenum8OFan speed; default value 0.
4SwingDirectionenum8OAir direction; default value 0.
5LightSwitchenum8OLight switch; default value 0.
SetActiveSchedule Command Structure Type​

Parameter structure of the SetActiveSchedule Command.

Struct Member No.Field NameTypeMandatoryDescription
0ScheduleHandlecharacterStringMSchedule handle.
SetActivePreset Command Structure Type​

Parameter structure of the SetActivePreset Command.

Struct Member No.Field NameTypeMandatoryDescription
0PresetHandlecharacterStringMPreset operation.

Trait Definitions​

Trait IDNameConformance
0x80B3HeaterCoolerModeM
0x80B8CurrentTemperatureO
0x5050TRVValvePositionO
0x504FSummerModeO
0x5045SchedulesO
0x5044ActiveScheduleHandleO
0x5043NumberOfScheduleTransitionPerDayO
0x5042NumberOfScheduleTransitionsO
0x5041NumberOfSchedulesO
0x5040ScheduleTypesO
0x4EF2PresetO
0x4EF1ActivePresetHandleO
0x4EF0NumberOfPresetsO
0x4EEFPresetTypesO
0x4EC4AntiFreezeTemperatureO
0x4E82HeaterCoolerPolarityO
0x4E81HeaterCoolerButtonEventO
0x4E6CSetBackO
0x4E37TemperatureUIDisplayModeO
0x8144MinHeatCoolDeadBandO
0x80B9CurrentHumidityO
0x80B5CoolingTemperatureO
0x80B4HeatingTemperatureO
0x4E5BSetTemperatureO
0x5154AcPreheatStatusO
0x5156FilterCleanRequiredO
0x5157AcPumpStatusO
0x5158HvacCommStatusO
0x5159AntifreezeModeEnableO
0x515AFloorHeatingBrandO
0x515BQuickCoolEnableO
0x515FThermostatBaseTypeO
0x5160AcSelfCleaningEnableO
0x5161AcErrorCodeO
0x5164AcBrandO
0x5165DefrostStatusO
0x5167FloorHeatingErrorCodeO
0x5168AntifreezeStatusO
0x518EOpenWindowAlarmO
0x518FEnableOpenWindowDetectionO
0x5190OpenWindowTemperatureControlPauseDurationO

HeaterCoolerMode Trait​

This Trait is used for access to and reporting of "heater/cooler mode" data.

Trait IDCode
0x80B3HeaterCoolerMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHeaterCoolerModeEnum80RVWM
0x0006Supported Valuelist[HeaterCoolerModeEnum8]RO
0x0007Default ValueHeaterCoolerModeEnum80RWO

CurrentTemperature Trait​

Indicates the current temperature. Unit: deg C.

Trait IDCode
0x80B8CurrentTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat26RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat26RWO

TRVValvePosition Trait​

This Trait is used for access to and reporting of "valve position" data. Unit: %.

Trait IDCode
0x5050TRVValvePosition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

SummerMode Trait​

This Trait is used for access to and reporting of "summer mode" data.

Trait IDCode
0x504FSummerMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Schedules Trait​

This Trait is used for access to and reporting of "smart schedule" data.

Trait IDCode
0x5045Schedules
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[SchedulesTraitPresentValueStructure]RVWO

ActiveScheduleHandle Trait​

This Trait is used for access to and reporting of "current schedule handle" data.

Trait IDCode
0x5044ActiveScheduleHandle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

NumberOfScheduleTransitionPerDay Trait​

This Trait is used for access to and reporting of "number of schedule transitions per day" data.

Trait IDCode
0x5043NumberOfScheduleTransitionPerDay
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

NumberOfScheduleTransitions Trait​

This Trait is used for access to and reporting of "number of schedule transitions" data.

Trait IDCode
0x5042NumberOfScheduleTransitions
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

NumberOfSchedules Trait​

This Trait is used for access to and reporting of "number of schedules" data.

Trait IDCode
0x5041NumberOfSchedules
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

ScheduleTypes Trait​

This Trait is used for access to and reporting of "schedule types" data.

Trait IDCode
0x5040ScheduleTypes
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[ScheduleTypesTraitPresentValueStructure]RVO

Preset Trait​

This Trait is used for access to and reporting of "preset" data.

Trait IDCode
0x4EF2Preset
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[PresetTraitPresentValueStructure]RVWO

ActivePresetHandle Trait​

This Trait is used for access to and reporting of "active preset handle" data.

Trait IDCode
0x4EF1ActivePresetHandle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringnullRVWO
0x0007Default ValuecharacterStringnullRWO

NumberOfPresets Trait​

This Trait is used for access to and reporting of "number of presets" data.

Trait IDCode
0x4EF0NumberOfPresets
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0007Default Valueuint80RWO

PresetTypes Trait​

This Trait is used for access to and reporting of "preset types" data.

Trait IDCode
0x4EEFPresetTypes
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVWO

AntiFreezeTemperature Trait​

The anti-freeze protection temperature setting usually refers to the threshold that triggers the anti-freeze mechanism (e.g., 5 degC).

Trait IDCode
0x4EC4AntiFreezeTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat5RVWO
0x0002Maximum Valuefloat15.0RO
0x0003Minimum Valuefloat5.0RO
0x0005Step Valuefloat0.5RO
0x0007Default Valuefloat5RWO

HeaterCoolerPolarity Trait​

Specifies the polarity configuration, used to determine whether the system controls cooling or heating.

Trait IDCode
0x4E82HeaterCoolerPolarity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHeaterCoolerPolarityEnum82RVWO
0x0006Supported Valuelist[HeaterCoolerPolarityEnum8]RO
0x0007Default Valueuint82RWO

HeaterCoolerButtonEvent Trait​

Events triggered by button interactions on the thermostat or climate control device.

Trait IDCode
0x4E81HeaterCoolerButtonEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHeaterCoolerButtonEventEnum80RVO
0x0006Supported Valuelist[HeaterCoolerButtonEventEnum8]RO

SetBack Trait​

Represents the thermostat temperature setback range. Unit: deg C.

Trait IDCode
0x4E6CSetBack
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat25.5RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

TemperatureUIDisplayMode Trait​

This feature should specify the unit used by the built-in screen of the thermostat to display temperature.

Trait IDCode
0x4E37TemperatureUIDisplayMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTemperatureUIDisplayModeEnum80RVWO
0x0006Supported Valuelist[TemperatureUIDisplayModeEnum8]RO
0x0007Default Valueuint80RWO

MinHeatCoolDeadBand Trait​

Indicates the minimum difference between heating and cooling temperatures in auto mode. Unit: deg C.

Trait IDCode
0x8144MinHeatCoolDeadBand
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat2RVWO
0x0002Maximum Valuefloat2.5RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat2RWO

CurrentHumidity Trait​

This Trait is used for access to and reporting of "humidity" data. Unit: %.

Trait IDCode
0x80B9CurrentHumidity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

CoolingTemperature Trait​

Indicates the cooling temperature. Unit: deg C.

Trait IDCode
0x80B5CoolingTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat26RVWO
0x0002Maximum Valuefloat32.0RO
0x0003Minimum Valuefloat16.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat26RWO

HeatingTemperature Trait​

Indicates the heating temperature. Unit: deg C.

Trait IDCode
0x80B4HeatingTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat18RVWO
0x0002Maximum Valuefloat30.0RO
0x0003Minimum Valuefloat5.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat18RWO

SetTemperature Trait​

SetTemperature allows the user to specify and adjust the target temperature of the device or system. Unit: deg C.

Trait IDCode
0x4E5BSetTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat20RVWO
0x0002Maximum Valuefloat32RO
0x0003Minimum Valuefloat5RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat20RWO

AcPreheatStatus Trait​

Indicates whether the air conditioner is currently in the preheat state. A value of 0 means no (not preheating), 1 means yes (preheating).

Trait IDCode
0x5154AcPreheatStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO
0x0007Default Valueboolean0RWO

FilterCleanRequired Trait​

Indicates whether the air conditioner filter needs cleaning. A value of 0 means no cleaning required, 1 means cleaning required.

Trait IDCode
0x5156FilterCleanRequired
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO
0x0007Default Valueboolean0RWO

AcPumpStatus Trait​

Indicates the current running status of the air conditioner water pump. A value of 1 means the pump is on (working), 0 means the pump is off (stopped).

Trait IDCode
0x5157AcPumpStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAcPumpStatusEnum80RVO
0x0006Supported Valuelist[AcPumpStatusEnum8]RO
0x0007Default ValueAcPumpStatusEnum80RWO

HvacCommStatus Trait​

Indicates whether the communication link between the HVAC equipment (such as air conditioner, fresh air system) and the controller (thermostat or gateway) is normal. A value of 0 indicates abnormal communication, in which case control operations cannot be performed; a value of 1 indicates normal communication, and control commands can be sent normally.

Trait IDCode
0x5158HvacCommStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHvacCommStatusEnum81RVO
0x0006Supported Valuelist[HvacCommStatusEnum8]RO
0x0007Default ValueHvacCommStatusEnum81RWO

AntifreezeModeEnable Trait​

Used to enable or disable the anti-freeze mode of the device. When enabled, the device starts the anti-freeze protection mechanism (such as maintaining a minimum temperature or circulating water) to prevent pipes or components from freezing and being damaged by low temperature.

Trait IDCode
0x5159AntifreezeModeEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

FloorHeatingBrand Trait​

Indicates the brand name of the floor heating system connected to the current thermostat. This value is a readable text string.

Trait IDCode
0x515AFloorHeatingBrand
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

QuickCoolEnable Trait​

Used to start or stop the quick cool (fast cooling) function of the air conditioner. When enabled (value 1), the air conditioner operates at maximum cooling capacity to quickly lower the room temperature. When stopped (value 0), the quick cool function exits and the device returns to normal cooling mode. This Trait can be used both to send control commands (write) and to report the current quick cool status (report).

Trait IDCode
0x515BQuickCoolEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ThermostatBaseType Trait​

Indicates the base type of the thermostat. A value of 0 means unknown, 1 means fluorine system version (refrigerant system), 2 means water system version (water system).

Trait IDCode
0x515FThermostatBaseType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueThermostatBaseTypeEnum80RVO
0x0006Supported Valuelist[ThermostatBaseTypeEnum8]RO

AcSelfCleaningEnable Trait​

Used to enable or disable the self-cleaning function of the air conditioner. This function can only be enabled when the air conditioner is powered off and the device supports self-cleaning. When enabled (value 1), the air conditioner performs the self-cleaning process (such as drying, sterilization) to keep the interior clean.

Trait IDCode
0x5160AcSelfCleaningEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AcErrorCode Trait​

Indicates the fault code of the air conditioner device, used to diagnose abnormal operation. This value is a readable text string.

Trait IDCode
0x5161AcErrorCode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

AcBrand Trait​

Indicates the brand name of the air conditioner device connected to the thermostat. This value is a readable text string.

Trait IDCode
0x5164AcBrand
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

DefrostStatus Trait​

Indicates whether the device is currently performing a defrost operation. A value of 0 means not defrosting, 1 means defrosting.

Trait IDCode
0x5165DefrostStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDefrostStatusEnum80RVO
0x0006Supported Valuelist[DefrostStatusEnum8]RO

FloorHeatingErrorCode Trait​

Indicates the fault code of the floor heating device, used to diagnose abnormal operation. This value is a readable text string.

Trait IDCode
0x5167FloorHeatingErrorCode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

AntifreezeStatus Trait​

Indicates whether the thermostat is currently in the anti-freeze protection state. When in anti-freeze protection, the device takes corresponding measures to prevent freezing damage.

Trait IDCode
0x5168AntifreezeStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAntifreezeStatusEnum80RVO
0x0006Supported Valuelist[AntifreezeStatusEnum8]RO
0x0007Default ValueAntifreezeStatusEnum80RWO

OpenWindowAlarm Trait​

Indicates the current open window alarm state of the thermostat.

When open window detection is enabled (EnableOpenWindowDetection is true) and an open window is detected, the thermostat sets this Trait to internal probe alarm (Internal open window alarm) or external sensor alarm (External open window alarm) and pauses temperature control. If OpenWindowTemperatureControlPauseDuration is supported, the thermostat pauses temperature control for the specified duration unless the alarm is cleared in advance; if not supported, the pause duration is determined by the specific device implementation.

When the open window condition is resolved or the alarm is successfully cleared via ClearOpenWindowAlarmReq, the thermostat sets this Trait to no alarm (No alarm) and immediately resumes temperature control. When open window detection is disabled (EnableOpenWindowDetection is false), the thermostat may set this Trait to no alarm and immediately resume temperature control.

Trait IDCode
0x518EOpenWindowAlarm
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOpenWindowAlarmEnum80RVO
0x0007Default ValueOpenWindowAlarmEnum80RWO

EnableOpenWindowDetection Trait​

Indicates whether the thermostat enables the open window detection function.

When set to true, the thermostat can detect an open window through rapid temperature changes, external sensor input or product-specific logic, and adjust local temperature control behavior accordingly. When set to false, the thermostat does not apply temperature control behavior specific to open window detection, resets OpenWindowAlarm to no alarm, and immediately resumes temperature control.

Trait IDCode
0x518FEnableOpenWindowDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

OpenWindowTemperatureControlPauseDuration Trait​

Specifies the duration for which the thermostat pauses temperature control after an open window alarm is triggered, in minutes.

The value range is constrained by the minimum (OpenWindowTemperatureControlPauseDurationMin, default 1 minute) and the maximum (OpenWindowTemperatureControlPauseDurationMax, default 1440 minutes/24 hours). When an open window alarm is detected, the thermostat pauses temperature control for this duration unless restored in advance via the clear alarm command.

Trait IDCode
0x5190OpenWindowTemperatureControlPauseDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1630RVWO
0x0002Maximum Valueuint161440RO
0x0003Minimum Valueuint161RO
0x0007Default Valueuint1630RWO

Command Definitions​

Command IDNameConformance
0x9D65SetHvacO
0x9D40SetActiveScheduleO
0x9C72ClearActivePresetO
0x9C71SetActivePresetO
0x9DB1ClearOpenWindowAlarmO

SetHvac Command​

This command configures the air conditioner; optional parameters include: power, running mode, target temperature, fan speed, swing direction and display light.

Parameters​

SetHvac Command Structure

SetActiveSchedule Command​

This Command is used to perform the "set active schedule" operation.

Parameters​

SetActiveSchedule Command Structure

ClearActivePreset Command​

This Command is used to perform the "clear active preset" operation.

This Command has no parameters.

SetActivePreset Command​

This Command is used to perform the "set active preset" operation.

Parameters​

SetActivePreset Command Structure

ClearOpenWindowAlarm Command​

Requests the thermostat to clear the currently active open window alarm.

After successful execution, the thermostat sets OpenWindowAlarm to no alarm (No alarm) and immediately resumes temperature control.

This Command has no parameters.

FanControl​

Introduction​

Provides fan speed and mode control, supporting level adjustment and running status reading.

Function Identification​

Function IDCodeName
0x008EFanControlFan control

Trait​

Trait IDCodeNameConformance
0x80B6FanModeFan modeM
0x80B7RockSettingRock settingO
0x0008FanSpeedFan speedO
0x0007AirflowDirectionAirflow directionO
0x0006WindSettingWind settingO

Command​

This Function does not contain Commands.

Data Types​

FanModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the FanMode Trait.

ValueNameDescription
0x00OffOff
0x01LowSpeedLow
0x02MediumSpeedMedium
0x03HighSpeedHigh
0x04AutoAuto
0x05SmartSmart
RockSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the RockSetting Trait.

ValueNameDescription
0x00OffOff
0x01RockLeftRightLeft and right
0x02RockUpDownUp and down
0x03RockRoundCirculate
0x04SwingRock
0x05FixedDirectionFixed
0x15FixedFixed air direction
AirflowDirectionEnum8 Type​

This enumeration defines the valid values of the Present Value of the AirflowDirection Trait.

ValueNameDescription
0x00ForwardForward
0x01ReverseReverse
WindSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the WindSetting Trait.

ValueNameDescription
0x00NormalNormal
0x01SleepSleep
0x02NaturalNatural

Trait Definitions​

Trait IDNameConformance
0x80B6FanModeM
0x80B7RockSettingO
0x0008FanSpeedO
0x0007AirflowDirectionO
0x0006WindSettingO

FanMode Trait​

FanMode defines the mode of the fan.

Trait IDCode
0x80B6FanMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFanModeEnum80RVWM
0x0006Supported Valuelist[FanModeEnum8]RO
0x0007Default ValueFanModeEnum80RWO

RockSetting Trait​

Defines the swing/rocking mode.

Trait IDCode
0x80B7RockSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRockSettingEnum80RVWO
0x0006Supported Valuelist[RockSettingEnum8]RO
0x0007Default Valueuint80RWO

FanSpeed Trait​

FanSpeed represents the fan speed percentage.

Trait IDCode
0x0008FanSpeed
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0002Maximum Valueuint8100RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO
0x0007Default Valueuint80RWO

AirflowDirection Trait​

AirflowDirection defines the airflow direction.

Trait IDCode
0x0007AirflowDirection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAirflowDirectionEnum80RVWO
0x0006Supported Valuelist[AirflowDirectionEnum8]RO
0x0007Default Valueuint80RWO

WindSetting Trait​

WindSetting defines the type of wind.

Trait IDCode
0x0006WindSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWindSettingEnum80RVWO
0x0006Supported Valuelist[WindSettingEnum8]RO
0x0007Default Valueuint80RWO

Command Definitions​

This Function does not contain Commands.

Temperature​

Introduction​

Measures and reports the ambient temperature, providing attributes such as the current temperature value and valid range.

Function Identification​

Function IDCodeName
0x008FTemperatureTemperature

Trait​

Trait IDCodeConformance
0x80B8CurrentTemperatureM
0x502FCentiCelsiusTemperatureO
0x5173TemperatureSourceO
0x51BFInletTemperatureO
0x51C0OutletTemperatureO
0x523DOutdoorTemperatureO

Command​

This Function does not contain Commands.

Data Types​

TemperatureSourceTraitPresentValueStructure Type​

This structure defines the list item field layout of the TemperatureSource Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DeviceDidcharacterStringMUnique identifier of the temperature source device (Device DID). If it is the local device, fill in the local DID.
1PointPathcharacterStringOTemperature data point access path, format {Endpoint ID}.{Function ID}.{Trait ID}.{Parameter ID}, for example 2.143.32952.1. If empty, it means using the default temperature data point of the device specified by the device ID in parameter 0.

Trait Definitions​

Trait IDNameConformance
0x80B8CurrentTemperatureM
0x502FCentiCelsiusTemperatureO
0x5173TemperatureSourceO
0x51BFInletTemperatureO
0x51C0OutletTemperatureO
0x523DOutdoorTemperatureO

CurrentTemperature Trait​

Indicates the current temperature. Unit: deg C.

Trait IDCode
0x80B8CurrentTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat26RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat26RWO

CentiCelsiusTemperature Trait​

A numeric representation of temperature in degrees Celsius, where each unit equals one hundredth of a degree Celsius (0.01 degC). This format uses integer values to represent high-precision temperature readings; for example, the value 2500 corresponds to 25.00 degC.

Trait IDCode
0x502FCentiCelsiusTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVO
0x0002Maximum Valueint3210000RO
0x0003Minimum Valueint32-5000RO
0x0005Step Valueuint321RO

TemperatureSource Trait​

Represents the temperature source configuration used by the current temperature data. This Trait is a list; each list item contains a device ID (mandatory) and a temperature data point access path (optional), used to specify whether the temperature collected by the thermostat comes from the local sensor or an associated external sensor. If point_path is empty, it means using the default temperature data point of the device specified by that device ID. When multiple data sources exist in the list, it means there is more than one data source, and a certain agreed rule can be used to preferentially select one data source as the current temperature.

Trait IDCode
0x5173TemperatureSource
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[TemperatureSourceTraitPresentValueStructure]RVWO

InletTemperature Trait​

Represents the temperature of the medium entering the pipe section where the flow meter is located, used to analyze operating conditions together with flow data. Unit: degC.

Trait IDCode
0x51BFInletTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVO
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

OutletTemperature Trait​

Represents the temperature of the medium leaving the pipe section where the flow meter is located, used to analyze operating conditions together with flow data. Unit: degC.

Trait IDCode
0x51C0OutletTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVO
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

OutdoorTemperature Trait​

Outdoor temperature represents the outdoor ambient temperature measured by the device, unit deg C; it is reported separately from the indoor CurrentTemperature of the air conditioner.

Trait IDCode
0x523DOutdoorTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat-50-100 deg CNo fixed default value; reports the current valueRVO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat-50RO
0x0005Step Valuefloat0.1RO

Command Definitions​

This Function does not contain Commands.

RelativeHumidity​

Introduction​

Measures and reports the ambient relative humidity, providing attributes such as the current humidity value and valid range.

Function Identification​

Function IDCodeName
0x0090RelativeHumidityHumidity

Trait​

Trait IDCodeNameConformance
0x80B9CurrentHumidityHumidityM
0x5030CentiPercentHumidityCenti-percent humidityO
0x5174HumiditySourceHumidity sourceO

Command​

This Function does not contain Commands.

Data Types​

HumiditySourceTraitPresentValueStructure Type​

This structure defines the list item field layout of the HumiditySource Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DeviceDidcharacterStringMUnique identifier of the humidity source device (Device DID). If it is the local device, fill in the local DID.
1PointPathcharacterStringOHumidity data point access path, format: {Endpoint ID}.{Function ID}.{Trait ID}.{Parameter ID}, for example 2.144.32953.1. If empty, it means using the default humidity data point of the device specified by that device ID in parameter 0.

Trait Definitions​

Trait IDNameConformance
0x80B9CurrentHumidityM
0x5030CentiPercentHumidityO
0x5174HumiditySourceO

CurrentHumidity Trait​

This Trait is used for access to and reporting of "humidity" data. Unit: %.

Trait IDCode
0x80B9CurrentHumidity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

CentiPercentHumidity Trait​

The humidity value is represented as an integer, where each unit equals 0.01% relative humidity (e.g., the value 5000 represents 50.00% RH).

Trait IDCode
0x5030CentiPercentHumidity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1610000RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

HumiditySource Trait​

Represents the humidity source configuration used by the current humidity data. This Trait is a list; each list item contains a device ID (mandatory) and a humidity data point access path (optional), used to specify whether the humidity collected by the thermostat comes from the local sensor or an associated external sensor. If PointPath is empty, it means using the default humidity data point of the device specified by that device ID in parameter 0. When multiple data sources exist in the list, it means there is more than one data source, and a certain agreed rule can be used to preferentially select one data source as the current humidity.

Trait IDCode
0x5174HumiditySource
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[HumiditySourceTraitPresentValueStructure]RVWO

Command Definitions​

This Function does not contain Commands.

MediaPlayback​

Introduction​

Provides media playback control capabilities, including play, pause, track switching, volume and playback status management.

Function Identification​

Function IDCodeName
0x0091MediaPlaybackMedia playback

Trait​

Trait IDCodeNameConformance
0x80BACurrentPlaybackStatePlayback stateM
0x80FDTargetPlaybackStateTarget playback stateM
0x816ASelectedMediaOutputSourceCurrent playback output sourceO
0x8169PlaybackSampledPositionCurrent media playback positionO
0x80F7LoginStateLogin statusO
0x80BFSelectedSourcePlayback sourceO
0x80BEMediaInformationMedia infoO
0x80BDPlaybackModePlayback modeO
0x80BCSampledPositionPlayback progressO
0x80BBPlaybackDurationDurationO
0x5150PlaylistsPlaylistsO
0x5151FavoritePlaylistsFavorite playlistsO

Command​

Command IDCodeNameConformance
0x80C5StopStopM
0x80C4PausePauseM
0x80C3PlayPlayM
0x9C52PlaySpecificListPlaylistO
0x9C51RewindRewindO
0x9C50FastForwardFast forwardO
0x9C41MediaPlaybackCommandMedia playback commandO
0x9DA6SearchAndPlaySearch and play songO
0x9DA9PlayPlaylistPlay playlistO
0x9DACPlayFavoritePlay favoritesO
0x9DB6PlayMediaURLPlay media by URLO
0x811AOffCloseO
0x8119OnOpenO
0x80C8NextNextO
0x80C7PreviousPreviousO
0x80C6StartOverReplayO

Data Types​

CurrentPlaybackStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the CurrentPlaybackState Trait.

ValueNameDescription
0x00PlayingPlaying
0x01PausedPaused
0x02StoppedStopped
0x03BufferingBuffering
0x04FastForwardingFast forwarding
0x05RewindingRewinding
TargetPlaybackStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the TargetPlaybackState Trait.

ValueNameDescription
0x00PlayPlay
0x01PausePause
0x02StopStop
0x03StartOverReplay
0x04FastForwardFast forward
0x05RewindRewind
0x06PreviousPrevious track
0x07NextNext track
0x08PlaySpecificListPlay specified playlist
SelectedMediaOutputSourceEnum8 Type​

This enumeration defines the valid values of the Present Value of the SelectedMediaOutputSource Trait.

ValueNameDescription
0x00InternalInternal
0x01BluetoothBluetooth
0x02AuxAuxiliary
0x03SPDIFSPDIF
0x04CoaxialCoaxial
0x05Audio1Audio 1
0x06Audio2Audio 2
0x07Audio3Audio 3
0x08AV1AV1
0x09AV2AV2
0x0AAV3AV3
0x0BHDMI1HDMI1
0x0CHDMI2HDMI2
0x0DHDMI3HDMI3
0x0EOtherOther
SelectedSourceEnum8 Type​

This enumeration defines the valid values of the Present Value of the SelectedSource Trait.

ValueNameDescription
0x00InternalInternal
0x01BluetoothBluetooth
0x02ExternalExternal
PlaybackModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the PlaybackMode Trait.

ValueNameDescription
0x00ShuffleShuffle
0x01OrderOrder
0x02SingleCycleSingleCycle
0x03AllCycleAllCycle
MediaPlaybackLoadActionEnum8 Type​

This enumeration defines the valid values of the playlist/favorite load action.

ValueNameDescription
0x00APPENDAppend to the end of the current queue.
0x01REPLACEClear the current queue and replace with the new content.
0x02INSERT_NEXTInsert after the currently playing item.
MediaPlaybackCommand Command Structure Type​

Parameter structure of the MediaPlaybackCommand Command.

Struct Member No.Field NameTypeMandatoryDescription
0MediaTypeenum8MMedia type; default value 0; media types: 0: Music, 1: Video, 2: Radio.
1CommandcharacterStringOCommand content, e.g., "I want to listen to Jay Chou's songs".
2TitlecharacterStringOMedia name, e.g., "Qilixiang".
SearchAndPlay Command Structure Type​

Parameter structure of the SearchAndPlay Command.

Struct Member No.Field NameTypeMandatoryDescription
0KeywordcharacterStringOSearch keyword, such as song name, artist name or other search criteria.
1ArtistcharacterStringOArtist name, used for precise filtering.
2TrackcharacterStringOSong name, used for precise filtering.
PlayMediaURL Command Structure Type​

Parameter structure of the PlayMediaURL Command.

Struct Member No.Field NameTypeMandatoryDescription
0MediaURLcharacterStringMURL pointing to an audio resource that can be played directly. The device shall treat it as the playback target and shall not interpret it as a search keyword; URLs of ordinary web pages or search result pages are not directly playable resources.
1TitlecharacterStringOMedia title, used only for display or media information; it does not change the playback target specified by MediaURL.

Playlists Trait​

This Trait is used to return the playlists created by the user in the current music service account; it supports reading and reporting.

PlaylistsTraitPresentValueStructure Type​

Single playlist structure of the Playlists Trait.

Struct Member No.Field NameTypeMandatoryDescription
0IdcharacterStringMPlaylist ID.
1NamecharacterStringMPlaylist name.
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[PlaylistsTraitPresentValueStructure]RVO
FavoritePlaylistsTraitPresentValueStructure Type​

Single favorite playlist structure of the FavoritePlaylists Trait.

Struct Member No.Field NameTypeMandatoryDescription
0IdcharacterStringMFavorite item ID.
1NamecharacterStringMFavorite item name.

FavoritePlaylists Trait​

This Trait is used to return the playlists favorited by the user in the current music service account; it supports reading and reporting.

Trait IDCodeNameConformance
0x5151FavoritePlaylistsFavorite playlistsO
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[FavoritePlaylistsTraitPresentValueStructure]RVO
PlayPlaylist Command Structure Type​

Parameter structure of the PlayPlaylist Command.

Struct Member No.Field NameTypeMandatoryDescription
0PlaylistIdcharacterStringMPlaylist ID.
PlayFavorite Command Structure Type​

Parameter structure of the PlayFavorite Command.

Struct Member No.Field NameTypeMandatoryDescription
0FavoriteIdcharacterStringMFavorite item ID.

Trait Definitions​

Trait IDNameConformance
0x80BACurrentPlaybackStateM
0x80FDTargetPlaybackStateM
0x816ASelectedMediaOutputSourceO
0x8169PlaybackSampledPositionO
0x80F7LoginStateO
0x80BFSelectedSourceO
0x80BEMediaInformationO
0x80BDPlaybackModeO
0x80BCSampledPositionO
0x80BBPlaybackDurationO

CurrentPlaybackState Trait​

Describes the current playback state.

Trait IDCode
0x80BACurrentPlaybackState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCurrentPlaybackStateEnum80RVM
0x0006Supported Valuelist[CurrentPlaybackStateEnum8]RO

TargetPlaybackState Trait​

This Trait is used for access to and reporting of "target playback state" data.

Trait IDCode
0x80FDTargetPlaybackState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTargetPlaybackStateEnum80RVWM
0x0006Supported Valuelist[TargetPlaybackStateEnum8]RO
0x0007Default ValueTargetPlaybackStateEnum80RWO

SelectedMediaOutputSource Trait​

Describes the selected media output source.

Trait IDCode
0x816ASelectedMediaOutputSource
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSelectedMediaOutputSourceEnum80RVWO
0x0006Supported Valuelist[SelectedMediaOutputSourceEnum8]RO
0x0007Default ValueSelectedMediaOutputSourceEnum80RWO

PlaybackSampledPosition Trait​

Sets and queries the current playback position. Unit: ms.

Trait IDCode
0x8169PlaybackSampledPosition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVWO
0x0002Maximum Valueuint644294967295RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint321RO
0x0007Default Valueuint640RWO

LoginState Trait​

Describes the login state of the media service.

Trait IDCode
0x80F7LoginState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

SelectedSource Trait​

Indicates or sets the currently selected media output source (such as built-in speaker, Bluetooth, AUX, HDMI, etc.). Values: 0 = Internal, 1 = Bluetooth, 2 = Aux, 3 = SPDIF, 4 = Coaxial, 5-7 = Audio 1-3, 8-10 = AV1-3, 11-13 = HDMI1-3, 14 = Other.

Trait IDCode
0x80BFSelectedSource
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSelectedSourceEnum80RVWO
0x0006Supported Valuelist[SelectedSourceEnum8]RO
0x0007Default ValueSelectedSourceEnum80RWO

MediaInformation Trait​

Describes media information (title, artist, etc.).

Trait IDCode
0x80BEMediaInformation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

PlaybackMode Trait​

Describes the current playback mode.

Trait IDCode
0x80BDPlaybackMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePlaybackModeEnum80RVWO
0x0006Supported Valuelist[PlaybackModeEnum8]RO
0x0007Default ValuePlaybackModeEnum80RWO

SampledPosition Trait​

Indicates or sets the current playback position of the media. The value is a millisecond (ms) time offset, ranging from 0 to the total playback duration. On write, the device seeks to that position.

Trait IDCode
0x80BCSampledPosition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat7200000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO

PlaybackDuration Trait​

Indicates the playback duration, in ms.

Trait IDCode
0x80BBPlaybackDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat7200000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO

Command Definitions​

Command IDNameConformance
0x80C5StopM
0x80C4PauseM
0x80C3PlayM
0x9C52PlaySpecificListO
0x9C51RewindO
0x9C50FastForwardO
0x9C41MediaPlaybackCommandO
0x9DA6SearchAndPlayO
0x9DA9PlayPlaylistO
0x9DACPlayFavoriteO
0x9DB6PlayMediaURLO
0x811AOffO
0x8119OnO
0x80C8NextO
0x80C7PreviousO
0x80C6StartOverO

Stop Command​

This command should request the device to stop the current operation.

This Command has no parameters.

Pause Command​

This Command is used to perform the "pause" operation.

This Command has no parameters.

Play Command​

This Command is used to perform the "play" operation.

This Command has no parameters.

PlaySpecificList Command​

This Command is used to perform the "playlist" operation.

This Command has no parameters.

Rewind Command​

This Command is used to perform the "rewind" operation.

This Command has no parameters.

FastForward Command​

This Command is used to perform the "fast forward" operation.

This Command has no parameters.

MediaPlaybackCommand Command​

MediaPlaybackCommand represents a media playback command, applicable to playback operations of multiple types of media (music, video, audiobooks, radio, etc.).

Parameters​

MediaPlaybackCommand Command Structure

SearchAndPlay Command​

Searches music content by keywords, artist, song name and other criteria, and plays the search results. Supports controlling the number of queue items and playback order (sequential/shuffle). This command is suitable for scenarios where the user actively requests a song.

Parameters​

SearchAndPlay Command Structure

PlayMediaURL Command​

Plays the audio resource specified by MediaURL directly. This Command is used to play a direct link already known to the client and does not perform song search; to search by song name, artist or keyword, use SearchAndPlay. After the Command is executed, the device shall take the URL as the current playback item and start loading and playing it; if the resource pointed to by the URL is inaccessible, or its format or protocol is not supported by the device, the device shall not report it as playing and shall report a failure according to the Command execution mechanism. Supported URL protocols, audio formats and access conditions are determined by device capabilities, and the device implementation shall clearly define its supported scope. Resources requiring authentication can be played only when the device has the corresponding access credentials or authorization mechanism.

Title is optional display information and is not used as a resource locator or search condition. Command acceptance or the start of loading does not mean that the audio has been played successfully; the playback process and current state shall be reflected through the playback-status-related Trait of this Function.

Parameters​

PlayMediaURL Command Structure

PlayPlaylist Command​

Loads and plays the specified playlist by playlist ID. The load action controls how the new content affects the current queue, and supports playback modes such as auto-play, shuffle, loop, and fade in/out.

Parameters​

PlayPlaylist Command Structure

PlayFavorite Command​

Loads and plays the specified favorite content by favorite item ID. Supports controlling the load action, whether to auto-play, and playback modes such as shuffle, loop, and fade in/out.

Parameters​

PlayFavorite Command Structure

Off Command​

This Command is used to perform the "close" operation.

This Command has no parameters.

On Command​

This Command is used to perform the "open" operation.

This Command has no parameters.

Next Command​

This Command is used to perform the "next" operation.

This Command has no parameters.

Previous Command​

This Command is used to perform the "previous" operation.

This Command has no parameters.

StartOver Command​

This Command is used to perform the "replay" operation.

This Command has no parameters.

Speaker​

Introduction​

Describes the speaker output capability of the device, including audio output functions such as text-to-speech announcement, volume control and mute.

Function Identification​

Function IDCodeName
0x0092SpeakerSpeaker

Trait​

Trait IDCodeNameConformance
0x80C0VolumeVolumeO
0x80C1MuteMuteO
0x80C2StepValueStep valueO

Command​

Command IDCodeConformance
0x9DB5PlayTTSO

Data Types​

PlayTTS Command Structure Type​

Parameter structure of the PlayTTS Command.

Struct Member No.Field NameTypeMandatoryDescription
0TextstringMText content to be converted to speech and played, up to 200 bytes.

Trait Definitions​

Trait IDNameConformance
0x80C0VolumeO
0x80C1MuteO
0x80C2StepValueO

Volume Trait​

Indicates or sets the speaker volume of the camera device (e.g., two-way audio). The value is usually a percentage (0 to 100) or a device-defined numeric range.

Trait IDCode
0x80C0Volume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

Mute Trait​

Indicates the mute state of the speaker.

Trait IDCode
0x80C1Mute
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

StepValue Trait​

Indicates or sets the step increment (e.g., volume adjustment). In this speaker application, the unit is percentage (%); the specific value range varies by device.

Trait IDCode
0x80C2StepValue
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat10.0RO
0x0007Default Valuefloat1RWO

Command Definitions​

Command IDNameConformance
0x9DB5PlayTTSO

PlayTTS Command​

Controls the device to convert the specified text into speech and play it through the speaker. Text is a required string with content up to 200 bytes.

Parameters​

PlayTTS Command Structure

PowerSource​

Introduction​

Describes the power supply source and battery status of the device, including battery level, charging status, battery quantity, replaceability, and user-facing battery replacement specification descriptions, and other information.

Function Identification​

Function IDCodeName
0x0093PowerSourcePower source

Trait​

Trait IDCodeNameConformance
0x80B0CurrentVoltageVoltage valueO
0x8141PowerModePower modeO
0x5175PowerDetectionModePower detection modeO
0x5176PowerDetectionResultPower detection result reportO
0x4E3CRechargeableRechargeableO
0x4E3BBatQuantityBattery quantityO
0x4E3ABatReplacementDescriptionBattery replacement descriptionO
0x4E39BatReplaceabilityBattery replaceabilityO
0x4E38BatReplacementNeededBattery replacement neededO
0x815BWiredPresentWired presentO
0x80CDBatPercentRemainingBattery percent remainingO
0x80C9StateOfLowBatState of low batteryO
0x80CEBatChargeStateBattery charge stateO

Command​

This Function does not contain Commands.

Data Types​

PowerModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the PowerMode Trait.

ValueNameDescription
0x00UnknownUnknown
0x01MainsMains
0x02BatteryBattery
0x03DCSourceDC power
0x04ACSourceAC power
PowerDetectionResultEnum8 Type​

This enumeration defines the valid values of the Present Value of the PowerDetectionResult Trait.

ValueNameDescription
0x00UnknownUnknown
0x01PassPass
BatReplaceabilityEnum8 Type​

This enumeration defines the valid values of the Present Value of the BatReplaceability Trait.

ValueNameDescription
0x00UnspecifiedUnspecified
0x01NotReplaceableNot replaceable
0x02UserReplaceableUser replaceable
0x03FactoryReplaceableFactory replaceable
StateOfLowBatEnum8 Type​

This enumeration defines the valid values of the Present Value of the StateOfLowBat Trait.

ValueNameDescription
0x00FalseSufficient charge
0x01TrueLow battery
0x02CriticalBattery exhausted
BatChargeStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the BatChargeState Trait.

ValueNameDescription
0x00UnknownUnknown
0x01TheBatteryIsChargingCharging
0x02TheBatteryIsAtFullChargeFull charge
0x03TheBatteryIsNotChargingNot charging
0x04TheBatteryIsNotChargeableNot chargeable

Trait Definitions​

Trait IDNameConformance
0x80B0CurrentVoltageO
0x8141PowerModeO
0x5175PowerDetectionModeO
0x5176PowerDetectionResultO
0x4E3CRechargeableO
0x4E3BBatQuantityO
0x4E3ABatReplacementDescriptionO
0x4E39BatReplaceabilityO
0x4E38BatReplacementNeededO
0x815BWiredPresentO
0x80CDBatPercentRemainingO
0x80C9StateOfLowBatO
0x80CEBatChargeStateO

CurrentVoltage Trait​

Indicates the currently measured power supply voltage value. Unit: volt (V).

Trait IDCode
0x80B0CurrentVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat500.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO

PowerMode Trait​

Indicates the power supply mode of the device. 0: Unknown, 1: Mains, 2: Battery, 3: DC power.

Trait IDCode
0x8141PowerMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePowerModeEnum80RVO
0x0006Supported Valuelist[PowerModeEnum8]RO

PowerDetectionMode Trait​

Power detection mode. Used to indicate whether the device enters the power detection mode. Wired-powered doorbell devices (such as G400) may not work properly (e.g., automatic reboot) if the connected power supply is insufficient, so advance detection is required. Write 1 to enter detection mode, write 0 to exit detection mode.

Trait IDCode
0x5175PowerDetectionMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

PowerDetectionResult Trait​

Power detection result. Indicates whether the device returns that the power detection passed. When the detection passes, the device returns 1; when it fails, the device reboots and cannot return a result, in which case the APP determines that the detection failed by timeout.

Trait IDCode
0x5176PowerDetectionResult
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePowerDetectionResultEnum80RVO
0x0006Supported Valuelist[PowerDetectionResultEnum8]RO

Rechargeable Trait​

This feature should indicate whether the battery is rechargeable.

Trait IDCode
0x4E3CRechargeable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

BatQuantity Trait​

This feature should indicate the number of independent battery cells or battery packs in the battery source that can be maintained by the user or the factory.

Trait IDCode
0x4E3BBatQuantity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

BatReplacementDescription Trait​

This feature must provide a user-facing battery description, used to explain the battery specifications to use when replacing the battery.

This Trait is optional in the PowerSource Function; when implementing this Trait, the Present Value parameter must be provided, supporting reading and reporting but not writing. The Present Value is a string of up to 32 characters, with a default value of null, indicating that the battery description has not been provided; Unspecified is a valid string value, different from null.

Trait IDCode
0x4E3ABatReplacementDescription
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuestring32Up to 32; null allowednullRVM
0x0006Supported Valuelist[string32]Element is a supported battery description string, each string up to 32 charactersRO
Supported String Values​

This Trait supports at least the following string values. The spelling and case of the strings must be consistent with the table below; additional battery description strings may be extended, and the values are not limited to a closed enumeration.

ValueDescription
UnspecifiedUnspecified battery specification
AAAA battery
AAAAAA battery
CR2450CR2450 battery
CR1632CR1632 battery
CR2032CR2032 battery
CR123ACR123A battery
CR17450CR17450 battery

The Supported Value parameter provides the list of battery description strings supported by the device; when implementing this parameter, the list includes the above string values.

BatReplaceability Trait​

This feature should indicate whether the battery is replaceable and the applicable replacement method: unspecified or unknown, not replaceable, user replaceable, or replaceable by factory-authorized personnel.

Trait IDCode
0x4E39BatReplaceability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBatReplaceabilityEnum80RVO
0x0006Supported Valuelist[BatReplaceabilityEnum8]RO

BatReplacementNeeded Trait​

This feature should indicate whether the battery needs replacement.

Trait IDCode
0x4E38BatReplacementNeeded
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO
0x0007Default Valueboolean0RWO

WiredPresent Trait​

Indicates whether a wired power source (power adapter) is detected.

Trait IDCode
0x815BWiredPresent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

BatPercentRemaining Trait​

Indicates the remaining battery charge percentage. When the current battery level is being obtained and is temporarily unavailable, the Present Value uses 255 as the status indicator; this value indicates that the battery level is being obtained, not an actual battery percentage, and is not constrained by the 0-100 percentage range.

Trait IDCode
0x80CDBatPercentRemaining
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat50RWO

StateOfLowBat Trait​

Indicates whether the battery is in a low battery state. 0: Normal, 1: Low battery, 2: Critically low.

Trait IDCode
0x80C9StateOfLowBat
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStateOfLowBatEnum80RVO
0x0006Supported Valuelist[StateOfLowBatEnum8]RO

BatChargeState Trait​

Indicates the battery charging state. 0: Unknown, 1: Charging, 2: Full charge, 3: Not charging, 4: Not chargeable.

Trait IDCode
0x80CEBatChargeState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBatChargeStateEnum83RVO
0x0006Supported Valuelist[BatChargeStateEnum8]RO

Command Definitions​

This Function does not contain Commands.

DoorLock​

Introduction​

Provides core smart door lock capabilities, including lock state, user/credential management, lock/unlock operations and alarm events.

Function Identification​

Function IDCodeName
0x0094DoorLockDoor lock

Trait​

Trait IDCodeNameConformance
0x80CALockStateLock stateM
0x50B4FingerprintEnrollProgressFingerprint enrollment progressO
0x50B3LockErrorLogReportLock error log reportO
0x50B2LockLogReportLock log reportO
0x50B1DoorLogReportDoor log reportO
0x50B0AqaraUserErrorAdd Aqara credential timeoutO
0x50AFAqaraUserChangeAqara user changeO
0x51F1GetAqaraUserResponseGet Aqara user responseO
0x50ACWiFiConfigStatusWiFi config statusO
0x50ABWifiModeWiFi modeO
0x50A9WiFiStatusWiFi connection statusO
0x50A8FirmwareDowngradeEnabledEnable firmware downgradeO
0x50A7VoiceOTAStatusVoice firmware upgradeO
0x50A6OTASilentUpgradeOTA silent upgradeO
0x50A5OTAProgressOTA progressO
0x50A4UWBApproachDirectionUWB approach directionO
0x50A2SupportedNfcCardTypesSupported NFC card typesO
0x50A1VoicePackageInfoVoice package infoO
0x518ADetectionDistanceDetection distanceO
0x518BDetectionThresholdDetection sensitivity thresholdO
0x509CRemoteUnlockRelockDelayRemote unlock relock timeO
0x509BLocalCredentialLockoutDurationLocal credential lockout timeO
0x509AAutoUnlockAuto unlockO
0x5098AwayModeArmingAway mode armingO
0x5097LockQuietModeQuiet unlock modeO
0x5096NormalModeSpeedNormal mode motor speedO
0x5095DoorbellLightEnabledEnable doorbell lightO
0x5094DeviceOrientationDoor orientationO
0x5047MotorStrengthMotor strengthO
0x5092PullSpringPullSpring configurationO
0x5090FrontLockConnectionStatusFront lock connection statusO
0x508FDoorHandleDirectionDoor handle directionO
0x508ELocalSettingEnable local settingsO
0x508DDualVerificationDouble verificationO
0x508CLockWorkModeLock work modeO
0x5060LocalMenuEntryMethodSet local menu entry methodO
0x505FDoorLockAlarmStatusDoor lock alarm statusO
0x505ETamperAlarmEnabledPrying alarm switch settingO
0x505DHardInfoHardware infoO
0x505CDoorAjarConfigDoor ajar alarm settingO
0x505BDoorNotLockedConfigDoor not locked alarm settingO
0x505ADoorNotClosedConfigDoor not closed alarm settingO
0x5059AlarmVolumeAlarm volumeO
0x5058LockJammedVolumeBolt stuck prompt volumeO
0x5057AwayModePromptVolumeArm/disarm prompt volumeO
0x5056DemoVoiceVolumeDemo firmware speech volumeO
0x5055AbnormalVibrationAlarmVolumeAbnormal vibration alarm volumeO
0x5054VoiceVolumeVoice volumeO
0x5053DoorbellVolumeDoorbell volumeO
0x5052UnlockVolumeUnlock volumeO
0x4F5DEnableElectronicLockoutModeEnable electronic deadbolt modeO
0x4F5BEnableAwayModeEnable away modeO
0x514BAqaraLockStateExtensionLock state extensionO
0x514CAqaraDoorStateExtensionDoor state extensionO
0x514DDoorLockStateChangeTimestampLock state change timestampO
0x4EF3VoiceLanguageVoice broadcast languageO
0x4F09OTAStateOTA statusO
0x5080ChildLockChild lockO
0x5169ButtonLockUnlockEnabledSingle press unlock enableO
0x509DAlwaysOpenModePassage modeO
0x514EAuxRotationEnabledAuxiliary rotation enableO
0x514FSpeedFollowEnabledSpeed follow enableO
0x5149DoorbellEnabledDoorbell enableO
0x514ADoorbellSensitivityDoorbell sensitivityO
0x513FUWBEnabledUWB function enableO
0x5140UWBDoubleDoorModeUWB double-door mode enableO
0x5141UWBMinUnlockDistanceUWB minimum unlock distanceO
0x5142UWBFastStartModeUWB quick start modeO
0x5143UWBRangingTimeoutUWB sensing timeO
0x5144UWBSignalLostTimeoutUWB signal search timeO
0x5145UWBMultiEntrancesModeUWB multi-entrance mode enableO
0x513CCloseDoorAutoRelockEnabledAuto relock on door close enableO
0x513DCloseDoorAutoRelockTimeAuto relock on door close timeO
0x513ERemoteUnlockAutoRelockEnabledAuto relock after remote unlock enableO
0x5185MagneticEncoderCalibrationStatusMagnetic encoding calibration statusO
0x518DBoltTravelConfiguredBolt travel configurationO
0x507AEnableDeadboltEnable deadboltO
0x5031ConfigOperationDoor lock configuration operationO
0x80C9StateOfLowBatLow battery stateO
0x4E71GetCredentialStatusResponseGet credential status replyO
0x4E70SetCredentialResponseSet credential replyO
0x4E6FGetUserResponseGet user replyO
0x4E6DGetWeekDayScheduleResponseGet weekly schedule replyO
0x4E6EGetYearDayScheduleResponseGet yearly schedule replyO
0x4E6BNumberOfCredentialsSupportedPerUserCredentials per user supportedO
0x4E6ANumberOfYearDaySchedulesSupportedPerUserYearly schedules per user supportedO
0x4E69NumberOfWeekDaySchedulesSupportedPerUserWeekly schedules per user supportedO
0x4E68NumberOfRFIDUsersSupportedRFID user countO
0x4E67NumberOfPINUsersSupportedPIN user countO
0x4E66NumberOfTotalUsersSupportedTotal door lock user countO
0x4E2ANetworkInterfacesNetwork interface infoO
0x8171LockOperationErrorDoor lock operation (event) error reportO
0x9C40RemoteControlWithAuthCodeRemote control (with authorization code) - Aqara privateO
0x8173LockUserChangeDoor lock user change reportO
0x8172DoorLockAlarmDoor lock alarm (event) reportO
0x8170LockOperationDoor lock operation (event) reportO
0x8125RemoteUnlockRemote unlock - Aqara privateO
0x8102SupportedRemoteFeaturesSupported remote featuresO
0x8101EnableRemoteControlRemote control enableO
0x80CBDoorStateDoor stateO
0x8133ActuatorEnabledActuator enableO
0x8130AlarmMaskAlarm maskO
0x812ACredentialRulesSupportCredential rules supportO
0x812FExpiringUserTimeoutUser timeout expiredO
0x8126MaxPINCodeLengthMax PIN code lengthO
0x8128MaxRFIDCodeLengthMax RFID lengthO
0x8127MinPINCodeLengthMin PIN code lengthO
0x8129MinRFIDCodeLengthMin RFID lengthO
0x812BOperatingModeOperating modeO
0x812ERequirePINForRemoteOperationPIN code required for remote operationO
0x812DSendPINOverTheAirSend PIN code over the airO
0x812CUserCodeTemporaryDisableTimeUser code temporary disable timeO
0x8131SupportsTapToUnlockSupports touch unlockO
0x8132SupportsTapToLockSupports touch lockO

Command​

Command IDCodeNameConformance
0x9C61GetUserGet userO
0x9C65ClearCredentialClear credentialO
0x9C64GetCredentialStatusGet credential statusO
0x9C63SetCredentialSet credentialO
0x9C62ClearUserClear userO
0x9C60SetUserSet userO
0x9C5FUnboltDoorOpen doorO
0x9C5DGetYearDayScheduleGet yearly scheduleO
0x9C5EClearYearDayScheduleClear yearly scheduleO
0x9C5CSetYearDayScheduleSet yearly scheduleO
0x9C5BClearWeekDayScheduleClear weekly scheduleO
0x9C5AGetWeekDayScheduleGet weekly scheduleO
0x9C59SetWeekDayScheduleSet weekly scheduleO
0x88CDQuietUnlockDoorQuiet unlockO
0x88CCQuietLockDoorQuiet lockO
0x88C3UnlockDoorUnlockO
0x88C2LockDoorLockO
0x9DAEMagneticEncoderCalibrationMagnetic encoding calibration commandO
0x9D6FGetLogGet logO
0x9D6EExitAddAqaraCredentialExit add Aqara credentialO
0x9D6DGetAqaraCredentialGet Aqara credentialO
0x9D6CDeleteAqaraCredentialDelete Aqara credentialO
0x9D6BModifyAqaraCredentialModify Aqara credentialO
0x9D6AAddAqaraCredentialAdd Aqara credentialO
0x9D69GetAqaraUserGet Aqara userO
0x9D68DeleteAqaraUserDelete Aqara userO
0x9D67ModifyAqaraUserModify Aqara userO
0x9D66AddAqaraUserAdd Aqara userO
0x9CB1SetTravelCalibrationSet travel calibrationO

Data Types​

GetUserResponseCredentialStructure Type​

This structure defines the Credential field layout in the GetUserResponse.

Struct Member No.Field NameTypeMandatoryDescription
0CredentialTypeenum8MCredential type: 0=ProgrammingPIN, 1=PIN, 2=RFID, 3=Fingerprint, 4=FingerVein, 5=Face, 6=AliroCredentialIssuerKey, 7=AliroEvictableEndpointKey, 8=AliroNonEvictableEndpointKey.
1CredentialIndexuint16OCredential index.
LockStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the LockState Trait.

ValueNameDescription
0x00NotFullyLockedBolt abnormal
0x01LockedLocked
0x02UnlockedUnlocked
FingerprintEnrollProgressTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the FingerprintEnrollProgress Trait.

Struct Member No.Field NameTypeMandatoryDescription
0CurrentAttemptuint8MCurrent enrollment attempt sequence number, starting from 1.
1TotalAttemptsuint8MNumber of attempts required for a complete registration session (currently 8).
2EnrollmentProgressuint8MEnrollment progress percentage, ranging from 0 to 100.
3EnrollmentStatusenum8MEnrollment status of this attempt.
LockErrorLogReportTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LockErrorLogReport Trait.

Struct Member No.Field NameTypeMandatoryDescription
0LockErrorCodeenum8MExternal or internal exception; value is defined by the LockErrorCodeEnum Type.
1LogIndexuint16MLog index.
2TimestampUtcuint32MUTC timestamp of the event occurrence (Epoch Time in Seconds).
LockLogReportTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LockLogReport Trait.

Struct Member No.Field NameTypeMandatoryDescription
0LockOperationTypeenum8MType of door lock operation executed.
1OperationSourceenum8MSource of the door lock operation.
2UserSourceenum8OSource of UserId and CredentialId. Defaults to Lock Local when omitted.
3UserIduint32OUnique user identifier.
4CredentialIduint32OUnique credential identifier.
5MatterVendorIduint16OMatter Vendor ID when OperationSource is Remote (Matter Ecosystem).
6LockPositionenum8ODoor lock operation location.
7LogIndexuint16MLog index.
8TimestampUtcuint32MUTC timestamp of the event occurrence (Epoch Time in Seconds).
DoorLogReportTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DoorLogReport Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DoorStateenum8MDoor state event type.
1LogIndexuint16MLog index.
2TimestampUtcuint32MUTC timestamp of the event occurrence (Epoch Time in Seconds).
LockDataTypeEnum8 Type​

This enumeration identifies the data category of the change in the AqaraUserChange event.

ValueNameDescription
0x00UserUser record
0x01CredentialGeneric credential record
0x02ScheduleUser validity schedule
0x03NFCNFC card credential
0x04FingerprintFingerprint credential
0x05FaceFace credential
0x06FingerVeinFinger vein credential
0x07PasswordNumeric or alphanumeric password credential
0x08UWBUltra-wideband credential
0x09PalmPalm print credential
DataOperationTypeEnum8 Type​

This enumeration identifies the operation type performed by the AqaraUserChange event on a user or credential database entry.

ValueNameDescription
0x00AddAdd a database entry
0x01DeleteDelete an existing database entry
0x02ModifyModify an existing database entry
AqaraUserErrorTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the AqaraUserError Trait.

Struct Member No.Field NameTypeMandatoryDescription
1UserIduint16MUser ID.
2CredentialAttributeuint8MCredential properties.
3CredentialTypeuint8MCredential type.
AqaraUserChangeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the AqaraUserChange Trait. This Trait reports the relevant status only after a successful change to the user or credential database; when a credential changes, Credential may carry the complete AqaraCredentialItemStruct (including the credential type and its content). The CheckNumber in Extension events is for gateway-internal use only, does not belong to the Trait, and MUST NOT be reported to the App or the cloud.

Struct Member No.Field NameTypeMandatoryDescription
0LockDataTypeLockDataTypeEnum8MThe data category of the change.
1DataOperationTypeDataOperationTypeEnum8MThe operation type performed on the data.
2UserIduint16MUser ID involved in the change.
3UserTypeAqaraUserTypeEnum8MThe type and access level of the user after the change.
4UserNamecharacterStringOUsername after the change, UTF-8 encoded, up to 20 bytes; may be null when not set.
5CredentialAqaraCredentialItemStructOComplete credential information involved in the change, including credential attributes, type, ID, index, name, validity period, and credential content corresponding to the type; may be omitted or null when there is no related credential, when a credential is deleted, or when the device does not provide sensitive credential content.
WiFiConfigStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the WiFiConfigStatus Trait.

ValueNameDescription
0x00ConfigFailedConfiguration failed
0x01ConfiguringConfiguring
0x02ConfigSucceededConfiguration succeeded
WifiModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the WifiMode Trait.

ValueNameDescription
0x00NormalNormal
0x01KeepAliveAlways online
0x02SilenceSilent sleep
0x03TempAliveTemporary online
WiFiStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the WiFiStatus Trait.

ValueNameDescription
0x00UndefinedUndefined
0x01APConnectedAP connected
0x02APConnectFailedAP connection failed
0x03CloudConnectedConnected to cloud
0x04CloudConnectFailedCloud connection failed
0x05APConnectingAP connecting
0x06PowerOffPower-off state
VoiceOTAStatusTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the VoiceOTAStatus Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Statusenum8MVoice firmware OTA upgrade status.
1Progressuint8OUpgrade progress percentage, ranging from 1 to 100.
OTASilentUpgradeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the OTASilentUpgrade Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EnabledbooleanMWhether silent OTA upgrade is enabled.
1ValidStartUtcuint32OUTC start time when the silent upgrade takes effect; both 0 with ValidEndUtc means always effective.
2ValidEndUtcuint32OUTC end time of the silent upgrade.
VoicePackageInfoTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the VoicePackageInfo Trait.

Struct Member No.Field NameTypeMandatoryDescription
0PackageIduint32MVoice package ID.
1PackageNamecharacterStringMVoice package name.
2LanguagecharacterStringMVoice package language identifier.
3VersioncharacterStringMVoice package version.
CloseDoorAutoRelockTimeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the CloseDoorAutoRelockTime Trait.

Struct Member No.Field NameTypeMandatoryDescription
0AutoLockTimeuint32MAuto relock delay in seconds; a value of 0 disables auto relock.
1ValidStartUtcuint32MUTC start time when auto relock takes effect; both 0 with ValidEndUtc means always effective.
2ValidEndUtcuint32MUTC end time of auto relock.
LockQuietModeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LockQuietMode Trait.

Struct Member No.Field NameTypeMandatoryDescription
0QuietModeEnabledbooleanMWhether quiet mode is active.
1QuietModeSpeedenum8MMotor speed within the quiet window; value is defined by the MotorSpeedEnum Type.
2ValidStartUtcuint32MUTC start time when quiet mode takes effect; both 0 with ValidEndUtc means the schedule is not active.
3ValidEndUtcuint32MUTC end time of quiet mode.
NormalModeSpeedEnum8 Type​

This enumeration defines the valid values of the Present Value of the NormalModeSpeed Trait.

ValueNameDescription
0x00PerformanceExtremely fast
0x01StandardStandard
0x02QuietQuiet
0x03SilentSilent
DeviceOrientationTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DeviceOrientation Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DoorOpenDirectionenum8MDoor opening direction; value is defined by the DoorOpenDirectionEnum Type.
1InstallationOrientationenum8MLock body installation axis; value is defined by the InstallationOrientationEnum Type.
MotorStrengthTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the MotorStrength Trait.

Struct Member No.Field NameTypeMandatoryDescription
0MotorStrengthuint8MMotor strength.
PullSpringTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the PullSpring Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EnabledbooleanMWhether the pull spring is activated.
1LatchRetractTimeuint16MBolt retraction time (milliseconds).
DoorHandleDirectionEnum8 Type​

This enumeration defines the valid values of the Present Value of the DoorHandleDirection Trait.

ValueNameDescription
0x00RightOpenRight open
0x01LeftOpenLeft open
LockWorkModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the LockWorkMode Trait.

ValueNameDescription
0x00NormalNormal
0x01InstallationInspectionInstallation check
0x02DemoDemo
DoorLockAlarmStatusTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DoorLockAlarmStatus Trait.

Struct Member No.Field NameTypeMandatoryDescription
0LockStateenum8MLock state snapshot.
1DoorStateenum8MDoor state snapshot.
2TamperActivebooleanMWhether tamper alarm is active.
3AwayModeArmedbooleanMWhether away mode is armed.
4LowBatterybooleanMWhether in low battery state.
DoorAjarConfigTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DoorAjarConfig Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EnabledbooleanMWhether the door ajar alarm is enabled.
1Volumeenum8MAlarm volume.
2WaitTimeuint32MTimeout in seconds before the alarm is triggered while the door remains ajar.
3AlarmDurationuint32OAlarm duration in seconds per trigger.
DoorNotLockedConfigTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DoorNotLockedConfig Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EnabledbooleanMWhether the door not locked alarm is enabled.
1Volumeenum8MAlarm volume.
2WaitTimeuint32MTimeout in seconds before the alarm is triggered while the door remains closed but unlocked.
3AlarmDurationuint32OAlarm duration in seconds per trigger.
DoorNotClosedConfigTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DoorNotClosedConfig Trait.

Struct Member No.Field NameTypeMandatoryDescription
0EnabledbooleanMWhether the door not closed alarm is enabled.
1Volumeenum8MAlarm volume.
2WaitTimeuint32MTimeout in seconds before the alarm is triggered while the door remains open.
3AlarmDurationuint32OAlarm duration in seconds per trigger.
AlarmVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the AlarmVolume Trait.

ValueNameDescription
0x00HighHigh
0x01MediumMedium
0x02LowLow
0x03MuteMute
LockJammedVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the LockJammedVolume Trait.

ValueNameDescription
0x00HighHigh
0x01MediumMedium
0x02LowLow
0x03MuteMute
AwayModePromptVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the AwayModePromptVolume Trait.

ValueNameDescription
0x00HighHigh
0x01MediumMedium
0x02LowLow
0x03MuteMute
DemoVoiceVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the DemoVoiceVolume Trait.

ValueNameDescription
0x00HighHigh
0x01MediumMedium
0x02LowLow
0x03MuteMute
AbnormalVibrationAlarmVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the AbnormalVibrationAlarmVolume Trait.

ValueNameDescription
0x00HighHigh
0x01MediumMedium
0x02LowLow
0x03MuteMute
VoiceVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the VoiceVolume Trait.

ValueNameDescription
0x00HighHigh
0x01MediumMedium
0x02LowLow
0x03MuteMute
DoorbellVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the DoorbellVolume Trait.

ValueNameDescription
0x00HighHigh
0x01MediumMedium
0x02LowLow
0x03MuteMute
UnlockVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the UnlockVolume Trait.

ValueNameDescription
0x00HighHigh
0x01MediumMedium
0x02LowLow
0x03MuteMute
ConfigOperationEnum8 Type​

This enumeration defines the valid values of the Present Value of the ConfigOperation Trait.

ValueNameDescription
0x00EnableElectronicLockoutModeEnable electronic deadbolt
0x01DisableElectronicLockoutModeDisable electronic deadbolt
StateOfLowBatEnum8 Type​

This enumeration defines the valid values of the Present Value of the StateOfLowBat Trait.

ValueNameDescription
0x00FalseSufficient charge
0x01TrueLow battery
0x02CriticalBattery exhausted
GetCredentialStatusResponseTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the GetCredentialStatusResponse Trait.

Struct Member No.Field NameTypeMandatoryDescription
0CredentialExistsbooleanMWhether the credential exists.
1UserIndexuint16MUser index.
2CreatorFabricIndexuint16ONot reported when empty.
3LastModifiedFabricIndexuint16ONot reported when empty.
4NextUserIndexuint16ONot reported when empty.
SetCredentialResponseTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the SetCredentialResponse Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Statusenum8MResponse status.
1UserIndexuint16MUser index.
2NextCredentialIndexuint16ONext credential index; not reported when empty.
AqaraUserTypeEnum8 Type​

This enumeration defines the Aqara user types and their corresponding access permission levels.

ValueNameDescription
0x00UnknownUser type unknown or unspecified.
0x01AdministratorAdministrator, with higher permissions.
0x02RegularUserRegular user, with standard access permissions.
0x03FrequentVisitorFrequent guest, with restricted access permissions.
0x04OwnerDevice owner; each lock has at most one Owner, and it cannot be deleted.
AqaraCredentialAttributeEnum8 Type​

This enumeration defines the security attributes of credentials.

ValueNameDescription
0x00NormalNormal credential, without special attributes.
0x01DuressDuress credential; triggers a silent alarm when used.
0x02OneToManyOne-to-many credential, can be associated with multiple users.
AqaraCredentialTypeEnum8 Type​

This enumeration defines the Aqara credential types.

ValueNameDescription
0x01FingerprintFingerprint credential.
0x02PasswordNumeric or alphanumeric password credential.
0x03NFCNFC card credential.
0x04ElectronicKeyElectronic key credential.
0x06FaceFace credential.
0x10OneTimePasswordOne-time password credential.
0x11BluetoothBluetooth credential.
AqaraCredentialRepeatTypeEnum8 Type​

This enumeration defines the repeat period of credential validity.

ValueNameDescription
0x00NeverSingle valid time range, no repetition.
0x01DailyRepeats daily.
0x02WeeklyRepeats weekly.
0x03BiWeeklyRepeats every two weeks.
0x04MonthlyRepeats monthly.
AqaraNFCCardTypeEnum8 Type​

This enumeration defines the physical card standard used by NFC credentials.

ValueNameDescription
0x01TypeAISO 14443-A card.
0x02TypeBISO 14443-B card.
0x03TypeFJIS X 6319-4 (FeliCa) card.
AqaraCredentialValidityStruct Type​

This structure defines the valid time and repeat schedule of a credential.

Member IDField NameTypeMandatoryDescription
0RepeatTypeAqaraCredentialRepeatTypeEnum8MValidity repeat period.
1StartTimeuint32MValidity start time, in Epoch seconds; default value is 0.
2EndTimeuint32MValidity end time, in Epoch seconds; default value is 0.
3EndRepeatTimeuint32MRepeat schedule end time, in Epoch seconds; default value is 0xFFFFFFFF, meaning no end time. It should be 0xFFFFFFFF when RepeatType is Never.
4RepeatDaysuint32MRepeat date bitmap; default value is 0x00000000. For Weekly, bits 0-6 represent Sunday to Saturday; for Monthly, bits 0-30 represent days 1-31 of each month; for other repeat types it should be 0.
AqaraNFCCardInfoStruct Type​

This structure defines the additional card data of an NFC credential.

Member IDField NameTypeMandatoryDescription
0CidoctstrOCard CID, up to 32 bytes.
1KeyoctstrOCard key, up to 64 bytes.
2CardTypeAqaraNFCCardTypeEnum8ONFC card standard.
AqaraCredentialContentStruct Type​

This structure carries the credential-type-specific content. The valid field is selected by CredentialType in the same credential item: for Password (0x02), PasswordData is non-empty and NFCCardInfo is empty; for NFC (0x03), NFCCardInfo is non-empty and PasswordData is empty; for other credential types, both fields are empty.

Member IDField NameTypeMandatoryDescription
0PasswordDataoctstrOPassword content, up to 255 bytes; only used by Password credentials.
1NFCCardInfoAqaraNFCCardInfoStructONFC card additional data; only used by NFC credentials.
AqaraCredentialItemStruct Type​

This structure defines a single credential in the user record of GetAqaraUserResponse.

Member IDField NameTypeMandatoryDescription
0CredentialAttributeAqaraCredentialAttributeEnum8MCredential security attribute.
1CredentialTypeAqaraCredentialTypeEnum8MCredential type.
2CredentialIduint16MCredential ID.
3CredentialIndexuint8MCredential index.
4CredentialNamecharacterStringOCredential name, up to 20 bytes.
5ValidityAqaraCredentialValidityStructOCredential validity schedule.
6CredentialContentAqaraCredentialContentStructOCredential content determined by CredentialType.
AqaraUserRecordStruct Type​

This structure defines a single user record in the Users list of GetAqaraUserResponse, including user identifier, user type, credentials and optional username.

Member IDField NameTypeMandatoryDescription
0UserIduint16MUser ID.
1UserTypeAqaraUserTypeEnum8MUser type and access permission level.
2Credentialslist[AqaraCredentialItemStruct]OUser credential list; can be null or omitted (e.g., the user has no credentials yet, or the response does not include the credential list); an empty list is equivalent to null.
3UserNamecharacterStringOUser display name, UTF-8 encoded, up to 20 bytes; null when not set.
GetAqaraUserResponseTraitPresentValueStructure Type​

This structure defines the Present Value of the GetAqaraUserResponse Trait. Users is a list of user record structures; NextUserId is a nullable pagination cursor.

Member IDField NameTypeMandatoryDescription
0Userslist[AqaraUserRecordStruct]OUser record list, returning at most the Number of records requested, sorted by UserId in ascending order; an empty list when the database is empty.
1NextUserIduint16MStarting user ID for the next pagination query; null indicates the traversal is complete.
GetUserResponseTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the GetUserResponse Trait.

Struct Member No.Field NameTypeMandatoryDescription
0UserIndexuint16MUser index, ranging from 1 to NumberOfTotalUsersSupported.
1UserNamecharacterStringOUsername; the entire key is not sent when empty.
2UserUniqueIDuint32OUser unique ID; the entire key is not sent when empty.
3UserStatusenum8MUser status: 0=Available, 1=OccupiedEnabled, 2=OccupiedDisabled.
4UserTypeenum8MUser type: 0=UnrestrictedUser, 1=YearDayScheduleUser, 2=WeekDayScheduleUser, 3=ProgrammingUser, 4=NonAccessUser, 5=ForcedUser, 6=DisposableUser, 7=ExpiringUser, 8=ScheduleRestrictedUser, 9=RemoteOnlyUser.
5CredentialRuleenum8MCredential rule: 0=Single, 1=Dual, 2=Tri.
6CredentialGetUserResponseCredentialStructureMCredential information.
7CreatorFabricIndexuint16OFabric index of the creator; not reported when null.
8LastModifiedFabricIndexuint16OFabric index of the last modifier; not reported when null.
9NextUserIndexuint16ONext user index; not reported when null.
GetWeekDayScheduleResponseTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the GetWeekDayScheduleResponse Trait.

Struct Member No.Field NameTypeMandatoryDescription
0WeekDayIndexuint8MWeek Day schedule index.
1UserIndexuint16MUser index.
2Statusenum8MResponse status.
3DaysMaskuint16MDay-of-week mask, bits 0..6 correspond to Sunday..Saturday respectively.
4StartHouruint8MStart hour, max 23.
5StartMinuteuint8MStart minute, max 59.
6EndHouruint8MEnd hour, max 23.
7EndMinuteuint8MEnd minute, max 59.
GetYearDayScheduleResponseTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the GetYearDayScheduleResponse Trait.

Struct Member No.Field NameTypeMandatoryDescription
0YearDayIndexuint8MYear Day schedule index.
1UserIndexuint16MUser index.
2Statusenum8MResponse status.
3LocalStartTimeuint32MLocal start time, in Epoch Time in Seconds.
4LocalEndTimeuint32MLocal end time, in Epoch Time in Seconds; should be greater than LocalStartTime.
NetworkInterfacesTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the NetworkInterfaces Trait.

Struct Member No.Field NameTypeMandatoryDescription
0NamecharacterStringMNetwork interface name, max length 32 bytes.
1IsOperationalbooleanMWhether the interface is in the running state.
2OffPremiseServicesReachableIPv4booleanOWhether external network services can be accessed via IPv4; empty means unknown.
3OffPremiseServicesReachableIPv6booleanOWhether external network services can be accessed via IPv6; empty means unknown.
4HardwareAddressoctetStringMHardware MAC address.
5IPv4Addresseslist[octetString]MIPv4 address list.
6IPv6Addresseslist[octetString]MIPv6 address list.
7Typeenum8MInterface type (InterfaceTypeEnum).
LockOperationErrorTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LockOperationError Trait.

Struct Member No.Field NameTypeMandatoryDescription
0LockOperationTypeenum8MType of door lock operation executed.
1OperationSourceenum8MSource of the door lock operation.
2OperationErrorenum8MReason for the operation failure.
3UserIndexuint16MUser index that executed the door lock operation.
4FabricIDuint64MFabric ID that executed the door lock operation.
5SourceNodeuint64MNode ID that executed the door lock operation.
6Credentialslist[Struct]OCredential list used when executing the door lock operation; can be empty when no credential was used.
LockUserChangeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LockUserChange Trait.

Struct Member No.Field NameTypeMandatoryDescription
0LockDataTypeenum8MData type that was changed.
1DataOperationTypeenum8MData operation type.
2OperationSourceenum8MSource that executed the operation.
3UserIndexuint16MUser index that executed the door lock operation.
4FabricIDuint64MFabric ID that executed the door lock operation.
5SourceNodeuint64MNode ID that executed the door lock operation.
6DataIndexuint16OIndex of the changed item in the corresponding LockDataType list.
DoorLockAlarmTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DoorLockAlarm Trait.

Struct Member No.Field NameTypeMandatoryDescription
0AlarmCodeenum8MDoor lock alarm type.
LockOperationTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LockOperation Trait.

Struct Member No.Field NameTypeMandatoryDescription
0LockOperationTypeenum8MType of door lock operation executed.
1OperationSourceenum8MSource of the door lock operation.
2UserSourceenum8OSource of UserId and CredentialId. Defaults to Lock Local when omitted.
3UserIduint32OUnique user identifier.
4CredentialIduint32OUnique credential identifier.
5MatterVendorIduint16OMatter Vendor ID when OperationSource is Remote (Matter Ecosystem).
6LockPositionenum8ODoor lock operation location.
DoorStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the DoorState Trait.

ValueNameDescription
0x00DoorOpenDoor not closed
0x01DoorClosedDoor closed
0x02DoorJammedDoor jammed
0x03DoorForcedOpenDoor forced open
0x04DoorUnspecifiedErrorDoor abnormal
0x05DoorAjarDoor ajar
OperatingModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the OperatingMode Trait.

ValueNameDescription
0x00NormalNormal
0x01VacationVacation
0x02PrivacyPrivacy
0x03NoRemoteLockUnlockNoRemoteLockUnlock
0x04PassagePassage
ClearCredential Command Structure Type​

Parameter structure of the ClearCredential Command.

Struct Member No.Field NameTypeMandatoryDescription
0ClearCredentialstructMCredential to clear.
GetCredentialStatus Command Structure Type​

Parameter structure of the GetCredentialStatus Command.

Struct Member No.Field NameTypeMandatoryDescription
0CredentialstructMCredential.
SetCredential Command Structure Type​

Parameter structure of the SetCredential Command.

Struct Member No.Field NameTypeMandatoryDescription
0OperationTypeuint16MOperation type.
1CredentialstructMCredential.
2CredentialDatacharacterStringMCredential data.
3UserIndexuint16MUser index.
4UserStatusuint32MUser status; default value is OccupiedEnabled.
5UserTypeuint32MUser type; default value is UnrestrictedUser.
GetUser Command Structure Type​

Parameter structure of the GetUser Command.

Struct Member No.Field NameTypeMandatoryDescription
0UserIndexuint16MUser index to query.
ClearUser Command Structure Type​

Parameter structure of the ClearUser Command.

Struct Member No.Field NameTypeMandatoryDescription
0UserIndexuint16MUser index.
SetUser Command Structure Type​

Parameter structure of the SetUser Command.

Struct Member No.Field NameTypeMandatoryDescription
0OperationTypeuint16MOperation type.
1UserIndexuint16MUser index.
2UserNamecharacterStringMUsername.
3UserUniqueIDuint32MUser unique ID; default value is 0xFFFFFFFF.
4UserStatusuint16MUser status; default value is OccupiedEnabled.
5UserTypeint64MUser type; default value is UnrestrictedUser.
6CredentialRuleuint16MCredential rule; default value is Single.
UnboltDoor Command Structure Type​

Parameter structure of the UnboltDoor Command.

Struct Member No.Field NameTypeMandatoryDescription
0CodecharacterStringOCode.
GetYearDaySchedule Command Structure Type​

Parameter structure of the GetYearDaySchedule Command.

Struct Member No.Field NameTypeMandatoryDescription
0YearDayIndexuint8MYear day index; default value is 1.
1UserIndexuint16MUser index; default value is 1.
ClearYearDaySchedule Command Structure Type​

Parameter structure of the ClearYearDaySchedule Command.

Struct Member No.Field NameTypeMandatoryDescription
0YearDayIndexuint8MYear day index; default value is 1.
1UserIndexuint16MUser index; default value is 1.
SetYearDaySchedule Command Structure Type​

Parameter structure of the SetYearDaySchedule Command.

Struct Member No.Field NameTypeMandatoryDescription
0YearDayIndexuint8MYear day index; default value is 1.
1UserIndexuint16MUser index; default value is 1.
2LocalStartTimeuint64MLocal start time.
3LocalEndTimeuint64MLocal end time.
ClearWeekDaySchedule Command Structure Type​

Parameter structure of the ClearWeekDaySchedule Command.

Struct Member No.Field NameTypeMandatoryDescription
0WeekDayIndexuint8MWeek day index; default value is 1.
1UserIndexuint16MUser index; default value is 1.
GetWeekDaySchedule Command Structure Type​

Parameter structure of the GetWeekDaySchedule Command.

Struct Member No.Field NameTypeMandatoryDescription
0WeekDayIndexuint8MWeek day index; default value is 1.
1UserIndexuint16MUser index; default value is 1.
SetWeekDaySchedule Command Structure Type​

Parameter structure of the SetWeekDaySchedule Command.

Struct Member No.Field NameTypeMandatoryDescription
0WeekDayIndexuint8MWeek day index; default value is 1.
1UserIndexuint16MUser index; default value is 1.
2DaysMaskenum8MDate mask.
3StartHouruint8MStart hour; default value is 0.
4StartMinuteuint8MStart minute; default value is 0.
5EndHouruint8MEnd hour; default value is 0.
6EndMinuteuint8MEnd minute; default value is 0.
UnlockDoor Command Structure Type​

Parameter structure of the UnlockDoor Command.

Struct Member No.Field NameTypeMandatoryDescription
0CodecharacterStringOUnlock key.
LockDoor Command Structure Type​

Parameter structure of the LockDoor Command.

Struct Member No.Field NameTypeMandatoryDescription
0CodecharacterStringO
GetLog Command Structure Type​

Parameter structure of the GetLog Command.

Struct Member No.Field NameTypeMandatoryDescription
0StartIndexuint16MStart index.
1EndIndexuint16MEnd index.
ExitAddAqaraCredential Command Structure Type​

Parameter structure of the ExitAddAqaraCredential Command.

Struct Member No.Field NameTypeMandatoryDescription
1UserIduint16MUser ID.
2CredentialAttributeenum8MCredential attribute.
3CredentialTypeenum8MCredential type.
GetAqaraCredential Command Structure Type​

Parameter structure of the GetAqaraCredential Command.

Struct Member No.Field NameTypeMandatoryDescription
1UserIduint16MUser ID.
2CredentialIduint16MCredential ID.
DeleteAqaraCredential Command Structure Type​

Parameter structure of the DeleteAqaraCredential Command.

Struct Member No.Field NameTypeMandatoryDescription
1CredentialIduint16MCredential ID.
ModifyAqaraCredential Command Structure Type​

Parameter structure of the ModifyAqaraCredential Command.

Struct Member No.Field NameTypeMandatoryDescription
1CredentialIduint16MCredential ID.
2CredentialAttributeenum8OCredential attribute.
3CredentialTypeenum8OCredential type.
4CredentialContentstructOCredential content.
5ValiditystructOValidity.
6CredentialNamecharacterStringOCredential name.
AddAqaraCredential Command Structure Type​

Parameter structure of the AddAqaraCredential Command.

Struct Member No.Field NameTypeMandatoryDescription
1UserIduint16MUser ID.
2CredentialAttributeenum8MCredential attribute.
3CredentialTypeenum8MCredential type.
4CredentialContentstructOCredential content.
5ValiditystructOValidity.
6CredentialNamecharacterStringOCredential name.
DeleteAqaraUser Command Structure Type​

Parameter structure of the DeleteAqaraUser Command.

Struct Member No.Field NameTypeMandatoryDescription
1UserIduint16MUser ID.
ModifyAqaraUser Command Structure Type​

Parameter structure of the ModifyAqaraUser Command.

Struct Member No.Field NameTypeMandatoryDescription
1UserIduint16MUser ID.
2UserTypeenum8OUser type.
3UserNamecharacterStringOUsername.
AddAqaraUser Command Structure Type​

Parameter structure of the AddAqaraUser Command.

Struct Member No.Field NameTypeMandatoryDescription
1UserTypeenum8MUser type.
2UserNamecharacterStringMUsername.
GetAqaraUser Command Structure Type​

Parameter structure of the GetAqaraUser Command.

Struct Member No.Field NameTypeMandatoryDescription
1UserIduint16MStarting user ID to query; user IDs start from 1.
2Numberuint8MMaximum number of user records returned per request, minimum value is 1.
SetTravelCalibration Command Structure Type​

Parameter structure of the SetTravelCalibration Command.

Struct Member No.Field NameTypeMandatoryDescription
0TravelCalibrationCmdenum8MTravel calibration command.

Trait Definitions​

Trait IDNameConformance
0x80CALockStateM
0x50B4FingerprintEnrollProgressO
0x50B3LockErrorLogReportO
0x50B2LockLogReportO
0x50B1DoorLogReportO
0x50B0AqaraUserErrorO
0x50AFAqaraUserChangeO
0x51F1GetAqaraUserResponseO
0x50ACWiFiConfigStatusO
0x50ABWifiModeO
0x50A9WiFiStatusO
0x50A8FirmwareDowngradeEnabledO
0x50A7VoiceOTAStatusO
0x50A6OTASilentUpgradeO
0x50A5OTAProgressO
0x50A4UWBApproachDirectionO
0x50A2SupportedNfcCardTypesO
0x50A1VoicePackageInfoO
0x518ADetectionDistanceO
0x518BDetectionThresholdO
0x509CRemoteUnlockRelockDelayO
0x509BLocalCredentialLockoutDurationO
0x509AAutoUnlockO
0x5098AwayModeArmingO
0x5097LockQuietModeO
0x5096NormalModeSpeedO
0x5095DoorbellLightEnabledO
0x5094DeviceOrientationO
0x5047MotorStrengthO
0x5092PullSpringO
0x5090FrontLockConnectionStatusO
0x508FDoorHandleDirectionO
0x508ELocalSettingO
0x508DDualVerificationO
0x508CLockWorkModeO
0x5060LocalMenuEntryMethodO
0x505FDoorLockAlarmStatusO
0x505ETamperAlarmEnabledO
0x505DHardInfoO
0x505CDoorAjarConfigO
0x505BDoorNotLockedConfigO
0x505ADoorNotClosedConfigO
0x5059AlarmVolumeO
0x5058LockJammedVolumeO
0x5057AwayModePromptVolumeO
0x5056DemoVoiceVolumeO
0x5055AbnormalVibrationAlarmVolumeO
0x5054VoiceVolumeO
0x5053DoorbellVolumeO
0x5052UnlockVolumeO
0x4F5DEnableElectronicLockoutModeO
0x4F5BEnableAwayModeO
0x514BAqaraLockStateExtensionO
0x514CAqaraDoorStateExtensionO
0x514DDoorLockStateChangeTimestampO
0x4EF3VoiceLanguageO
0x4F09OTAStateO
0x5080ChildLockO
0x5169ButtonLockUnlockEnabledO
0x509DAlwaysOpenModeO
0x514EAuxRotationEnabledO
0x514FSpeedFollowEnabledO
0x5149DoorbellEnabledO
0x514ADoorbellSensitivityO
0x513FUWBEnabledO
0x5140UWBDoubleDoorModeO
0x5141UWBMinUnlockDistanceO
0x5142UWBFastStartModeO
0x5143UWBRangingTimeoutO
0x5144UWBSignalLostTimeoutO
0x5145UWBMultiEntrancesModeO
0x513CCloseDoorAutoRelockEnabledO
0x513DCloseDoorAutoRelockTimeO
0x513ERemoteUnlockAutoRelockEnabledO
0x5185MagneticEncoderCalibrationStatusO
0x518DBoltTravelConfiguredO
0x507AEnableDeadboltO
0x5031ConfigOperationO
0x80C9StateOfLowBatO
0x4E71GetCredentialStatusResponseO
0x4E70SetCredentialResponseO
0x4E6FGetUserResponseO
0x4E6DGetWeekDayScheduleResponseO
0x4E6EGetYearDayScheduleResponseO
0x4E6BNumberOfCredentialsSupportedPerUserO
0x4E6ANumberOfYearDaySchedulesSupportedPerUserO
0x4E69NumberOfWeekDaySchedulesSupportedPerUserO
0x4E68NumberOfRFIDUsersSupportedO
0x4E67NumberOfPINUsersSupportedO
0x4E66NumberOfTotalUsersSupportedO
0x4E2ANetworkInterfacesO
0x8171LockOperationErrorO
0x9C40RemoteControlWithAuthCodeO
0x8173LockUserChangeO
0x8172DoorLockAlarmO
0x8170LockOperationO
0x8125RemoteUnlockO
0x8102SupportedRemoteFeaturesO
0x8101EnableRemoteControlO
0x80CBDoorStateO
0x8133ActuatorEnabledO
0x8130AlarmMaskO
0x812ACredentialRulesSupportO
0x812FExpiringUserTimeoutO
0x8126MaxPINCodeLengthO
0x8128MaxRFIDCodeLengthO
0x8127MinPINCodeLengthO
0x8129MinRFIDCodeLengthO
0x812BOperatingModeO
0x812ERequirePINForRemoteOperationO
0x812DSendPINOverTheAirO
0x812CUserCodeTemporaryDisableTimeO
0x8131SupportsTapToUnlockO
0x8132SupportsTapToLockO

LockState Trait​

This Trait is used for access to and reporting of "lock state" data.

Trait IDCode
0x80CALockState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockStateEnum80RVM
0x0006Supported Valuelist[LockStateEnum8]RO

FingerprintEnrollProgress Trait​

During a registration session, the device sends a FingerprintEnrollProgress event after each fingerprint enrollment attempt. A complete registration session consists of multiple attempts (currently 8); the device should emit this event after each attempt.

Trait IDCode
0x50B4FingerprintEnrollProgress
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFingerprintEnrollProgressTraitPresentValueStructureVO

LockErrorLogReport Trait​

Emitted whenever the device records an external or internal exception defined by the LockErrorCodeEnum Type.

Trait IDCode
0x50B3LockErrorLogReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockErrorLogReportTraitPresentValueStructureVO

LockLogReport Trait​

Emitted whenever the device records a lock or unlock operation.

Trait IDCode
0x50B2LockLogReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockLogReportTraitPresentValueStructureVO

DoorLogReport Trait​

Emitted whenever the device records a door state event.

Trait IDCode
0x50B1DoorLogReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorLogReportTraitPresentValueStructureVO

AqaraUserError Trait​

This Trait is used to report error information about failed Aqara user or credential management operations.

Trait IDCode
0x50B0AqaraUserError
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAqaraUserErrorTraitPresentValueStructureVO

AqaraUserChange Trait​

The result status should be broadcast to all subscribers, regardless of where the change originated (remote command, local touch panel, factory reset, etc.).

Trait IDCode
0x50AFAqaraUserChange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAqaraUserChangeTraitPresentValueStructureVO

WiFiConfigStatus Trait​

Should indicate the current Wi-Fi provisioning/configuration phase of the device, encoded as the WiFiConfigStatusEnum Type.

Trait IDCode
0x50ACWiFiConfigStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWiFiConfigStatusEnum80RVO
0x0006Supported Valuelist[WiFiConfigStatusEnum8]RO

WifiMode Trait​

Should configure the Wi-Fi runtime power/behavior mode of the device, encoded as the WifiModeEnum Type.

Trait IDCode
0x50ABWifiMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWifiModeEnum80RVWO
0x0006Supported Valuelist[WifiModeEnum8]RO
0x0007Default ValueWifiModeEnum80RWO

WiFiStatus Trait​

Should indicate the current Wi-Fi connection status of the device, encoded as the WiFiStatusEnum Type.

Trait IDCode
0x50A9WiFiStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWiFiStatusEnum80RVO
0x0006Supported Valuelist[WiFiStatusEnum8]RO

FirmwareDowngradeEnabled Trait​

Should control whether the device firmware version can be downgraded. false (0) should prohibit downgrade; true (1) should allow downgrade.

Trait IDCode
0x50A8FirmwareDowngradeEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0WO
0x0007Default Valueboolean0RWO

VoiceOTAStatus Trait​

Should indicate the current voice firmware OTA upgrade status.

Trait IDCode
0x50A7VoiceOTAStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVoiceOTAStatusTraitPresentValueStructureRVO

OTASilentUpgrade Trait​

Should configure the silent OTA firmware upgrade function.

Trait IDCode
0x50A6OTASilentUpgrade
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOTASilentUpgradeTraitPresentValueStructureRVWO

OTAProgress Trait​

Should indicate the current OTA firmware progress, reporting the upgrade completion percentage in the range 1 to 100.

Trait IDCode
0x50A5OTAProgress
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81RVO
0x0002Maximum Valueuint8100RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

UWBApproachDirection Trait​

Should configure the UWB approach direction zones. Each bit enables detection of a specific side zone.

Trait IDCode
0x50A4UWBApproachDirection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVWO

SupportedNfcCardTypes Trait​

Should indicate the set of NFC card types enabled for credential identification on the door lock, encoded as the SupportedNfcCardTypesBitmap Type.

Trait IDCode
0x50A2SupportedNfcCardTypes
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVWO

VoicePackageInfo Trait​

Should configure the door lock voice package metadata. Each item in the list is encoded as the VoicePackageInfoItemStruct Type.

Trait IDCode
0x50A1VoicePackageInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[VoicePackageInfoTraitPresentValueStructure]RVWO

DetectionDistance Trait​

This Trait indicates the effective detection distance of the door lock radar, in centimeters.

Trait IDCode
0x518ADetectionDistance
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16RVWO
0x0002Maximum Valueuint16600RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint16300RWO

DetectionThreshold Trait​

This Trait indicates the radar detection sensitivity threshold used to distinguish valid detection events from noise.

Trait IDCode
0x518BDetectionThreshold
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16RVWO
0x0002Maximum Valueuint1612RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint161RWO

RemoteUnlockRelockDelay Trait​

Should configure the delay in seconds before the door lock automatically relocks after a remote unlock. The unit is seconds.

Trait IDCode
0x509CRemoteUnlockRelockDelay
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1630RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint1630RWO

CloseDoorAutoRelockEnabled Trait​

This Trait is used to enable or disable the automatic relock function of the door lock after the door is closed. When enabled, the relock delay is configured by CloseDoorAutoRelockTime.

Trait IDCode
0x513CCloseDoorAutoRelockEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AqaraLockStateExtension Trait​

This Trait is used to report Aqara door lock abnormal lock states that cannot be expressed by the standard LockState. This value can be NULL when the lock body cannot determine the lock mechanism state for the time being.

Trait IDCode
0x514BAqaraLockStateExtension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint8254RVO

AqaraDoorStateExtension Trait​

This Trait is used to report Aqara door lock abnormal door states that cannot be expressed by the standard DoorState. This value can be NULL when the lock body cannot determine the door state for the time being.

Trait IDCode
0x514CAqaraDoorStateExtension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint8254RVO

DoorLockStateChangeTimestamp Trait​

This Trait indicates the timestamp of the most recent change of the reported door lock state, using a Unix timestamp (milliseconds, ms). This value can be NULL when the device has not yet reported a state change.

Trait IDCode
0x514DDoorLockStateChangeTimestamp
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVO
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO

VoiceLanguage Trait​

This Trait indicates the current voice broadcast language.

Trait IDCode
0x4EF3VoiceLanguage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint8RVWO
0x0006Supported Valuelist[uint8]RO
0x0007Default Valueuint81RWO

OTAState Trait​

This Trait indicates the current OTA firmware upgrade state of the device.

Trait IDCode
0x4F09OTAState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81RVO

ButtonLockUnlockEnabled Trait​

This Trait is used to enable or disable the single-press button lock/unlock function. When the value is true, the user can lock or unlock by a single press of the button; when the value is false, this function is disabled.

Trait IDCode
0x5169ButtonLockUnlockEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AlwaysOpenMode Trait​

This Trait is used to enable or disable the always-open mode. When the value is true, always-open mode is enabled; when the value is false, always-open mode is disabled.

Trait IDCode
0x509DAlwaysOpenMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AuxRotationEnabled Trait​

This Trait is used to control whether the auxiliary rotation function of the door lock is enabled.

Trait IDCode
0x514EAuxRotationEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SpeedFollowEnabled Trait​

This Trait is used to control whether the speed follow function of the door lock is enabled.

Trait IDCode
0x514FSpeedFollowEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DoorbellEnabled Trait​

This Trait is used to enable or disable the doorbell function.

Trait IDCode
0x5149DoorbellEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DoorbellSensitivity Trait​

This Trait indicates the doorbell sensing sensitivity level.

Trait IDCode
0x514ADoorbellSensitivity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81RVWO
0x0007Default Valueuint81RWO

UWBMinUnlockDistance Trait​

This Trait indicates the UWB minimum unlock distance of the door lock, in mm.

UWBEnabled Trait​

This Trait is used to enable or disable the UWB function.

Trait IDCode
0x513FUWBEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

UWBDoubleDoorMode Trait​

This Trait is used to enable or disable the UWB double-door mode.

Trait IDCode
0x5140UWBDoubleDoorMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

UWBFastStartMode Trait​

This Trait is used to enable or disable the UWB quick start mode.

Trait IDCode
0x5142UWBFastStartMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

UWBMultiEntrancesMode Trait​

This Trait is used to enable or disable the UWB multi-entrance mode.

Trait IDCode
0x5145UWBMultiEntrancesMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueuint160RWO
Trait IDCode
0x5141UWBMinUnlockDistance
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161000RVWO

UWBRangingTimeout Trait​

This Trait indicates the timeout of the door lock UWB ranging session, in milliseconds.

Trait IDCode
0x5143UWBRangingTimeout
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1610RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint1610RWO

UWBSignalLostTimeout Trait​

This Trait indicates the timeout that the door lock waits for subsequent actions after losing the UWB signal, in milliseconds.

Trait IDCode
0x5144UWBSignalLostTimeout
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1630RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint1630RWO

CloseDoorAutoRelockTime Trait​

This Trait indicates the current close-door auto relock parameters of the door lock. AutoLockTime represents the delay in seconds before relocking.

Trait IDCode
0x513DCloseDoorAutoRelockTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCloseDoorAutoRelockTimeTraitPresentValueStructureRVWO

MagneticEncoderCalibrationStatus Trait​

This Trait indicates the magnetic encoder calibration status of the door lock.

Trait IDCode
0x5185MagneticEncoderCalibrationStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO

BoltTravelConfigured Trait​

This Trait indicates the bolt travel configuration status of the door lock.

Trait IDCode
0x518DBoltTravelConfigured
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

RemoteUnlockAutoRelockEnabled Trait​

This Trait is used to enable or disable the automatic relock function after a remote unlock. When enabled, the relock delay is configured by RemoteUnlockAutoRelockTime.

Trait IDCode
0x513ERemoteUnlockAutoRelockEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

LocalCredentialLockoutDuration Trait​

Should indicate the remaining lockout seconds applied to local credential entry (e.g., device keypad PIN, fingerprint sensor, NFC reader, face/palm vein) after too many failed verification attempts. When this attribute is non-empty and non-zero, the device should reject local credential attempts and decrement this value over time.

Trait IDCode
0x509BLocalCredentialLockoutDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint3290RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint3290RWO

AutoUnlock Trait​

Should configure the Aqara-specific automatic unlock behavior, encoded as a 32-bit unsigned integer, in seconds. This value should specify the delay before automatic unlock; a value of 0 should disable automatic unlock.

Trait IDCode
0x509AAutoUnlock
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

AwayModeArming Trait​

Indicates the away mode arm/disarm state: false (0) disarmed, true (1) armed.

Trait IDCode
0x5098AwayModeArming
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanRVWO
0x0007Default Valueboolean0RWO

LockQuietMode Trait​

Should configure the quiet motor speed mode for lock/unlock operations. QuietModeEnabled controls whether quiet mode is active. QuietModeSpeed uses the MotorSpeedEnum Type to set the motor speed within the quiet window. ValidStartUtc and ValidEndUtc specify the UTC time range in which quiet mode takes effect; setting both to 0 means the schedule is not active.

Trait IDCode
0x5097LockQuietMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockQuietModeTraitPresentValueStructureRVWO

NormalModeSpeed Trait​

Should configure the motor speed level used in normal (daily) operating mode, i.e., when quiet mode is not active. This value should be a MotorSpeedEnum Type entry to select the speed level.

Trait IDCode
0x5096NormalModeSpeed
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNormalModeSpeedEnum80RVWO
0x0006Supported Valuelist[NormalModeSpeedEnum8]RO
0x0007Default ValueNormalModeSpeedEnum80RWO

DoorbellLightEnabled Trait​

Should enable or disable the doorbell indicator light.

Trait IDCode
0x5095DoorbellLightEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DeviceOrientation Trait​

Should configure the physical orientation of the door lock. DoorOpenDirection uses the DoorOpenDirectionEnum Type to specify whether the door opens outward or inward. InstallationOrientation uses the InstallationOrientationEnum Type to specify the installation axis of the lock body.

Trait IDCode
0x5094DeviceOrientation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDeviceOrientationTraitPresentValueStructureRVWO

MotorStrength Trait​

This Trait indicates the motor strength of the door lock.

Trait IDCode
0x5047MotorStrength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint8RVWO
0x0007Default Valueuint80RWO

PullSpring Trait​

Should configure the pull spring mechanism. Enabled controls whether the pull spring is activated. LatchRetractTime specifies the bolt retraction time (milliseconds).

Trait IDCode
0x5092PullSpring
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePullSpringTraitPresentValueStructureRVWO

FrontLockConnectionStatus Trait​

Should indicate the connection status between the front and rear lock bodies. false (0x00) means not connected; true (0x01) means connected.

Trait IDCode
0x5090FrontLockConnectionStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

DoorHandleDirection Trait​

Should configure the opening direction of the door handle. RightOpen means the door opens to the right; LeftOpen means the door opens to the left.

Trait IDCode
0x508FDoorHandleDirection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorHandleDirectionEnum80RVWO
0x0006Supported Valuelist[DoorHandleDirectionEnum8]RO
0x0007Default ValueDoorHandleDirectionEnum80RWO

LocalSetting Trait​

Should enable or disable the local settings function of the door lock. When set to true, local configuration changes on the device are allowed; when set to false, local configuration is locked.

Trait IDCode
0x508ELocalSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DualVerification Trait​

Should enable or disable the dual verification mode of the door lock. When enabled, the door lock requires two independent credential verifications to grant access.

Trait IDCode
0x508DDualVerification
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

LockWorkMode Trait​

Should configure the operating mode of the door lock. Normal (0) selects standard operation. InstallationInspection (1) activates the on-site installation function inspection mode for field testing. Demo (2) activates demo mode for product display.

Trait IDCode
0x508CLockWorkMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockWorkModeEnum80RVWO
0x0006Supported Valuelist[LockWorkModeEnum8]RO
0x0007Default Valueuint80RWO

LocalMenuEntryMethod Trait​

Should configure the authentication method allowed to enter the device local menu.

Trait IDCode
0x5060LocalMenuEntryMethod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVWO

DoorLockAlarmStatus Trait​

Should report the current combined state of the door lock device as a read-only snapshot. This attribute should be null when the device has not yet reported its state.

Trait IDCode
0x505FDoorLockAlarmStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorLockAlarmStatusTraitPresentValueStructureRVO

TamperAlarmEnabled Trait​

Should enable or disable the tamper alarm. When set to true, the door lock should trigger an alarm when a tamper event is detected.

Trait IDCode
0x505ETamperAlarmEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

HardInfo Trait​

Should provide a read-only string encoding the version and identity information of the door lock device and its back cover module. This string should be UTF-8 encoded, with a maximum length of 256 bytes.

Trait IDCode
0x505DHardInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

DoorAjarConfig Trait​

Should configure the door ajar alarm behavior. The Enabled field enables or disables the alarm. The Volume field sets the alarm volume. The WaitTime field defines the timeout in seconds before the alarm is triggered while the door remains ajar (bolt not fully engaged). The optional AlarmDuration field, if present, specifies the number of seconds the alarm should last per trigger.

Trait IDCode
0x505CDoorAjarConfig
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorAjarConfigTraitPresentValueStructureRVWO

DoorNotLockedConfig Trait​

Should configure the door not locked alarm behavior. The Enabled field enables or disables the alarm. The Volume field sets the alarm volume. The WaitTime field defines the timeout in seconds before the alarm is triggered while the door remains closed but unlocked. The optional AlarmDuration field, if present, specifies the number of seconds the alarm should last per trigger.

Trait IDCode
0x505BDoorNotLockedConfig
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorNotLockedConfigTraitPresentValueStructureRVWO

DoorNotClosedConfig Trait​

Should configure the door not closed alarm behavior. The Enabled field enables or disables the alarm. The Volume field sets the alarm volume. The WaitTime field defines the timeout in seconds before the alarm is triggered while the door remains open. The optional AlarmDuration field, if present, specifies the number of seconds the alarm should last per trigger.

Trait IDCode
0x505ADoorNotClosedConfig
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorNotClosedConfigTraitPresentValueStructureRVWO

AlarmVolume Trait​

Should configure the general alarm volume level.

Trait IDCode
0x5059AlarmVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAlarmVolumeEnum80RVWO
0x0006Supported Valuelist[AlarmVolumeEnum8]RO
0x0007Default ValueAlarmVolumeEnum80RWO

LockJammedVolume Trait​

Should configure the volume level of the alarm triggered when the lock mechanism is jammed.

Trait IDCode
0x5058LockJammedVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockJammedVolumeEnum80RVWO
0x0006Supported Valuelist[LockJammedVolumeEnum8]RO
0x0007Default ValueLockJammedVolumeEnum80RWO

AwayModePromptVolume Trait​

Should configure the volume level of the away mode arm/disarm prompts.

Trait IDCode
0x5057AwayModePromptVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAwayModePromptVolumeEnum80RVWO
0x0006Supported Valuelist[AwayModePromptVolumeEnum8]RO
0x0007Default ValueAwayModePromptVolumeEnum80RWO

DemoVoiceVolume Trait​

Should configure the demo firmware voice volume level, used for showroom demonstration.

Trait IDCode
0x5056DemoVoiceVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDemoVoiceVolumeEnum80RVWO
0x0006Supported Valuelist[DemoVoiceVolumeEnum8]RO
0x0007Default ValueDemoVoiceVolumeEnum80RWO

AbnormalVibrationAlarmVolume Trait​

Should configure the abnormal vibration alarm volume level, used for the safe box function.

Trait IDCode
0x5055AbnormalVibrationAlarmVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAbnormalVibrationAlarmVolumeEnum80RVWO
0x0006Supported Valuelist[AbnormalVibrationAlarmVolumeEnum8]RO
0x0007Default ValueAbnormalVibrationAlarmVolumeEnum80RWO

VoiceVolume Trait​

Should configure the voice prompt volume level.

Trait IDCode
0x5054VoiceVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVoiceVolumeEnum80RVWO
0x0006Supported Valuelist[VoiceVolumeEnum8]RO
0x0007Default ValueVoiceVolumeEnum80RWO

DoorbellVolume Trait​

Should configure the doorbell volume level.

Trait IDCode
0x5053DoorbellVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorbellVolumeEnum80RVWO
0x0006Supported Valuelist[DoorbellVolumeEnum8]RO
0x0007Default ValueDoorbellVolumeEnum80RWO

UnlockVolume Trait​

Should configure the unlock prompt tone volume level.

Trait IDCode
0x5052UnlockVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueUnlockVolumeEnum80RVWO
0x0006Supported Valuelist[UnlockVolumeEnum8]RO
0x0007Default ValueUnlockVolumeEnum80RWO

EnableElectronicLockoutMode Trait​

Should enable/disable the electronic lockout mode (child lock). When enabled, the touch panel and keypad are locked to prevent accidental operation.

Trait IDCode
0x4F5DEnableElectronicLockoutMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableAwayMode Trait​

Enable/disable away mode.

Trait IDCode
0x4F5BEnableAwayMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableDeadbolt Trait​

This Trait is used for access to and reporting of "enable deadbolt" data.

Trait IDCode
0x507AEnableDeadbolt
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ConfigOperation Trait​

This Trait is used for access to and reporting of "door lock configuration operation" data.

Trait IDCode
0x5031ConfigOperation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueConfigOperationEnum80RVO
0x0006Supported Valuelist[ConfigOperationEnum8]RO

StateOfLowBat Trait​

Indicates whether the battery is in a low battery state. 0: Normal, 1: Low battery, 2: Critically low.

Trait IDCode
0x80C9StateOfLowBat
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStateOfLowBatEnum80RVO
0x0006Supported Valuelist[StateOfLowBatEnum8]RO

GetCredentialStatusResponse Trait​

This Trait is used for access to and reporting of "get credential status reply" data.

Trait IDCode
0x4E71GetCredentialStatusResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueGetCredentialStatusResponseTraitPresentValueStructureRVO

SetCredentialResponse Trait​

This Trait is used for access to and reporting of "set credential reply" data.

Trait IDCode
0x4E70SetCredentialResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSetCredentialResponseTraitPresentValueStructureRVO

GetUserResponse Trait​

This Trait is used for access to and reporting of "get user reply" data.

Trait IDCode
0x4E6FGetUserResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[GetUserResponseTraitPresentValueStructure]RVO

GetAqaraUserResponse Trait​

This Trait is used to carry the user record list returned by GetAqaraUserResponse.

Trait IDCode
0x51F1GetAqaraUserResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueGetAqaraUserResponseTraitPresentValueStructureRVO

GetWeekDayScheduleResponse Trait​

This Trait is used for access to and reporting of "get weekly schedule reply" data.

Trait IDCode
0x4E6DGetWeekDayScheduleResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueGetWeekDayScheduleResponseTraitPresentValueStructureRVO

GetYearDayScheduleResponse Trait​

This Trait is used for access to and reporting of "get yearly schedule reply" data.

Trait IDCode
0x4E6EGetYearDayScheduleResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueGetYearDayScheduleResponseTraitPresentValueStructureRVO

NumberOfCredentialsSupportedPerUser Trait​

This Trait is used for access to and reporting of "credentials per user supported" data.

Trait IDCode
0x4E6BNumberOfCredentialsSupportedPerUser
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0007Default Valueuint80RWO

NumberOfYearDaySchedulesSupportedPerUser Trait​

This Trait is used for access to and reporting of "yearly schedules per user supported" data.

Trait IDCode
0x4E6ANumberOfYearDaySchedulesSupportedPerUser
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0007Default Valueuint80RWO

NumberOfWeekDaySchedulesSupportedPerUser Trait​

This Trait is used for access to and reporting of "weekly schedules per user supported" data.

Trait IDCode
0x4E69NumberOfWeekDaySchedulesSupportedPerUser
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0007Default Valueuint80RWO

NumberOfRFIDUsersSupported Trait​

This Trait is used for access to and reporting of "RFID user count" data.

Trait IDCode
0x4E68NumberOfRFIDUsersSupported
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint160RWO

NumberOfPINUsersSupported Trait​

This Trait is used for access to and reporting of "PIN user count" data.

Trait IDCode
0x4E67NumberOfPINUsersSupported
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint160RWO

NumberOfTotalUsersSupported Trait​

This Trait is used for access to and reporting of "total door lock user count" data.

Trait IDCode
0x4E66NumberOfTotalUsersSupported
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint160RWO

NetworkInterfaces Trait​

This feature describes the network interfaces supported by the device.

Trait IDCode
0x4E2ANetworkInterfaces
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[NetworkInterfacesTraitPresentValueStructure]RVO

LockOperationError Trait​

When a door lock operation fails for various reasons, the door lock will emit a LockOperationError event.

Trait IDCode
0x8171LockOperationError
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockOperationErrorTraitPresentValueStructureVO

RemoteControlWithAuthCode Trait​

This Trait is used for access to and reporting of "remote control (with authorization code) - Aqara private" data.

Trait IDCode
0x9C40RemoteControlWithAuthCode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringWO

LockUserChange Trait​

When a door lock user, schedule or credential changes, the door lock will emit a LockUserChange event.

Trait IDCode
0x8173LockUserChange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockUserChangeTraitPresentValueStructureVO

DoorLockAlarm Trait​

The door lock can send various alarms when critical states occur.

Trait IDCode
0x8172DoorLockAlarm
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorLockAlarmTraitPresentValueStructureVO
0x0006Extended Supported Valueslist[enum8]RO

LockOperation Trait​

When the device successfully unlocks/locks through any supported method, the lock operation event is recorded and reported. It provides detailed context of the unlock/lock operation, including the source (e.g., Matter ecosystem or local method), user identity and the specific credential used.

Trait IDCode
0x8170LockOperation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockOperationTraitPresentValueStructureVO
0x0006Extended Supported Valueslist[enum8]RO

RemoteUnlock Trait​

This Trait is used for access to and reporting of "remote unlock - Aqara private" data.

Trait IDCode
0x8125RemoteUnlock
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SupportedRemoteFeatures Trait​

This Trait is used for access to and reporting of "supported remote features" data.

Trait IDCode
0x8102SupportedRemoteFeatures
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRO

EnableRemoteControl Trait​

This Trait is used for access to and reporting of "remote control enable" data.

Trait IDCode
0x8101EnableRemoteControl
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DoorState Trait​

This Trait is used for access to and reporting of "door state" data.

Trait IDCode
0x80CBDoorState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorStateEnum80RVO
0x0006Supported Valuelist[DoorStateEnum8]RO

ActuatorEnabled Trait​

This Trait is used for access to and reporting of "actuator enable" data.

Trait IDCode
0x8133ActuatorEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

AlarmMask Trait​

This Trait is used for access to and reporting of "alarm mask" data.

Trait IDCode
0x8130AlarmMask
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO
0x0007Default Valueuint161RWO

CredentialRulesSupport Trait​

This Trait is used for access to and reporting of "credential rules support" data.

Trait IDCode
0x812ACredentialRulesSupport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

ExpiringUserTimeout Trait​

This Trait is used for access to and reporting of "user timeout expired" data. Unit: S.

Trait IDCode
0x812FExpiringUserTimeout
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVWO
0x0002Maximum Valuefloat2880.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat1RWO

MaxPINCodeLength Trait​

This Trait is used for access to and reporting of "max PIN code length" data.

Trait IDCode
0x8126MaxPINCodeLength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

MaxRFIDCodeLength Trait​

This Trait is used for access to and reporting of "max RFID length" data.

Trait IDCode
0x8128MaxRFIDCodeLength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

MinPINCodeLength Trait​

This Trait is used for access to and reporting of "min PIN code length" data.

Trait IDCode
0x8127MinPINCodeLength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

MinRFIDCodeLength Trait​

This Trait is used for access to and reporting of "min RFID length" data.

Trait IDCode
0x8129MinRFIDCodeLength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

OperatingMode Trait​

This Trait is used for access to and reporting of "operating mode" data.

Trait IDCode
0x812BOperatingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOperatingModeEnum8RVWO
0x0006Supported Valuelist[OperatingModeEnum8]RO
0x0007Default ValueOperatingModeEnum80RWO

RequirePINForRemoteOperation Trait​

This Trait is used for access to and reporting of "PIN code required for remote operation" data.

Trait IDCode
0x812ERequirePINForRemoteOperation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

SendPINOverTheAir Trait​

This Trait is used for access to and reporting of "send PIN code over the air" data.

Trait IDCode
0x812DSendPINOverTheAir
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

UserCodeTemporaryDisableTime Trait​

This Trait is used for access to and reporting of "user code temporary disable time" data. Unit: S.

Trait IDCode
0x812CUserCodeTemporaryDisableTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVWO
0x0002Maximum Valuefloat255.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat1RWO

SupportsTapToUnlock Trait​

This Trait is used for access to and reporting of "supports tap to unlock" data.

Trait IDCode
0x8131SupportsTapToUnlock
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

SupportsTapToLock Trait​

This Trait is used for access to and reporting of "supports tap to lock" data.

Trait IDCode
0x8132SupportsTapToLock
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

SetTravelCalibrationResponse Command​

This command is used to respond to SetTravelCalibration, reporting the execution result of the travel calibration session.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MTravel calibration result; 0x00 means success, non-zero values indicate failure reasons.

AddAqaraUserResponse Command​

This command is used to respond to AddAqaraUser, reporting the user creation result and returning the UserId assigned by the device.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MUser creation result.
2UserIduint16MNew user ID assigned by the device on success.

ModifyAqaraUserResponse Command​

This command is used to respond to ModifyAqaraUser, reporting the user modification result.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MUser modification result.
2UserIduint16MID of the modified user.

DeleteAqaraUserResponse Command​

This command is used to respond to DeleteAqaraUser, reporting the user deletion result.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MUser deletion result.
2UserIduint16MID of the deleted user.

GetAqaraUserResponse Response Data Format​

The device returns user records and a pagination cursor in this response. The table below only lists the fields used by the Aqara Spec user data model; the Trait only stores Users, not including ErrorCode. Field IDs follow the Extension definitions.

Parameter No.Field NameTypeMandatoryDescription
2Userslist[AqaraUserRecordStruct]OUser record list, returning at most the Number of records requested, sorted by UserId in ascending order; an empty list when the database is empty.
3NextUserIduint16MStarting user ID for the next pagination query; null indicates the traversal is complete.

AddAqaraCredentialResponse Command​

This command is used to respond to AddAqaraCredential, reporting the credential addition result and returning the CredentialId on success.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MCredential addition result.
2UserIduint16MUser ID to which the credential belongs.
3CredentialIduint16OCredential ID assigned by the device on success.

ModifyAqaraCredentialResponse Command​

This command is used to respond to ModifyAqaraCredential, reporting the credential modification result.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MCredential modification result.
2CredentialIduint16MID of the modified credential.

DeleteAqaraCredentialResponse Command​

This command is used to respond to DeleteAqaraCredential, reporting the credential deletion result.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MCredential deletion result.
2CredentialIduint16MID of the deleted credential.

GetAqaraCredentialResponse Command​

This command is used to respond to GetAqaraCredential, returning the credential query result and the credential record.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MCredential query result.
2UserIduint16OUser ID to which the credential belongs.
3CredentialStructOCredential record.

ExitAddAqaraCredentialResponse Command​

This command is used to respond to ExitAddAqaraCredential, reporting the result of exiting the credential enrollment session.

Parameter No.Field NameTypeMandatoryDescription
0ErrorCodeenum8MExit session result.
2UserIduint16MUser ID of the session being exited.

Command Definitions​

Command IDNameConformance
0x9C61GetUserO
0x9C65ClearCredentialO
0x9C64GetCredentialStatusO
0x9C63SetCredentialO
0x9C62ClearUserO
0x9C60SetUserO
0x9C5FUnboltDoorO
0x9C5DGetYearDayScheduleO
0x9C5EClearYearDayScheduleO
0x9C5CSetYearDayScheduleO
0x9C5BClearWeekDayScheduleO
0x9C5AGetWeekDayScheduleO
0x9C59SetWeekDayScheduleO
0x88CDQuietUnlockDoorO
0x88CCQuietLockDoorO
0x88C3UnlockDoorO
0x88C2LockDoorO
0x9DAEMagneticEncoderCalibrationO
0x9D6FGetLogO
0x9D6EExitAddAqaraCredentialO
0x9D6DGetAqaraCredentialO
0x9D6CDeleteAqaraCredentialO
0x9D6BModifyAqaraCredentialO
0x9D6AAddAqaraCredentialO
0x9D69GetAqaraUserO
0x9D68DeleteAqaraUserO
0x9D67ModifyAqaraUserO
0x9D66AddAqaraUserO
0x9CB1SetTravelCalibrationO

GetUser Command​

This Command is used to perform the "get user" operation.

Parameters​

GetUser Command Structure

ClearCredential Command​

This Command is used to perform the "clear credential" operation.

Parameters​

ClearCredential Command Structure

GetCredentialStatus Command​

This Command is used to perform the "get credential status" operation.

Parameters​

GetCredentialStatus Command Structure

SetCredential Command​

This Command is used to perform the "set credential" operation.

Parameters​

SetCredential Command Structure

ClearUser Command​

ClearUser (Clear user)

Parameters​

ClearUser Command Structure

SetUser Command​

This Command is used to perform the "set user" operation.

Parameters​

SetUser Command Structure

UnboltDoor Command​

Open door -- retract the square bolt and the latch bolt

Parameters​

UnboltDoor Command Structure

GetYearDaySchedule Command​

This Command is used to perform the "get yearly schedule" operation.

Parameters​

GetYearDaySchedule Command Structure

ClearYearDaySchedule Command​

This Command is used to perform the "clear yearly schedule" operation.

Parameters​

ClearYearDaySchedule Command Structure

SetYearDaySchedule Command​

This Command is used to perform the "set yearly schedule" operation.

Parameters​

SetYearDaySchedule Command Structure

ClearWeekDaySchedule Command​

This Command is used to perform the "clear weekly schedule" operation.

Parameters​

ClearWeekDaySchedule Command Structure

GetWeekDaySchedule Command​

This Command is used to perform the "get weekly schedule" operation.

Parameters​

GetWeekDaySchedule Command Structure

SetWeekDaySchedule Command​

This Command is used to perform the "set weekly schedule" operation.

Parameters​

SetWeekDaySchedule Command Structure

QuietUnlockDoor Command​

This Command is used to perform the "quiet unlock" operation.

This Command has no parameters.

QuietLockDoor Command​

This Command is used to perform the "quiet lock" operation.

This Command has no parameters.

UnlockDoor Command​

This Command is used to perform the "unlock" operation.

Parameters​

UnlockDoor Command Structure

LockDoor Command​

This Command is used to perform the "lock" operation.

Parameters​

LockDoor Command Structure

MagneticEncoderCalibration Command​

This command is used to start the door lock magnetic encoder calibration. This command has no parameters.

GetLog Command​

This command should request the door lock to return a segment of log entries. The device should respond with the GetLogResponse command.

Parameters​

GetLog Command Structure

ExitAddAqaraCredential Command​

This command should exit the add-credential session for the specified credential type and attribute. The client sends this command to cancel or complete the credential enrollment flow without submitting a new credential. The UserId field identifies the user whose credential enrollment session is being exited.

Parameters​

ExitAddAqaraCredential Command Structure

GetAqaraCredential Command​

This command should request the door lock to return the complete credential record for the specified credential. The device should respond with the GetAqaraCredentialResponse command.

Parameters​

GetAqaraCredential Command Structure

DeleteAqaraCredential Command​

This command should delete the credential identified by CredentialId from the door lock credential database.

Parameters​

DeleteAqaraCredential Command Structure

ModifyAqaraCredential Command​

This command should update one or more attributes of the credential identified by CredentialId. Each updatable field can be omitted independently: when a field is omitted, the existing value of the credential on the device should remain unchanged. At least one of CredentialAttribute, CredentialType, CredentialContent, Validity or CredentialName should be provided; if all five are omitted, the device should respond with InvalidParameter (0x07) of the DoorLockErrorCodeEnum type and must not modify any credential data.

Parameters​

ModifyAqaraCredential Command Structure

AddAqaraCredential Command​

This command should add a new credential and associate it with the existing user identified by UserId. The CredentialContent field carries the type-specific credential payload as a structured value; CredentialName is a variable-length string with an implicit length prefix. The optional Validity field, when present, encodes the credential's periodic validity schedule using the CredentialValidityStruct type; when absent, the credential has no time boundary restrictions other than device default limits.

Parameters​

AddAqaraCredential Command Structure

GetAqaraUser Command​

This command should request the door lock to return one or more user records (each carrying user attributes and associated credentials). The device should respond with GetAqaraUserResponse, returning at most Number records starting from UserId. This command is also the basic operation for traversing the complete user database--the client traverses the database by making chained consecutive calls and consuming the NextUserId field of each response until it is null.

Parameters​

GetAqaraUser Command Structure

DeleteAqaraUser Command​

This command should delete the user identified by UserId from the door lock user database.

Parameters​

DeleteAqaraUser Command Structure

ModifyAqaraUser Command​

This command should update one or more attributes of the user identified by UserId on the door lock device. Each updatable field can be omitted independently: when a field is null or omitted, the existing value of the user on the device should remain unchanged. At least one of UserType or UserName should be provided with a non-null value; if both are null or omitted, the device should respond with InvalidParameter (0x07) of the DoorLockErrorCodeEnum type and must not modify any user data.

Parameters​

ModifyAqaraUser Command Structure

AddAqaraUser Command​

This command should create a new user entry in the door lock user database. The device should assign an unused UserId to the new user and return that identifier in the corresponding AddAqaraUserResponse. The newly created user is not yet associated with any credentials; credentials can subsequently be attached via AddAqaraCredential.

Parameters​

AddAqaraUser Command Structure

SetTravelCalibration Command​

This command should control the manual travel calibration session of the door lock. The client sends this command to drive the lock body through a full travel motion and record the unlock and lock endpoint positions.

Parameters​

SetTravelCalibration Command Structure

Sweeper​

Introduction​

Provides basic control of the robot vacuum, including operations such as starting cleaning, pausing, returning to charge and status feedback.

Function Identification​

Function IDCodeName
0x0095SweeperSweeper

Trait​

Trait IDCodeNameConformance
0x80CFSweeperStateSweeper stateM

Command​

Command IDCodeNameConformance
0x80D0ContinueCleaningContinue cleaningM
0x80D3PauseCleaningPause cleaningO
0x80D2StartCleaningStart cleaningO
0x80D1StopCleaningStop cleaningO

Data Types​

SweeperStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the SweeperState Trait.

ValueNameDescription
0x00CleaningCleaning
0x01PausedPaused
0x02NotCleaningNot cleaning

Trait Definitions​

Trait IDNameConformance
0x80CFSweeperStateM

SweeperState Trait​

This Trait is used for access to and reporting of "sweeper state" data.

Trait IDCode
0x80CFSweeperState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSweeperStateEnum80RVM
0x0006Supported Valuelist[SweeperStateEnum8]RO

Command Definitions​

Command IDNameConformance
0x80D0ContinueCleaningM
0x80D3PauseCleaningO
0x80D2StartCleaningO
0x80D1StopCleaningO

ContinueCleaning Command​

This Command is used to perform the "continue cleaning" operation.

This Command has no parameters.

PauseCleaning Command​

This Command is used to perform the "pause cleaning" operation.

This Command has no parameters.

StartCleaning Command​

This Command is used to perform the "start cleaning" operation.

This Command has no parameters.

StopCleaning Command​

This Command is used to perform the "stop cleaning" operation.

This Command has no parameters.

AirQuality​

Introduction​

Monitors and reports air quality indicators, such as AQI or the overall air quality level.

Function Identification​

Function IDCodeName
0x0096AirQualityAir quality

Trait​

Trait IDCodeNameConformance
0x80D5VOCQualityVOC levelM
0x80D4VOCDensityVOC densityM
0x0009AirQualityAir quality levelO
0x51A9NMHCDensityNMHC densityO
0x51ADNegativeOxygenIonsNegative oxygen ionsO

Command​

This Function does not contain Commands.

Data Types​

VOCQualityEnum8 Type​

This enumeration defines the valid values of the Present Value of the VOCQuality Trait.

ValueNameDescription
0x00UnknownUnknown
0x01ExcellentExcellent
0x02GoodGood
0x03FairFair
0x04InferiorPoor
0x05PoorVery poor
AirQualityEnum8 Type​

This enumeration defines the valid values of the Present Value of the AirQuality Trait.

ValueNameDescription
0x00UnknownUnknown
0x01ExcellentExcellent
0x02GoodGood
0x03FairFair
0x04InferiorPoor
0x05PoorVery poor

Trait Definitions​

Trait IDNameConformance
0x80D5VOCQualityM
0x80D4VOCDensityM
0x0009AirQualityO
0x51A9NMHCDensityO
0x51ADNegativeOxygenIonsO

VOCQuality Trait​

Indicates the volatile organic compounds (VOC) air quality level. Values: 0 = Unknown, 1 = Excellent, 2 = Good, 3 = Fair, 4 = Poor, 5 = Very poor.

Trait IDCode
0x80D5VOCQuality
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVOCQualityEnum80RVM
0x0006Supported Valuelist[VOCQualityEnum8]RO

VOCDensity Trait​

This Trait is used for access to and reporting of "VOC density" data. Unit: ppb.

Trait IDCode
0x80D4VOCDensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVM
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat1RWO

AirQuality Trait​

AirQuality represents the air quality level.

Trait IDCode
0x0009AirQuality
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAirQualityEnum80RVO
0x0006Supported Valuelist[AirQualityEnum8]RO
0x0007Default Valueuint80RWO

NMHCDensity Trait​

Represents the concentration of non-methane hydrocarbons in the air, which can be used to assess the overall level of volatile organic pollution. Unit: ug/m^3.

Trait IDCode
0x51A9NMHCDensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

NegativeOxygenIons Trait​

Represents the level of negative oxygen ions in the air, often used to describe air freshness or specific environmental characteristics. Unit: ions/cm^3.

Trait IDCode
0x51ADNegativeOxygenIons
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat1000000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

Pressure​

Introduction​

Measures and reports the atmospheric pressure or system pressure value.

Function Identification​

Function IDCodeName
0x0097PressurePressure

Trait​

Trait IDCodeNameConformance
0x80D6CurrentPressurePressureM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x80D6CurrentPressureM

CurrentPressure Trait​

This Trait is used for access to and reporting of "pressure" data. Unit: kPa.

Trait IDCode
0x80D6CurrentPressure
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat101RVM
0x0002Maximum Valuefloat200000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat101RWO

Command Definitions​

This Function does not contain Commands.

ParticulateMatter​

Introduction​

Monitors and reports particulate matter concentrations (such as PM2.5, PM10).

Function Identification​

Function IDCodeName
0x0098ParticulateMatterParticulate matter

Trait​

Trait IDCodeNameConformance
0x80D7PM2.5DensityPM2.5 concentrationM
0x80D8PM2.5LevelPM2.5 levelM
0x80D9PM1.0DensityPM1.0 concentrationM
0x80DAPM10DensityPM10 concentrationM
0x519EPM100DensityPM100 concentrationO
0x51AATSPDensityTSP concentrationO

Command​

This Function does not contain Commands.

Data Types​

PM2.5LevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the PM2.5Level Trait.

ValueNameDescription
0x00UnknownUnknown
0x01ExcellentExcellent
0x02GoodGood
0x03FairFair
0x04InferiorPoor
0x05PoorVery poor

Trait Definitions​

Trait IDNameConformance
0x80D7PM2.5DensityM
0x80D8PM2.5LevelM
0x80D9PM1.0DensityM
0x80DAPM10DensityM
0x519EPM100DensityO
0x51AATSPDensityO

PM2.5Density Trait​

This Trait is used for access to and reporting of "PM2.5 concentration" data. Unit: ug/m^3.

Trait IDCode
0x80D7PM2.5Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat1000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

PM2.5Level Trait​

This Trait is used for access to and reporting of "PM2.5 level" data.

Trait IDCode
0x80D8PM2.5Level
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePM2.5LevelEnum80RVM
0x0006Supported Valuelist[PM2.5LevelEnum8]RO

PM1.0Density Trait​

This Trait is used for access to and reporting of "PM1.0 concentration" data. Unit: ug/m^3.

Trait IDCode
0x80D9PM1.0Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat65535.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

PM10Density Trait​

This Trait is used for access to and reporting of "PM10 concentration" data. Unit: ug/m^3.

Trait IDCode
0x80DAPM10Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat65535.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

PM100Density Trait​

Represents the mass concentration of larger particulate matter in the air, which can be used to assess the level of suspended particulate pollution and changes in environmental cleanliness. Unit: ug/m^3.

Trait IDCode
0x519EPM100Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

TSPDensity Trait​

Represents the concentration of total suspended particulate matter in the air, which can be used to assess the overall particulate pollution level and environmental cleanliness. Unit: ug/m^3.

Trait IDCode
0x51AATSPDensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

CO2​

Introduction​

Measures and reports the carbon dioxide concentration in the environment.

Function Identification​

Function IDCodeName
0x0099CO2Carbon dioxide

Trait​

Trait IDCodeNameConformance
0x80DCCO2LevelCO2 levelM
0x80DBCO2DensityCO2 concentrationM

Command​

This Function does not contain Commands.

Data Types​

CO2LevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the CO2Level Trait.

ValueNameDescription
0x00ExcellentExcellent
0x01LightPollutionLight pollution
0x02HeavyPollutionHeavy pollution

Trait Definitions​

Trait IDNameConformance
0x80DCCO2LevelM
0x80DBCO2DensityM

CO2Level Trait​

Indicates the carbon dioxide concentration level with a qualitative index. Values: 0 = Excellent (normal/low CO2), 1 = Light Pollution (CO2 slightly elevated), 2 = Heavy Pollution (high CO2 concentration).

Trait IDCode
0x80DCCO2Level
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCO2LevelEnum80RVM
0x0006Supported Valuelist[CO2LevelEnum8]RO

CO2Density Trait​

This Trait is used for access to and reporting of "CO2 concentration" data. Unit: ppm.

Trait IDCode
0x80DBCO2Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

Illuminance​

Introduction​

Measures and reports the ambient illuminance (lux).

Function Identification​

Function IDCodeName
0x009AIlluminanceIlluminance

Trait​

Trait IDCodeNameConformance
0x80DDCurrentIlluminanceIlluminanceM
0x4E99SamplingIntervalSampling interval settingO

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x80DDCurrentIlluminanceM
0x4E99SamplingIntervalO

CurrentIlluminance Trait​

This Trait is used for access to and reporting of "illuminance" data. Unit: lux.

Trait IDCode
0x80DDCurrentIlluminance
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVM
0x0002Maximum Valuefloat100000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

SamplingInterval Trait​

Defines the data sampling time interval. Unit: S.

Trait IDCode
0x4E99SamplingInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat5RVWO
0x0002Maximum Valuefloat3600.0RO
0x0003Minimum Valuefloat0.5RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat5RWO

Command Definitions​

This Function does not contain Commands.

Contact​

Introduction​

Detects binary contact/magnetic contact states, reporting the open or closed state and optional angle information.

Function Identification​

Function IDCodeName
0x009BContactContact

Trait​

Trait IDCodeNameConformance
0x80DEContactSensorStateContact stateM
0x4E74OpenAngleOpen/close angleO
0x5061CalibrationNotificationCalibration resultO

Command​

Command IDCodeNameConformance
0x9C75CalibrateReqRemote calibrationO

Data Types​

CalibrationNotificationEnum8 Type​

This enumeration defines the valid values of the Present Value of the CalibrationNotification Trait.

ValueNameDescription
0x00SuccessSuccess
0x01FailureFailure

Trait Definitions​

Trait IDNameConformance
0x80DEContactSensorStateM
0x4E74OpenAngleO
0x5061CalibrationNotificationO

ContactSensorState Trait​

This Trait is used for access to and reporting of "contact state" data.

Trait IDCode
0x80DEContactSensorState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM

OpenAngle Trait​

The open/close angle of the door or window

Trait IDCode
0x4E74OpenAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat360.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

CalibrationNotification Trait​

This Trait is used for access to and reporting of "calibration result" data.

Trait IDCode
0x5061CalibrationNotification
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCalibrationNotificationEnum80RVO
0x0006Supported Valuelist[CalibrationNotificationEnum8]RO

Command Definitions​

Command IDNameConformance
0x9C75CalibrateReqO

CalibrateReq Command​

This Command is used to perform the "remote calibration" operation.

This Command has no parameters.

Smoke​

Introduction​

Detects smoke and reports alarm events, supporting related configurations such as sensitivity, self-check reminders and mute.

Function Identification​

Function IDCodeName
0x009CSmokeSmoke

Trait​

Trait IDCodeNameConformance
0x80E0SmokeDetectedSmoke detection stateM
0x4F86SmokeChamberContaminationSmoke chamber contamination stateO
0x4F47AlarmErrorAlarm errorO
0x4F11SmokeStateSmoke levelO
0x519BSelfTestReminderSelf-check reminderO
0x4F10EnableHeartbeatIndicatorHeartbeat indicator controlO
0x4F0FFireProductIdentificationFire product identification codeO
0x4F0BAlarmsEnabledAlarm enableO
0x4E88SelfCheckAlarm self-checkO
0x0005ExpressedStateAlarm stateO
0x80F0SmokeDensitydBSmoke density dBO
0x80DFSmokeDensitySmoke densityO
0x80C1MuteMuteO
0x503CInterconnectSmokeAlarmInterconnected smoke alarmO

Command​

Command IDCodeNameConformance
0x9C76TriggerWarningTrigger alarmO
0x9C42SelfTestRequestSelf-checkO

Data Types​

SmokeChamberContaminationEnum8 Type​

This enumeration defines the valid values of the Present Value of the SmokeChamberContamination Trait.

ValueNameDescription
0x00NormalMonitoring normal
0x01ContaminatedSmoke chamber contaminated
AlarmErrorEnum8 Type​

This enumeration defines the valid values of the Present Value of the AlarmError Trait.

ValueNameDescription
0x00SUCCESSSuccess
0x01FAILUREFailure
0x02NOT_ALLOWEDNot allowed
SmokeStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the SmokeState Trait.

ValueNameDescription
0x00NormalNormal
0x01WarningWarning
0x02CriticalSevere
ExpressedStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the ExpressedState Trait.

ValueNameDescription
0x00NormalNormal
0x01SmokeAlarmSmoke leak
0x02COAlarmCO leak
0x03BatteryAlertBattery warning
0x04TestingTesting
0x05HardwareFaultHardware error
0x06EndOfServiceService terminated
0x07InterconnectSmokeInterconnected smoke alarm
0x08InterconnectCOInterconnected CO alarm
InterconnectSmokeAlarmEnum8 Type​

This enumeration defines the valid values of the Present Value of the InterconnectSmokeAlarm Trait.

ValueNameDescription
0x00NormalNormal
0x01WarningAlarm
0x02CriticalSevere alarm
SelfTestReminderEnum8 Type​

This enumeration defines the valid values of the Present Value of the SelfTestReminder Trait.

ValueNameDescription
0x00NoReminderSelf-check is not currently required
0x01SelfTestRequiredThe device needs to perform a self-check
TriggerWarning Command Structure Type​

Parameter structure of the TriggerWarning Command.

Struct Member No.Field NameTypeMandatoryDescription
0Warningenum8MWarning.

Trait Definitions​

Trait IDNameConformance
0x80E0SmokeDetectedM
0x4F86SmokeChamberContaminationO
0x4F47AlarmErrorO
0x4F11SmokeStateO
0x519BSelfTestReminderO
0x4F10EnableHeartbeatIndicatorO
0x4F0FFireProductIdentificationO
0x4F0BAlarmsEnabledO
0x4E88SelfCheckO
0x0005ExpressedStateO
0x80F0SmokeDensitydBO
0x80DFSmokeDensityO
0x80C1MuteO
0x503CInterconnectSmokeAlarmO

SmokeDetected Trait​

This Trait is used for access to and reporting of "smoke detection state" data.

Trait IDCode
0x80E0SmokeDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM

SmokeChamberContamination Trait​

Indicates the smoke chamber contamination state. This Trait uses an enumeration to represent different contamination levels caused by dust or particulate buildup blocking the optical path. A non-zero value indicates that maintenance is required; a higher value may indicate more severe contamination.

Trait IDCode
0x4F86SmokeChamberContamination
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSmokeChamberContaminationEnum80RVO
0x0006Supported Valuelist[SmokeChamberContaminationEnum8]RO
0x0007Default Valueuint80RWO

AlarmError Trait​

This Trait is used for access to and reporting of "alarm error" data.

Trait IDCode
0x4F47AlarmError
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAlarmErrorEnum80RVWO
0x0006Supported Valuelist[AlarmErrorEnum8]RO
0x0007Default ValueAlarmErrorEnum80RWO

SmokeState Trait​

This Trait is used for access to and reporting of "smoke state" data.

Trait IDCode
0x4F11SmokeState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSmokeStateEnum80RVO
0x0006Supported Valuelist[SmokeStateEnum8]RO

EnableHeartbeatIndicator Trait​

This Trait is used for access to and reporting of "heartbeat indicator control" data.

Trait IDCode
0x4F10EnableHeartbeatIndicator
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

FireProductIdentification Trait​

This Trait is used for access to and reporting of "fire product identification code" data.

Trait IDCode
0x4F0FFireProductIdentification
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

SelfTestReminder Trait​

This Trait is a read-only attribute used to indicate whether the device currently needs to perform a self-check. When the device detects that a self-check is needed, this Trait should be set to SelfTestRequired; when no self-check is needed, it should be set to NoReminder.

Trait IDCode
0x519BSelfTestReminder
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSelfTestReminderEnum80RVO

AlarmsEnabled Trait​

This Trait is used for access to and reporting of "alarm enable" data.

Trait IDCode
0x4F0BAlarmsEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SelfCheck Trait​

Facilitates performing a self-check to verify that the device functions correctly.

Trait IDCode
0x4E88SelfCheck
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ExpressedState Trait​

ExpressedState defines the state of the alarm device.

Trait IDCode
0x0005ExpressedState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueExpressedStateEnum80RVO
0x0006Supported Valuelist[ExpressedStateEnum8]RO
0x0007Default Valueuint80RWO

SmokeDensitydB Trait​

This Trait is used for access to and reporting of "smoke density dB" data. Unit: dB/m.

Trait IDCode
0x80F0SmokeDensitydB
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat10.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default Valuefloat0RWO

SmokeDensity Trait​

This Trait is used for access to and reporting of "smoke density" data. Unit: OBS%/FT.

Trait IDCode
0x80DFSmokeDensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat5.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default Valuefloat0RWO

Mute Trait​

Indicates the mute state of the speaker.

Trait IDCode
0x80C1Mute
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

InterconnectSmokeAlarm Trait​

This Trait is used for access to and reporting of "interconnected smoke alarm" data.

Trait IDCode
0x503CInterconnectSmokeAlarm
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueInterconnectSmokeAlarmEnum80RVO
0x0006Supported Valuelist[InterconnectSmokeAlarmEnum8]RO

Command Definitions​

Command IDNameConformance
0x9C76TriggerWarningO
0x9C42SelfTestRequestO

TriggerWarning Command​

This Command is used to perform the "trigger alarm" operation.

Parameters​

TriggerWarning Command Structure

SelfTestRequest Command​

SelfTestRequest represents the alarm device self-check.

This Command has no parameters.

Gas​

Introduction​

Detects combustible gas or harmful gas leaks and reports alarm events.

Function Identification​

Function IDCodeName
0x009DGasGas

Trait​

Trait IDCodeNameConformance
0x80E2GasDetectedGas detection stateM
0x80E1GasDensityGas concentrationM
0x4E88SelfCheckAlarm self-checkO
0x80C1MuteMuteO
0x813BCurrentSensitivityLevelCurrent sensitivity levelO

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x80E2GasDetectedM
0x80E1GasDensityM
0x4E88SelfCheckO
0x80C1MuteO
0x813BCurrentSensitivityLevelO

GasDetected Trait​

This Trait is used for access to and reporting of "gas detection state" data.

Trait IDCode
0x80E2GasDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM

GasDensity Trait​

This Trait is used for access to and reporting of "gas concentration" data. Unit: %LEL.

Trait IDCode
0x80E1GasDensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

SelfCheck Trait​

Facilitates performing a self-check to verify that the device functions correctly.

Trait IDCode
0x4E88SelfCheck
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Mute Trait​

Indicates the mute state of the speaker.

Trait IDCode
0x80C1Mute
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CurrentSensitivityLevel Trait​

Indicates the currently selected general configuration sensitivity level.

Trait IDCode
0x813BCurrentSensitivityLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint8RVWO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO
0x0007Default Valueuint80RWO

Command Definitions​

This Function does not contain Commands.

Sleep​

Introduction​

Monitors sleep-related states, reporting metrics such as sleep stage, duration or quality.

Function Identification​

Function IDCodeName
0x009ESleepSleep

Trait​

Trait IDCodeNameConformance
0x80E3SleepStateSleep stateM
0x80E4SleepQualitySleep qualityM
0x80E5OnBedOn-bed stateM
0x80E6SleepStageSleep stageO

Command​

This Function does not contain Commands.

Data Types​

SleepStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the SleepState Trait.

ValueNameDescription
0x00UnknownUnknown
0x01AwakeAwake
0x02SleepAsleep
SleepStageEnum8 Type​

This enumeration defines the valid values of the Present Value of the SleepStage Trait.

ValueNameDescription
0x00LightSleepLightSleep
0x01DeepSleepDeepSleep
0x02REMREM

Trait Definitions​

Trait IDNameConformance
0x80E3SleepStateM
0x80E4SleepQualityM
0x80E5OnBedM
0x80E6SleepStageO

SleepState Trait​

This Trait is used for access to and reporting of "sleep state" data.

Trait IDCode
0x80E3SleepState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSleepStateEnum80RVM
0x0006Supported Valuelist[SleepStateEnum8]RO

SleepQuality Trait​

Defines the sleep quality, ranging from 0 to 100.

Trait IDCode
0x80E4SleepQuality
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

OnBed Trait​

Defines the on-bed state.

Trait IDCode
0x80E5OnBed
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM

SleepStage Trait​

Defines the sleep stage.

Trait IDCode
0x80E6SleepStage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSleepStageEnum80RVO
0x0006Supported Valuelist[SleepStageEnum8]RO

Command Definitions​

This Function does not contain Commands.

WaterLeak​

Introduction​

Detects water leak events and reports an alarm in a timely manner when a leak is detected.

Function Identification​

Function IDCodeName
0x009FWaterLeakWater leak

Trait​

Trait IDCodeNameConformance
0x80E7LeakStateLeak stateM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x80E7LeakStateM

LeakState Trait​

This Trait is used for access to and reporting of "leak state" data.

Trait IDCode
0x80E7LeakState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM

Command Definitions​

This Function does not contain Commands.

OccupancySensing​

Introduction​

Detects whether a person is present in the space, reporting occupied/idle states and parameters such as hold time.

Function Identification​

Function IDCodeName
0x00A0OccupancySensingOccupancy

Trait​

Trait IDCodeNameConformance
0x80E9OccupancySensorTypeOccupancy sensor typeM
0x80E8OccupancyOccupancy stateM
0x5029OccupancySensingEnableHuman sensing enableO
0x502DRegionDimensionRegion dimensionO
0x4FCCBitmaskRegionSettingDetection region settingO
0x4FB6RecordEnableRecord enableO
0x4FB5PushEnablePush enableO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB3TimePeriodSettingTime period settingO
0x4E72HoldTimeUnoccupied hold timeO
0x8115DurationOccupiedWithinOneWeekDuration occupied within one weekO
0x8114DurationOccupiedWithinOneDayDuration occupied within one dayO
0x4FE2OccupancyStayTimeHuman sensing stay timeO
0x8134OccupiedToUnoccupiedDelayOccupied to unoccupied delayO
0x8135UnoccupiedToOccupiedDelayUnoccupied to occupied delayO

Command​

This Function does not contain Commands.

Data Types​

OccupancySensorTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the OccupancySensorType Trait.

ValueNameDescription
0x00PIRPassive infrared
0x01UltrasonicUltrasonic
0x02PIRAndUltrasonicInfrared and ultrasonic
0x03PhysicalContactPhysical contact
0x04RadarRadar
0x05VisionVision
RegionDimensionTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the RegionDimension Trait.

Struct Member No.Field NameTypeMandatoryDescription
0unitenum8MThe unit of width and height, e.g., GRID or PIXEL.
1widthuint32MThe total width of the region in the specified unit.
2heightuint32MThe total height of the region in the specified unit.
BitmaskRegionSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the BitmaskRegionSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0detect_regioncharacterStringMBitmask in hexadecimal string form, where each bit corresponds to one grid cell.
1effective_bitsint32MThe number of valid bits in the bitmask; bits beyond this count should be ignored.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimePeriodSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour clock).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour clock).
2repeatarray[uint32]MRepeat flags with a fixed length of 7, ordered from Sunday to Saturday; 1 means active, 0 means inactive.

Trait Definitions​

Trait IDNameConformance
0x80E9OccupancySensorTypeM
0x80E8OccupancyM
0x5029OccupancySensingEnableO
0x502DRegionDimensionO
0x4FCCBitmaskRegionSettingO
0x4FB6RecordEnableO
0x4FB5PushEnableO
0x4FB4SensitivityLevelEnumO
0x4FB3TimePeriodSettingO
0x4E72HoldTimeO
0x8115DurationOccupiedWithinOneWeekO
0x8114DurationOccupiedWithinOneDayO
0x4FE2OccupancyStayTimeO
0x8134OccupiedToUnoccupiedDelayO
0x8135UnoccupiedToOccupiedDelayO

OccupancySensorType Trait​

Specifies the occupancy sensor type (e.g., PIR, ultrasonic, radar, vision, etc.).

Trait IDCode
0x80E9OccupancySensorType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOccupancySensorTypeEnum80RVM
0x0006Supported Valuelist[OccupancySensorTypeEnum8]RO

Occupancy Trait​

This Trait is used for access to and reporting of "occupancy state" data.

Trait IDCode
0x80E8Occupancy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM

OccupancySensingEnable Trait​

The master switch to enable or disable motion detection.

Trait IDCode
0x5029OccupancySensingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

RegionDimension Trait​

Defines the full canvas dimensions that the client (e.g., App) can use for region configuration (such as detection regions, privacy masks). Its value is a structure containing three fields: unit (enum8): the unit of width and height, e.g., GRID (grid cells), PIXEL (pixels). width (uint32): the total width of the region in the specified unit. height (uint32): the total height of the region in the specified unit.

Trait IDCode
0x502DRegionDimension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRegionDimensionTraitPresentValueStructureRVO

BitmaskRegionSetting Trait​

Defines region configuration based on a grid mask. It contains two fields: detect_region (hexadecimal string) and effective_bits (integer). Each bit in the hexadecimal string corresponds to one grid cell (for example, dividing the frame into 24 cells). A bit value of 1 means detection or recognition is enabled for the corresponding cell, and 0 means disabled. The bit arrangement follows a predefined order (e.g., left to right or most significant bit to least significant bit). The effective_bits field specifies the number of actually valid bits in the hexadecimal string, allowing the string to maintain a fixed length with only the first N bits being meaningful. For example, "FF" means 8 consecutive bits are all 1. If effective_bits is 32, all 32 bits are valid; if it is 24, only the first 24 bits are valid. This representation is commonly used for features such as motion detection and human detection that require flexibly selecting specific regions on a video frame.

Trait IDCode
0x4FCCBitmaskRegionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBitmaskRegionSettingTraitPresentValueStructureRVWO
0x0007Default ValueBitmaskRegionSettingTraitPresentValueStructureIf the default value is represented in JSON, the default value is: {"0":"ffffffffffffffffffffffffffffffffffff"}RWO

RecordEnable Trait​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

PushEnable Trait​

Controls whether to send push notifications to the user when specific functions (such as detection events, recognition events) are triggered. The value is of boolean type: true (enabled) means a push notification is sent when the event occurs; false (disabled) means no notification is sent even when the event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

SensitivityLevelEnum Trait​

This enumeration configures the sensitivity level for various device functions (such as detection, recognition, sensing, alarm, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity respectively. A higher sensitivity makes the function more responsive to trigger conditions (e.g., more likely to detect weak signals or small targets); a lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

TimePeriodSetting Trait​

Defines the scheduled plan of time periods and weekdays. The scheduling configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are strings in "HH:MM" format (24-hour clock), ranging from "00:00" to "23:59", defining the start and end times of the active period. If the two are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period spans midnight, starting from starttime of the active day and ending at endtime of the next day. repeat is an unsigned 8-bit integer array of length 7, whose index order corresponds to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. A value of 1 means the weekday is active, and 0 means inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf the default value is represented in JSON, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

HoldTime Trait​

The delay for determining unoccupied, in seconds.

Trait IDCode
0x4E72HoldTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0007Default Valueuint161RWO

DurationOccupiedWithinOneWeek Trait​

Represents the total duration during which the occupancy sensor detected occupied state within one week (a natural week starting from Monday 00:00:00), in milliseconds.

Trait IDCode
0x8115DurationOccupiedWithinOneWeek
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat6.048E8RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO

DurationOccupiedWithinOneDay Trait​

Represents the total duration during which the occupancy sensor detected occupied state within one day, in milliseconds.

Trait IDCode
0x8114DurationOccupiedWithinOneDay
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat8.64E7RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO

OccupancyStayTime Trait​

The number of seconds a person stays in the detection region before the "loitering" event is triggered. Used to filter out brief movements.

Trait IDCode
0x4FE2OccupancyStayTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint83RVWO
0x0002Maximum Valueuint830RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO
0x0007Default Valueuint83RWO

OccupiedToUnoccupiedDelay Trait​

This Trait is used for access to and reporting of "occupied to unoccupied delay" data. Unit: S.

Trait IDCode
0x8134OccupiedToUnoccupiedDelay
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat4.294967295E9RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

UnoccupiedToOccupiedDelay Trait​

This Trait is used for access to and reporting of "unoccupied to occupied delay" data. Unit: S.

Trait IDCode
0x8135UnoccupiedToOccupiedDelay
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat4.294967295E9RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

Location​

Introduction​

Provides location information reporting and query capabilities for devices or targets.

Function Identification​

Function IDCodeName
0x00A1LocationLocation

Trait​

Trait IDCodeNameConformance
0x80EAMotionDetectedMotion direction detectionM

Command​

This Function does not contain Commands.

Data Types​

MotionDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value of the MotionDetected Trait.

ValueNameDescription
0x00EnterEnter
0x01LeftLeave
0x02LeftInEnter from left
0x03RightOutExit to right
0x04RightInEnter from right
0x05LeftOutExit to left
0x06AccessApproach
0x07AwayRecede

Trait Definitions​

Trait IDNameConformance
0x80EAMotionDetectedM

MotionDetected Trait​

This Trait is used for access to and reporting of "motion detection" data.

Trait IDCode
0x80EAMotionDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMotionDetectedEnum80VM
0x0006Supported Valuelist[MotionDetectedEnum8]RO

Command Definitions​

This Function does not contain Commands.

Knob​

Introduction​

Describes rotation angle, press and combined action events of knob-type input devices.

Function Identification​

Function IDCodeName
0x00A2KnobKnob

Trait​

Trait IDCodeNameConformance
0x80EBRotationAngleRotation angleM
0x80EDRotationEventRotation eventO
0x4E28InvertedRotationAngleInverted rotation angleO
0x4E25HoldRotationIntervalHold rotation intervalO
0x4E24RotationIntervalRotation intervalO
0x8167HoldRotationAngleHold rotation angleO
0x80ECRotationDirectionRotation directionO
0x50B6RotationSamplingIntervalRotation sampling intervalO

Command​

This Function does not contain Commands.

Data Types​

RotationEventEnum8 Type​

This enumeration defines the valid values of the Present Value of the RotationEvent Trait.

ValueNameDescription
0x00RotateRotate
0x01HoldToRotateHold to rotate
0x02InvertedRotateInverted rotate
RotationDirectionEnum8 Type​

This enumeration defines the valid values of the Present Value of the RotationDirection Trait.

ValueNameDescription
0x00ClockwiseClockwise
0x01CounterClockwiseCounterClockwise

Trait Definitions​

Trait IDNameConformance
0x80EBRotationAngleM
0x80EDRotationEventO
0x4E28InvertedRotationAngleO
0x4E25HoldRotationIntervalO
0x4E24RotationIntervalO
0x8167HoldRotationAngleO
0x80ECRotationDirectionO
0x50B6RotationSamplingIntervalO

RotationAngle Trait​

This Trait is used for access to and reporting of "rotation angle" data.

Trait IDCode
0x80EBRotationAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0VM
0x0002Maximum Valuefloat3600.0RO
0x0003Minimum Valuefloat-3600.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

RotationEvent Trait​

Describes the knob event type: Rotate, Hold to rotate or Inverted rotate. Values: 0 = Rotate, 1 = Hold to rotate, 2 = Inverted Rotate.

Trait IDCode
0x80EDRotationEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRotationEventEnum80VO
0x0006Supported Valuelist[RotationEventEnum8]RO

InvertedRotationAngle Trait​

The angle of the inverted rotation

Trait IDCode
0x4E28InvertedRotationAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0VO
0x0002Maximum Valuefloat3600.0RO
0x0003Minimum Valuefloat-3600.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

HoldRotationInterval Trait​

The duration of rotation for a hold-rotation event, i.e., the rotation interval duration, in ms.

Trait IDCode
0x4E25HoldRotationInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161VO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO

RotationInterval Trait​

The duration of rotation for a rotation event, i.e., the rotation interval duration, in ms.

Trait IDCode
0x4E24RotationInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161VO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO

HoldRotationAngle Trait​

This Trait is used for access to and reporting of "hold rotation angle" data.

Trait IDCode
0x8167HoldRotationAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0VO
0x0002Maximum Valuefloat3600.0RO
0x0003Minimum Valuefloat-3600.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

RotationDirection Trait​

Describes the rotation direction. Values: 0 = Clockwise, 1 = Counterclockwise.

Trait IDCode
0x80ECRotationDirection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRotationDirectionEnum80VO
0x0006Supported Valuelist[RotationDirectionEnum8]RO

RotationSamplingInterval Trait​

Should indicate the minimum time required to sample an angle change. The unit is milliseconds.

Trait IDCode
0x50B6RotationSamplingInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16100RVO
0x0002Maximum Valueuint16500RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain Commands.

Cube​

Introduction​

Describes gesture recognition of the cube controller, including actions such as flipping, rotation, shaking and face recognition.

Function Identification​

Function IDCodeName
0x00A3CubeCube

Trait​

Trait IDCodeNameConformance
0x80EECubeEventCube eventM
0x4F0DCubeWorkModeSettingCube work mode settingO
0x4EC5TopFaceCurrent top faceO
0x4EC6TopFaceChangedTop face flipO
0x50BBStationaryDurationStationary durationO
0x50B9TapCountTap countO

Command​

This Function does not contain Commands.

Data Types​

CubeEventEnum8 Type​

This enumeration defines the valid values of the Present Value of the CubeEvent Trait.

ValueNameDescription
0x00Flip90Flip 90 deg
0x01Flip180Flip 180 deg
0x02PushNudge
0x03TapTwicePick up and tap twice
0x04ShakeShake
0x05SwingFlick
0x06RotateRotate
0x07TriggeredAfter1MinuteTouch after being stationary
0x0APickUpHoldPick up and hold
CubeWorkModeSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the CubeWorkModeSetting Trait.

ValueNameDescription
0x00Action ModeAction mode
0x01Scene ModeScene mode
TopFaceEnum8 Type​

This enumeration defines the valid values of the Present Value of the TopFace Trait.

ValueNameDescription
0x00Face 1 UpFace 1 up
0x01Face 2 UpFace 2 up
0x02Face 3 UpFace 3 up
0x03Face 4 UpFace 4 up
0x04Face 5 UpFace 5 up
0x05Face 6 UpFace 6 up
TopFaceChangedEnum8 Type​

This enumeration defines the valid values of the Present Value of the TopFaceChanged Trait.

ValueNameDescription
0x00Face 1 UpFace 1 up
0x01Face 2 UpFace 2 up
0x02Face 3 UpFace 3 up
0x03Face 4 UpFace 4 up
0x04Face 5 UpFace 5 up
0x05Face 6 UpFace 6 up

Trait Definitions​

Trait IDNameConformance
0x80EECubeEventM
0x4F0DCubeWorkModeSettingO
0x4EC5TopFaceO
0x4EC6TopFaceChangedO
0x50BBStationaryDurationO
0x50B9TapCountO

CubeEvent Trait​

This Trait is used for access to and reporting of "cube event" data.

Trait IDCode
0x80EECubeEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCubeEventEnum80VM
0x0006Supported Valuelist[CubeEventEnum8]RO

CubeWorkModeSetting Trait​

Enables the setting of multiple operating modes of the Magic Cube device to enhance the experience and interaction.

Trait IDCode
0x4F0DCubeWorkModeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCubeWorkModeSettingEnum80RVWO
0x0006Supported Valuelist[CubeWorkModeSettingEnum8]RO
0x0007Default Valueuint80RWO

TopFace Trait​

Indicates the current upward-facing face of the cube controller, used to define the device state.

Trait IDCode
0x4EC5TopFace
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTopFaceEnum80RVO
0x0006Supported Valuelist[TopFaceEnum8]RO

TopFaceChanged Trait​

Indicates that the "upward-facing face" of the device has changed. Triggered when the user flips the device (e.g., the cube controller).

Trait IDCode
0x4EC6TopFaceChanged
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTopFaceChangedEnum80VO
0x0006Supported Valuelist[TopFaceChangedEnum8]RO

StationaryDuration Trait​

Should indicate the stationary duration threshold reached before movement is detected, in minutes.

Trait IDCode
0x50BBStationaryDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81VO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint81RO

TapCount Trait​

Should indicate the tap count

Trait IDCode
0x50B9TapCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint83VO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain Commands.

Vibration​

Introduction​

Detects vibration or motion changes, reporting events such as movement, tilt and fall.

Function Identification​

Function IDCodeName
0x00A4VibrationVibration

Trait​

Trait IDCodeNameConformance
0x80EFVibrationEventVibration sticker eventM
0x4F99ObjectOrientationEnableObject posture detection enableO
0x4F98ObjectOrientationStateObject posture direction stateO
0x4F97EventReportIntervalEvent report intervalO
0x4F96ObjectMotionDetectionEnableObject motion detection enableO
0x4F95StationaryTiltAngleStationary tilt angleO
0x4F94PeakTiltAnglePeak tilt angleO
0x4F93TiltAngleDeviationTilt angle deviationO
0x4F92InitialTiltAngleInitial tilt angleO
0x4F8CStationaryStateStationary state monitoringO
0x503BVibrationDurationVibration durationO
0x503AVibrationDurThresholdVibration duration monitoring thresholdO
0x5039ObjectMotionDurationObject motion durationO
0x5038ObjectMotionDurThresholdObject motion duration monitoring thresholdO
0x5194FreeFallEnableFree fall detection enableO
0x5195VibrationEnableVibration detection enableO
0x5197ThreeKnocksEnableThree knocks detection enableO

Command​

This Function does not contain Commands.

Data Types​

VibrationEventEnum8 Type​

This enumeration defines the valid values of the Present Value of the VibrationEvent Trait.

ValueNameDescription
0x00ThreeKnocksThree knocks
0x01MoveMovement
0x02VibrateVibration
0x03TiltTilt
0x04FreeFallFall
ObjectOrientationStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the ObjectOrientationState Trait.

ValueNameDescription
0x01HorizontalUpHorizontal up
0x02HorizontalDownHorizontal down
0x03VerticalVertical
0x04TiltedTilted
StationaryStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the StationaryState Trait.

ValueNameDescription
0x00InMotionIn motion
0x01StationaryStationary

Trait Definitions​

Trait IDNameConformance
0x80EFVibrationEventM
0x4F99ObjectOrientationEnableO
0x4F98ObjectOrientationStateO
0x4F97EventReportIntervalO
0x4F96ObjectMotionDetectionEnableO
0x4F95StationaryTiltAngleO
0x4F94PeakTiltAngleO
0x4F93TiltAngleDeviationO
0x4F92InitialTiltAngleO
0x4F8CStationaryStateO
0x503BVibrationDurationO
0x503AVibrationDurThresholdO
0x5039ObjectMotionDurationO
0x5038ObjectMotionDurThresholdO
0x5194FreeFallEnableO
0x5195VibrationEnableO
0x5197ThreeKnocksEnableO

VibrationEvent Trait​

This Trait is used for access to and reporting of "vibration sticker event" data.

Trait IDCode
0x80EFVibrationEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVibrationEventEnum80VM
0x0006Supported Valuelist[VibrationEventEnum8]RO

FreeFallEnable Trait​

Enables or disables the free fall detection function. When set to True, the device detects and reports fall events; when set to False, free fall detection is disabled.

Trait IDCode
0x5194FreeFallEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

VibrationEnable Trait​

Enables or disables the vibration detection function. When set to True, the device detects and reports vibration events; when set to False, vibration detection is disabled.

Trait IDCode
0x5195VibrationEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ThreeKnocksEnable Trait​

Enables or disables the three-knocks detection function. When set to True, the device detects and reports three-knock events; when set to False, three-knocks detection is disabled.

Trait IDCode
0x5197ThreeKnocksEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ObjectOrientationEnable Trait​

Enables or disables the object orientation monitoring function. When set to True, the device actively monitors and reports object orientation changes; when set to False, orientation monitoring is disabled.

Trait IDCode
0x4F99ObjectOrientationEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

ObjectOrientationState Trait​

Indicates the current spatial orientation of the object detected by the device. The value is an enumeration representing the object's posture relative to a reference plane; possible states are as follows: 1 - Horizontal Up (object facing up, e.g., lying flat on a table face up) 2 - Horizontal Down (object facing down, e.g., lying flat on a table face down) 3 - Vertical (object upright, e.g., perpendicular to the ground) 4 - Tilted (object tilted, not classified as horizontal or vertical)

Trait IDCode
0x4F98ObjectOrientationState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueObjectOrientationStateEnum81RVO
0x0006Supported Valuelist[ObjectOrientationStateEnum8]RO

EventReportInterval Trait​

Indicates the time interval between consecutive event reports of the device, in seconds. For example, a value of 60 means the device reports an event every 60 seconds. This interval determines the frequency at which the device sends event data to the gateway or cloud.

Trait IDCode
0x4F97EventReportInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint3260RVWO
0x0002Maximum Valueuint32300RO
0x0003Minimum Valueuint325RO
0x0005Step Valueuint321RO
0x0007Default Valueuint3260RWO

ObjectMotionDetectionEnable Trait​

Enables or disables the object motion detection function. True means enabled (object movement will be detected), False means disabled.

Trait IDCode
0x4F96ObjectMotionDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

StationaryTiltAngle Trait​

Indicates the tilt angle when the object is stationary after movement. Unit: deg.

Trait IDCode
0x4F95StationaryTiltAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat180.0RO
0x0003Minimum Valuefloat-180.0RO
0x0005Step Valuefloat0.01RO

PeakTiltAngle Trait​

Indicates the maximum tilt angle recorded from wake-up to stationary. Unit: deg.

Trait IDCode
0x4F94PeakTiltAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat180.0RO
0x0003Minimum Valuefloat-180.0RO
0x0005Step Valuefloat0.01RO

TiltAngleDeviation Trait​

Indicates the actual change (deviation) of the Tilt angle during the current movement.

Trait IDCode
0x4F93TiltAngleDeviation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat180.0RO
0x0003Minimum Valuefloat-180.0RO
0x0005Step Valuefloat0.01RO

InitialTiltAngle Trait​

Indicates the initial tilt angle established during device calibration, representing the angle between the calibration direction (e.g., upward) and the nearest positive axis. Unit: deg.

Trait IDCode
0x4F92InitialTiltAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat180.0RO
0x0003Minimum Valuefloat-180.0RO
0x0005Step Valuefloat0.01RO

StationaryState Trait​

The current value of this feature should indicate, in enumeration form, whether the target is currently stationary. A value of 0 indicates the target is in motion, and a value of 1 indicates the target is stationary.

Trait IDCode
0x4F8CStationaryState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStationaryStateEnum81RVO
0x0006Supported Valuelist[StationaryStateEnum8]RO
0x0007Default Valueuint81RWO

VibrationDuration Trait​

Reports the actual duration (seconds) of vibration detected by the device. The reporting logic is as follows: when the vibration duration reaches the configured "Vibration Duration" threshold, a duration equal to the threshold is reported immediately. If the vibration continues beyond the threshold, no further duration reports are sent until the vibration stops and a "stationary event" is reported (usually a duration of 0 or a separate state). When a new vibration event starts, the timer resets and counts again, reporting once more when the threshold is reached.

Trait IDCode
0x503BVibrationDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint160RWO

VibrationDurThreshold Trait​

Sets the duration threshold (seconds) for the device to continuously monitor vibration events. When the vibration duration reaches this configured value, the device triggers a "Vibration Duration" event report. The current value range is 0 to 3600 seconds, with a default of 3600 seconds. It may be extended to 18 hours in the future.

Trait IDCode
0x503AVibrationDurThreshold
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint163600RVWO
0x0002Maximum Valueuint163600RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint163600RWO

ObjectMotionDuration Trait​

Reports the actual duration (seconds) of movement detected by the device. The reporting logic is similar to vibration: when the movement duration reaches the configured "Object Motion Duration" threshold, a duration equal to the threshold is reported immediately. If the movement continues beyond the threshold, no further duration reports are sent until the movement stops and a "stationary event" is reported. When a new movement event starts, the timer resets and counts again, reporting once more when the threshold is reached.

Trait IDCode
0x5039ObjectMotionDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint160RWO

ObjectMotionDurThreshold Trait​

Sets the duration threshold (seconds) for the device to continuously monitor movement events. When the movement duration reaches this configured value, the device triggers a "Motion Duration" event report. The current value range is 0 to 3600 seconds, with a default of 3600 seconds. It may be extended to 18 hours in the future.

Trait IDCode
0x5038ObjectMotionDurThreshold
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint163600RVWO
0x0002Maximum Valueuint163600RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint163600RWO

Command Definitions​

This Function does not contain Commands.

Modes​

Introduction​

Provides device multi-mode management capability, supporting switching and reading the current operating mode.

Function Identification​

Function IDCodeName
0x00A5ModesModes

Trait​

Trait IDCodeNameConformance
0x8168ModeCountMode countM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x8168ModeCountM

ModeCount Trait​

Describes the number of modes supported by the device. Format: int.

Trait IDCode
0x8168ModeCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint320RVM
0x0002Maximum Valueint322147483647RO
0x0003Minimum Valueint320RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain Commands.

PetFeeder​

Introduction​

Provides pet feeding control capability, including the number of portions dispensed, feeding schedule and remaining quantity state.

Function Identification​

Function IDCodeName
0x00A6PetFeederPet feeder

Trait​

Trait IDCodeNameConformance
0x80F6FeedFeedM

Command​

This Function does not contain Commands.

Data Types​

FeedEnum8 Type​

This enumeration defines the valid values of the Present Value of the Feed Trait.

ValueNameDescription
0x01RemoteFeedingFeed

Trait Definitions​

Trait IDNameConformance
0x80F6FeedM

Feed Trait​

This Trait is used for access to and reporting of "feed" data.

Trait IDCode
0x80F6Feed
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFeedEnum81RVM
0x0006Supported Valuelist[FeedEnum8]RO

Command Definitions​

This Function does not contain Commands.

BridgeConfiguration​

Introduction​

Manages the gateway bridge configuration, describing sub-device access, bridging capability and network topology related information.

Function Identification​

Function IDCodeName
0x00A7BridgeConfigurationBridge configuration

Trait​

Trait IDCodeNameConformance
0x80FABridgedNodeListBridged node listM
0x4F55SupportedHubCapabilitySupported hub gateway capability setM
0x516BMatterBridgeCapabilityMatter bridging capabilityO

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x80FABridgedNodeListM
0x4F55SupportedHubCapabilityM
0x516BMatterBridgeCapabilityO

BridgedNodeList Trait​

Represents the list of bridged node Device IDs added to this Bridge Node. String array.

Trait IDCode
0x80FABridgedNodeList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

SupportedHubCapability Trait​

This attribute reports, in bitmask form, the core functional features that the gateway possesses as a smart home hub. Each bit represents a specific capability (such as local automation, data storage, AI support). Upper-layer applications use this to discover and adapt to advanced device functions, enabling differentiated experiences. bit 0: Supports gateway basic functions (supports creating gateway clusters, etc.) bit 1: Has the local automation module ha_driven bit 2: Supports gateway local data storage function NAS bit 3: Supports SAAS bit 4: Supports local AI bit 5: Supports LAN App control bit 6: Supports running Aqara Studio bit 7: Supports bridging camera devices bit 8: Supports Aqara Studio logic function blocks bit 9 to 31: Reserved

Trait IDCode
0x4F55SupportedHubCapability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVM
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

MatterBridgeCapability Trait​

This Trait is used to identify the capability role of the device in the Matter bridge scenario. It uses a bitmask (Bitmap) form, where each bit represents a specific bridging or bridgeable capability.

Trait IDCode
0x516BMatterBridgeCapability
Bit Definitions​
BitNameDescription
0BridgeSubDevicesSupports bridging sub-devices to the Matter network (as a general Bridge).
1BridgeCameraDevicesSupports bridging sub-devices with Camera functionality to the Matter network.
2CameraBridgeableThe device itself has Camera functionality and can be bridged by devices with Bit1 capability.
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain Commands.

AttitudeDetection​

Introduction​

Detects changes in device posture or tilt angle, reporting posture anomalies or angle information.

Function Identification​

Function IDCodeName
0x00A8AttitudeDetectionAttitude detection

Trait​

Trait IDCodeNameConformance
0x80FBAttitudeDetectedAttitude detectionM

Command​

This Function does not contain Commands.

Data Types​

AttitudeDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value of the AttitudeDetected Trait.

ValueNameDescription
0x00NormalNormal
0x01FallDownFall
0x02SuspectedFallSuspected fall

Trait Definitions​

Trait IDNameConformance
0x80FBAttitudeDetectedM

AttitudeDetected Trait​

This Trait is used for access to and reporting of "attitude detection" data.

Trait IDCode
0x80FBAttitudeDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAttitudeDetectedEnum80RVM
0x0006Supported Valuelist[AttitudeDetectedEnum8]RO

Command Definitions​

This Function does not contain Commands.

Group​

Introduction​

Manages device group configuration, maintaining the node list within the group and group-level control capability.

Function Identification​

Function IDCodeName
0x00A9GroupGroup configuration

Trait​

Trait IDCodeNameConformance
0x80FCNodeListNode listM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x80FCNodeListM

NodeList Trait​

This Trait is used for access to and reporting of "node list" data.

Trait IDCode
0x80FCNodeList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

Command Definitions​

This Function does not contain Commands.

Doorbell​

Introduction​

Provides doorbell-related capabilities, including call event reporting and linkage with the indoor chime/relay.

Function Identification​

Function IDCodeName
0x00AADoorbellDoorbell

Trait​

Trait IDCodeNameConformance
0x80A0ButtonEventButton eventM
0x80C0VolumeVolumeO
0x50E1DoorbellRepeaterConnectionStatusDoorbell repeater connection statusO
0x517FDoorbellCallRecvEnableReceive doorbell call enableO
0x5184DoorbellRingCountDoorbell ring countO
0x518COutdoorBellVolumeOutdoor doorbell volumeO

Command​

Command IDCodeNameConformance
0x9D75TriggerDoorbellWakeWake doorbellM

Data Types​

ButtonEventEnum8 Type​

This enumeration defines the valid values of the Present Value of the ButtonEvent Trait.

ValueNameDescription
0x00SinglePressSingle click
0x01DoublePressDouble click
0x02LongPressLong press
0x03LongPressReleaseLong press release
DoorbellRepeaterConnectionStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the DoorbellRepeaterConnectionStatus Trait.

ValueNameDescription
0x00DisconnectedDisconnected
0x01ConnectedNormal
DoorbellRingCountEnum8 Type​

This enumeration defines the valid values of the Present Value of the DoorbellRingCount Trait.

ValueNameDescription
0x01RingOnce1 time
0x02RingTwice2 times
TriggerDoorbellWake Command Structure Type​

Parameter structure of the TriggerDoorbellWake Command.

Struct Member No.Field NameTypeMandatoryDescription
0Wakeuint32MWake; default value is 1.

Trait Definitions​

Trait IDNameConformance
0x80A0ButtonEventM
0x80C0VolumeO
0x50E1DoorbellRepeaterConnectionStatusO
0x517FDoorbellCallRecvEnableO
0x5184DoorbellRingCountO
0x518COutdoorBellVolumeO

ButtonEvent Trait​

This Trait is used for access to and reporting of "button event" data.

Trait IDCode
0x80A0ButtonEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueButtonEventEnum80VM
0x0006Supported Valuelist[ButtonEventEnum8]RO

Volume Trait​

Indicates or sets the speaker volume of the camera device (e.g., two-way audio). The value is usually a percentage (0 to 100) or a device-defined numeric range.

Trait IDCode
0x80C0Volume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

DoorbellRepeaterConnectionStatus Trait​

Represents the connection status between the doorbell and the repeater (e.g., indoor chime).

Trait IDCode
0x50E1DoorbellRepeaterConnectionStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorbellRepeaterConnectionStatusEnum80RVO
0x0006Supported Valuelist[DoorbellRepeaterConnectionStatusEnum8]RO
0x0007Default Valueuint80RWO

DoorbellCallRecvEnable Trait​

Receive doorbell call enable. When enabled, the App displays the call page when someone rings the doorbell. 0 = Off, 1 = On.

Trait IDCode
0x517FDoorbellCallRecvEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

DoorbellRingCount Trait​

Doorbell ring count. 1 = 1 time, 2 = 2 times.

Trait IDCode
0x5184DoorbellRingCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDoorbellRingCountEnum82RVWO
0x0002Maximum ValueDoorbellRingCountEnum82RO
0x0003Minimum ValueDoorbellRingCountEnum81RO
0x0006Supported Valuelist[DoorbellRingCountEnum8]RO
0x0007Default Valueuint82RWO

OutdoorBellVolume Trait​

Outdoor doorbell volume. Represents the volume level of the outdoor doorbell, ranging from 0-100 (percentage). This Trait is readable, writable and reportable, and is used to adjust and obtain the current volume of the outdoor doorbell.

Trait IDCode
0x518COutdoorBellVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

Command Definitions​

Command IDNameConformance
0x9D75TriggerDoorbellWakeM

TriggerDoorbellWake Command​

This command wakes the doorbell device to improve streaming or response speed. The value 1 should be written to this command to wake the device.

Parameters​

TriggerDoorbellWake Command Structure

NetworkCommissioning​

Introduction​

Provides network commissioning capability, supporting scanning, connection and configuration of Wi-Fi, Thread, Zigbee, Ethernet, BLE Endpoint and Wi-Fi Endpoint. The Magic Pair provisioning flow is described in ref_MagicPairNetworkCommissioning.

Function Identification​

Function IDCodeName
0x00ABNetworkCommissioningNetwork commissioning

Trait​

Trait IDCodeConformance
0x8103SupportedNetworkM
0x4F54MagicPairKeychainO
0x4ECDSlaveAddressO
0x4ECCAuthenticationStatusO
0x4E97WiFiRSSIO
0x4E96WiFiChannelO
0x4E95ZigbeeAuthRandcodeResponseO
0x4E94ZigbeeAuthRandcodeO
0x4E73HomeStationCredentialsO
0x8106ZigbeeDiagnosticsO
0x8105ThreadDiagnosticsO
0x8104WiFiDiagnosticsO
0x811FEthernetDiagnosticsO
0x8121ZigbeeDeviceInformationO
0x8122LANStatusO
0x8145RegistrationInformationO
0x815ATimeSynchronizationO
0x8174LocalizationConfigurationO
0x4FA6ChildDeviceProvisioningStateO

Command​

Command IDCodeConformance
0x9DB3TriggerWifiRssiUpdateO
0x9D21TriggerZigbeeNetworkInfoUploadO
0x9C67ConnectToHomeStationResponseO
0x9C66ConnectToHomeStationO
0x9C54ConfigStaticIPAddrO
0x9D96ConfigureWiFiNetworkO
0x810EAddOrUpdateZigbeeNetworkResponseO
0x810DAddOrUpdateZigbeeNetworkO
0x810CAddOrUpdateThreadNetworkResponseO
0x810BAddOrUpdateThreadNetworkO
0x810AAddOrUpdateWiFiNetworkResponseO
0x8109AddOrUpdateWiFiNetworkO
0x8108ScanWiFiNetworksResponseO
0x8107ScanWiFiNetworksO
0x88BAVerifyDeviceAuthenticityO
0x88BBVerifyDeviceAuthenticityResponseO
0x9D72SetZigbeeChannelO
0x9D73SetThreadChannelO

Data Types​

AuthenticationStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the AuthenticationStatus Trait.

ValueNameDescription
0x00NotAuthenticatedNot authenticated
0x01CertifiedAndValidAuthenticated and valid
0x02NoCertificateNo certificate
0x03CertificateInvalidHas certificate but invalid
HomeStationCredentialsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the HomeStationCredentials Trait.

Struct Member No.Field NameTypeMandatoryDescription
0SSIDcharacterStringMHome station SSID.
1CredentialscharacterStringMHome station connection credential.
ZigbeeDiagnosticsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ZigbeeDiagnostics Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Channeluint8MZigbee radio channel.
1ExtendedPANIDuint64MZigbee extended PAN identifier.
2NetworkKeyoctetStringMZigbee network key.
3NetworkNamecharacterStringMZigbee network name.
4PANIDuint16MZigbee PAN identifier.
5RSSIint8ORSSI for the Zigbee network client in dBm.
6LQIuint8OLink quality indicator.
ThreadDiagnosticsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ThreadDiagnostics Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Channeluint8MThe Thread network radio channel.
1ExtendedPANIDuint64MThe Thread network extended PAN identifier.
2NetworkKeyoctetStringMThe Thread network key.
3NetworkNamecharacterStringMThe Thread network name.
4PANIDuint16MThe Thread network PAN identifier.
5PSKcoctetStringMThe Thread network pre-shared key for the Commissioner.
6ActiveTimeStampuint64MActive timestamp.
7SecurityPolicycharacterStringOSecurity policy.
8OperationalDatasetoctetStringMThread Network Parameters dataset.
9RSSIint8ORSSI for the Thread network client in dBm.
10LQIuint8OLink quality indicator.
11BorderAgentIDoctetStringMIdentifier of an active Thread network Border Agent.
12MeshLocalPrefixcharacterStringOPrefix of all interfaces reachable within the same Thread network.
13CommissionerCredentialcharacterStringOUTF-8 Commissioner Credential, 6 to 255 characters.
14VersioncharacterStringOOpenThread Version.
15Roleuint8OThread Role bit mask.
16BorderExtAgentIDcharacterStringMThread Border Agent ID.
WiFiDiagnosticsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the WiFiDiagnostics Trait.

Struct Member No.Field NameTypeMandatoryDescription
0BSSIDcharacterStringMThe Wi-Fi BSSID.
1Encryptionuint8O0: No Encryption;1: WEP;2: WPA;3: WPA/WPA2;4: WPA2;5: WPA3.
2Versionuint8OThe Wi-Fi Version:0:a,1:b,2:g,3:n,4:ac,5:ax.
3Channeluint8MThe Wi-Fi network Channel.
4RSSIint8MRSSI for the WiFi network client in dBm.
5NetworkNamecharacterStringMThe Wi-Fi network name.
6IPV4AddresscharacterStringOIPV4 Address.
7IPV6AddresscharacterStringOIPV6 Address.
8SubnetMaskcharacterStringOSubnet mask.
9GatewaycharacterStringOGateway address.
10DNScharacterStringODNS server.
11AlternateDNScharacterStringOBackup DNS server.
EthernetDiagnosticsTraitPresentValueStructure Type​
Struct Member No.Field NameTypeMandatoryDescription
0IsReadybooleanMWhether the Ethernet cable is plugged in
ZigbeeDeviceInformationTraitPresentValueStructure Type​
Struct Member No.Field NameTypeMandatoryDescription
0Macuint64MThe device's 64-bit Zigbee IEEE MAC address
1InstallCodecharacterStringOInstall Code; mandatory during the Magic Pair phase and optional in other scenarios
2FirmwareVersionuint32ODevice firmware version number
3HardwareVersionuint32ODevice hardware version number
4ManufacturerCodeuint16OZigbee manufacturer code
5ModelcharacterStringODevice model
6ShortAddruint16OThe short address of the device in the Zigbee network.
7ZigbeeVersionuint8OZigbee protocol version
8DeviceTypeuint8OZigbee device type
9ExtendedXCodeuint16OExtended X code; the specific meaning depends on the product Profile definition
10LastResetTypeuint8O0 Invalid; 1 Factory Reset; 2 Network Reset
RegistrationInformationTraitPresentValueStructure Type​
Struct Member No.Field NameTypeMandatoryDescription
0EncryptionTypeuint8M0 Tuple;1 Certificate
1ProtocolPrefixuint8MCloud ID prefix enumeration, see Trait definition
2UniqueIdoctetStringM64-bit Unique ID
3MacoctetStringCMandatory in Tuple mode
4TokenoctetStringCCertificate mode
5CloudIdcharacterStringO
6LastResetTypeuint8O
TimeSynchronizationTraitPresentValueStructure Type​
Struct Member No.Field NameTypeMandatoryDescription
0UTCTimeuint32MUnix Epoch seconds
1TimeZoneOffsetint32MSecond offset relative to UTC
2TimeZoneNamecharacterStringOIANA time zone name
LocalizationConfigurationTraitPresentValueStructure Type​
Struct Member No.Field NameTypeMandatoryDescription
0VoiceLanguagecharacterStringOBCP 47
1ScreenLanguagecharacterStringOBCP 47
2TemperatureUnituint8O0 Celsius; 1 Fahrenheit
3CountryCodecharacterStringOISO 3166-1 alpha-2
ScanWiFiNetworksResponse Command Structure Type​
Struct Member No.Field NameTypeMandatoryDescription
0SSIDcharacterStringM
1RSSIint8M
2Encryptionuint8M
3BSSIDcharacterStringO
4Channeluint16O
5WiFiBanduint8O0 2.4 GHz;1 3.6 GHz;2 5 GHz;3 6 GHz;4 60 GHz
ChildDeviceProvisioningStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the ChildDeviceProvisioningState Trait.

ValueNameDescription
0x00NotProvisioningNot in provisioning state
0x01ProvisioningIn provisioning state
TriggerWifiRssiUpdateActionEnum8 Type​

This enumeration defines the valid values of the Action field of the TriggerWifiRssiUpdate Command.

ValueNameDescription
0x01UpdateUpdate
TriggerWifiRssiUpdate Command Structure Type​

Parameter structure of the TriggerWifiRssiUpdate Command.

Struct Member No.Field NameTypeMandatoryDescription
0ActionTriggerWifiRssiUpdateActionEnum8MAction to perform, taking the value 0x01 (Update), meaning to immediately update and report the current Wi-Fi RSSI.
TriggerZigbeeNetworkInfoUpload Command Structure Type​

Parameter structure of the TriggerZigbeeNetworkInfoUpload Command.

Struct Member No.Field NameTypeMandatoryDescription
0InstallCodecharacterStringMInstallation code.
1MACcharacterStringMMAC address.
ConnectToHomeStationResponse Command Structure Type​

Parameter structure of the ConnectToHomeStationResponse Command.

Struct Member No.Field NameTypeMandatoryDescription
0ConnectToHomeStationResponseenum8MHome station connection feedback.
ConnectToHomeStation Command Structure Type​

Parameter structure of the ConnectToHomeStation Command.

Struct Member No.Field NameTypeMandatoryDescription
0SSIDcharacterStringMSSID.
1CredentialscharacterStringMCredential.
2Typeuint8M0 Full-function Home Station; 1 Restricted-function Home Station
3RelayKeycharacterStringMRelay credential generated by the Home Station, max 64 bytes
4RelayPortuint16MRelay port, value provided by the Home Station
5CloudIdOfStationcharacterStringMCloud ID of the Home Station
6AlivePortuint16OKeep-alive port
7CountryDomaincharacterStringOMax 64 bytes
8BindkeycharacterStringOMax 64 bytes
9TimeZonecharacterStringOMax 32 bytes
10CountryCodecharacterStringOISO 3166-1 alpha-2
ConfigStaticIPAddr Command Structure Type​

Parameter structure of the ConfigStaticIPAddr Command.

Struct Member No.Field NameTypeMandatoryDescription
0IPAddresscharacterStringOIP address, string (max length 32). Example: 192.168.1.100.
1SubnetMaskcharacterStringOSubnet mask, string (max length 32). Example: 255.255.255.0.
2DefaultGatewaycharacterStringODefault gateway, string (max length 32). Example: 192.168.1.1.
3PrimaryDNScharacterStringOPrimary DNS, string (max length 32). Example: 8.8.8.8.
4SecondaryDNScharacterStringOSecondary DNS, string (max length 32). Example: 8.8.4.4.
5InterfaceNamecharacterStringOInterface name, string (max length 32). Example: eth0. When empty, it applies to all network interfaces.
6AddressingModeenum8OAddress assignment mode. 0 switches to DHCP for obtaining the IP (the IPAddress, SubnetMask, PrimaryDNS, DefaultGateway and SecondaryDNS parameters are ignored); 1 is static IP mode (the network parameters above can be configured). If this field is absent, static IP mode is used by default.
ConfigureWiFiNetwork Command Structure Type​

Parameter structure of the ConfigureWiFiNetwork Command.

Struct Member No.Field NameTypeMandatoryDescription
0InterfaceNamecharacterStringMNetwork interface name, used to specify on which network interface to perform provisioning (should match the interface identifier in the device system). Example: wlan0 (2.4G Wi-Fi STA), wlan1 (5G Wi-Fi STA).
1SSIDcharacterStringMTarget Wi-Fi network name (case-sensitive, recommended to exactly match the AP broadcast name). Example: Home_2.4G, Office-WiFi.
2CredentialscharacterStringMTarget Wi-Fi network access password (plaintext content should satisfy the device security policy). Example: Home@2026!, MyHome#12345.
AddOrUpdateZigbeeNetworkResponse Command Structure Type​

Parameter structure of the AddOrUpdateZigbeeNetworkResponse Command.

Struct Member No.Field NameTypeMandatoryDescription
0StatusCodesuint8M
AddOrUpdateZigbeeNetwork Command Structure Type​

Parameter structure of the AddOrUpdateZigbeeNetwork Command.

Struct Member No.Field NameTypeMandatoryDescription
0Channeluint8M
1ExtendedPANIDoctetStringM
2NetworkKeyoctetStringM
3NetworkNamecharacterStringO
4PANIDuint16M
5NetworkKeySequenceNumberuint8MZigbee Network Key Sequence Number
6TrustCenterAddresscharacterStringMTrust Center address
AddOrUpdateThreadNetworkResponse Command Structure Type​

Parameter structure of the AddOrUpdateThreadNetworkResponse Command.

Struct Member No.Field NameTypeMandatoryDescription
0StatusCodesuint8M
AddOrUpdateThreadNetwork Command Structure Type​

Parameter structure of the AddOrUpdateThreadNetwork Command.

Struct Member No.Field NameTypeMandatoryDescription
0OperationalDatasetoctetStringOComplete Thread Operational Dataset. When omitted or Null, the device creates a new network
AddOrUpdateWiFiNetworkResponse Command Structure Type​

Parameter structure of the AddOrUpdateWiFiNetworkResponse Command.

Struct Member No.Field NameTypeMandatoryDescription
0StatusCodesuint8M
AddOrUpdateWiFiNetwork Command Structure Type​

Parameter structure of the AddOrUpdateWiFiNetwork Command.

Struct Member No.Field NameTypeMandatoryDescription
0SSIDcharacterStringO
1CredentialscharacterStringO
2Encryptionuint8O
3CountryDomaincharacterStringO
4BindkeycharacterStringO
5TimeZonecharacterStringO
6CountryCodecharacterStringOISO 3166-1 alpha-2
7Ecosystemuint8O0 Aqara AIoT;1 Aqara Studio
8ServerPortuint16OCloud listening port
VerifyDeviceAuthenticity Command Structure Type​

Parameter structure of the VerifyDeviceAuthenticity Command.

Struct Member No.Field NameTypeMandatoryDescription
0Cmduint8M0 SendRandomCode;1 GetCertificateFile;2 ValidationPassed;3 ValidationFailed;4 WriteCloudId;5 Registered;6 RegisterFailed;7 SendSelfSignedCertificate;8 RefreshToken;9 WriteUserId;10 SendRandomCodeOfCertificate
1ParamscharacterStringOVaries with Cmd: random number, certificate, Cloud ID, Token or UserID; must not be treated as a fixed schema
VerifyDeviceAuthenticityResponse Command Structure Type​

Parameter structure of the VerifyDeviceAuthenticityResponse Command.

Struct Member No.Field NameTypeMandatoryDescription
0Cmduint8M
1ParamscharacterStringO
SetZigbeeChannel Command Structure Type​

Parameter structure of the SetZigbeeChannel Command.

Struct Member No.Field NameTypeMandatoryDescription
0Channeluint8MChannel; default value is 11.
SetThreadChannel Command Structure Type​

Parameter structure of the SetThreadChannel Command.

Struct Member No.Field NameTypeMandatoryDescription
0Channeluint8MChannel; default value is 11.

Trait Definitions​

Trait IDNameConformance
0x8103SupportedNetworkM
0x4F54MagicPairKeychainO
0x4ECDSlaveAddressO
0x4ECCAuthenticationStatusO
0x4E97WiFiRSSIO
0x4E96WiFiChannelO
0x4E95ZigbeeAuthRandcodeResponseO
0x4E94ZigbeeAuthRandcodeO
0x4E73HomeStationCredentialsO
0x8106ZigbeeDiagnosticsO
0x8105ThreadDiagnosticsO
0x8104WiFiDiagnosticsO
0x811FEthernetDiagnosticsO
0x8121ZigbeeDeviceInformationO
0x8122LANStatusO
0x8145RegistrationInformationO
0x815ATimeSynchronizationO
0x8174LocalizationConfigurationO
0x4FA6ChildDeviceProvisioningStateO

SupportedNetwork Trait​

Indicates the network protocols supported by the device for provisioning (MagicPair). The value is a bitmask: bit0=Wi-Fi, bit1=Thread, bit2=Ethernet, bit3=Zigbee, bit4=BLE, bit5=BLE Endpoint, bit6=Wi-Fi Endpoint, bit7=Wi-Fi Endpoint of the Limited Home Station, bit8=Aqara RS485. The BLE used for pairing is not included.

Trait IDCode
0x8103SupportedNetwork
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RM
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

MagicPairKeychain Trait​

Used for the MagicPair network commissioning key chain.

Trait IDCode
0x4F54MagicPairKeychain
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

SlaveAddress Trait​

The address assigned to the device as a slave on the bus, used for master-slave communication addressing.

Trait IDCode
0x4ECDSlaveAddress
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint8O255RVWO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO
0x0007Default Valueuint8O255RWO

AuthenticationStatus Trait​

Indicates the device authentication status, reflecting whether it has passed authentication and whether the certificate is valid.

Trait IDCode
0x4ECCAuthenticationStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAuthenticationStatusEnum8O0RVO
0x0006Supported Valuelist[AuthenticationStatusEnum8]RO
0x0007Default Valueuint8O0RWO

WiFiRSSI Trait​

A metric that measures the Wi-Fi connection signal strength, in dBm, ranging from -100 dBm (very weak) to 0 dBm (strongest).

Trait IDCode
0x4E97WiFiRSSI
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint80RVO
0x0002Maximum Valueint80RO
0x0003Minimum Valueint8-100RO
0x0005Step Valueuint321RO

WiFiChannel Trait​

Wi-Fi channel, such as channels 1-14 in the 2.4GHz band or channels 149, 153, 157, 161, 165 in the 5GHz band, etc.

Trait IDCode
0x4E96WiFiChannel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVO
0x0002Maximum Valueuint16165RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO

ZigbeeAuthRandcodeResponse Trait​

The Confirm result returned when a Zigbee 3.0 device authenticates with the cloud.

Trait IDCode
0x4E95ZigbeeAuthRandcodeResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringVO

ZigbeeAuthRandcode Trait​

The random number issued by the cloud when a Zigbee 3.0 device connects to the cloud for authentication.

Trait IDCode
0x4E94ZigbeeAuthRandcode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringWO

HomeStationCredentials Trait​

Home Station Credentials information

Trait IDCode
0x4E73HomeStationCredentials
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHomeStationCredentialsTraitPresentValueStructureRVO

ZigbeeDiagnostics Trait​

Provides diagnostic information about the Zigbee network. This includes the radio channel, extended PAN ID, network name, PAN ID, RSSI (if available) and LQI. NetworkKey belongs to the commissioning-secret: it MAY be used for provisioning in the Magic Pair secure session; CoIP normal Read/Report SHALL NOT read back this field, see ref_MagicPairModelMapping.

Trait IDCode
0x8106ZigbeeDiagnostics
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueZigbeeDiagnosticsTraitPresentValueStructureRVO

ThreadDiagnostics Trait​

Provides diagnostic information about the Thread network. This includes the channel, extended PAN ID, network name, PAN ID, active timestamp, security policy, RSSI, LQI, border agent ID, mesh local prefix, OpenThread version and role. NetworkKey, PSKc, OperationalDataset and commissioner credentials belong to the commissioning-secret: they MAY be used for provisioning in the Magic Pair secure session; CoIP normal Read/Report SHALL NOT read back these fields.

Trait IDCode
0x8105ThreadDiagnostics
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueThreadDiagnosticsTraitPresentValueStructureRVO

WiFiDiagnostics Trait​

Provides diagnostic information about the Wi-Fi network. This includes BSSID, encryption type, Wi-Fi version, channel, RSSI, network name, IPv4 address, IPv6 address, subnet mask, gateway, DNS and backup DNS (fields vary by availability).

Trait IDCode
0x8104WiFiDiagnostics
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWiFiDiagnosticsTraitPresentValueStructureRVO

EthernetDiagnostics Trait​

Whether the Ethernet cable is plugged into the Ethernet port.

Trait IDCode
0x811FEthernetDiagnostics
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEthernetDiagnosticsTraitPresentValueStructureRVO

ZigbeeDeviceInformation Trait​

Zigbee device identity and installation information. InstallCode belongs to the commissioning-secret and SHALL NOT be read back through normal diagnostic interfaces.

Trait IDCode
0x8121ZigbeeDeviceInformation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueZigbeeDeviceInformationTraitPresentValueStructureRVO

LANStatus Trait​

Device LAN connection status. 0 not connected; 1 connected.

Trait IDCode
0x8122LANStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO

RegistrationInformation Trait​

Used for cloud registration starting from Magic Pair Version 20. ProtocolPrefix: 0 lumi; 1 lumi1; 2 lumi2; 3 O; 4 aqara; 5 matt; 6 lumi3; 7 lumi4.

Trait IDCode
0x8145RegistrationInformation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRegistrationInformationTraitPresentValueStructureRVO

TimeSynchronization Trait​

The App writes the UTC time and time zone to the device in the pre-provisioning phase, for certificate validity verification.

Trait IDCode
0x815ATimeSynchronization
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimeSynchronizationTraitPresentValueStructureRWO

LocalizationConfiguration Trait​

Voice/interface language, temperature unit and country code. The country code can be used for wireless compliance restrictions.

Trait IDCode
0x8174LocalizationConfiguration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLocalizationConfigurationTraitPresentValueStructureRWO

ChildDeviceProvisioningState Trait​

Used by the gateway to report the provisioning window state for sub-devices (such as Zigbee devices, Matter devices, etc.). When the gateway opens the network for a certain type of sub-device, it reports "entering provisioning state"; when it closes the provisioning window for that type of sub-device, it reports "exiting provisioning state". Upper-layer applications use this to perceive in real time whether the gateway is in a state that allows adding a certain type of sub-device, to guide user operations or display provisioning progress.

Trait IDCode
0x4FA6ChildDeviceProvisioningState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueChildDeviceProvisioningStateEnum8O0RVO
0x0006Supported Valuelist[ChildDeviceProvisioningStateEnum8]RO
0x0007Default Valueuint8O0RWO

Command Definitions​

Command IDNameConformance
0x9DB3TriggerWifiRssiUpdateO
0x9D21TriggerZigbeeNetworkInfoUploadO
0x9C67ConnectToHomeStationResponseO
0x9C66ConnectToHomeStationO
0x9C54ConfigStaticIPAddrO
0x9D96ConfigureWiFiNetworkO
0x810EAddOrUpdateZigbeeNetworkResponseO
0x810DAddOrUpdateZigbeeNetworkO
0x810CAddOrUpdateThreadNetworkResponseO
0x810BAddOrUpdateThreadNetworkO
0x810AAddOrUpdateWiFiNetworkResponseO
0x8109AddOrUpdateWiFiNetworkO
0x8108ScanWiFiNetworksResponseO
0x8107ScanWiFiNetworksO
0x88BAVerifyDeviceAuthenticityO
0x88BBVerifyDeviceAuthenticityResponseO
0x9D72SetZigbeeChannelO
0x9D73SetThreadChannelO

TriggerWifiRssiUpdate Command​

Triggers a Wi-Fi signal strength update. When the device receives this command with Action set to 0x01 (Update), it should immediately update the current Wi-Fi signal strength (RSSI) and report the latest value through the Present Value of the WiFiRSSI Trait, in dBm.

On the signal test page of the device installation guide, the client or App can send this command every few seconds to trigger the device to report the latest Wi-Fi RSSI, allowing a timely determination of whether the signal at the current location is good. Periodic sending is controlled by the client or App, with each command triggering one update and report.

Parameters​

TriggerWifiRssiUpdate Command Structure

TriggerZigbeeNetworkInfoUpload Command​

Triggers the gateway to report Zigbee network information for subsequent operations, for example, enabling fast pairing of Zigbee devices based on the Zigbee network information.

Parameters​

TriggerZigbeeNetworkInfoUpload Command Structure

ConnectToHomeStationResponse Command​

Home station connection feedback

Parameters​

ConnectToHomeStationResponse Command Structure

ConnectToHomeStation Command​

Represents the command for a WiFi Endpoint to connect to the Home Station.

Parameters​

ConnectToHomeStation Command Structure

ConfigStaticIPAddr Command​

The ConfigStaticIPAddr Command represents configuring the device network address information. The optional parameter AddressingMode: when set to 0, switches to DHCP for obtaining the IP (ignoring IPAddress, SubnetMask, PrimaryDNS, DefaultGateway and SecondaryDNS); when set to 1, switches to static IP mode and applies the above parameters; if this field is absent, static IP mode is used by default. The optional parameter InterfaceName (example: eth0) specifies the target interface; when not passed, it applies to all network interfaces.

Parameters​

ConfigStaticIPAddr Command Structure

ConfigureWiFiNetwork Command​

This command is used to configure and connect to a Wi-Fi network on the specified network interface.

Parameters​

ConfigureWiFiNetwork Command Structure

AddOrUpdateZigbeeNetworkResponse Command​

This Command is used to perform the "add or update Zigbee network feedback" operation.

Parameters​

AddOrUpdateZigbeeNetworkResponse Command Structure

AddOrUpdateZigbeeNetwork Command​

This Command is used to perform the "add or update Zigbee network command" operation.

Parameters​

AddOrUpdateZigbeeNetwork Command Structure

AddOrUpdateThreadNetworkResponse Command​

This Command is used to perform the "add or update Thread network command feedback" operation.

Parameters​

AddOrUpdateThreadNetworkResponse Command Structure

AddOrUpdateThreadNetwork Command​

This Command is used to perform the "add or update Thread network command" operation. When OperationalDataset is omitted or Null, the device SHALL create a new Thread network.

Parameters​

AddOrUpdateThreadNetwork Command Structure

AddOrUpdateWiFiNetworkResponse Command​

This Command is used to perform the "add or update WiFi network command feedback" operation.

Parameters​

AddOrUpdateWiFiNetworkResponse Command Structure

AddOrUpdateWiFiNetwork Command​

This Command is used to perform the "add or update WiFi network command" operation.

Parameters​

AddOrUpdateWiFiNetwork Command Structure

ScanWiFiNetworksResponse Command​

This Command is used to return the list of nearby Wi-Fi hotspots. payload is an array of ScanWiFiNetworksResponse Command Structure.

Parameters​

ScanWiFiNetworksResponse Command Structure

ScanWiFiNetworks Command​

This Command is used to perform the "scan WiFi network command" operation.

This Command has no parameters.

VerifyDeviceAuthenticity Command​

This Command is used to perform the "verify device authenticity" operation. Cmd values: 0 SendRandomCode; 1 GetCertificateFile; 2 ValidationPassed; 3 ValidationFailed; 4 WriteCloudId; 5 Registered; 6 RegisterFailed; 7 SendSelfSignedCertificate; 8 RefreshToken; 9 WriteUserId; 10 SendRandomCodeOfCertificate. See the flow in ref_MagicPairNetworkCommissioning.

Parameters​

VerifyDeviceAuthenticity Command Structure

VerifyDeviceAuthenticityResponse Command​

This Command is used to perform the "verify device authenticity response" operation.

Parameters​

VerifyDeviceAuthenticityResponse Command Structure

SetZigbeeChannel Command​

This command changes the Zigbee communication channel on the device (such as a gateway or coordinator). Channel values are typically 11 to 26 (2.4 GHz band). After execution, the device may need to restart the Zigbee protocol stack or perform network reconfiguration.

Parameters​

SetZigbeeChannel Command Structure

SetThreadChannel Command​

This command changes the Thread communication channel on the device. Channel values are typically 11 to 26 (2.4 GHz band). After execution, the device may need to restart the Thread protocol stack or perform network reconfiguration.

Parameters​

SetThreadChannel Command Structure

EcosystemInformation​

Introduction​

Describes the ecosystem platform information that the device is connected to, such as HomeKit, Matter Fabric binding states, etc.

Function Identification​

Function IDCodeName
0x00ACEcosystemInformationEcosystem platform information

Trait​

Trait IDCodeNameConformance
0x810FSupportedEcosystemSupported ecosystemsM
0x8113MatterPayloadMatter pairing code dataO
0x8112HomeKitPayloadHomeKit pairing code dataO
0x8111MagicPairPayloadMagicPair pairing code dataO
0x8110BoundEcosystemBound ecosystemsO
0x50C4StudioStatusSyncStudio status syncO

Command​

Command IDCodeNameConformance
0x88B8SysControlExecute system commandO
0x9D5EEnterHomeKitPairingModeEnter HomeKit pairing modeO

Data Types​

MatterPayloadTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the MatterPayload Trait.

Struct Member No.Field NameTypeMandatoryDescription
0QRCodecharacterStringMRaw string data of the pairing QR code.
1DigitalPairingCodecharacterStringM11 or 21 digit numeric pairing code.
HomeKitPayloadTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the HomeKitPayload Trait.

Struct Member No.Field NameTypeMandatoryDescription
0QRCodecharacterStringMRaw string data of the pairing QR code.
1DigitalPairingCodecharacterStringM8 digit numeric pairing code.
MagicPairPayloadTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the MagicPairPayload Trait.

Struct Member No.Field NameTypeMandatoryDescription
0QRCodecharacterStringMRaw string data of the pairing QR code.
1DigitalPairingCodecharacterStringM8 digit numeric pairing code.
StudioStatusSyncTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the StudioStatusSync Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Statusenum8MCurrent key status enumeration value of Studio, used to identify sync events (such as first login).
SysControl Command Structure Type​

Parameter structure of the SysControl Command.

Struct Member No.Field NameTypeMandatoryDescription
0Cmduint8MCmd.
1ParamscharacterStringOParams.
EnterHomeKitPairingMode Command Structure Type​

Parameter structure of the EnterHomeKitPairingMode Command.

Struct Member No.Field NameTypeMandatoryDescription
0Actionenum8MAction; default value is 1.

Trait Definitions​

Trait IDNameConformance
0x810FSupportedEcosystemM
0x8113MatterPayloadO
0x8112HomeKitPayloadO
0x8111MagicPairPayloadO
0x8110BoundEcosystemO
0x50C4StudioStatusSyncO

SupportedEcosystem Trait​

Indicates the ecosystems supported by the device (e.g., Aqara Hub M3 supports Aqara Home, Apple HomeKit and Matter). The value is a bitmask: bit0 = Aqara Home, bit1 = Apple HomeKit, bit2 = Matter, bit3 = Aqara Studio, bit4-7 reserved.

Trait IDCode
0x810FSupportedEcosystem
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RM
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

MatterPayload Trait​

Provides the pairing information required for Matter commissioning. The value is a structure containing: QRCode (raw string of the pairing QR code) and DigitalPairingCode (11 or 21 digit numeric pairing code). When the device is not bound, reading this payload may activate the Matter commissioning window for a period (10 minutes by default).

Trait IDCode
0x8113MatterPayload
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMatterPayloadTraitPresentValueStructureRVO

HomeKitPayload Trait​

Provides the pairing information required for HomeKit commissioning. The value is a structure containing: QRCode (raw string of the pairing QR code) and DigitalPairingCode (8 digit numeric pairing code). When the device is not bound, reading this payload may activate the HomeKit commissioning window for a period (10 minutes by default).

Trait IDCode
0x8112HomeKitPayload
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHomeKitPayloadTraitPresentValueStructureRVO

MagicPairPayload Trait​

Provides the pairing information required for MagicPair provisioning. The value is a structure containing: QRCode (raw string of the pairing QR code) and DigitalPairingCode (8 digit numeric pairing code). When the device is not bound, reading this payload may activate the MagicPair commissioning window for a period (10 minutes by default).

Trait IDCode
0x8111MagicPairPayload
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMagicPairPayloadTraitPresentValueStructureRVO

BoundEcosystem Trait​

Indicates the ecosystems bound to the device. The value is a bitmask: bit0 = Aqara Home, bit1 = Apple HomeKit, bit2 = Matter, bit3 = Aqara Studio, bit4-7 reserved (should be 0). For example, a value of 0x03 indicates that both Aqara Home and HomeKit are bound.

Trait IDCode
0x8110BoundEcosystem
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

StudioStatusSync Trait​

Studio notifies other endpoints (gateway, devices, cloud, etc.) of its current key status. This structure contains a single status enumeration value, used to identify specific sync events (such as first login).

Trait IDCode
0x50C4StudioStatusSync
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStudioStatusSyncTraitPresentValueStructureRVWO

Command Definitions​

Command IDNameConformance
0x88B8SysControlO
0x9D5EEnterHomeKitPairingModeO

SysControl Command​

This Command is used to perform system control operations. Cmd values:

CmdNameDescription
0FactoryResetErase all local user and network data
1ResetSoft reset without deleting data
2RestartReboot
3RemoveHomeKitPairingRemove HomeKit binding and report the updated BoundEcosystem
4RemoveMatterPairingRemove all Matter Fabrics
5OpenHomeKitCommissioningWindowOpen the HomeKit window, 10 minutes by default
6OpenMatterCommissioningWindowOpen the Matter window, 10 minutes by default
7RemoveSelectedMatterPairingRemove the Fabric with the Vendor ID specified in Params
8WriteAqaraUserIdWrite the Aqara account User ID; Params is a string, max 128 bytes. Writing UserID during BLE Endpoint provisioning uses VerifyDeviceAuthenticity Cmd 9, not this Cmd

Params appears only when the Cmd requires additional data and must not be narrowed to a fixed string unrelated to the Cmd. The key clearing rules for factory reset, unbinding and protocol switching are described in ref_MagicPairSecurity and ref_MagicPairStateMachine.

Parameters​

SysControl Command Structure

EnterHomeKitPairingMode Command​

This command instructs the device to enter HomeKit pairing mode so that it can be discovered and paired with Apple HomeKit. When action is set to ENTER, the device starts broadcasting as a HomeKit accessory and responding to pairing requests. The command includes an action enumeration field: NO_ACTION (0) does nothing, ENTER (1) triggers the device to enter HomeKit pairing mode.

Parameters​

EnterHomeKitPairingMode Command Structure

MatterCommissioning​

Introduction​

Provides Matter commissioning and Fabric management capability, including the commissioning window, Fabric list and node identification. For two-in-one code devices, the Discriminator, Passcode and Vendor ID SHALL be consistent with this Function and the Matter QR; the Product ID is the same on single-firmware two-in-one code devices and different on dual-firmware two-in-one code devices, see ref_MatterMagicPairUnifiedTypes. The default timeout for opening the window is 10 minutes, and it can also be triggered by SysControl Cmd 6.

Function Identification​

Function IDCodeName
0x00ADMatterCommissioningMatter commissioning

Trait​

Trait IDCodeNameConformance
0x8142MatterNodeIdMatter node IDM
0x8124MatterCommissioningWindowStatusMatter commissioning window statusM
0x8123ConnectedMatterFabricsConnected Matter ecosystemsM
0x4FA0MatterFabricsOperationMatter ecosystem operationsM

Command​

Command IDCodeNameConformance
0x88BCRemoveMatterFabricRemove Matter device from the specified FabricM
0x88B9OpenMatterCommissioningWindowOpen Matter device commissioning windowM

Data Types​

ConnectedMatterFabricsTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ConnectedMatterFabrics Trait.

Struct Member No.Field NameTypeMandatoryDescription
0VendorIDuint16MMatter Vendor ID.
1FabricIDuint64MFabric ID.
2ManufacturerLabelcharacterStringOManufacturer Label.
3NodeIDuint64MNode ID.
MatterFabricsOperationTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the MatterFabricsOperation Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Fabric IDuint32MFabric ID.
1Vendor IDuint32MVendor ID.
RemoveMatterFabric Command Structure Type​

Parameter structure of the RemoveMatterFabric Command.

Struct Member No.Field NameTypeMandatoryDescription
0Fabric IDuint32MFabric ID.
1Vendor IDuint32MVendor ID.
OpenMatterCommissioningWindow Command Structure Type​

Parameter structure of the OpenMatterCommissioningWindow Command.

Struct Member No.Field NameTypeMandatoryDescription
0Commissioning Timeoutuint16MPairing time.
1PAKE Passcode VerifiercharacterStringMPassword verifier.
2Discriminatoruint16MDiscriminator.
3Iterationsuint32MIteration.
4SaltcharacterStringMSalt.

Trait Definitions​

Trait IDNameConformance
0x8142MatterNodeIdM
0x8124MatterCommissioningWindowStatusM
0x8123ConnectedMatterFabricsM
0x4FA0MatterFabricsOperationM

MatterNodeId Trait​

Represents the Matter device ID. Format: Uint64.

Trait IDCode
0x8142MatterNodeId
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVM
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint321RO

MatterCommissioningWindowStatus Trait​

Represents the current status of the Matter device commissioning window. Values: 0 = WindowNotOpen, 1 = EnhancedWindowOpen, 2 = BasicWindowOpen.

Trait IDCode
0x8124MatterCommissioningWindowStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVM
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

ConnectedMatterFabrics Trait​

Represents the list of connected Matter ecosystem fabrics. Each fabric contains Vendor ID, Fabric ID, Manufacturer Label, Node ID.

Trait IDCode
0x8123ConnectedMatterFabrics
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[ConnectedMatterFabricsTraitPresentValueStructure]RVM

MatterFabricsOperation Trait​

This Trait is used for access to and reporting of "Matter ecosystem operations" data.

Trait IDCode
0x4FA0MatterFabricsOperation
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[MatterFabricsOperationTraitPresentValueStructure]RVM

Command Definitions​

Command IDNameConformance
0x88BCRemoveMatterFabricM
0x88B9OpenMatterCommissioningWindowM

RemoveMatterFabric Command​

This Command is used to perform the "remove Matter device from the specified Fabric" operation.

Parameters​

RemoveMatterFabric Command Structure

OpenMatterCommissioningWindow Command​

This Command is used to perform the "open Matter device commissioning window" operation.

Parameters​

OpenMatterCommissioningWindow Command Structure

IndicationLight​

Introduction​

Manages device indicator light behavior, including status indication, brightness, color and blinking patterns.

Function Identification​

Function IDCodeName
0x00AEIndicationLightIndicator light

Trait​

Trait IDCodeNameConformance
0x4F33ChildEndpointListChild endpoint listO
0x4EA0EnableInvertIndicationLightIndicator light inversion enable configurationO
0x511BEnableMotionDetectionIndicatorLightMotion detection indicator light enable configurationO
0x8139DNDTimePeriodDo Not Disturb time periodO
0x8138EnableDNDModeDo Not Disturb mode enableO
0x8137IndicationLightSettingIndicator light trigger settingO

Command​

Command IDCodeNameConformance
0x9D87EnableQuietModeTurn on Do Not Disturb modeO
0x9D88DisableQuietModeTurn off Do Not Disturb modeO

Data Types​

DNDTimePeriodTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DNDTimePeriod Trait.

Struct Member No.Field NameTypeMandatoryDescription
0BeginTimecharacterStringMDo Not Disturb mode start time, crontab format, default value is 0 21 *.
1EndTimecharacterStringMDo Not Disturb mode end time, crontab format, default value is 0 9 *; if earlier than BeginTime, it means the time of the next day.
IndicationLightSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the IndicationLightSetting Trait.

ValueNameDescription
0x00NeverUseNever used
0x01UseUsed

Trait Definitions​

Trait IDNameConformance
0x4F33ChildEndpointListO
0x4EA0EnableInvertIndicationLightO
0x511BEnableMotionDetectionIndicatorLightO
0x8139DNDTimePeriodO
0x8138EnableDNDModeO
0x8137IndicationLightSettingO

ChildEndpointList Trait​

This attribute should report the child endpoints currently assigned in the configured partitions of the device.

Trait IDCode
0x4F33ChildEndpointList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

EnableInvertIndicationLight Trait​

This configuration enables or disables the inversion function of the indicator light state, corresponding to the EnableIndicationLightInversion attribute of the Aqara Indicator Light Configuration Cluster.

Trait IDCode
0x4EA0EnableInvertIndicationLight
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableMotionDetectionIndicatorLight Trait​

When written, turns the motion detection indicator light display on or off. Reading indicates the current on/off state. Values: false = Off, true = On.

Trait IDCode
0x511BEnableMotionDetectionIndicatorLight
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DNDTimePeriod Trait​

Defines the Do Not Disturb time period. Its value is a structure containing two optional fields, begin_time and end_time, both expressed in crontab format. The crontab format follows the "minute hour day month weekday" pattern (e.g., "0 22 * * *" means 22:00 every day).

Trait IDCode
0x8139DNDTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDNDTimePeriodTraitPresentValueStructureRVWO

EnableDNDMode Trait​

When written, enables or disables the indicator light Do Not Disturb (DND) mode. In DND mode, the indicator light may not blink or may stay off during specific periods to avoid disturbance. Values: false = DND off (normal operation), true = DND on.

Trait IDCode
0x8138EnableDNDMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

IndicationLightSetting Trait​

Configures how the indicator light is used. Values: 0 = Never used (the indicator light is never activated), 1 = Used (the indicator light activates normally), 2 = Toggle (each time this value is written, the current state is toggled, e.g., from on to off or off to on). Reading returns the current setting mode.

Trait IDCode
0x8137IndicationLightSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueIndicationLightSettingEnum81RVWO
0x0006Supported Valuelist[IndicationLightSettingEnum8]RO
0x0007Default Valueuint81RWO

Command Definitions​

Command IDNameConformance
0x9D87EnableQuietModeO
0x9D88DisableQuietModeO

EnableQuietMode Command​

This Command is used to perform the "enable silent mode" operation.

This Command has no parameters.

DisableQuietMode Command​

This Command is used to perform the "disable silent mode" operation.

This Command has no parameters.

SwitchConfiguration​

Introduction​

Provides wall switch configuration capability, including wiring mode, button mode, anti-flicker, forced control and line terminal configuration.

Function Identification​

Function IDCodeName
0x011ASwitchConfigurationSwitch configuration

Trait​

Trait IDCodeNameConformance
0x4F33ChildEndpointListChild endpoint listO
0x510DEnableRelayLockRelay lockO
0x510EWireConfigurationWiring configurationO
0x510FButtonModeSwitch modeO
0x5198DeviceAssociationTargetDevice association targetO
0x5172QuickDoubleControlDeviceQuick double control target deviceO
0x5110EnableAntiFlickerAnti-flicker enableO
0x5111EnableSwitchForcedControlSwitch forced controlO
0x5114LineTerminalLine terminalO

Command​

This Function does not contain Commands.

Data Types​

WireConfigurationEnum8 Type​

This enumeration defines the valid values of the Present Value of the WireConfiguration Trait.

ValueNameDescription
0x00WithNeutralWith neutral wire
0x01WithoutNeutralWithout neutral wire
ButtonModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the ButtonMode Trait.

ValueNameDescription
0x00UnspecifiedNo button mode is configured.
0x01DualModeWhen the physical button is pressed, both the relay is controlled and the automation triggered by the wireless switch is executed.
0x02StandardModeWhen the physical button is pressed, only the relay is controlled.
0x03WirelessModeWhen the physical button is pressed, only the automation triggered by the wireless switch is executed.
0x04DeviceAssociationModeWhen the physical button is pressed, the associated device is controlled.
0x05SceneAssociationModeWhen the physical button is pressed, the associated scene is triggered.
0x06QuickDoubleControlModeWhen the physical button is pressed, the relay of the associated switch is toggled.
0x07MarsTechModeWhen the physical button is pressed, the load device is controlled in the Mars Technology manner.
LineTerminalEnum8 Type​

This enumeration defines the valid values of the Present Value of the LineTerminal Trait.

ValueNameDescription
0x00UnspecifiedUnspecified
0x01L1L1
0x02L2L2
0x03L3L3
QuickDoubleControlDeviceTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the QuickDoubleControlDevice Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DeviceIdcharacterStringMTarget device DID.
1PointPathcharacterStringMData point access path, containing Endpoint ID, Function ID, Trait ID, Parameter ID, separated by ., e.g., 2.132.32920.1.
2SubscribeRecordIduint32MThe data subscription record ID saved by the device for the quick double control function.
DeviceAssociationTargetTraitPresentValueStructure Type​

This structure defines the field layout of a single associated target device in the Present Value list of the DeviceAssociationTarget Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DeviceIdcharacterStringMTarget device DID.
1PointPathcharacterStringMThe data point access path of the target device, containing Endpoint ID, Function ID, Trait ID, Parameter ID, separated by ..
2SubscribeRecordIduint32MThe data subscription record ID associated with the target device.
3GroupIduint16MGroup ID used for group control; when non-zero, switch commands can be sent to this group.

Trait Definitions​

Trait IDNameConformance
0x4F33ChildEndpointListO
0x510DEnableRelayLockO
0x510EWireConfigurationO
0x510FButtonModeO
0x5198DeviceAssociationTargetO
0x5172QuickDoubleControlDeviceO
0x5110EnableAntiFlickerO
0x5111EnableSwitchForcedControlO
0x5114LineTerminalO

ChildEndpointList Trait​

This attribute should report the child endpoints currently assigned in the configured partitions of the device.

Trait IDCode
0x4F33ChildEndpointList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

EnableRelayLock Trait​

This Trait is used for access to and reporting of "relay lock" data.

Trait IDCode
0x510DEnableRelayLock
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanRVWO
0x0007Default Valueboolean0RWO

WireConfiguration Trait​

This Trait is used for access to and reporting of "wiring mode" data.

Trait IDCode
0x510EWireConfiguration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWireConfigurationEnum80RVWO

ButtonMode Trait​

This Trait is used for access to and reporting of "button mode" data.

Trait IDCode
0x510FButtonMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueButtonModeEnum8RVWO
0x0006Supported Valuelist[ButtonModeEnum8]RO
0x0007Default ValueButtonModeEnum80RWO

DeviceAssociationTarget Trait​

This Trait is used to configure the associated target devices controlled by the physical button when ButtonMode is DeviceAssociationMode. When the physical button is pressed, the associated devices in this Trait's list should be controlled.

The client should configure this Trait by writing the list of target device entries.

Trait IDCode
0x5198DeviceAssociationTarget
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[DeviceAssociationTargetTraitPresentValueStructure]RVWO

QuickDoubleControlDevice Trait​

This Trait represents the associated target switch device and its data points used when this switch's ButtonMode is set to QuickDoubleControl. This Trait is valid when ButtonMode is set to QuickDoubleControl. In this mode, pressing the physical button should toggle the relay of the associated switch identified by this Trait.

The client should configure this Trait by writing the target device entry.

Trait IDCode
0x5172QuickDoubleControlDevice
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueQuickDoubleControlDeviceTraitPresentValueStructureRVWO

EnableAntiFlicker Trait​

This Trait is used for access to and reporting of "anti-flicker switch" data.

Trait IDCode
0x5110EnableAntiFlicker
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanRVWO
0x0007Default Valueboolean0RWO

EnableSwitchForcedControl Trait​

This Trait is used for access to and reporting of "forced control switch" data.

Trait IDCode
0x5111EnableSwitchForcedControl
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanRVWO
0x0007Default Valueboolean0RWO

LineTerminal Trait​

This Trait is used for access to and reporting of "line terminal" data.

Trait IDCode
0x5114LineTerminal
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLineTerminalEnum80RVWO
0x0006Supported Valuelist[LineTerminalEnum8]RO
0x0007Default ValueLineTerminalEnum80RWO

Command Definitions​

This Function does not contain Commands.

GeneralConfiguration​

Introduction​

Provides general device configuration items, such as sensitivity, delay, default parameters and other device-level settings.

Function Identification​

Function IDCodeName
0x00AFGeneralConfigurationGeneral configuration

Trait​

Trait IDCodeNameConformance
0x5080ChildLockChild lockO
0x5009WiFiBandsWi-Fi band settingO
0x5002UsbDataCommunicationEnableUSB data communication enableO
0x4FF6LightSourceCategoryLight source categoryO
0x4FECAiAgreementAI agreement acceptanceO
0x502ESoftSensorAlgorithmSoft sensor algorithm typeO
0x4FAFSoftSensorSourceConfigSoft sensor data source configurationO
0x4F9ADetectionModeSettingDetection mode settingO
0x4F60BeepEnableBeep enableO
0x5163BuzzerVolumeBuzzer volumeO
0x4F5FEnergySavingEnableEnergy saving mode enableO
0x4F5ENightLightModeNight light modeO
0x4F51HubArkTechEnableArk Technology enable (gateway)O
0x4F49TimeZoneTime zoneO
0x4F0AActivityDetectionModeSettingActivity detection mode settingO
0x4EF3VoiceLanguageVoice broadcast languageO
0x4E85OutputInterlockFlagSwitch interlock enable configuration flagO
0x4EAAResetModeFactory reset modeO
0x5134LightingLinkageEnableLighting linkage enableO
0x516CPublicCapObjReasonPublic capability object presence reasonM
0x5133DeviceControlFlagsDevice control flagsM
0x4E9APollingTimePolling timeO
0x519CKeepAliveIntervalKeep-alive intervalO
0x4E98TransmissionPowerSettingDevice transmission power settingO
0x4E83LightingModeSettingLighting mode settingO
0x4E7EInstallationOrientationConfigurationInstallation orientation configurationO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x813BCurrentSensitivityLevelCurrent sensitivity levelO
0x813ANumberOfSensitivityLevelIsSupportedNumber of supported sensitivity levelsO
0x5027DynamicCoverRefreshEnableDynamic cover refresh enableO
0x4E3EP2PCaptureEnabledP2P capture supportO
0x5248P2PCaptureIntervalHome page card capture intervalO
0x4E44P2PCaptureStatusP2P dynamic capture statusO
0x51EDVibrationIntensityVibration intensityO

Command​

Command IDCodeNameConformance
0x9D7CWakeupDeviceWake up deviceO

Data Types​

P2PCaptureIntervalEnum8 Type​

This enumeration defines the valid values of the Present Value of the P2PCaptureInterval Trait.

ValueNameDescription
0x00AutoAutomatic
0x01Seconds1010 seconds
0x02Seconds2020 seconds
0x03Seconds3030 seconds
0x04Minutes11 minute
0x05Minutes22 minutes
0x06Minutes55 minutes
0x07Minutes1010 minutes
0x08Minutes3030 minutes
0x09Hours11 hour

SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest

WakeupDeviceActionEnum8 Type​

This enumeration defines the valid values of the action field of the WakeupDevice Command.

ValueNameDescription
0x01WakeupWake up device

WakeupDeviceSourceEnum8 Type​

This enumeration defines the valid values of the source field of the WakeupDevice Command.

ValueNameDescription
0x00PPCSWake up via PPCS stream pull
0x01WebRTCWake up via WebRTC stream pull
0x02NetworkWriteWake up via network write of a data point
0x03RecordingWake up via recording

WakeupDevice Command Structure Type​

Parameter structure of the WakeupDevice Command. The Server sends this Command to wake the device from sleep or standby mode, applicable to low-power devices such as cameras, sensors, door locks and control panels. Action is fixed to 1, meaning the wake-up operation is performed; Source identifies the wake-up trigger source, enabling the device to perform statistics, logging or differentiated behavior.

Struct Member No.Field NameTypeMandatoryDescription
0ActionWakeupDeviceActionEnum8MWake-up action, fixed to 0x01 (Wakeup).
1SourceWakeupDeviceSourceEnum8MWake-up source: 0x00 = PPCS, 0x01 = WebRTC, 0x02 = NetworkWrite, 0x03 = Recording.

ChildLockEnum8 Type​

This enumeration defines the valid values of the Present Value of the ChildLock Trait.

ValueNameDescription
0x00OffOff
0x01OnOn

WiFiBandsEnum8 Type​

This enumeration defines the valid values of the Present Value of the WiFiBands Trait.

ValueNameDescription
0x002G42.4G
0x013G653.65G
0x025G5G
0x036G6G
0x0460G60G
0x051G1G
0xFFAutoAuto

LightSourceCategoryEnum8 Type​

This enumeration defines the valid values of the Present Value of the LightSourceCategory Trait.

ValueNameDescription
0x00SoftFilmHardLightBoardSoft film hard light board
0x03RGBCWLightSourceRGBCW light source
0x04LightColorFourColorSourceLight color four-color light source

SoftSensorAlgorithmEnum16 Type​

This enumeration defines the valid values of the Present Value of the SoftSensorAlgorithm Trait.

ValueNameDescription
0x01AverageAverage
0x02MaximumMaximum
0x03MinimumMinimum

DetectionModeSettingEnum16 Type​

This enumeration defines the valid values of the Present Value of the DetectionModeSetting Trait.

ValueNameDescription
0x00UnconfiguredNot configured
0x03DoorWindowStateDoor/window state detection
0x05ObjectOrientationObject posture detection

NightLightModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the NightLightMode Trait.

ValueNameDescription
0x00OffAlways off
0x01OnAlways on
0x02AutoAuto sensing

BuzzerVolumeEnum8 Type​

This enumeration defines the valid values of the Present Value of the BuzzerVolume Trait.

ValueNameDescription
0x00MuteSilent
0x01LowLow volume
0x02MediumMedium volume
0x03HighHigh volume

ActivityDetectionModeSettingEnum32 Type​

This enumeration defines the valid values of the Present Value of the ActivityDetectionModeSetting Trait.

ValueNameDescription
0x01HumanPresenceHuman presence
0x03PersonnelLocationPerson location
0x05FallDetectionFall detection
0x08CeilingFallSingleTrackingCeiling-mounted fall and single-person location
0x09SleepModeSleep
0x11GestureControlGesture

VoiceLanguageEnum8 Type​

This enumeration defines the valid values of the Present Value of the VoiceLanguage Trait.

ValueNameDescription
0x01ChineseChinese
0x02EnglishEnglish
0x03CantoneseCantonese
0x04SpanishSpanish
0x05RussianRussian
0x06KoreanKorean
0x07PortugueseBRBrazilian Portuguese
0x08GermanGerman
0x09FrenchFrench
0x0AItalianItalian
0x0BJapaneseJapanese
0x0CPolishPolish
0x0DCzechCzech
0x0ESlovakSlovak
0x0FTurkishTurkish
0x10HungarianHungarian
0x11DutchDutch
0x12GreekGreek
0x13ArabicArabic

ResetModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the ResetMode Trait.

ValueNameDescription
0x01FactoryResetFactory reset
0x02NetworkResetReset network only
0x03ConfigurationsResetReset configuration only
0x04PSWResetReset device password only

LightingModeSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the LightingModeSetting Trait.

ValueNameDescription
0x00LevelMonochrome mode
0x01ColorTempColor temperature mode
0x02RGBRGB mode
0x03RGBW modeRGBW mode

InstallationOrientationConfigurationEnum16 Type​

This enumeration defines the valid values of the Present Value of the InstallationOrientationConfiguration Trait.

ValueNameDescription
0x00HorizontalHorizontal
0x01VerticalVertical

InstallationOrientationEnum8 Type​

This enumeration defines the valid values of the InstallationOrientation member in the DeviceOrientation structure of the DoorLock Function.

ValueNameDescription
0x00HorizontalHorizontal
0x01VerticalVertical

DeviceControlFlagsBitmap32 Type​

This bitmap defines the valid meaning of each bit of the Present Value of the DeviceControlFlags Trait.

ValueNameDescription
0x00000001DownloadImageDataDisabledBit0: a value of 1 prohibits downloading image data, a value of 0 allows normal downloading.

PublicCapObjReasonEnum32 Type​

This enumeration defines the valid values of the Present Value of the PublicCapObjReason Trait, used to represent the reason why the device's public capability object exists.

ValueKeyChinese NameEnglish NameDescription
0x00000000UnknownUnknownUnknownDefault value, indicating no specific reason or unrecognizable.
0x00000001BaseReplaceableReplaceable baseBase ReplaceableThe device supports the replaceable base feature and requires this public capability object.

Trait Definitions​

Trait IDNameConformance
0x5080ChildLockO
0x5009WiFiBandsO
0x5002UsbDataCommunicationEnableO
0x4FF6LightSourceCategoryO
0x4FECAiAgreementO
0x502ESoftSensorAlgorithmO
0x4FAFSoftSensorSourceConfigO
0x4F9ADetectionModeSettingO
0x4F60BeepEnableO
0x5163BuzzerVolumeO
0x4F5FEnergySavingEnableO
0x4F5ENightLightModeO
0x4F51HubArkTechEnableO
0x4F49TimeZoneO
0x4F0AActivityDetectionModeSettingO
0x4EF3VoiceLanguageO
0x4E85OutputInterlockFlagO
0x4EAAResetModeO
0x5134LightingLinkageEnableO
0x516CPublicCapObjReasonM
0x5133DeviceControlFlagsM
0x4E9APollingTimeO
0x519CKeepAliveIntervalO
0x4E98TransmissionPowerSettingO
0x4E83LightingModeSettingO
0x4E7EInstallationOrientationConfigurationO
0x4FB4SensitivityLevelEnumO
0x813BCurrentSensitivityLevelO
0x813ANumberOfSensitivityLevelIsSupportedO
0x5027DynamicCoverRefreshEnableO
0x4E3EP2PCaptureEnabledO
0x5248P2PCaptureIntervalO
0x4E44P2PCaptureStatusO
0x51EDVibrationIntensityO

P2PCaptureInterval Trait (Home Page Card Capture Interval)​

The home page card capture interval, maintained by the cloud. It can be configured and takes effect after P2PCaptureEnabled is enabled. A value of 0 means the cloud decides the capture interval automatically; a non-zero value follows the interval specified by the enumeration. The default value is 0, and it is readable, writable, and reportable.

Trait IDCode
0x5248P2PCaptureInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueP2PCaptureIntervalEnum80RVWO
0x0006Supported Valuelist[P2PCaptureIntervalEnum8]RO
0x0007Default ValueP2PCaptureIntervalEnum80RWO

ChildLock Trait​

Indicates whether the device's physical buttons or remote control functions are locked to prevent accidental operation.

Trait IDCode
0x5080ChildLock
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueChildLockEnum80RVWO
0x0006Supported Valuelist[ChildLockEnum8]R
0x0007Default ValueChildLockEnum80RWO

WiFiBands Trait​

Used to set the Wi-Fi band used by the device when connecting to the network via Wi-Fi.

Trait IDCode
0x5009WiFiBands
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWiFiBandsEnum8255RVWO
0x0006Supported Valuelist[WiFiBandsEnum8]R
0x0007Default Valueuint8255RW

UsbDataCommunicationEnable Trait​

Enables or disables the data communication function of the device's USB port. It is disabled by default; users can enable it to transfer data through the USB interface (such as connecting to a PC or peripherals).

Trait IDCode
0x5002UsbDataCommunicationEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RW

LightSourceCategory Trait​

Indicates the light source technology category used inside the luminaire, such as soft film hard light board, RGBCW light source or light color four-color light source.

Trait IDCode
0x4FF6LightSourceCategory
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightSourceCategoryEnum80RVWO
0x0006Supported Valuelist[LightSourceCategoryEnum8]R
0x0007Default ValueLightSourceCategoryEnum80RWO

AiAgreement Trait​

Whether to accept the AI agreement.

Trait IDCode
0x4FECAiAgreement
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RW

SoftSensorAlgorithm Trait​

Specifies the aggregation algorithm used by the virtual (soft) sensor to calculate the current value from the measurements of multiple physical sensors. Three basic algorithms are supported: average (the arithmetic mean of all source sensor values), maximum (the highest value among all source sensors) and minimum (the lowest value among all source sensors). This configuration determines how the soft sensor's current value is calculated from the underlying multi-source data, and is suitable for scenarios where readings from multiple sensors of the same type need to be combined into a representative value.

Trait IDCode
0x502ESoftSensorAlgorithm
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSoftSensorAlgorithmEnum161RVWO
0x0006Supported Valuelist[SoftSensorAlgorithmEnum16]R
0x0007Default Valueuint161RW

SoftSensorSourceConfig Trait​

Used to configure the physical devices and their attribute lists on which the soft sensor depends. Its value is a JSON string containing fields such as hublist (the list of involved gateways), temperature, humidity. Each field lists the sub-device DIDs under the corresponding gateway and their specific resource IDs (such as "0.1.85" for an attribute). It may also include an optional config object (such as the aggregation algorithm agg), but the algorithm is usually defined by the independent SoftSensorAlgorithm value. This configuration defines the input data sources of the soft sensor, based on which the soft sensor performs aggregation calculations.

Trait IDCode
0x4FAFSoftSensorSourceConfig
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

DetectionModeSetting Trait​

Indicates the current detection mode setting of the device, determining the types of events or states that the device will monitor and report. This is a configurable parameter that can switch between different detection scenarios.

Trait IDCode
0x4F9ADetectionModeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDetectionModeSettingEnum160RVWO
0x0006Supported Valuelist[DetectionModeSettingEnum16]R
0x0007Default Valueuint160RW

BeepEnable Trait​

Enables or disables the sound feedback beep for device operations.

Trait IDCode
0x4F60BeepEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnergySavingEnable Trait​

Enables or disables the energy saving mode. When enabled, seat temperature, water temperature, etc. are maintained at the minimum level to reduce energy consumption.

Trait IDCode
0x4F5FEnergySavingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

NightLightMode Trait​

Sets the night light mode. In Auto mode, the device automatically turns the night light on or off based on ambient light.

Trait IDCode
0x4F5ENightLightMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNightLightModeEnum80RVWO
0x0006Supported Valuelist[NightLightModeEnum8]R
0x0007Default ValueNightLightModeEnum80RWO

HubArkTechEnable Trait​

Used to enable or disable the local disaster recovery capability of the proxy gateway under Aqara Ark Technology. When enabled, if a gateway fails or loses power and some Zigbee devices under the gateway can act as proxy gateways, the proxy gateway is responsible for executing part of the basic local automation, scenes and device groups.

Trait IDCode
0x4F51HubArkTechEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RW

TimeZone Trait​

This attribute is used to set and report the time zone of the device (e.g., China Standard Time is "GMT+8"). Correct time zone configuration ensures that the device system time, scheduled tasks (such as timers) and log timestamps are consistent with the user's actual geographical time, and is the basis for the accurate operation of all time-related functions.

Trait IDCode
0x4F49TimeZone
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

ActivityDetectionModeSetting Trait​

Specifies the current working mode used by the device to detect and identify specific activities or states, such as human presence detection, fall detection, sleep monitoring or gesture recognition.

Trait IDCode
0x4F0AActivityDetectionModeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueActivityDetectionModeSettingEnum321RVWO
0x0006Supported Valuelist[ActivityDetectionModeSettingEnum32]R
0x0007Default Valueuint321RW

VoiceLanguage Trait​

The language used for voice prompts and voice feedback.

Trait IDCode
0x4EF3VoiceLanguage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVoiceLanguageEnum81RVWO
0x0006Supported Valuelist[VoiceLanguageEnum8]R
0x0007Default Valueuint81RW

OutputInterlockFlag Trait​

When the values of two attributes are the same, it indicates that the states corresponding to these two attributes are in an interlock relationship.

Trait IDCode
0x4E85OutputInterlockFlag
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0002Maximum Valueuint8255R
0x0003Minimum Valueuint80R
0x0005Step Valueuint321R
0x0007Default Valueuint80RW

ResetMode Trait​

Supports performing operations including factory reset and resetting network configuration.

Trait IDCode
0x4EAAResetMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueResetModeEnum81RVWO
0x0006Supported Valuelist[ResetModeEnum8]R
0x0007Default ValueResetModeEnum81RWO

LightingLinkageEnable Trait​

Lighting linkage enable. Used to control the linkage behavior between the main light and secondary lights. When the enable is on (default), operations on the main light such as switching, brightness, color temperature and color adjustment are automatically applied to all secondary lights; when the enable is off, secondary lights can be adjusted independently and are not affected by the main light control.

Trait IDCode
0x5134LightingLinkageEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1R

DeviceControlFlags Trait​

Uses a bitmask (Bitmap) to express multiple device control states. Each bit represents an independent state switch, and upper-layer applications can read this value to determine whether a specific operation is allowed.

Trait IDCode
0x5133DeviceControlFlags
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDeviceControlFlagsBitmap320RVM
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

PublicCapObjReason Trait​

This Trait represents the reason why the device's public capability object DevicePublicCapabilities Object exists. It is used to describe why the device needs to have a certain public capability object.

For example: when the value is 1, it indicates that the device requires this public capability object because it supports the replaceable base feature.

Trait IDCode
0x516CPublicCapObjReason
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePublicCapObjReasonEnum320RVM

PollingTime Trait​

Sets the polling time interval for device communication with the network. Unit: ms.

Trait IDCode
0x4E9APollingTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWO
0x0002Maximum Valueuint327200000R
0x0003Minimum Valueuint320R
0x0005Step Valueuint32250R
0x0007Default Valueuint320RW

KeepAliveInterval Trait​

Represents the sending interval between two consecutive keep-alive commands of a low-power device. Different low-power devices have different wake-up capabilities; the device reports its expected keep-alive command sending interval through this Trait, so that the APP or cloud can adjust the sending frequency of keep-alive commands. Unit: seconds, range 1 to 65535. This Trait is read-only and reportable. The default value is 7.

Trait IDCode
0x519CKeepAliveInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint327RVO
0x0002Maximum Valueuint3265535RO
0x0003Minimum Valueuint321RO
0x0005Step Valueuint321RO
0x0007Default Valueuint327RWO

TransmissionPowerSetting Trait​

A dedicated feature used to set the device transmission power.

Trait IDCode
0x4E98TransmissionPowerSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat10.0R
0x0003Minimum Valuefloat-32.0R
0x0005Step Valuefloat1.0R
0x0007Default Valuefloat0RWO

LightingModeSetting Trait​

Defines the working mode of the luminaire.

The LightingModeSetting trait is used to set or query the current working mode of the lighting device. This mode determines the range of control capabilities exposed by the device, including the availability of switch control, brightness adjustment, color temperature adjustment and color setting functions. Four modes are currently supported: monochrome mode (Level), color temperature mode (ColorTemp), RGB mode (RGB) and RGBW mode (RGBW). In different modes, the data points and executable operations exposed by the device differ.

Specifically, when the light device is in monochrome mode, it only supports switch state control and brightness adjustment control, does not support color temperature control or any color setting. This mode is suitable for single-color-temperature luminaires that only need dimming. When the device is in color temperature mode, it additionally supports color temperature adjustment in addition to switch and brightness control, enabling smooth changes from warm white to cool white, but still does not support RGB or RGBW color settings; it is suitable for dual-color-temperature luminaires. When the device switches to RGB mode, in addition to switch, brightness and color temperature control (color temperature can be simulated through RGB channel mixing), it supports full-color RGB settings that can be freely adjusted to any color, but does not support an independent white channel. When the device is in RGBW mode, it further adds an independent white channel on top of RGB mode, supporting RGBW four-channel color settings that can simultaneously present vivid colors and pure white light, satisfying richer lighting scenario needs.

It is particularly important to emphasize that the working mode setting is not an arbitrary switch at the software level; it usually needs to be determined in combination with the physical wiring scheme of the luminaire and the actual deployment situation. For example, if the luminaire only has warm/cool white LED connections, it should not be set to RGB mode or RGBW mode; if the luminaire has independent RGB+W pins, it can be set to RGBW mode. Once the mode is modified, the device's data model configuration is dynamically updated in sync - data points not supported in the new working mode are automatically hidden and no longer appear in the data model, while data points supported in the new mode are exposed as needed. This mechanism ensures that the client can correctly identify the current capability range of the device and avoid sending invalid commands. Therefore, before modifying this mode, it is necessary to fully confirm whether the hardware supports the target mode, and mode changes should be made with caution and not arbitrarily, to avoid abnormal device control functions or a mismatch between the client interface and the actual capabilities.

Trait IDCode
0x4E83LightingModeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightingModeSettingEnum80RVWO
0x0006Supported Valuelist[LightingModeSettingEnum8]R
0x0007Default Valueuint80RW

InstallationOrientationConfiguration Trait​

This Trait is used for access to and reporting of "installation orientation configuration" data.

Trait IDCode
0x4E7EInstallationOrientationConfiguration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueInstallationOrientationConfigurationEnum160RVWO
0x0006Supported Valuelist[InstallationOrientationConfigurationEnum16]R
0x0007Default Valueuint160RW

CurrentSensitivityLevel Trait​

Indicates the currently selected general configuration sensitivity level.

Trait IDCode
0x813BCurrentSensitivityLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0002Maximum Valueuint8255R
0x0003Minimum Valueuint80R
0x0005Step Valueuint321R
0x0007Default Valueuint80RWO

SensitivityLevelEnum Trait​

This enumeration provides a unified sensitivity level configuration for device functions such as detection, recognition, sensing and alarm.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

NumberOfSensitivityLevelIsSupported Trait​

This Trait is used for access to and reporting of "number of supported sensitivity levels" data.

Trait IDCode
0x813ANumberOfSensitivityLevelIsSupported
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0002Maximum Valueuint8255R
0x0003Minimum Valueuint80R
0x0005Step Valueuint321R
0x0007Default Valueuint80RWO

DynamicCoverRefreshEnable Trait​

Enables or disables the dynamic refresh of the device cover image on the App home page.

Trait IDCode
0x5027DynamicCoverRefreshEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RW

BuzzerVolume Trait​

Used to set the volume level of the device buzzer. The buzzer is used for sound prompts such as button feedback, alarm notifications or operation notifications. This Trait supports read, write and active reporting.

Trait IDCode
0x5163BuzzerVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBuzzerVolumeEnum82RVWO
0x0006Supported Valuelist[BuzzerVolumeEnum8]RO
0x0007Default ValueBuzzerVolumeEnum82RWO

P2PCaptureEnabled Trait​

Indicates whether the camera's P2P (peer-to-peer) capture function is enabled.

Trait IDCode
0x4E3EP2PCaptureEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVO
0x0007Default Valueboolean1RW

P2PCaptureStatus Trait​

P2P dynamic capture status switch

Trait IDCode
0x4E44P2PCaptureStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

VibrationIntensity Trait​

Vibration intensity setting, used to adjust the vibration intensity of the linear motor and control the strength of the device's haptic feedback. Value range: 0-100%, default 50%, step 1.

Trait IDCode
0x51EDVibrationIntensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat1RO
0x0007Default Valuefloat50RWO

Command Definitions​

Command IDNameConformance
0x9D7CWakeupDeviceO

WakeupDevice Command​

The Server sends this command to wake the device from sleep or standby mode. This command is applicable to low-power devices such as cameras, sensors, door locks and control panels. The Payload contains two fields, Action and Source, where Action is fixed to 1 to indicate that the wake-up operation is performed, and Source identifies the wake-up trigger source, enabling the device to perform statistics, logging or differentiated behavior.

Parameters​

WakeupDevice Command Structure

GeneralDiagnostics​

Introduction​

Provides general diagnostic information, including uptime, reboot count, network interfaces and hardware faults.

Function Identification​

Function IDCodeName
0x00B0GeneralDiagnosticsGeneral diagnostics

Trait​

Trait IDCodeNameConformance
0x8149RebootReasonReboot reasonM
0x8148RebootCountReboot countM
0x4F4BAntiDeletionNotificationAccidental deletion prevention notificationO
0x4F4AAntiDeletionSettingAccidental deletion prevention settingO
0x813DActiveHardwareFaultsHardware errorO
0x4F03AntiDeletionLevelSettingAccidental deletion prevention level settingO
0x4EA3FreeMemoryRemaining available memory sizeO
0x5152TotalMemoryTotal memory sizeO
0x5147CPUUsageCPU usageO
0x5148CPUFrequencyCPU frequencyO
0x4E2ANetworkInterfacesNetwork interface informationO
0x4E29DebugInfoDebug informationO
0x4E23UpTimeUptimeO
0x50AEBlockDeletionBlock deletionO
0x50C3LogUploadTaskLog uploadO
0x513BPlatformAccessEventPlatform access eventO
0x5153SupportedRebootTypeSupported reboot typesO
0x5106CommLinkDetectionLink detectionO

Command​

Command IDCodeNameConformance
0x9D22RebootReboot commandO

Data Types​

RebootReasonEnum8 Type​

This enumeration defines the valid values of the Present Value of the RebootReason Trait.

ValueNameDescription
0x00UnspecifiedUnknown
0x01PowerOnRebootPower-on reboot
0x02BrownOutResetBrown-out reset
0x03SoftwareWatchdogResetSoftware watchdog reset
0x04HardwareWatchdogResetHardware watchdog reset
0x05SoftwareUpdateCompletedSoftware update completed
0x06SoftwareResetSoftware reboot (general)
0x07ApplicationExitRebootRestart after normal application exit (e.g., terminated by a signal)
0x08DebugLogEnabledRebootReboot after the cloud enables debug logging
0x09RemoteRPCCommandRebootDevice reboot triggered by a remote RPC command
0x10ButtonLongPressRebootReboot triggered by a long press of the physical button
0x11MemoryExhaustionRebootReboot triggered by memory exhaustion (out of memory)
0x12CameraHangRebootCamera process unresponsive
AntiDeletionNotificationEnum8 Type​

This enumeration defines the valid values of the Present Value of the AntiDeletionNotification Trait.

ValueNameDescription
0x01TriggerReset triggered by button press
0x02FactoryResetByButtonFactory reset triggered by button press
AntiDeletionSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the AntiDeletionSetting Trait.

ValueNameDescription
0x00DisableDisabled
0x01EnableEnabled
ActiveHardwareFaultsEnum32 Type​

This enumeration defines the valid values of the Present Value of the ActiveHardwareFaults Trait.

ValueNameDescription
0x00UnspecifiedUnknown fault
0x01RadioRadio fault
0x02SensorSensor fault
0x03ResettableOverTempOverheating protection
0x04NonResettableOverTempOverheating anomaly
0x05PowerSourcePower fault
0x06VisualDisplayFaultDisplay fault
0x07AudioOutputFaultAudio output fault
0x08UserInterfaceFaultUI display fault
0x09NonVolatileMemoryErrorMemory fault
0x0ATamperDetectedDevice disassembled/tampered
0xFFNormalNo fault
AntiDeletionLevelSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the AntiDeletionLevelSetting Trait.

ValueNameDescription
0x00EnableResetAndFactoryEnable network reset and factory reset
0x01DisableFactoryOnlyDisable factory reset only
0x02DisableResetAndFactoryDisable network reset and factory reset
InterfaceTypeEnum8 Type​

This enumeration defines the valid values of the Type field in the NetworkInterfacesTraitPresentValueStructure.

ValueNameDescription
0x00UnspecifiedUnspecified
0x01WiFiWi-Fi interface
0x02EthernetEthernet interface
0x03CellularCellular interface
0x04ThreadThread interface
AddressingModeEnum8 Type​

This enumeration defines the valid values of the AddressingMode field in the NetworkInterfacesTraitPresentValueStructure.

ValueNameDescription
0x00DHCPIP address dynamically allocated via DHCP
0x01StaticStatically configured IP address
0x02AutoAuto-configuration (e.g., IPv6 SLAAC or link-local address)
0xFFUnspecifiedUnspecified or unknown
NetworkInterfacesTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the NetworkInterfaces Trait.

Struct Member No.Field NameTypeRequiredMandatory
0NamecharacterStringOHuman-readable or system-level identifier of the network interface (e.g., eth0, wlan0), used to uniquely identify the interface within the device OS and for configuration or diagnostic reference.
1IsOperationalbooleanMIndicates whether this network interface can currently send and receive data normally. This usually requires the link to be available, an IP address to be assigned and the route to be reachable.
2OffPremiseServicesReachableIPv4booleanOIndicates whether the device can access external (off-network) services such as cloud addresses via IPv4 through this interface; true means IPv4 external connectivity is available.
3OffPremiseServicesReachableIPv6booleanOIndicates whether the device can access external (off-network) services via IPv6 through this interface; true means IPv6 external connectivity is available.
4HardwareAddresscharacterStringMMAC address string, max length 24. Should be a 48-bit IEEE MAC or 64-bit IEEE MAC (EUI-64), in big-endian/display order (most significant byte on the left). Examples: 00:1A:2B:3C:4D:5E, 00:1A:2B:FF:FE:3C:4D:5E.
5IPv4Addresseslist[characterString]OIPv4 address list, element type string (max length 16). Example: 192.168.2.235.
6IPv6Addresseslist[characterString]OIPv6 address list, element type string (max length 40). Example: 2001:DB8:0:0:8:800:200C:417A.
7TypeInterfaceTypeEnum8MInterface type.
8RSSIint8OReceived signal strength indicator value (dBm), usually negative (e.g., -30).
9AddressingModeAddressingModeEnum8OIndicates the current IP address configuration mode of this interface.
10SSIDcharacterStringONetwork name (Service Set Identifier) of the currently connected Wi-Fi. Example: Home_2.4G.
11BSSIDcharacterStringOBSSID (MAC address) of the currently connected access point (AP). Example: 34:AB:37:12:CD:EF.
12RouterMACcharacterStringOMAC address of the currently connected upstream gateway/router. Example: 9C:3D:CF:AA:BB:CC.
13Channeluint8OCurrent Wi-Fi operating channel (Channel). Examples: 1, 6, 11, 149.
14SubnetMaskcharacterStringOSubnet mask/prefix information, string (max length 32). Fill in the subnet mask for IPv4 scenarios (example: 255.255.255.0); for IPv6 scenarios, it is recommended to fill in the prefix length (example: 64); may be left empty if unknown or not applicable.
15DefaultGatewaycharacterStringODefault gateway address, string (max length 32). Can be an IPv4 or IPv6 gateway address. Examples: 192.168.1.1, fe80::1.
16PrimaryDNScharacterStringOPreferred DNS, string (max length 32). Can be an IPv4 or IPv6 DNS address. Examples: 8.8.8.8, 2001:4860:4860::8888.
17SecondaryDNScharacterStringOAlternate DNS, string (max length 32). Can be an IPv4 or IPv6 DNS address. Examples: 8.8.4.4, 2001:4860:4860::8844.
BlockDeletionEnum8 Type​

This enumeration defines the valid values of the Present Value of the BlockDeletion Trait.

ValueNameDescription
0x00AllowAllow deletion
0x01BlockBlock deletion
LogUploadTaskModeEnum8 Type​

This enumeration defines the valid values of the Mode field of the LogUploadTask.

ValueNameDescription
0x00OneshotUpload the current RAM cached logs once
0x01ContinuousContinuous upload mode; automatically uploads when RAM is full and loops until ValidTime
PlatformAccessEventEnum8 Type​

This enumeration defines the valid values of the Present Value of the PlatformAccessEvent Trait.

ValueNameDescription
0x01HomeKitHomeKit user access
LogUploadTaskPresentValueStructure Type​

Parameter structure of the LogUploadTask Trait.

Struct Member No.Field NameTypeMandatoryDescription
0ModeLogUploadTaskModeEnum8MUpload mode.
1ValidTimeuint32OValidity deadline of the continuous upload mode (UTC Epoch seconds). Only effective when Mode=Continuous; a value of 0 or omitted means no deadline.
RebootTypeEnum8 Type​

This enumeration defines the valid values of the RebootType field of the Reboot Command.

ValueNameDescription
0x00RebootDeviceReboot the whole device
0x01RebootCoordinatorReboot the coordinator only
0x7FRebootSubMCUReboot the sub MCU
0x80RebootStudioReboot Studio
Reboot Command Structure Type​

Parameter structure of the Reboot Command.

Struct Member No.Field NameTypeMandatoryDescription
0RebootTypeRebootTypeEnum8MReboot type.
1Delayuint32ODelay duration, unit s; range 0 ~ 4294967295, step 1, default value 0.

Trait Definitions​

Trait IDNameConformance
0x8149RebootReasonM
0x8148RebootCountM
0x4F4BAntiDeletionNotificationO
0x4F4AAntiDeletionSettingO
0x813DActiveHardwareFaultsO
0x4F03AntiDeletionLevelSettingO
0x4EA3FreeMemoryO
0x5152TotalMemoryO
0x5147CPUUsageO
0x5148CPUFrequencyO
0x4E2ANetworkInterfacesO
0x4E29DebugInfoO
0x4E23UpTimeO
0x50AEBlockDeletionO
0x50C3LogUploadTaskO
0x513BPlatformAccessEventO
0x5153SupportedRebootTypeO
0x5106CommLinkDetectionO

RebootReason Trait​

The current value should indicate the reason for the device's most recent boot.

Trait IDCode
0x8149RebootReason
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRebootReasonEnum80RVM
0x0006Supported Valuelist[RebootReasonEnum8]RO

RebootCount Trait​

The current value should indicate the number of times the device has rebooted as accurately as possible. It should increment each time the device reboots. It should not increment when the device wakes from low-power or sleep state. It should only reset to 0 when the device is factory reset.

Trait IDCode
0x8148RebootCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

AntiDeletionNotification Trait​

After AntiDeletion is enabled for a sub-device on the hub, if the sub-device performs a reset/delete operation, a notification report will be triggered.

Trait IDCode
0x4F4BAntiDeletionNotification
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAntiDeletionNotificationEnum81VO
0x0006Supported Valuelist[AntiDeletionNotificationEnum8]RO

AntiDeletionSetting Trait​

Used to set the function to prevent accidental deletion.

Trait IDCode
0x4F4AAntiDeletionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAntiDeletionSettingEnum80RVWO
0x0006Supported Valuelist[AntiDeletionSettingEnum8]RO
0x0007Default Valueuint80RWO

ActiveHardwareFaults Trait​

Hardware errors

Trait IDCode
0x813DActiveHardwareFaults
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[ActiveHardwareFaultsEnum32]RVO
0x0006Supported Valuelist[ActiveHardwareFaultsEnum32]RO

AntiDeletionLevelSetting Trait​

The anti-deletion level setting controls the permissions of the network reset and factory reset button operations during device operation, preventing accidental data loss.

Trait IDCode
0x4F03AntiDeletionLevelSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAntiDeletionLevelSettingEnum80RVWO
0x0006Supported Valuelist[AntiDeletionLevelSettingEnum8]RO
0x0007Default Valueuint80RWO

FreeMemory Trait​

Indicates the currently available memory size of the device, in kilobytes (KB).

Trait IDCode
0x4EA3FreeMemory
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

TotalMemory Trait​

Total memory size. Represents the total physical memory capacity (RAM) configured in the device hardware, in KB. This value is a static parameter, fixed at device factory or at boot, used to describe the hardware specification of the device.

Trait IDCode
0x5152TotalMemory
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320 ~ 4294967295 (unit: KB)0RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

CPUUsage Trait​

Indicates the current overall CPU usage of the device (CPU usage, unit: %), used for device diagnostics and load monitoring.

Trait IDCode
0x5147CPUUsage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0.0 ~ 100.0 (unit: %)0RVO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat0RO

CPUFrequency Trait​

Indicates the current CPU operating frequency of the device (CPU frequency, unit: MHz), used for device diagnostics and load monitoring.

Trait IDCode
0x5148CPUFrequency
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32>= 0 (unit: MHz)1000RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

NetworkInterfaces Trait​

This Trait describes the network interfaces supported by the device.

Trait IDCode
0x4E2ANetworkInterfaces
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[NetworkInterfacesTraitPresentValueStructure]RVO

DebugInfo Trait​

Debug information during device operation. Data type is string, max length 1024 bytes.

Trait IDCode
0x4E29DebugInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringVO

UpTime Trait​

The UpTime Trait should indicate the length of time (seconds) elapsed since the node last rebooted as accurately as possible.

Trait IDCode
0x4E23UpTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

BlockDeletion Trait​

Written by the server when the device requests deletion (unbinding). Writing a value of 1 instructs the device to cancel the deletion operation (i.e., remain bound). When writing 0 or the Trait is absent, the device is allowed to continue deletion.

Trait IDCode
0x50AEBlockDeletion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBlockDeletionEnum81RVWO
0x0006Supported Valuelist[BlockDeletionEnum8]RO
0x0007Default Valueuint81RWO

LogUploadTask Trait​

This Trait is used to trigger device log upload tasks. Writing to this Trait starts/stops the upload task; reading returns the current configuration.

Trait IDCode
0x50C3LogUploadTask
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLogUploadTaskPresentValueStructureRVWO

PlatformAccessEvent Trait​

When a user from an external platform (such as HomeKit, Alexa, Google Home, etc.) accesses the device, the device reports this event to generate access logs. This Trait identifies the source platform of the access, facilitating security auditing and log tracking.

Trait IDCode
0x513BPlatformAccessEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePlatformAccessEventEnum8VO

SupportedRebootType Trait​

This Trait is used to report the reboot types supported by the device.

Trait IDCode
0x5153SupportedRebootType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[RebootTypeEnum8]RVO

CommLinkDetection Trait​

Used for communication link diagnostics, mainly carrying link detection information from the cloud or operations side.

Trait IDCode
0x5106CommLinkDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

Command Definitions​

Command IDNameConformance
0x9D22RebootO

Reboot Command​

Controls or reports the device reboot status, which can be used to monitor or trigger a device reboot.

Parameters​

Reboot Command Structure

PanTilt​

Introduction​

Provides Pan/Tilt/Zoom (PTZ) control capability, including preset positions, calibration and relative/absolute movement.

Function Identification​

Function IDCodeName
0x00B1PanTiltPan/Tilt

Trait​

Trait IDCodeNameConformance
0x50D9PTZPowerOffMemoryPTZ power-off memoryO
0x50D6ViewZoomModeView zoom modeO
0x50D5PTZHomeReturnDelayPTZ home return delayO
0x50D4PTZHomeModePTZ home modeO
0x50D3PTZHomePositionPTZ home positionO
0x50D2PTZAutoModeSettingPTZ smart modeO
0x50D1PTZPresetsPTZ preset listO
0x50D0CurrentPTZPositionCurrent PTZ positionO
0x50C7CruiseStatusPTZ cruise statusO
0x50C6CruiseEnablePTZ cruise enableO
0x50C2PTZRangePTZ control rangeO
0x50C1PTZOffsetPTZ offsetO

Command​

Command IDCodeNameConformance
0x88BDPanTiltDirectionControlPTZ direction controlO
0x9D74PTZStopPTZ stopO
0x9D76PTZRelativeMovePTZ relative moveO
0x9D77PTZCalibrationPTZ calibrationO
0x9D78PTZSetPositionPTZ set positionO
0x9D79PTZMoveToPresetPTZ move to presetO
0x9D7APTZSavePresetPTZ save presetO
0x9D7BPTZRemovePresetPTZ remove presetO

Data Types​

PTZPowerOffMemoryEnum8 Type​

This enumeration defines the valid values of the Present Value of the PTZPowerOffMemory Trait.

ValueNameDescription
0x00OffDisable power-off memory.
0x01HoldEnable power-off memory; the PTZ position before power-off is restored after power-on.

ViewZoomModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the ViewZoomMode Trait.

ValueNameDescription
0x00FixedCenterFixed center zoom.
0x01FollowGestureGesture-following zoom.

PTZHomeModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the PTZHomeMode Trait.

ValueNameDescription
0x00AfterTrackingOnlyReturn home after tracking ends.
0x01AfterTrackingOrLiveViewReturn home after tracking ends or after exiting the live view.

PTZAutoModeSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the PTZAutoModeSetting Trait.

ValueNameDescription
0x00NoneNone.
0x01CruiseCruise.
0x02HumanTrackingHuman tracking.
0x03PetTrackingPet tracking.
0x04SoundSourceLocalizationSound source localization.

CruiseStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the CruiseStatus Trait.

ValueNameDescription
0x00AutoStoppedAuto stopped.
0x01ManualStoppedManually stopped.

PTZDirectionEnum8 Type​

This enumeration defines the valid values of the PTZ rotation direction fields (PanDir/TiltDir).

ValueNameDescription
0x01ForwardForward.
0x02ReverseReverse.

PTZCalibrationActionEnum8 Type​

This enumeration defines the valid values of the Action field of the PTZCalibration Command.

ValueNameDescription
0x00StopStop calibration.
0x01CalibrateStart calibration.

PTZPresetTypeEnum8 Type​

This enumeration defines the valid values of the PTZ preset type field (PresetType).

ValueNameDescription
0x00NormalNormal preset.
0x01HomeHome point preset.
0x02PatrolPatrol point preset.

PTZPresetScenarioEnum8 Type​

This enumeration defines the position semantics of PTZ presets (PresetScenario). Position semantics are used to identify standard positions across devices and languages; they are not preset IDs and do not indicate the preset source or control purpose.

ValueNameDescription
0x00UnspecifiedUnspecified standard position semantics. Used for compatibility with existing presets whose semantics cannot be determined; newly created user presets should use Custom.
0x01RightmostThe standard position where the PTZ faces the rightmost point of its valid horizontal travel.
0x02LeftmostThe standard position where the PTZ faces the leftmost point of its valid horizontal travel.
0x03TopmostThe standard position where the PTZ faces the topmost point of its valid vertical travel.
0x04BottommostThe standard position where the PTZ faces the bottommost point of its valid vertical travel.
0x05CenterThe standard position where both Pan and Tilt are at the midpoint of their calibrated valid travel.
0x06CustomPresets that do not have the standard position semantics defined by this enumeration. There may be multiple.
0x07-0xFFReservedReserved for future standard extensions. Implementations must not assign other meanings.

Rightmost, Leftmost, Topmost and Bottommost indicate the direction the camera faces, referenced to the device's calibrated normal installation posture and the un-mirrored, un-flipped video coordinates; semantics must not change according to client display mirroring. The motor positive/negative directions corresponding to each direction are determined by the device calibration result and must not assume that the Pan/Tilt positive direction is the same across all devices.

CurrentPTZPositionStructure Type​

This structure defines the Present Value field layout of the CurrentPTZPosition Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Panint16MHorizontal Pan angle, in degrees.
1Tiltint16MVertical Tilt angle, in degrees.
2ZoomfloatOOptical zoom magnification.
3PanDirPTZDirectionEnum8OPan direction.
4TiltDirPTZDirectionEnum8OTilt direction.

PTZOffsetStructure Type​

This structure defines the Present Value field layout of the PTZOffset Trait.

Struct Member No.Field NameTypeMandatoryDescription
0PanOffsetint16MPan offset angle, in degrees.
1TiltOffsetint16MTilt offset angle, in degrees.

PTZRangeStructure Type​

This structure defines the Present Value field layout of the PTZRange Trait.

Struct Member No.Field NameTypeMandatoryDescription
0PanMinint16MPan minimum angle, in degrees.
1PanMaxint16MPan maximum angle, in degrees.
2TiltMinint16MTilt minimum angle, in degrees.
3TiltMaxint16MTilt maximum angle, in degrees.

PTZHomePositionStructure Type​

This structure defines the Present Value field layout of the PTZHomePosition Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Modeuint8MHome mode: 0 = return to the pre-tracking position, 1 = return to a fixed position.
1Panint16OFixed home point Pan angle, valid when Mode=1.
2Tiltint16OFixed home point Tilt angle, valid when Mode=1.
3ZoomfloatOFixed home point Zoom, valid when Mode=1.

PTZPresetItemStructure Type​

This structure defines the field layout of a single PTZ preset item.

Struct Member No.Field NameTypeMandatoryDescription
0PresetIduint32MUnique ID of the preset.
1NamecharacterStringMPreset name.
2PositionCurrentPTZPositionStructureMPTZ position corresponding to the preset.
3IconUrlcharacterStringOIcon URL.
4EncryptionKeyoctetStringOImage encryption key.
5CoordinateDataoctetStringOCoordinate extension data.
6PresetTypePTZPresetTypeEnum8OPreset type.
7SortOrderuint32OSort value.
8PresetScenarioPTZPresetScenarioEnum8OPosition semantics of the preset. New implementations conforming to this definition should provide it; a missing field means the semantics are unknown and must not be inferred from PresetId, Name or list order.
9BuiltInbooleanOWhether it is a built-in preset provided by the device. New implementations conforming to this definition should provide it; a missing field means the source is unknown and must not be treated as false.
PanTiltDirectionControl Command Structure Type​

Parameter structure of the PanTiltDirectionControl Command.

Struct Member No.Field NameTypeMandatoryDescription
0Directionuint8MDirection.
PTZRelativeMove Command Structure Type​

Parameter structure of the PTZRelativeMove Command.

Struct Member No.Field NameTypeMandatoryDescription
0PanDeltaint16MPan change amount.
1TiltDeltaint16MTilt change amount.
2ZoomDeltafloatOZoom change amount.
PTZCalibration Command Structure Type​

Parameter structure of the PTZCalibration Command.

Struct Member No.Field NameTypeMandatoryDescription
0ActionPTZCalibrationActionEnum8MAction; default value is 0.
PTZSetPosition Command Structure Type​

Parameter structure of the PTZSetPosition Command.

Struct Member No.Field NameTypeMandatoryDescription
0Panint16MPan angle.
1Tiltint16MTilt angle.
2ZoomfloatOZoom.
3PanDirPTZDirectionEnum8OPan rotation direction.
4TiltDirPTZDirectionEnum8OTilt rotation direction.
PTZMoveToPreset Command Structure Type​

Parameter structure of the PTZMoveToPreset Command.

Struct Member No.Field NameTypeMandatoryDescription
0PresetIduint32MPreset ID.
PTZSavePreset Command Structure Type​

Parameter structure of the PTZSavePreset Command.

Struct Member No.Field NameTypeMandatoryDescription
0PresetIduint32OPreset ID.
1NamecharacterStringOName.
2PositionCurrentPTZPositionStructureOPTZ position.
3IconUrlcharacterStringOIcon URL.
4EncryptionKeyoctetStringOImage encryption key.
5CoordinateDataoctetStringOCoordinate data.
6PresetTypePTZPresetTypeEnum8OPreset type.
7SortOrderuint32OSort.
8PresetScenarioPTZPresetScenarioEnum8OOmitted when creating a new user preset means Custom; this command is not allowed to create or modify the five standard position scenarios.
PTZRemovePreset Command Structure Type​

Parameter structure of the PTZRemovePreset Command.

Struct Member No.Field NameTypeMandatoryDescription
0PresetIduint32MPreset ID.

Trait Definitions​

Trait IDNameConformance
0x50D9PTZPowerOffMemoryO
0x50D6ViewZoomModeO
0x50D5PTZHomeReturnDelayO
0x50D4PTZHomeModeO
0x50D3PTZHomePositionO
0x50D2PTZAutoModeSettingO
0x50D1PTZPresetsO
0x50D0CurrentPTZPositionO
0x50C7CruiseStatusO
0x50C6CruiseEnableO
0x50C2PTZRangeO
0x50C1PTZOffsetO

PTZPowerOffMemory Trait​

Used to set or query the PTZ power-off memory function. When enabled, the device restores the PTZ position before power-off after reboot; when disabled, the device returns to the default position after reboot.

Trait IDCode
0x50D9PTZPowerOffMemory
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePTZPowerOffMemoryEnum81RVWO
0x0006Supported Valuelist[PTZPowerOffMemoryEnum8]R
0x0007Default ValuePTZPowerOffMemoryEnum80RWO

ViewZoomMode Trait​

Used to set or query the PTZ behavior when the user performs a two-finger pinch zoom gesture in the live view. With fixed center zoom, the zoom center stays at the center of the frame and the PTZ does not follow the movement; with gesture-following zoom, the PTZ rotates to align with the center point of the pinch gesture.

Trait IDCode
0x50D6ViewZoomMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueViewZoomModeEnum80RVWO
0x0006Supported Valuelist[ViewZoomModeEnum8]R
0x0007Default ValueViewZoomModeEnum80RWO

PTZHomeReturnDelay Trait​

Used to set or query the delay before the PTZ auto home return is executed after being triggered, in seconds.

Trait IDCode
0x50D5PTZHomeReturnDelay
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint325RVWO
0x0002Maximum Valueuint3260R
0x0003Minimum Valueuint321R
0x0005Step Valueuint321R
0x0007Default Valueuint325RWO

PTZHomeMode Trait​

Used to set or query the trigger condition for PTZ auto home return.

Trait IDCode
0x50D4PTZHomeMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePTZHomeModeEnum80RVWO
0x0006Supported Valuelist[PTZHomeModeEnum8]R
0x0007Default ValuePTZHomeModeEnum80RWO

PTZHomePosition Trait​

Defines the PTZ auto home return target configuration. Mode=0 returns to the pre-tracking position; Mode=1 returns to a specified fixed Pan/Tilt/Zoom position.

Trait IDCode
0x50D3PTZHomePosition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePTZHomePositionStructure{&quot;0&quot;:0,&quot;1&quot;:999,&quot;2&quot;:999}RVWO

PTZAutoModeSetting Trait​

Used to set or query the PTZ smart mode, such as cruise, human tracking, pet tracking, sound source localization, etc.

Trait IDCode
0x50D2PTZAutoModeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePTZAutoModeSettingEnum80RVWO
0x0006Supported Valuelist[PTZAutoModeSettingEnum8]R
0x0007Default ValuePTZAutoModeSettingEnum80RWO

PTZPresets Trait​

Represents the list of PTZ presets currently callable on the device, including device built-in presets and user-saved presets. Each item contains a unique ID, name, PTZ position and optional extension fields. PresetId is used to identify and call an item; PresetScenario represents standard position semantics; BuiltIn indicates whether the item is provided by the device. Name is for display only and must not be used to determine position semantics or preset source.

Trait IDCode
0x50D1PTZPresets
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[PTZPresetItemStructure]RVWO
Preset List Implementation Requirements​
  • The PresetId in the current list of the same Endpoint must be unique. The ID must remain stable while the item exists; a device reboot must not change the ID of an item that still exists. The device should avoid reusing the ID of a deleted item within the configuration lifecycle, so that delayed requests do not act on a different preset. When a factory reset or reconfiguration may change the list, the client must re-read this Trait.
  • For new implementations adopting this definition, each list item must provide PresetScenario and BuiltIn. Since these two structure fields are optional at the encoding level, when legacy implementations or data lack the fields, consumers must treat them as unknown; a missing BuiltIn must not be treated as false, and direction or source must not be inferred from the ID, Name, array index or other non-standardized information.
  • For new implementations, each of the five standard scenarios Rightmost, Leftmost, Topmost, Bottommost and Center may appear at most once in the list of one Endpoint. The device should only report standard presets it actually supports, whose positions can be determined and to which it can execute movement; unsupported standard positions should be omitted and must not be fabricated with placeholder values or unreachable positions. Custom can be used for multiple items; Unspecified is only for compatibility with legacy items whose semantics cannot be determined, and newly created items must not use Unspecified.
  • PresetScenario and PresetType convey different information: the former describes position semantics, the latter describes purposes such as Normal, Home or Patrol. Direction must not be encoded into PresetType; nor should the PresetType of an item be inferred as Home merely because its scenario is Center.
  • The Name of a standard position preset must use the canonical English names: Rightmost, Leftmost, Topmost, Bottommost or Center, consistent with its PresetScenario. Clients should localize standard position names based on PresetScenario rather than parsing Name. The Name of custom presets is provided by the user or device for display; it must not be used as machine-readable semantics.
  • For the five standard positions, Position must contain a callable complete Pan/Tilt position. For horizontal endpoint scenarios, the other axis Tilt uses the midpoint of the valid vertical travel; for vertical endpoint scenarios, the other axis Pan uses the midpoint of the valid horizontal travel; for Center, both Pan and Tilt use the midpoints of their corresponding valid travel. Travel boundaries should come from the device's calibrated actual usable travel; if PTZRange is not implemented, the device must still be able to reliably determine these boundaries, otherwise it must not report the corresponding standard scenarios.
  • For midpoint calculation, the device computes (minimum + maximum) / 2; when the result is not a representable integer angle, it rounds toward the smaller integer angle and ensures the target lies within the valid travel. Direction endpoints are determined according to the correspondence between the device's calibrated direction and the un-mirrored, un-flipped frame direction in the normal installation posture; it must not be assumed that the numerical sign of Pan/Tilt uniformly represents left/right or up/down.
  • For standard position scenarios, when the device supports Zoom and 1.0 lies within its valid range, it should use Zoom=1.0; otherwise it should use the minimum effective optical zoom magnification supported by the device. Zoom may be omitted when the device does not support optical zoom. Client mirroring, flipping or digital cropping must not change the standard position semantics.
  • Built-in items must report BuiltIn=true; user-created items must report BuiltIn=false. When the source of an existing item cannot be determined, legacy data may omit the field, and consumers should treat it as unknown and avoid providing edit or delete operations that might damage the preset.
  • The PresetId, PresetScenario and standard position semantics of built-in items must remain stable. When actual coordinates change due to device calibration or available travel changes, the device should update Position and report the list; if the scenario can no longer be realized, the item should be removed. Clients must not cache the list long-term and assume the items exist forever.
  • When a client writes the list, the device must validate the entire new list. If there are duplicate IDs, duplicate standard scenarios, invalid fields, or creation, deletion, fabrication, source changes or semantic changes of built-in items, the device must reject the entire write and must not apply it partially. Updating the Position of built-in items is only permitted for the device due to calibration or hardware state changes; clients are not allowed to modify built-in items by directly writing the list.
  • The above new fields and rules do not change the optionality of the existing PTZPresets Trait. Implementations that only implement the legacy format are existing compatible implementations; new implementations should provide the new fields. When consumers encounter missing fields or unknown enumeration values, they should preserve the readable raw data, use Name for display, and must not guess semantics.
Client Handling Requirements​
  • The client should read the device's current PTZPresets list and identify items by PresetId; it must not assume that a certain ID, array index or SortOrder corresponds to a standard position.
  • When PresetScenario is one of the five standard positions, the client should display the localized name and the corresponding standard position icon according to this enumeration value. Name is kept for auxiliary display and must not be used as a basis for judgment. For Custom, Unspecified, missing fields or enumeration values the client does not yet recognize, the client should display the Name provided by the device and avoid showing inferred direction semantics.
  • When initiating move, save or delete operations, the client should use the PresetId read from the current list. It must not treat the PresetScenario value as a PresetId, nor construct a target that does not exist in the list based solely on the scenario enumeration.
  • Items with BuiltIn=true should be displayed as device built-in presets without offering edit or delete operations. When BuiltIn is missing or unrecognizable, the client should hide or disable edit and delete operations until it obtains confirmable source information from the device.
  • After a list report or command success, the client should refresh the local list and the scenario index. If the list violates ID uniqueness or standard scenario uniqueness, the client should treat the data as invalid and report it to the user or diagnostic system, and must not silently select one item.

CurrentPTZPosition Trait​

Represents the current PTZ mechanical position (Pan/Tilt) and optical zoom magnification (Zoom), which can be used for status display and as a reference for subsequent control.

Trait IDCode
0x50D0CurrentPTZPosition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCurrentPTZPositionStructureRVWO

CruiseStatus Trait​

Used to report the current operating status of the PTZ cruise function. When the cruise stops automatically because preset conditions are met, it reports AutoStopped; when stopped manually by the user, it reports ManualStopped.

Trait IDCode
0x50C7CruiseStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCruiseStatusEnum80RVO
0x0006Supported Valuelist[CruiseStatusEnum8]R

CruiseEnable Trait​

Used to enable or disable the PTZ auto cruise function. When enabled, the device automatically moves along the predefined cruise path; when disabled, auto cruise stops and manual control is allowed.

Trait IDCode
0x50C6CruiseEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RW

PTZRange Trait​

Defines the motion boundary range of the PTZ Pan/Tilt, usually determined by the hardware mechanical limits, reported read-only.

Trait IDCode
0x50C2PTZRange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePTZRangeStructureRVO

PTZOffset Trait​

Stores the fixed offset (Pan/Tilt) for PTZ relative control, used to correct the target position in incremental control.

Trait IDCode
0x50C1PTZOffset
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePTZOffsetStructureRVO

Command Definitions​

Command IDNameConformance
0x88BDPanTiltDirectionControlO
0x9D74PTZStopO
0x9D76PTZRelativeMoveO
0x9D77PTZCalibrationO
0x9D78PTZSetPositionO
0x9D79PTZMoveToPresetO
0x9D7APTZSavePresetO
0x9D7BPTZRemovePresetO

PanTiltDirectionControl Command​

This Command is used to perform the "PTZ direction control" operation.

Parameters​

PanTiltDirectionControl Command Structure

PTZStop Command​

Immediately stops all ongoing PTZ motions (pan, tilt, zoom, etc.). The PTZ remains at the current position and enters the idle state.

This Command has no parameters.

PTZRelativeMove Command​

Moves the camera PTZ mechanism relative to the current position by the specified pan, tilt or zoom delta values. Independent adjustment of any combination of the three axes is supported. PanDelta: the delta value for horizontal pan movement, in degrees. 0 means no movement; negative values move left; positive values move right. TiltDelta: the delta value for vertical tilt movement, in degrees. 0 means no movement; negative values move down; positive values move up. ZoomDelta: the percentage delta for zoom adjustment. 0 means no change; negative values zoom out (wider field of view); positive values zoom in (narrower field of view).

Parameters​

PTZRelativeMove Command Structure

PTZCalibration Command​

Triggers or stops the PTZ calibration process. Writing 0 stops the ongoing calibration; writing 1 triggers automatic calibration (re-establishing limits, correcting errors, etc.).

Parameters​

PTZCalibration Command Structure

PTZSetPosition Command​

Moves the camera PTZ mechanism to the specified absolute pan angle, tilt angle and optical zoom magnification. Independent setting of any combination of the three axes is supported. Pan: target horizontal pan angle, in degrees. 0 deg is straight ahead; negative values move left, positive values move right. Tilt: target vertical tilt angle, in degrees. 0 deg is the horizontal reference; negative values move down, positive values move up. Zoom: target optical zoom magnification. 1.0 is the widest field of view.

Parameters​

PTZSetPosition Command Structure

PTZMoveToPreset Command​

Moves the camera PTZ mechanism to the position stored in the specified preset. PresetId must correspond to an item in the device's current PTZPresets list; this field is the preset ID, not the PresetScenario enumeration value.

Parameters​

PTZMoveToPreset Command Structure

Effect on Receipt​

After receiving the command, the device should look up the item in the current list that exactly matches PresetId and move to the complete Position of that item.

  • If PresetId does not exist, the device should return a "preset does not exist" semantic error and must not move to another position.
  • If the target position is currently unreachable, the device is not calibrated or the execution conditions are not met, the device should return the corresponding failure status and must not report movement success.
  • The device successfully accepting a move request does not mean the target position has been reached; the actual position should still be confirmed through status feedback such as CurrentPTZPosition.

PTZSavePreset Command​

Creates a new user preset or updates an existing user preset. If PresetId is omitted, the device automatically assigns a unique ID; if provided and it exists, the corresponding user preset is updated; if provided but does not exist, a user preset with that ID is created when the device capacity limit has not been reached. The BuiltIn of newly created or updated items must be false.

When creating a preset, Position preferentially uses the value provided by the command; if omitted, the device's current effective PTZ position is used. If neither is available, the device should reject the command and must not substitute zero coordinates. When creating without Name, the device should generate a non-empty and readable name. When updating, omitted fields retain their original values; omitting PresetScenario must not reset an existing scenario. When creating without PresetScenario, it means Custom; if explicitly provided, the field must be Custom.

This command is only used to create and update user presets. Callers must not create the Rightmost, Leftmost, Topmost, Bottommost or Center standard position presets, nor mark user presets as built-in presets. The five standard positions (if supported by the device) are provided and maintained by the device according to the PTZPresets Trait definition.

Parameters​

PTZSavePreset Command Structure

Effect on Receipt​

The device should first validate the command and its impact on the preset list; after validation succeeds, update the list at once and report the new PTZPresets value.

  • If the specified PresetId already corresponds to a BuiltIn=true item, the device should return a "built-in presets cannot be modified" semantic error and must not change that item or other items in the list.
  • If PresetScenario is one of the five standard positions, the device should return a "standard positions are maintained by the device" semantic error; it must not add a second identical scenario or modify a standard position through this command.
  • If PresetScenario is an unknown or reserved value, PresetId conflicts with another item, the position exceeds the valid travel, the name or field format is invalid, or the device capacity is full, the device should reject the entire command and must not apply it partially.
  • For updates to existing user presets, an omitted field means the original value is retained. The device must keep PresetId unchanged; it must not change BuiltIn=false to true.
  • For newly created user presets, the device should set BuiltIn=false. If the command omits PresetScenario, the device should set Custom; if the field is explicitly provided, the device has confirmed through the command validation rules that its value is Custom.
  • On success, the device should return a success status and update and report the list; on failure, it should return a failure status and the list remains unchanged. Specific error codes use the equivalent errors defined by the Aqara business interaction protocol, and no additional error codes are allocated in this Function.

PTZRemovePreset Command​

Removes the specified user preset from the PTZPresets list. PresetId must correspond to an item in the device's current list.

Parameters​

PTZRemovePreset Command Structure

Effect on Receipt​
  • If PresetId does not exist, the device should return a "preset does not exist" semantic error and the list remains unchanged.
  • If the target item has BuiltIn=true, the device should return a "built-in presets cannot be deleted" semantic error and the list remains unchanged.
  • If the source of the target item is unknown (e.g., a legacy list lacks BuiltIn), the device must not delete it as a user preset; it should return a failure status of unknown source or not allowed to delete.
  • If the target is a user preset, the device should delete the item and report the updated list. After successful deletion, the ID can no longer be used for move, update or delete commands; the device should avoid assigning this ID to other presets within the configuration lifecycle.
  • The device must not partially modify the list on failure. Specific error codes use the equivalent errors defined by the Aqara business interaction protocol, and no additional error codes are allocated in this Function.

BridgedConfiguration​

Introduction​

Describes the configuration information of bridged sub-devices, used in Matter/Zigbee bridging scenarios.

Function Identification​

Function IDCodeName
0x00B2BridgedConfigurationBridged configuration

Trait​

Trait IDCodeNameConformance
0x8140BridgeDeviceIDBridge device IDM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x8140BridgeDeviceIDM

BridgeDeviceID Trait​

Represents the DeviceID of the Bridge device to which this bridging node is connected. String(32).

Trait IDCode
0x8140BridgeDeviceID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWM

Command Definitions​

This Function does not contain Commands.

MatterNodeInformation​

Introduction​

Provides Matter node related information, such as the first Endpoint ID and auxiliary node topology information.

Function Identification​

Function IDCodeName
0x00B3MatterNodeInformationMatter device information

Trait​

Trait IDCodeNameConformance
0x8143MatteNodeFirstEndpointIdMatter device first node IDM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x8143MatteNodeFirstEndpointIdM

MatteNodeFirstEndpointId Trait​

Represents the first endpoint ID of the Matter device. Format: Uint16.

Trait IDCode
0x8143MatteNodeFirstEndpointId
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint160RVM
0x0002Maximum Valueint1665535RO
0x0003Minimum Valueint160RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain Commands.

ThreadNetworkDiagnostics​

Introduction​

Provides Thread network diagnostic metrics, including channel, PAN ID, neighbor table, routing role and send/receive statistics.

Function Identification​

Function IDCodeName
0x00B5ThreadNetworkDiagnosticsThread network diagnostics

Trait​

Trait IDCodeNameConformance
0x8152RSSIReceived signal strength indicatorO
0x8153LQILink quality indicatorO
0x814BPANIDPersonal area network identifierO
0x814CExtendedPANIDExtended network identifierO
0x8151MeshLocalPrefixMesh local prefixO
0x4E7AThreadTopologyReportIntervalThread topology report intervalO
0x4E79ThreadTopologyDataThread topology dataO
0x4E35ConnectionStatusConnection statusO
0x4E34NetworkFaultChangeNetwork fault changeO
0x4E33RxBroadcastCountPacket receive broadcast countO
0x4E32RxUnicastCountPacket receive unicast countO
0x4E2ETxTotalCountPacket send total countO
0x4E2FTxUnicastCountPacket send unicast countO
0x4E30TxBroadcastCountPacket send broadcast countO
0x4E31RxTotalCountPacket receive total countO
0x4E2DPartitionIdNetwork partition IDO
0x4E2COverrunCountOverflow dropped packet countO
0x4E2BAverageRssiAverage signal strength indicatorO
0x8150NeighborTableNeighbor tableO
0x814FRoutingRoleRouting roleO
0x814ERouteTableRouting tableO
0x814DNetworkNameNetwork nameO
0x814AChannelRadio channelO
0x5003ThreadPingResultThread Ping resultO

Command​

This Function does not contain Commands.

Data Types​

ThreadTopologyDataTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ThreadTopologyData Trait.

Struct Member No.Field NameTypeMandatoryDescription
0RouterIDuint8MUnique ID of the router in the Thread network.
1Rloc16uint16M16-bit RLOC address in the Thread network.
2ExtAddressuint64MThread extended address.
3ThreadVersionuint64MThread Version.
4Flagsarray[uint8]MNode role flag bits.
5Linksarray[uint8]MList of other RouterIDs with which the current router has established links.
6IPv6characterStringMIPv6 address list of the node.
7Childrenlist[Struct]MList of child devices attached to the current router.
8ThreadVersionuint64MThread Version.
9Timeoutuint32MChild detach timeout, in seconds.
10Ageuint32MTime since the last successful communication, in seconds.
11Supvnuint8MSupervision interval count.
12FullNetbooleanMWhether the node has fully attached to the Thread network.
13QMsgCountuint8MNumber of queued messages to be sent to the child.
14ErrRateFramefloatMFrame error rate.
15ErrRateMsgfloatMMessage error rate.
16ConnTimecharacterStringMConnection duration of the child after joining the parent.
17CslSyncbooleanMWhether CSL synchronization with the parent has been completed.
18CslPerioduint16MCSL sampling interval period.
19CslTimeoutuint32MCSL synchronization timeout, in seconds.
20CslChanneluint16MPhysical channel used for CSL communication.
21Flagsarray[uint8]MNode role flag bits.
ConnectionStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the ConnectionStatus Trait.

ValueNameDescription
0x00NotConnectedNot connected
0x01ConnectedConnected
NetworkFaultChangeTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the NetworkFaultChange Trait.

Struct Member No.Field NameTypeMandatoryDescription
0Currentlist[enum8]MThe current set of detected network faults.
1Previouslist[enum8]MThe set of network faults detected before the change.
ThreadPingResultTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ThreadPingResult Trait.

Struct Member No.Field NameTypeMandatoryDescription
0ip_addrcharacterStringMTarget IP address.
1status_codeenum8MExecution result status code: 0=SUCCESS, 1=TIMEOUT, 2=BUSY.
2avg_round_tripuint32OAverage RTT, in ms; present only on success.
3max_round_tripuint32OMaximum RTT, in ms; present only on success.
4min_round_tripuint32OMinimum RTT, in ms; present only on success.
5loss_percentuint32OPacket loss percentage; present only on success.

Trait Definitions​

Trait IDNameConformance
0x8152RSSIO
0x8153LQIO
0x814BPANIDO
0x814CExtendedPANIDO
0x8151MeshLocalPrefixO
0x4E7AThreadTopologyReportIntervalO
0x4E79ThreadTopologyDataO
0x4E35ConnectionStatusO
0x4E34NetworkFaultChangeO
0x4E33RxBroadcastCountO
0x4E32RxUnicastCountO
0x4E2ETxTotalCountO
0x4E2FTxUnicastCountO
0x4E30TxBroadcastCountO
0x4E31RxTotalCountO
0x4E2DPartitionIdO
0x4E2COverrunCountO
0x4E2BAverageRssiO
0x8150NeighborTableO
0x814FRoutingRoleO
0x814ERouteTableO
0x814DNetworkNameO
0x814AChannelO
0x5003ThreadPingResultO

RSSI Trait​

The current value should specify the RSSI of frames most recently received from a neighboring node. If there is no known recent received frame, the current value should be NULL. The current value unit is dBm, ranging from -128 dBm to 0 dBm. For Thread networks, this attribute reflects the Thread-specific RSSI.

Trait IDCode
0x8152RSSI
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint80RVO
0x0002Maximum Valueint8127RO
0x0003Minimum Valueint8-128RO
0x0005Step Valueuint321RO

LQI Trait​

Indicates the Link Quality Indicator (LQI) of the Thread network, reflecting the RF link quality between Thread devices. Range: 0-255.

Trait IDCode
0x8153LQI
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

PANID Trait​

The current value indicates the Zigbee network PAN ID.

Trait IDCode
0x814BPANID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665534RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

ExtendedPANID Trait​

The current value is a 64-bit unique identifier used to identify the Personal Area Network (PAN) in the Thread network. It works together with PANID to distinguish different networks. Each network has a unique ExtendedPANID, and all nodes joining the network must use the same ExtendedPANID to communicate with each other.

Trait IDCode
0x814CExtendedPANID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVO
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint321RO

MeshLocalPrefix Trait​

The current value should indicate the mesh-local IPv6 prefix of the Thread network the device has been configured to join. A value of null indicates that the Thread interface is currently not configured or not running.

Trait IDCode
0x8151MeshLocalPrefix
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ThreadTopologyReportInterval Trait​

Specifies the time interval (seconds) at which the device automatically reports Thread network topology data to the cloud.

Trait IDCode
0x4E7AThreadTopologyReportInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint3286400RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint3286400RWO

ThreadTopologyData Trait​

Describes the current Thread network topology state observed by the device.

Trait IDCode
0x4E79ThreadTopologyData
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueThreadTopologyDataTraitPresentValueStructureRVO
0x000DIs NullbooleanFalseRVO

ConnectionStatus Trait​

The device's connection status to the Thread network has changed.

Trait IDCode
0x4E35ConnectionStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueConnectionStatusEnum80RVO
0x0006Supported Valuelist[ConnectionStatusEnum8]RO
0x0007Default Valueuint80RWO

NetworkFaultChange Trait​

Changes in the set of network faults currently detected by the device.

Trait IDCode
0x4E34NetworkFaultChange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNetworkFaultChangeTraitPresentValueStructureVO

RxBroadcastCount Trait​

Total number of unique broadcast MAC frames received.

Trait IDCode
0x4E33RxBroadcastCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

RxUnicastCount Trait​

Total number of unique unicast MAC frames received.

Trait IDCode
0x4E32RxUnicastCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

TxTotalCount Trait​

Total number of unique MAC frame transmission requests.

Trait IDCode
0x4E2ETxTotalCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

TxUnicastCount Trait​

Total number of unique unicast MAC frame transmission requests.

Trait IDCode
0x4E2FTxUnicastCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

TxBroadcastCount Trait​

Total number of unique broadcast MAC frame transmission requests.

Trait IDCode
0x4E30TxBroadcastCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

RxTotalCount Trait​

Total number of unique MAC frames received.

Trait IDCode
0x4E31RxTotalCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

PartitionId Trait​

The Leader Partition Id of the network.

Trait IDCode
0x4E2DPartitionId
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

OverrunCount Trait​

The number of packets discarded at ingress or egress because the buffer memory was insufficient to hold all packets.

Trait IDCode
0x4E2COverrunCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVO
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO

AverageRssi Trait​

The average RSSI of all received frames.

Trait IDCode
0x4E2BAverageRssi
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueint80RVO
0x0002Maximum Valueint80RO
0x0003Minimum Valueint8-128RO

NeighborTable Trait​

The current value should indicate the current list of devices that make up the device's neighbor table.

Trait IDCode
0x8150NeighborTable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

RoutingRole Trait​

This Trait is used for access to and reporting of "routing role" data.

Trait IDCode
0x814FRoutingRole
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

RouteTable Trait​

The current value should indicate the current list of routing-capable devices with established routes.

Trait IDCode
0x814ERouteTable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

NetworkName Trait​

The current value should indicate the readable (displayable) name of the Thread network the node has been configured to join. A value of NULL indicates that this interface is currently not configured or not running.

Trait IDCode
0x814DNetworkName
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

Channel Trait​

The current value indicates the Zigbee network channel number.

Trait IDCode
0x814AChannel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

ThreadPingResult Trait​

Represents the result of a ping operation performed on a Thread device. The value is a structure containing the target IP address (IpAddr, string) and a status code (StatusCode, uint8). When the status code is 0 (success), the structure also contains optional fields: AvgRoundTrip (average RTT, ms), MaxRoundTrip (maximum RTT, ms), MinRoundTrip (minimum RTT, ms) and LossPercent (packet loss rate, 0-100). When the status code is non-zero (1 = timeout, 2 = busy), these optional fields are absent.

Trait IDCode
0x5003ThreadPingResult
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueThreadPingResultTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain Commands.

GarageDoorOpener​

Introduction​

Provides garage door control and status feedback, including open/close/stop and position status.

Function Identification​

Function IDCodeName
0x00B6GarageDoorOpenerGarage door opener

Trait​

Trait IDCodeNameConformance
0x815CCurrentGarageDoorStateCurrent (garage) door stateM
0x815DTargetGarageDoorStateTarget (garage) door stateM

Command​

Command IDCodeNameConformance
0x809AToggleOpen/closeO

Data Types​

CurrentGarageDoorStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the CurrentGarageDoorState Trait.

ValueNameDescription
0x01UnknownUnknown
0x02OpenOpen
0x03ClosedClosed
0x04OpeningOpening
0x05ClosingClosing
0x06NotFullyOpenNot fully open
0x07NotFullyClosedNot fully closed
TargetGarageDoorStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the TargetGarageDoorState Trait.

ValueNameDescription
0x00ClosedClosed
0x01OpenOpen

Trait Definitions​

Trait IDNameConformance
0x815CCurrentGarageDoorStateM
0x815DTargetGarageDoorStateM

CurrentGarageDoorState Trait​

Describes the current state of the garage door. Values: 1=Unknown, 2=Open, 3=Closed, 4=Opening, 5=Closing, 6=Not Fully Open, 7=Not Fully Closed.

Trait IDCode
0x815CCurrentGarageDoorState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCurrentGarageDoorStateEnum81RVM
0x0006Supported Valuelist[CurrentGarageDoorStateEnum8]RO

TargetGarageDoorState Trait​

This Trait is used for access to and reporting of "target (garage) door state" data.

Trait IDCode
0x815DTargetGarageDoorState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTargetGarageDoorStateEnum80RVWM
0x0006Supported Valuelist[TargetGarageDoorStateEnum8]RO
0x0007Default ValueTargetGarageDoorStateEnum80RWO

Command Definitions​

Command IDNameConformance
0x809AToggleO

Toggle Command​

This Command is used to perform the "open/close" operation.

This Command has no parameters.

MatterBridgeCommissioning​

Introduction​

Manages the capability of the Matter Bridge to share bridged devices with third-party Matter ecosystems.

Function Identification​

Function IDCodeName
0x00B7MatterBridgeCommissioningMatter Bridge sharing to third-party Matter ecosystems

Trait​

Trait IDCodeNameConformance
0x815EMatterPairingSwitchMatter pairing switchM
0x815FMatterDACStateMatter device certificate ready stateM
0x8160MatterBindStateMatter binding stateM
0x8161MatterOnboardingPayloadMatter QR code informationM
0x8162MatterManufacturerListMatter bound vendor listM
0x8163MatterPairingStateMatter pairing stateM
0x8164MatterBridgeSupportedWhether Matter bridging is supportedM

Command​

Command IDCodeNameConformance
0x88C5RemoveOneMatterManufacturerRemove a Matter ecosystem platform from the Matter BridgeM
0x88C6RemoveAllMatterManufacturerRemove all Matter ecosystem platforms from the Matter BridgeM

Data Types​

MatterDACStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the MatterDACState Trait.

ValueNameDescription
0x00LoadingDACLoadingDAC
0x01FailedDACFailedDAC
0x02ReadyDACReadyDAC
MatterBindStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the MatterBindState Trait.

ValueNameDescription
0x00UnboundUnbound
0x01BoundBound
MatterPairingStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the MatterPairingState Trait.

ValueNameDescription
0x00NonMatterPairingStateNot in Matter pairing state
0x01MatterPairingStateMatter pairing state
0x02LimitExceededLimit exceeded
0x03InvalidDACInvalid device attestation certificate
0x04UnderPreparationPreparing
MatterBridgeSupportedEnum8 Type​

This enumeration defines the valid values of the Present Value of the MatterBridgeSupported attribute.

ValueNameDescription
0FalseFalse
1TrueTrue

Trait Definitions​

Trait IDNameConformance
0x815EMatterPairingSwitchM
0x815FMatterDACStateM
0x8160MatterBindStateM
0x8161MatterOnboardingPayloadM
0x8162MatterManufacturerListM
0x8163MatterPairingStateM
0x8164MatterBridgeSupportedM

MatterPairingSwitch Trait​

Writing true starts Matter pairing mode on the bridge; if not completed, pairing automatically exits after 10 minutes. Writing false immediately disables pairing. Reading indicates whether pairing mode is currently active. Values: true = enter pairing, false = turn off/disable pairing.

Trait IDCode
0x815EMatterPairingSwitch
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWM
0x0007Default Valueboolean0RWO

MatterDACState Trait​

Indicates the ready state of the Matter Device Attestation Certificate (DAC). 0: DAC is being obtained; 1: DAC acquisition failed; 2: DAC is ready.

Trait IDCode
0x815FMatterDACState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMatterDACStateEnum80RVM
0x0006Supported Valuelist[MatterDACStateEnum8]RO

MatterBindState Trait​

Indicates the Matter binding state of the device. 0: not yet bound to any Matter ecosystem; 1: successfully bound to at least one Matter ecosystem.

Trait IDCode
0x8160MatterBindState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMatterBindStateEnum80RVM
0x0006Supported Valuelist[MatterBindStateEnum8]RO

MatterOnboardingPayload Trait​

Provides the onboarding information required for Matter commissioning. The value is a JSON object containing the onboarding payload string and the manual pairing code. Example: {"onboarding_payload":"MT:AR7A0OEP01C26Y2SQ10","manual_pairing_code":"0118-064-9202"}.

Trait IDCode
0x8161MatterOnboardingPayload
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

MatterManufacturerList Trait​

Provides the list of Matter ecosystems (fabrics) to which the device is bound. The value is a JSON array, each object containing: vendor_id (decimal integer), Manufacturer (display name string), fabric (shared trust domain identifier), node_id (device identifier string). Example format: {"list":[{"vendor_id":24582,"Manufacturer":"Google","fabric":"10001","node_id":"10001"}, ...]}.

Trait IDCode
0x8162MatterManufacturerList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

MatterPairingState Trait​

Indicates the current Matter pairing state or error reason. Possible values: 0x00 = not in pairing mode; 0x01 = normal pairing mode active; 0x02 = device binding limit exceeded (up to 10), remove some ecosystems and retry; 0x03 = device certificate invalid, retry later; 0x04 = preparing, retry later.

Trait IDCode
0x8163MatterPairingState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMatterPairingStateEnum80RVM
0x0006Supported Valuelist[MatterPairingStateEnum8]RO

MatterBridgeSupported Trait​

Indicates whether the current gateway version supports the Matter Bridge function. If true, the App can display the "Start Matter Journey" entry and the "Bind Matter" option in the device details; if false, such entries are hidden. Values: false = not supported, true = supported.

Trait IDCode
0x8164MatterBridgeSupported
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM

Command Definitions​

Command IDNameConformance
0x88C5RemoveOneMatterManufacturerM
0x88C6RemoveAllMatterManufacturerM

RemoveOneMatterManufacturer Command​

This Command is used to perform the "remove a Matter ecosystem platform from the Matter Bridge" operation.

This Command has no parameters.

RemoveAllMatterManufacturer Command​

This Command is used to perform the "remove all Matter ecosystem platforms from the Matter Bridge" operation.

This Command has no parameters.

MARSConfiguration​

Introduction​

Provides smart load (MARS) related configuration for load identification and smart power distribution management.

Function Identification​

Function IDCodeName
0x00B8MARSConfigurationSmart load configuration

Trait​

Trait IDCodeNameConformance
0x816BLoadTypeLoad typeM
0x816CMarsSmartLoadListLoad device listO
0x816DPulseDurationPulse durationO
0x5113EnableMarsForceOffSmart load force offO

Command​

This Function does not contain Commands.

Data Types​

LoadTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the LoadType Trait.

ValueNameDescription
0x00UnspecifiedUnspecified
0x01LinkableSmart load
0x02PulsedPulse control
MarsSmartLoadListTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the MarsSmartLoadList Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DeviceIDcharacterStringMTarget load light device ID.
1PointPathcharacterStringMAccess path of the switch control state data point in the target load light device, containing Endpoint ID, Function ID, Trait ID, Parameter ID, separated by ., e.g., 2.132.32920.1.
2SubscribeRecordIduint32OThis field only applies to Zigbee protocol switch devices, indicating the data subscription record ID saved by the switch device and required between it and the target load light device.
3GroupIduint16OThis field only applies to Zigbee protocol switch devices, indicating the device group ID to which the target load light device belongs in Mars Technology smart load mode.

Trait Definitions​

Trait IDNameConformance
0x816BLoadTypeM
0x816CMarsSmartLoadListO
0x816DPulseDurationO
0x5113EnableMarsForceOffO

LoadType Trait​

Describes the type of load connected to the switch. 0: Unspecified, 1: Linkable (smart load), 2: Pulsed (pulse control).

Trait IDCode
0x816BLoadType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLoadTypeEnum80RVWM
0x0006Supported Valuelist[LoadTypeEnum8]RO
0x0007Default ValueLoadTypeEnum80RWO

MarsSmartLoadList Trait​

Used to query the list of devices that can be linked with the smart load. Currently only some lighting devices are supported.

Trait IDCode
0x816CMarsSmartLoadList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[MarsSmartLoadListTraitPresentValueStructure]RVWO
0x000FMax Item Numuint32RO

PulseDuration Trait​

Defines the pulse duration of the pulse load. Unit: ms.

Trait IDCode
0x816DPulseDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16200RVWO
0x0002Maximum Valueuint163000RO
0x0003Minimum Valueuint16200RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16200RWO

EnableMarsForceOff Trait​

Used to control whether the MARS force off capability is enabled.

Trait IDCode
0x5113EnableMarsForceOff
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

Command Definitions​

This Function does not contain Commands.

CustomizedConfiguration​

Introduction​

Provides read/write capability for vendor or user customized extension configuration items.

Function Identification​

Function IDCodeName
0x00B9CustomizedConfigurationCustomized configuration

Trait​

Trait IDCodeNameConformance
0x816EEnableIndicatorIndicator light enableO
0x8099StartUpOnOffPower-on switchO

Command​

This Function does not contain Commands.

Data Types​

StartUpOnOffEnum8 Type​

This enumeration defines the valid values of the Present Value of the StartUpOnOff Trait.

ValueNameDescription
0x00OffPower-on off
0x01OnPower-on on
0x02TogglePower-on toggle
0x03HoldPower-on memory

Trait Definitions​

Trait IDNameConformance
0x816EEnableIndicatorO
0x8099StartUpOnOffO

EnableIndicator Trait​

This Trait is used for access to and reporting of "indicator light enable" data.

Trait IDCode
0x816EEnableIndicator
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuetlvRVWO

StartUpOnOff Trait​

Defines the startup behavior of a set of customized configuration parameters when the device is powered on (e.g., restoring user customized configuration). It may override the default OnOff behavior.

Trait IDCode
0x8099StartUpOnOff
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStartUpOnOffEnum8RVWO
0x0006Supported Valuelist[StartUpOnOffEnum8]RO
0x0007Default ValueStartUpOnOffEnum80RWO

Command Definitions​

This Function does not contain Commands.

FreshAirControl​

Introduction​

Provides fresh air system control capability, supporting the introduction of outdoor air and adjustment of airflow and modes.

Function Identification​

Function IDCodeName
0x00BAFreshAirControlFresh air control

Trait​

Trait IDCodeNameConformance
0x4E27FreshAirModeFresh air modeM
0x515CFreshAirBrandFresh air brandO
0x515DFilterRemainingDurationFilter remaining durationO
0x5162FreshAirErrorCodeFresh air error codeO
0x5166FilterRemainingPercentFilter remaining percentO

Command​

This Function does not contain Commands.

Data Types​

FreshAirModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the FreshAirMode Trait.

ValueNameDescription
0x00ManualManual
0x01AutoAuto
0x02ExhaustExhaust
0x03HeatExchangeHeat exchange
0x04InternalCirculationRecirculation
0x05ExternalCirculationOutdoor circulation
0x06PowerSavingEnergy saving
0x07StrongBoost
0x08FreshAirFresh air
0x09BypassBypass

Trait Definitions​

Trait IDNameConformance
0x4E27FreshAirModeM
0x515CFreshAirBrandO
0x515DFilterRemainingDurationO
0x5162FreshAirErrorCodeO
0x5166FilterRemainingPercentO

FreshAirMode Trait​

This Trait defines the fresh air mode.

Trait IDCode
0x4E27FreshAirMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFreshAirModeEnum80RVWM
0x0006Supported Valuelist[FreshAirModeEnum8]RO
0x0007Default Valueuint80RWO

FreshAirBrand Trait​

Represents the brand name of the fresh air (ventilation) system connected to the current thermostat. This value is a readable text string.

Trait IDCode
0x515CFreshAirBrand
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

FilterRemainingDuration Trait​

Represents the remaining effective service life of the filter in the system, in seconds. This value is dynamically updated by the device based on actual operating time or usage, and reported periodically. When the value drops to 0, it indicates the filter is exhausted and needs replacement or cleaning.

Trait IDCode
0x515DFilterRemainingDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

FreshAirErrorCode Trait​

Represents the fault code of the fresh air device, used to diagnose operational anomalies. This value is a readable text string.

Trait IDCode
0x5162FreshAirErrorCode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

FilterRemainingPercent Trait​

Represents the remaining effective service life of the filter as a percentage; 100 means the filter is brand new, 0 means the filter is completely exhausted and needs replacement or cleaning. This value is calculated and reported by the device based on actual operating time or usage.

Trait IDCode
0x5166FilterRemainingPercent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat100RVO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat1RO
0x0007Default Valuefloat100RWO

Command Definitions​

This Function does not contain Commands.

ScreenDisplay​

Introduction​

Manages screen display related hardware properties, such as resolution, brightness, backlight and display state.

Function Identification​

Function IDCodeName
0x00BBScreenDisplayScreen display

Trait​

Trait IDCodeNameConformance
0x4FF7ScreenOnOffScreen off/on switchO
0x519AThemeSquareSupportWhether Theme Square is supportedO
0x813CDisplayLocaleScreen display languageO
0x8139DNDTimePeriodDo Not Disturb time periodO
0x8138EnableDNDModeDo Not Disturb mode enableO
0x4E36ScreenBrightnessScreen brightnessO
0x507DSupportsDslConfigWhether DSL configuration capability is supportedO
0x50F2StandbyTimeoutStandby time settingO
0x50F3KeyToneEnableScreen key sound enableO
0x50F4ThemeUpdateFlagTheme update flagO
0x50F5CurrentThemeSettingCurrent theme settingO
0x50F6WallpaperSettingWallpaper settingO
0x50F7AlwaysOnInStandbyStandby always-on enableO
0x517ADarkScreenOffEnableDark screen-off enableO
0x517BWakeUpScreenSettingWake-up screen settingO
0x5100WakeDistanceSettingSmart wake distance settingO
0x5102SmartWakeEnabledSmart wake enableO
0x4EE2ScreensaverStyleScreensaver styleO

Command​

Command IDCodeNameConformance
0x9D46DownloadDSLDownload DSLO
0x9D9CDownloadDSLResponseDownload DSL responseO
0x9DAFDeliverThemeResourceDeliver theme resourceO
0x9DB0DeliverThemeResourceResponseDeliver theme resource responseO
0x9D5DDeviceDataRefreshDevice data refreshO
0x9D5CTriggerWeatherUpdateTrigger weather data updateO
0x9DB2ClearPanelConfigClear panel configurationO

Data Types​

ScreensaverStyleEnum32 Type​

This enumeration defines the valid values of the Present Value of the ScreensaverStyle Trait.

ValueNameDescription
0x00DigitalClockDigital clock
0x01FamousArtMasterpiece painting
0x02PhotoAlbumAlbum
0x03AnalogClockAnalog clock
0x04WeatherWeather
0x05RhythmNotesRhythm notes
0x06EnvironmentAmbient
0x07WeatherUpdatesDynamic weather
0x08CatCat
0x09ColorNumbersColorful digits
WakeDistanceSettingEnum32 Type​

This enumeration defines the valid values of the Present Value of the WakeDistanceSetting Trait.

ValueNameDescription
0x00Level00
0x01Level1Level 1
0x02Level2Level 2
0x03Level3Level 3
0x04Level4Level 4
0x05Level5Level 5
0x06Level6Level 6
0x07Level7Level 7
0x08Level8Level 8
0x09Level9Level 9
0x0ALevel10Level 10
WakeUpScreenSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the WakeUpScreenSetting Trait.

ValueNameDescription
0x00HomeEnter home page
0x01ScreensaverEnter screensaver
ClearPanelConfigTypeEnum8 Type​

This enumeration defines the panel configuration types that the ClearPanelConfig Command can clear.

ValueNameDescription
0x01ClearHomeDSLClear home page DSL
ClearPanelConfig Command Structure Type​

Parameter structure of the ClearPanelConfig Command.

Struct Member No.Field NameTypeMandatoryDescription
0ConfigTypeClearPanelConfigTypeEnum8MThe panel configuration type to clear.

DownloadDSLConfigItem Structure Type​

Structure of a single DSL configuration item in the DownloadDSL Command.

Struct Member No.Field NameTypeMandatoryDescription
0UrlcharacterStringMConfiguration file download URL.
1Md5characterStringMFile MD5 (32-character hexadecimal string).
2Ordint32MOrder index, used to apply configurations in order.
3IdcharacterStringMConfiguration unique identifier.
4PreviewUrlcharacterStringORelative path of the screensaver configuration preview image on the cloud file service. Main screen configuration items should omit or leave it empty.

DownloadDSL Command Structure Type​

Parameter structure of the DownloadDSL Command.

Struct Member No.Field NameTypeMandatoryDescription
0Itemslist[DownloadDSLConfigItem Structure]OList of main screen DSL configuration items.
1ScreensaverItemslist[DownloadDSLConfigItem Structure]OList of screensaver DSL configuration items.

DownloadDSLResponseResultItem Structure Type​

Structure of the processing result of a single configuration item in the DownloadDSLResponse Command.

Struct Member No.Field NameTypeMandatoryDescription
0IdcharacterStringMConfiguration unique identifier (corresponding to the id in the request).
1ResultCodeint32MResult code: 0 means success, -1 means failure.
2ErrorMessagecharacterStringOError message; usually returned only when ResultCode is -1.

DownloadDSLResponse Structure Type​

Parameter structure of the DownloadDSLResponse Command.

Struct Member No.Field NameTypeMandatoryDescription
0Itemslist[DownloadDSLResponseResultItem Structure]OList of main screen DSL configuration item processing results, in the same order as the Items in the request.
1ScreensaverItemslist[DownloadDSLResponseResultItem Structure]OList of screensaver DSL configuration item processing results, in the same order as the ScreensaverItems in the request.
DeliverThemeResource Command Structure Type​

Parameter structure of the DeliverThemeResource Command.

Struct Member No.Field NameTypeMandatoryDescription
0IdcharacterStringMCommunication identifier of this theme resource delivery (theme ID identifier).
1VersioncharacterStringMThe theme version number corresponding to this resource package.
2PathcharacterStringMRelative file path of the theme resource zip/bin package on the server (Theme Square).
3HashcharacterStringMTheme package file validation identifier (MD5/Hash).
DeliverThemeResourceResponse Command Structure Type​

Parameter structure of the DeliverThemeResourceResponse Command.

Struct Member No.Field NameTypeMandatoryDescription
0IdcharacterStringMCommunication identifier of this theme resource delivery (corresponding to the Id in the request).
1ResultCodeint32MProcessing result code: 0 means success, -1 means failure.
2ErrorMessagecharacterStringOFailure reason description; should be omitted on success.
DeviceDataRefresh Command Structure Type​

Parameter structure of the DeviceDataRefresh Command.

Struct Member No.Field NameTypeMandatoryDescription
0Actionenum8MAction; default value is 1.
TriggerWeatherUpdate Command Structure Type​

Parameter structure of the TriggerWeatherUpdate Command.

Struct Member No.Field NameTypeMandatoryDescription
0Actionenum8MAction; default value is 1.

Trait Definitions​

Trait IDNameConformance
0x4FF7ScreenOnOffO
0x519AThemeSquareSupportO
0x813CDisplayLocaleO
0x8139DNDTimePeriodO
0x8138EnableDNDModeO
0x4E36ScreenBrightnessO
0x507DSupportsDslConfigO
0x50F2StandbyTimeoutO
0x50F3KeyToneEnableO
0x50F4ThemeUpdateFlagO
0x50F5CurrentThemeSettingO
0x50F6WallpaperSettingO
0x50F7AlwaysOnInStandbyO
0x517ADarkScreenOffEnableO
0x517BWakeUpScreenSettingO
0x5100WakeDistanceSettingO
0x5102SmartWakeEnabledO
0x4EE2ScreensaverStyleO

ScreenOnOff Trait​

Controls the display power state through a boolean value: 0 means the screen is immediately turned off (backlight completely off), 1 means the screen is turned on and the previous frame is restored.

Trait IDCode
0x4FF7ScreenOnOff
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanO0RVWO
0x0007Default ValuebooleanO0RWO

ThemeSquareSupport Trait​

Indicates whether the screen device supports the Theme Square function. true means supported, false means not supported. This Trait is read-only and reportable, reported by the device according to its own capability.

Trait IDCode
0x519AThemeSquareSupport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO
0x0007Default Valueboolean0RWO

DisplayLocale Trait​

This Trait is used for access to and reporting of "screen display language" data, representing the language-region code, conforming to the RFC 5646 (BCP 47) standard.

Language CodeLanguage Name
afAfrikaans
af-ZAAfrikaans
arArabic
ar-AEArabic (UAE)
ar-BHArabic (Bahrain)
ar-DZArabic (Algeria)
ar-EGArabic (Egypt)
ar-IQArabic (Iraq)
ar-JOArabic (Jordan)
ar-KWArabic (Kuwait)
ar-LBArabic (Lebanon)
ar-LYArabic (Libya)
ar-MAArabic (Morocco)
ar-OMArabic (Oman)
ar-QAArabic (Qatar)
ar-SAArabic (Saudi Arabia)
ar-SYArabic (Syria)
ar-TNArabic (Tunisia)
ar-YEArabic (Yemen)
azAzerbaijani
az-AZAzerbaijani (Latin)
az-AZAzerbaijani (Cyrillic)
beBelgian
be-BYBelgian
bgBulgarian
bg-BGBulgarian
bs-BABosnian (Latin, Bosnia and Herzegovina)
caCatalan
ca-ESCatalan
csCzech
cs-CZCzech
cyWelsh
cy-GBWelsh
daDanish
da-DKDanish
deGerman
de-ATGerman (Austria)
de-CHGerman (Switzerland)
de-DEGerman (Germany)
de-LIGerman (Liechtenstein)
de-LUGerman (Luxembourg)
dvDivehi
dv-MVDivehi
elGreek
el-GRGreek
enEnglish
en-AUEnglish (Australia)
en-BZEnglish (Belize)
en-CAEnglish (Canada)
en-CBEnglish (Caribbean)
en-GBEnglish (UK)
en-IEEnglish (Ireland)
en-JMEnglish (Jamaica)
en-NZEnglish (New Zealand)
en-PHEnglish (Philippines)
en-TTEnglish (Trinidad)
en-USEnglish (US)
en-ZAEnglish (South Africa)
en-ZWEnglish (Zimbabwe)
eoEsperanto
esSpanish
es-ARSpanish (Argentina)
es-BOSpanish (Bolivia)
es-CLSpanish (Chile)
es-COSpanish (Colombia)
es-CRSpanish (Costa Rica)
es-DOSpanish (Dominican Republic)
es-ECSpanish (Ecuador)
es-ESSpanish (Traditional)
es-ESSpanish (International)
es-GTSpanish (Guatemala)
es-HNSpanish (Honduras)
es-MXSpanish (Mexico)
es-NISpanish (Nicaragua)
es-PASpanish (Panama)
es-PESpanish (Peru)
es-PRSpanish (Puerto Rico (US))
es-PYSpanish (Paraguay)
es-SVSpanish (El Salvador)
es-UYSpanish (Uruguay)
es-VESpanish (Venezuela)
etEstonian
et-EEEstonian
euBasque
eu-ESBasque
faFarsi
fa-IRFarsi
fiFinnish
fi-FIFinnish
foFaroese
fo-FOFaroese
frFrench
fr-BEFrench (Belgium)
fr-CAFrench (Canada)
fr-CHFrench (Switzerland)
fr-FRFrench (France)
fr-LUFrench (Luxembourg)
fr-MCFrench (Monaco)
glGalician
gl-ESGalician
guGujarati
gu-INGujarati
heHebrew
he-ILHebrew
hiHindi
hi-INHindi
hrCroatian
hr-BACroatian (Bosnia and Herzegovina)
hr-HRCroatian
huHungarian
hu-HUHungarian
hyArmenian
hy-AMArmenian
idIndonesian
id-IDIndonesian
isIcelandic
is-ISIcelandic
itItalian
it-CHItalian (Switzerland)
it-ITItalian (Italy)
jaJapanese
ja-JPJapanese
kaGeorgian
ka-GEGeorgian
kkKazakh
kk-KZKazakh
knKannada
kn-INKannada
koKorean
ko-KRKorean (South Korea)
kokKonkani
kok-INKonkani
kyKyrgyz
ky-KGKyrgyz (Cyrillic)
ltLithuanian
lt-LTLithuanian
lvLatvian
lv-LVLatvian
miMaori
mi-NZMaori
mkMacedonian
mk-MKMacedonian (FYROM)
mnMongolian
mn-MNMongolian (Cyrillic)
mrMarathi
mr-INMarathi
msMalay
ms-BNMalay (Brunei Darussalam)
ms-MYMalay (Malaysia)
mtMaltese
mt-MTMaltese
nbNorwegian (Bokmal)
nb-NONorwegian (Bokmal) (Norway)
nlDutch
nl-BEDutch (Belgium)
nl-NLDutch (Netherlands)
nn-NONorwegian (Nynorsk) (Norway)
nsNorthern Sotho
ns-ZANorthern Sotho
paPunjabi
pa-INPunjabi
plPolish
pl-PLPolish
ptPortuguese
pt-BRPortuguese (Brazil)
pt-PTPortuguese (Portugal)
quQuechua
qu-BOQuechua (Bolivia)
qu-ECQuechua (Ecuador)
qu-PEQuechua (Peru)
roRomanian
ro-RORomanian
ruRussian
ru-RURussian
saSanskrit
sa-INSanskrit
seNorthern Sami
se-FINorthern Sami (Finland)
se-FISkolt Sami (Finland)
se-FIInari Sami (Finland)
se-NONorthern Sami (Norway)
se-NOLule Sami (Norway)
se-NOSouthern Sami (Norway)
se-SENorthern Sami (Sweden)
se-SELule Sami (Sweden)
se-SESouthern Sami (Sweden)
skSlovak
sk-SKSlovak
slSlovenian
sl-SISlovenian
sqAlbanian
sq-ALAlbanian
sr-BASerbian (Latin, Bosnia and Herzegovina)
sr-BASerbian (Cyrillic, Bosnia and Herzegovina)
sr-SPSerbian (Latin)
sr-SPSerbian (Cyrillic)
svSwedish
sv-FISwedish (Finland)
sv-SESwedish
swSwahili
sw-KESwahili
syrSyriac
syr-SYSyriac
taTamil
ta-INTamil
teTelugu
te-INTelugu
thThai
th-THThai
tlTagalog
tl-PHTagalog (Philippines)
tnTswana
tn-ZATswana
trTurkish
tr-TRTurkish
tsTsonga
ttTatar
tt-RUTatar
ukUkrainian
uk-UAUkrainian
urUrdu
ur-PKUrdu
uzUzbek
uz-UZUzbek (Latin)
uz-UZUzbek (Cyrillic)
viVietnamese
vi-VNVietnamese
xhBantu
xh-ZABantu
zhChinese
zh-CNChinese (Simplified)
zh-HKChinese (Hong Kong)
zh-MOChinese (Macau)
zh-SGChinese (Singapore)
zh-TWChinese (Traditional)
zuZulu
zu-ZAZulu
Trait IDCode
0x813CDisplayLocale
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

DNDTimePeriod Trait​

This Trait is used to define the Do Not Disturb time period for screen display.

This Trait is reused in this Function; for the full definition, see DNDTimePeriod under the IndicationLight Function.

Trait IDCode
0x8139DNDTimePeriod

EnableDNDMode Trait​

This Trait is used to control whether the Do Not Disturb mode for screen display is enabled.

This Trait is reused in this Function; for the full definition, see EnableDNDMode under the IndicationLight Function.

Trait IDCode
0x8138EnableDNDMode

ScreenBrightness Trait​

A Trait that controls the screen brightness level, with a value range of 1% to 100%.

Trait IDCode
0x4E36ScreenBrightness
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default ValuefloatO50RWO

SupportsDslConfig Trait​

Indicates whether the device supports DSL (Domain-Specific Language) configuration. A value of true means the device can parse and apply DSL-based configurations; false means the capability is not supported.

Trait IDCode
0x507DSupportsDslConfig
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanO0RVO
0x0007Default ValuebooleanO0RWO

StandbyTimeout Trait​

This Trait is used to set the timeout duration for the screen to automatically enter standby, in seconds. 0 means never automatically enter standby.

Trait IDCode
0x50F2StandbyTimeout
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1615RVWO
0x0002Maximum Valueuint163600RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint325RO
0x0007Default Valueuint1615RWO

KeyToneEnable Trait​

This Trait is used to control the screen key sound switch. 0 means off, 1 means on.

Trait IDCode
0x50F3KeyToneEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ThemeUpdateFlag Trait​

This Trait represents the theme update flag value. If the delivered value is greater than the current value, it indicates that a new theme update is available.

Trait IDCode
0x50F4ThemeUpdateFlag
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

CurrentThemeSetting Trait​

This Trait is used to represent the current theme setting value, encoded with the high 16 bits as themeId and the low 16 bits as version.

Trait IDCode
0x50F5CurrentThemeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

WallpaperSetting Trait​

This Trait is used to represent the current wallpaper type setting value: 1-9 are local themes, 10 is the album, 11-20 are cloud themes, and 21 and above are cloud wallpapers.

Trait IDCode
0x50F6WallpaperSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

AlwaysOnInStandby Trait​

This Trait is used to control whether the screen stays always on in standby/screensaver state. 0 means off (default value), 1 means on.

Trait IDCode
0x50F7AlwaysOnInStandby
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DarkScreenOffEnable Trait​

Dark screen-off enable. Enables or disables the dark screen-off function. When this function is on, if the ambient light dims below the preset threshold, the screen automatically turns off to save power and improve viewing comfort; when off, the screen does not automatically turn off due to dimming ambient light. Values: 0 = False (off), 1 = True (on).

Trait IDCode
0x517ADarkScreenOffEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

WakeUpScreenSetting Trait​

Wake-up screen setting. Used to set the interface automatically entered after the screen wakes from the wake-up interface; it can be configured to enter the home page or the screensaver. Values: 0 = enter home page, 1 = enter screensaver.

Trait IDCode
0x517BWakeUpScreenSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWakeUpScreenSettingEnum80RVWO
0x0006Supported Valuelist[WakeUpScreenSettingEnum8]RO
0x0007Default Valueuint80RWO

WakeDistanceSetting Trait​

Sets the smart wake distance/sensitivity level.

Trait IDCode
0x5100WakeDistanceSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWakeDistanceSettingEnum328RVWO
0x0006Supported Valuelist[WakeDistanceSettingEnum32]RO
0x0007Default Valueuint328RWO

SmartWakeEnabled Trait​

Enables or disables the smart wake function.

Trait IDCode
0x5102SmartWakeEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ScreensaverStyle Trait​

This Trait is used for access to and reporting of "screensaver style" data.

Trait IDCode
0x4EE2ScreensaverStyle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueScreensaverStyleEnum320RVWO
0x0006Supported Valuelist[ScreensaverStyleEnum32]RO
0x0007Default Valueuint320RWO

Command Definitions​

Command IDNameConformance
0x9D46DownloadDSLO
0x9D9CDownloadDSLResponseO
0x9DAFDeliverThemeResourceO
0x9DB0DeliverThemeResourceResponseO
0x9D5DDeviceDataRefreshO
0x9D5CTriggerWeatherUpdateO
0x9DB2ClearPanelConfigO

DownloadDSL Command​

This command is used to batch download DSL (Domain-Specific Language) configuration files, supporting the simultaneous delivery of main screen and screensaver configuration items.

The device should download each configuration file, verify integrity using MD5, and apply the configurations in the order specified by ord.

Parameters​

DownloadDSL Command Structure

Upstream Result​

After completing the download and application, the device SHALL report the processing result of each configuration item through the DownloadDSLResponse Command.

DownloadDSLResponse Command​

This command is used to report the processing results of each DownloadDSL configuration item, supporting separate returns for main screen and screensaver configuration items.

Parameters​

DownloadDSLResponse Structure

DeliverThemeResource Command​

Theme resource package delivery. The server notifies the screen device through this command (invokeCommand, delivered as a request) to download the theme resource package from the specified file path, carrying information such as the communication identifier, theme version number and file validation identifier (MD5/Hash). After receiving it, the screen device downloads and validates the resource package based on the provided information.

Parameters​

DeliverThemeResource Command Structure

Upstream Result​

After the screen device completes the download, validation and application, it SHALL report the processing result through the DeliverThemeResourceResponse Command.

DeliverThemeResourceResponse Command​

Theme resource package delivery response. Used for the screen device, after receiving theme resource package delivery data, to report the processing result to the server via the response of invokeCommand based on the resource package download, validation and application results.

Parameters​

DeliverThemeResourceResponse Command Structure

DeviceDataRefresh Command​

This command instructs the screen device (launcher) to comprehensively refresh data, including re-requesting the current dashboard list, card data and other related information from the server. After receiving the command, the device should obtain the latest data and update the display accordingly.

Parameters​

DeviceDataRefresh Command Structure

TriggerWeatherUpdate Command​

This command triggers the device to immediately update weather data from the configured weather service.

Parameters​

TriggerWeatherUpdate Command Structure

ClearPanelConfig Command​

Clear panel configuration. After the user confirms the clearing, the device should clear the panel configuration content of the type specified by ConfigType. Currently it supports clearing the home page DSL configuration of the screen device; other configuration types may be extended later.

Parameters​

ClearPanelConfig Command Structure

ValveControl​

Introduction​

Provides automatic or manual valve control capability for precisely regulating water/gas flow.

Function Identification​

Function IDCodeName
0x00BCValveControlValve control

Trait​

Trait IDCodeNameConformance
0x4E46RemainingDurationRemaining durationO
0x4E47CurrentValveStateCurrent valve stateO
0x4E5DDefaultOpenDurationDefault valve open durationO

Command​

Command IDCodeNameConformance
0x9C44CloseCloseO
0x9C43OpenOpenO
0x9C45OpenWithDurationOpen and hold for specified durationO

Data Types​

CurrentValveStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the CurrentValveState Trait.

ValueNameDescription
0x00ClosedClosed
0x01OpenOpen
0x02TransitioningTransition
OpenWithDuration Command Structure Type​

Parameter structure of the OpenWithDuration Command.

Struct Member No.Field NameTypeMandatoryDescription
0PresentValuefloatMCurrent value; default value is 1.

Trait Definitions​

Trait IDNameConformance
0x4E46RemainingDurationO
0x4E47CurrentValveStateO
0x4E5DDefaultOpenDurationO

RemainingDuration Trait​

RemainingDuration refers to the remaining time the valve will continue to run before automatically closing, in seconds.

Trait IDCode
0x4E46RemainingDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO0RVWO
0x0002Maximum Valuefloat100000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default ValuefloatO0RWO
0x000DIs NullbooleanFalseRVWO

CurrentValveState Trait​

CurrentValveState represents the current working state of the valve.

Trait IDCode
0x4E47CurrentValveState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCurrentValveStateEnum80RVO
0x0006Supported Valuelist[CurrentValveStateEnum8]RO

DefaultOpenDuration Trait​

DefaultOpenDuration represents the default duration (seconds) the valve remains open when the OpenDuration field is not specified.

Trait IDCode
0x4E5DDefaultOpenDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO1RVWO
0x0002Maximum Valuefloat100000.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default ValuefloatO1RWO

Command Definitions​

Command IDNameConformance
0x9C44CloseO
0x9C43OpenO
0x9C45OpenWithDurationO

Close Command​

Close command.

This Command has no parameters.

Open Command​

Open command.

This Command has no parameters.

OpenWithDuration Command​

Open for a specified duration.

Parameters​

OpenWithDuration Command Structure

FilterMonitoring​

Introduction​

Continuously monitors the usage status and remaining service life of various filter elements (e.g., HEPA, activated carbon).

Function Identification​

Function IDCodeName
0x00BDFilterMonitoringFilter monitoring

Trait​

Trait IDCodeNameConformance
0x4E4AFilterTypeFilter typeM
0x4E49ChangeIndicationFilter life stateM
0x4E48ConditionFilter remaining lifeO

Command​

Command IDCodeNameConformance
0x9C46ResetConditionReset filterO

Data Types​

FilterTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the FilterType Trait.

ValueNameDescription
0x00HEPAHEPA
0x01Activated CarbonActivated carbon
0x02PhotocatalyticPhotocatalyst
0x03UVUltraviolet
ChangeIndicationEnum8 Type​

This enumeration defines the valid values of the Present Value of the ChangeIndication Trait.

ValueNameDescription
0x00OKOK
0x01WarmingWarning
0x02CriticalCritical

Trait Definitions​

Trait IDNameConformance
0x4E4AFilterTypeM
0x4E49ChangeIndicationM
0x4E48ConditionO

FilterType Trait​

FilterType defines the filter type.

Trait IDCode
0x4E4AFilterType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFilterTypeEnum80RVM
0x0006Supported Valuelist[FilterTypeEnum8]RO

ChangeIndication Trait​

ChangeIndication defines the state of the filter life.

Trait IDCode
0x4E49ChangeIndication
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueChangeIndicationEnum80RVM
0x0006Supported Valuelist[ChangeIndicationEnum8]RO
0x0007Default Valueuint80RWO

Condition Trait​

Represents the remaining life of the filter, as a percentage %.

Trait IDCode
0x4E48Condition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat100RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat100RWO

Command Definitions​

Command IDNameConformance
0x9C46ResetConditionO

ResetCondition Command​

ResetCondition indicates resetting the filter.

This Command has no parameters.

OperationalState​

Introduction​

Describes the current operating state of the device, such as idle, running, paused, error, etc.

Function Identification​

Function IDCodeName
0x00BEOperationalStateDevice state

Trait​

Trait IDCodeNameConformance
0x4E4COperationalErrorDevice errorM
0x4E4BOperationalStateDevice stateM

Command​

Command IDCodeNameConformance
0x9C47StartStartO
0x80C5StopStopO
0x80C4PausePauseO
0x9C48ResumeResumeO

Data Types​

OperationalErrorEnum16 Type​

This enumeration defines the valid values of the Present Value of the OperationalError Trait.

ValueNameDescription
0x00NoErrorNo error
0x01UnableToStartOrResumeUnable to start or resume
0x02UnableToCompleteOperationUnable to complete operation
0x03CommandInvalidInStateCommand invalid in state
OperationalStateEnum16 Type​

This enumeration defines the valid values of the Present Value of the OperationalState Trait.

ValueNameDescription
0x00StoppedStopped
0x01RunningRunning
0x02PausedPaused
0x03ErrorError

Trait Definitions​

Trait IDNameConformance
0x4E4COperationalErrorM
0x4E4BOperationalStateM

OperationalError Trait​

OperationalError refers to the device or system being unable to perform its intended function.

Trait IDCode
0x4E4COperationalError
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOperationalErrorEnum160RVM
0x0006Supported Valuelist[OperationalErrorEnum16]RO
0x0007Default Valueuint160RWO

OperationalState Trait​

OperationalState refers to the current functional state or working condition of the device, indicating whether it is active or idle. It defines the device's operational status.

Trait IDCode
0x4E4BOperationalState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOperationalStateEnum160RVM
0x0006Supported Valuelist[OperationalStateEnum16]RO
0x0007Default Valueuint160RWO

Command Definitions​

Command IDNameConformance
0x9C47StartO
0x80C5StopO
0x80C4PauseO
0x9C48ResumeO

Start Command​

Start.

This Command has no parameters.

Stop Command​

This command should request the device to stop the current operation.

This Command has no parameters.

Pause Command​

This Command is used to perform the "pause" operation.

This Command has no parameters.

Resume Command​

Resume.

This Command has no parameters.

Flow​

Introduction​

Measures and reports the flow rate of liquid or gas.

Function Identification​

Function IDCodeName
0x00BFFlowFlow

Trait​

Trait IDCodeNameConformance
0x4E4DCurrentFlowCurrent flowM
0x51BECumulativeFlowCumulative flowO

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4E4DCurrentFlowM
0x51BECumulativeFlowO

CurrentFlow Trait​

CurrentFlow represents the current flow rate value, in m^3/h.

Trait IDCode
0x4E4DCurrentFlow
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat65535.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

CumulativeFlow Trait​

Represents the cumulative throughput recorded by the flow meter within the current counter generation, used to calculate the total medium delivered and historical usage changes. Unit: m^3. Device reboot must not reset the reading or the generation; reset, uncompensated rollback, or flow meter replacement must increment the Counter Generation.

Trait IDCode
0x51BECumulativeFlow
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat100000000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

Mode​

Introduction​

Provides the device characteristic mode interface, supporting switching among multiple predefined modes.

Function Identification​

Function IDCodeName
0x00C0ModeMode

Trait​

Trait IDCodeNameConformance
0x4E4ECurrentModeCurrent modeM
0x4E4FChangeToModeResponseMode change feedbackM

Command​

Command IDCodeNameConformance
0x9C4DChangeToModeChange modeM

Data Types​

ChangeToModeResponseEnum16 Type​

This enumeration defines the valid values of the Present Value of the ChangeToModeResponse Trait.

ValueNameDescription
0x00SuccessSuccess
0x01UnsupportedModeUnsupported mode
0x02GenericFailureGeneral failure
0x03InvalidInModeInvalid in mode
0x41StuckStuck
0x42DustBinMissingDust bin missing
0x43DustBinFullDust bin full
0x44WaterTankEmptyWater tank empty
0x45WaterTankMissingWater tank missing
0x46WaterTankLidOpenWater tank lid not closed
0x47MopCleaningPadMissingMop cleaning pad missing
0x48BatteryLowBattery low
ChangeToMode Command Structure Type​

Parameter structure of the ChangeToMode Command.

Struct Member No.Field NameTypeMandatoryDescription
0CurrentModeuint16MCurrent mode.

Trait Definitions​

Trait IDNameConformance
0x4E4ECurrentModeM
0x4E4FChangeToModeResponseM

CurrentMode Trait​

CurrentMode represents the current working state or setting of the device, with values from a predefined set of options.

Trait IDCode
0x4E4ECurrentMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueenum80RVM
0x0002Maximum Valueenum8255RO
0x0003Minimum Valueenum80RO
0x0007Default Valueenum80RWO

ChangeToModeResponse Trait​

ChangeToModeResponse is a response message or state indicating the result of a request to switch the device to a specific mode.

Trait IDCode
0x4E4FChangeToModeResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueChangeToModeResponseEnum160RVM
0x0006Supported Valuelist[ChangeToModeResponseEnum16]RO
0x0007Default Valueuint160RWO

Command Definitions​

Command IDNameConformance
0x9C4DChangeToModeM

ChangeToMode Command​

ChangeToMode is used to set the device mode.

Parameters​

ChangeToMode Command Structure

VacuumOperationalState​

Introduction​

Describes the current operating state of the robot vacuum, such as cleaning, returning to charge, charging, etc.

Function Identification​

Function IDCodeName
0x00C1VacuumOperationalStateRobot vacuum state

Trait​

Trait IDCodeNameConformance
0x4E51VacuumOperationalErrorRobot vacuum errorM
0x4E50VacuumOperationalStateRobot vacuum stateM

Command​

Command IDCodeNameConformance
0x9C49GoHomeReturn to dockM
0x9C47StartStartO
0x80C4PausePauseO
0x80C5StopStopO
0x9C48ResumeResumeO

Data Types​

VacuumOperationalErrorEnum16 Type​

This enumeration defines the valid values of the Present Value of the VacuumOperationalError Trait.

ValueNameDescription
0x00NoErrorNo error
0x01UnableToStartOrResumeUnable to start or resume
0x02UnableToCompleteOperationUnable to complete operation
0x03CommandInvalidInStateCommand invalid in state
0x40FailedToFindChargingDockCharging dock not found
0x41StuckStuck
0x42DustBinMissingDust bin missing
0x43DustBinFullDust bin full
0x44WaterTankEmptyWater tank empty
0x45WaterTankMissingWater tank missing
0x46WaterTankLidOpenWater tank lid not closed
0x47MopCleaningPadMissingMop cleaning pad missing
VacuumOperationalStateEnum16 Type​

This enumeration defines the valid values of the Present Value of the VacuumOperationalState Trait.

ValueNameDescription
0x00StoppedStopped
0x01RunningRunning
0x02PausedPaused
0x03ErrorError
0x40SeekingChargerLooking for charger
0x41ChargingCharging
0x42DockedDocked

Trait Definitions​

Trait IDNameConformance
0x4E51VacuumOperationalErrorM
0x4E50VacuumOperationalStateM

VacuumOperationalError Trait​

VacuumOperationalError refers to specific error types encountered when the device or system cannot perform the expected function.

Trait IDCode
0x4E51VacuumOperationalError
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVacuumOperationalErrorEnum160RVM
0x0006Supported Valuelist[VacuumOperationalErrorEnum16]RO
0x0007Default Valueuint160RWO

VacuumOperationalState Trait​

VacuumOperationalState refers to the current operating state or mode of the vacuum device.

Trait IDCode
0x4E50VacuumOperationalState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVacuumOperationalStateEnum160RVM
0x0006Supported Valuelist[VacuumOperationalStateEnum16]RO
0x0007Default Valueuint160RWO

Command Definitions​

Command IDNameConformance
0x9C49GoHomeM
0x9C47StartO
0x80C4PauseO
0x80C5StopO
0x9C48ResumeO

GoHome Command​

The Vacuum GoHome command is used to instruct the robot vacuum to return to the charging dock or base station.

This Command has no parameters.

Start Command​

Start.

This Command has no parameters.

Pause Command​

This Command is used to perform the "pause" operation.

This Command has no parameters.

Stop Command​

This command should request the device to stop the current operation.

This Command has no parameters.

Resume Command​

Resume.

This Command has no parameters.

RefrigeratorState​

Introduction​

Describes the refrigerator operating state, including idle, cooling, defrosting, error, etc.

Function Identification​

Function IDCodeName
0x00C2RefrigeratorStateRefrigerator state

Trait​

Trait IDCodeNameConformance
0x4E52RefrigeratorAlarmRefrigerator alarmO

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4E52RefrigeratorAlarmO

RefrigeratorAlarm Trait​

RefrigeratorAlarm refers to the current refrigerator alarm state.

Trait IDCode
0x4E52RefrigeratorAlarm
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

Command Definitions​

This Function does not contain Commands.

EVSE​

Introduction​

Provides Electric Vehicle Supply Equipment (EVSE) control capability, including charging start/stop, current limits and charging state.

The vehicle battery data represents the battery of the currently connected vehicle, not the spare battery of the charging pile itself. The vehicle connection state reuses EvseState, and the vehicle identifier reuses VehicleID; the vehicle battery capacity and read/write settings use the dedicated Traits under this Function.

Function Identification​

Function IDCodeName
0x00C3EVSEElectric vehicle supply equipment

Trait​

Trait IDCodeConformance
0x4E53EvseStateM
0x4E54EvseSupplyStateM
0x4E5AMinChargeCurrentM
0x4E59VehicleIDM
0x4E58BatteryCapacityM
0x4E57MaxChargeCurrentM
0x4E4DCurrentFlowM
0x4E56ChargingEnabledUntilM
0x4E55EvseFaultStateM
0x80CDBatPercentRemainingM
0x5219VehicleDischargeableCapacityO
0x521AVehicleDischargeableCapacityPercentO
0x521BVehicleDischargeableRemainingCapacityO
0x521CVehicleDischargeableRemainingCapacityPercentO
0x521DVehicleUsedCapacityO
0x521EVehicleUsedCapacityPercentO
0x521FEVSERatedChargingCapabilityO
0x5220EVSERatedDischargingCapabilityO
0x5221MinDischargeCurrentO
0x5222MaxDischargeCurrentO
0x5223EVSEChargeDischargePowerO
0x5224EVSEChargeDischargeCurrentO
0x5225EVSEChargeDischargeVoltageO
0x5226EVSERatedVoltageO
0x5227VehicleChargingAmountSettingO
0x5228VehicleChargingAmountPercentSettingO
0x5229VehicleChargingPowerSettingO
0x522AVehicleDischargingPowerSettingO
0x522BVehicleChargingCurrentSettingO
0x522CVehicleDischargingCurrentSettingO
0x522DEVSEIndependentRatedVoltageO
0x5240ChargerDischargerTypeO

Command​

Command IDCodeConformance
0x9C4BDisableChargingM
0x9C4AEnableChargingM
0x9C4CEnableChargingUntilO

Data Types​

EvseStateEnum32 Type​

This enumeration defines the valid values of the Present Value of the EvseState Trait.

ValueNameDescription
0x00NotPluggedInNot plugged in
0x01PluggedInNoDemandPlugged in, no demand
0x02PluggedInDemandPlugged in, with demand
0x03PluggedInChargingPlugged in, charging
0x04PluggedInDischargingPlugged in, discharging
0x05SessionEndingSession ended
0x06FaultFault
EvseSupplyStateEnum32 Type​

This enumeration defines the valid values of the Present Value of the EvseSupplyState Trait.

ValueNameDescription
0x00DisabledDisabled
0x01ChargingEnabledCharging allowed
0x02DischargingEnabledDischarging allowed
0x03DisabledErrorDisabled error
0x04DisabledDiagnosticsDisabled diagnostics
0x05EnabledChargingandDischargingCharging and discharging allowed
EvseFaultStateEnum32 Type​

This enumeration defines the valid values of the Present Value of the EvseFaultState Trait.

ValueNameDescription
0x00NoErrorNo error
0x01MeterFailureMeter fault
0x02OverVoltageOver voltage
0x03UnderVoltageUnder voltage
0x04OverCurrentOver current
0x05ContactWetFailureWet contact fault
0x06ContactDryFailureDry contact fault
0x07GroundFaultGround fault
0x08PowerLossPower loss
0x09PowerQualityPower quality
0x0APilotShortCircuitPilot short circuit
0x0BEmergencyStopEmergency stop
0x0CEVDisconnectedEV disconnected
0x0DWrongPowerSupplyPower source error
0x0ELiveNeutralSwapLine and neutral swapped
0x0FOverTemperatureOver temperature
0xFFOtherOther
EnableChargingUntil Command Structure Type​

Parameter structure of the EnableChargingUntil Command.

Struct Member No.Field NameTypeMandatoryDescription
0PresentValueint32MCurrent value.

Trait Definitions​

Trait IDNameConformance
0x4E53EvseStateM
0x4E54EvseSupplyStateM
0x4E5AMinChargeCurrentM
0x4E59VehicleIDM
0x4E58BatteryCapacityM
0x4E57MaxChargeCurrentM
0x4E4DCurrentFlowM
0x4E56ChargingEnabledUntilM
0x4E55EvseFaultStateM
0x80CDBatPercentRemainingM
0x5219VehicleDischargeableCapacityO
0x521AVehicleDischargeableCapacityPercentO
0x521BVehicleDischargeableRemainingCapacityO
0x521CVehicleDischargeableRemainingCapacityPercentO
0x521DVehicleUsedCapacityO
0x521EVehicleUsedCapacityPercentO
0x521FEVSERatedChargingCapabilityO
0x5220EVSERatedDischargingCapabilityO
0x5221MinDischargeCurrentO
0x5222MaxDischargeCurrentO
0x5223EVSEChargeDischargePowerO
0x5224EVSEChargeDischargeCurrentO
0x5225EVSEChargeDischargeVoltageO
0x5226EVSERatedVoltageO
0x5227VehicleChargingAmountSettingO
0x5228VehicleChargingAmountPercentSettingO
0x5229VehicleChargingPowerSettingO
0x522AVehicleDischargingPowerSettingO
0x522BVehicleChargingCurrentSettingO
0x522CVehicleDischargingCurrentSettingO
0x522DEVSEIndependentRatedVoltageO
0x5240ChargerDischargerTypeO

EvseState Trait​

EVSEState represents the current state of the Electric Vehicle Supply Equipment (EVSE).

Trait IDCode
0x4E53EvseState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEvseStateEnum320RVM
0x0006Supported Valuelist[EvseStateEnum32]RO

EvseSupplyState Trait​

EvseSupplyState represents the current supply state of the Electric Vehicle Supply Equipment (EVSE).

Trait IDCode
0x4E54EvseSupplyState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEvseSupplyStateEnum320RVM
0x0006Supported Valuelist[EvseSupplyStateEnum32]RO

MinChargeCurrent Trait​

MinChargeCurrent refers to the minimum current level at which the electric vehicle can charge. Unit: A.

Trait IDCode
0x4E5AMinChargeCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO0RVM
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default ValuefloatO0RWO

VehicleID Trait​

VehicleID is the unique identifier assigned to each electric vehicle (EV).

Trait IDCode
0x4E59VehicleID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuestring32RVM

BatteryCapacity Trait​

BatteryCapacity represents the nominal capacity of the vehicle battery associated with the EVSE, in W·h. This value describes the battery of the connected vehicle, not the spare battery capacity of the EVSE itself; if the device provides the currently dischargeable capacity, VehicleDischargeableCapacity should be used.

Trait IDCode
0x4E58BatteryCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO0RVM
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default ValuefloatO0RWO

MaxChargeCurrent Trait​

MaxChargeCurrent refers to the maximum current level at which the electric vehicle can charge. Unit: A.

Trait IDCode
0x4E57MaxChargeCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO0RVM
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default ValuefloatO0RWO

CurrentFlow Trait​

CurrentFlow represents the current flow rate value, in m^3/h.

Trait IDCode
0x4E4DCurrentFlow
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO0RVM
0x0002Maximum Valuefloat65535.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default ValuefloatO0RWO

ChargingEnabledUntil Trait​

ChargingEnabledUntil refers to the duration for which the charging process of the electric vehicle (EV) or device is allowed to continue.

Trait IDCode
0x4E56ChargingEnabledUntil
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO6RVM
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default ValuefloatO6RWO
0x000DIs NullbooleanFalseRVO

EvseFaultState Trait​

EvseFaultState represents the current fault state of the Electric Vehicle Supply Equipment (EVSE).

Trait IDCode
0x4E55EvseFaultState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEvseFaultStateEnum320RVM
0x0006Supported Valuelist[EvseFaultStateEnum32]RO

BatPercentRemaining Trait​

Indicates the remaining battery power percentage.

Trait IDCode
0x80CDBatPercentRemaining
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatO50RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default ValuefloatO50RWO

VehicleDischargeableCapacity Trait​

The vehicle battery dischargeable capacity represents the energy capacity available for discharge from the currently connected vehicle, in W·h.

Trait IDCode
0x5219VehicleDischargeableCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000 W·hNo fixed default; report the current vehicle valueRVO
0x0002Maximum Valuefloat1000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

VehicleDischargeableCapacityPercent Trait​

The vehicle battery dischargeable capacity percentage represents the ratio of the capacity available for discharge to its percentage baseline, in %.

Trait IDCode
0x521AVehicleDischargeableCapacityPercent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-100 %No fixed default; report the current vehicle valueRVO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

VehicleDischargeableRemainingCapacity Trait​

The vehicle battery remaining dischargeable capacity represents the energy that can still be discharged from the vehicle battery, in W·h.

Trait IDCode
0x521BVehicleDischargeableRemainingCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000 W·hNo fixed default; report the current vehicle valueRVO
0x0002Maximum Valuefloat1000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

VehicleDischargeableRemainingCapacityPercent Trait​

The vehicle battery remaining dischargeable capacity percentage represents the ratio of the remaining dischargeable energy to its percentage baseline, in %.

Trait IDCode
0x521CVehicleDischargeableRemainingCapacityPercent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-100 %No fixed default; report the current vehicle valueRVO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

VehicleUsedCapacity Trait​

The vehicle battery used capacity represents the energy capacity consumed from the vehicle battery, in W·h.

Trait IDCode
0x521DVehicleUsedCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000 W·hNo fixed default; report the current vehicle valueRVO
0x0002Maximum Valuefloat1000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

VehicleUsedCapacityPercent Trait​

The vehicle battery used capacity percentage represents the ratio of consumed energy to its percentage baseline, in %.

Trait IDCode
0x521EVehicleUsedCapacityPercent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-100 %No fixed default; report the current vehicle valueRVO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

EVSERatedChargingCapability Trait​

The charger rated charging capacity represents the nominal maximum charging power of the device, in W.

Trait IDCode
0x521FEVSERatedChargingCapability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-5000000 WNo fixed default; determined by the product specificationRVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

EVSERatedDischargingCapability Trait​

The discharger rated discharging capacity represents the nominal maximum discharging power of the device, in W.

Trait IDCode
0x5220EVSERatedDischargingCapability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-5000000 WNo fixed default; determined by the product specificationRVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

MinDischargeCurrent Trait​

MinDischargeCurrent represents the minimum current the vehicle is allowed to discharge, in A.

Trait IDCode
0x5221MinDischargeCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-10000 A0RVO
0x0002Maximum Valuefloat10000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.001RO

MaxDischargeCurrent Trait​

MaxDischargeCurrent represents the maximum current the vehicle is allowed to discharge, in A.

Trait IDCode
0x5222MaxDischargeCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-10000 A0RVO
0x0002Maximum Valuefloat10000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.001RO

EVSEChargeDischargePower Trait​

The instantaneous charge/discharge power of the charge/discharge machine is represented by a signed value, in W; a positive value indicates charging, a negative value indicates discharging.

Trait IDCode
0x5223EVSEChargeDischargePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat-5000000-5000000 W0RVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat-5000000RO
0x0005Step Valuefloat0.1RO

EVSEChargeDischargeCurrent Trait​

The instantaneous charge/discharge current of the charge/discharge machine is represented by a signed value, in A; a positive value indicates charging, a negative value indicates discharging.

Trait IDCode
0x5224EVSEChargeDischargeCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat-10000-10000 A0RVO
0x0002Maximum Valuefloat10000RO
0x0003Minimum Valuefloat-10000RO
0x0005Step Valuefloat0.001RO

EVSEChargeDischargeVoltage Trait​

The instantaneous charge/discharge voltage of the charge/discharge machine represents the current voltage reported by the device, in V.

Trait IDCode
0x5225EVSEChargeDischargeVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000 VNo fixed default; report the current valueRVO
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

EVSERatedVoltage Trait​

The charge/discharge machine rated voltage represents the nominal working voltage of the device, in V.

Trait IDCode
0x5226EVSERatedVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000 VNo fixed default; determined by the product specificationRVO
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

VehicleChargingAmountSetting Trait​

The vehicle charging amount setting represents the target charging energy, in W·h.

Trait IDCode
0x5227VehicleChargingAmountSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320-1000000000 W·hNo fixed default; report the current settingRVWO
0x0002Maximum Valueuint321000000000RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

VehicleChargingAmountPercentSetting Trait​

The vehicle charging amount percentage setting represents the ratio of the target charging amount to the capacity baseline, in %.

Trait IDCode
0x5228VehicleChargingAmountPercentSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-100 %No fixed default; report the current settingRVWO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

VehicleChargingPowerSetting Trait​

The vehicle charging power setting represents the target charging power, in W.

Trait IDCode
0x5229VehicleChargingPowerSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320-5000000 WNo fixed default; report the current settingRVWO
0x0002Maximum Valueuint325000000RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

VehicleDischargingPowerSetting Trait​

The vehicle discharging power setting represents the target discharging power, in W.

Trait IDCode
0x522AVehicleDischargingPowerSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320-5000000 WNo fixed default; report the current settingRVWO
0x0002Maximum Valueuint325000000RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

VehicleChargingCurrentSetting Trait​

The vehicle charging current setting represents the target charging current, in A.

Trait IDCode
0x522BVehicleChargingCurrentSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-10000 ANo fixed default; report the current settingRVWO
0x0002Maximum Valuefloat10000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.001RO

VehicleDischargingCurrentSetting Trait​

The vehicle discharging current setting represents the target discharging current, in A.

Trait IDCode
0x522CVehicleDischargingCurrentSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-10000 ANo fixed default; report the current settingRVWO
0x0002Maximum Valuefloat10000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.001RO

EVSEIndependentRatedVoltage Trait​

The standalone rated voltage represents the nominal output voltage of the EVSE when operating standalone, in V.

Trait IDCode
0x522DEVSEIndependentRatedVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000 VNo fixed default; determined by the product specificationRVO
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ChargerDischargerType Trait​

The charge/discharge machine type represents the category name of the charging/discharging device displayed externally. This Trait retains the type text provided by the device and is not used as an operating state.

Trait IDCode
0x5240ChargerDischargerType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringCategory name defined by the deviceNo fixed defaultRVO

Command Definitions​

Command IDNameConformance
0x9C4BDisableChargingM
0x9C4AEnableChargingM
0x9C4CEnableChargingUntilO

DisableCharging Command​

DisableCharging Command.

This Command has no parameters.

EnableCharging Command​

EnableCharging Command.

This Command has no parameters.

EnableChargingUntil Command​

EnableChargingUntil Command.

Parameters​

EnableChargingUntil Command Structure

VacuumRunMode​

Introduction​

Controls the robot vacuum run mode, such as auto, edge, spot, etc.

Function Identification​

Function IDCodeName
0x00C4VacuumRunModeRobot vacuum run mode

Trait​

Trait IDCodeNameConformance
0x4E4ECurrentModeCurrent modeM
0x4E4FChangeToModeResponseMode change feedbackM

Command​

Command IDCodeNameConformance
0x9C4DChangeToModeChange modeM

Data Types​

ChangeToModeResponseEnum16 Type​

This enumeration defines the valid values of the Present Value of the ChangeToModeResponse Trait.

ValueNameDescription
0x00SuccessSuccess
0x01UnsupportedModeUnsupported mode
0x02GenericFailureGeneral failure
0x03InvalidInModeInvalid in mode
0x41StuckStuck
0x42DustBinMissingDust bin missing
0x43DustBinFullDust bin full
0x44WaterTankEmptyWater tank empty
0x45WaterTankMissingWater tank missing
0x46WaterTankLidOpenWater tank lid not closed
0x47MopCleaningPadMissingMop cleaning pad missing
0x48BatteryLowBattery low
ChangeToMode Command Structure Type​

Parameter structure of the ChangeToMode Command.

Struct Member No.Field NameTypeMandatoryDescription
0CurrentModeuint16MCurrent mode.

Trait Definitions​

Trait IDNameConformance
0x4E4ECurrentModeM
0x4E4FChangeToModeResponseM

CurrentMode Trait​

CurrentMode represents the current working state or setting of the device, with values from a predefined set of options.

Trait IDCode
0x4E4ECurrentMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueenum80RVM
0x0002Maximum Valueenum8255RO
0x0003Minimum Valueenum80RO
0x0007Default Valueenum80RWO

ChangeToModeResponse Trait​

ChangeToModeResponse is a response message or state indicating the result of a request to switch the device to a specific mode.

Trait IDCode
0x4E4FChangeToModeResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueChangeToModeResponseEnum160RVM
0x0006Supported Valuelist[ChangeToModeResponseEnum16]RO
0x0007Default Valueuint160RWO

Command Definitions​

Command IDNameConformance
0x9C4DChangeToModeM

ChangeToMode Command​

ChangeToMode is used to set the device mode.

Parameters​

ChangeToMode Command Structure

VacuumCleanMode​

Introduction​

Controls the robot vacuum cleaning mode, such as standard, strong, quiet, etc.

Function Identification​

Function IDCodeName
0x00C5VacuumCleanModeRobot vacuum cleaning mode

Trait​

Trait IDCodeNameConformance
0x4E4ECurrentModeCurrent modeM
0x4E4FChangeToModeResponseMode change feedbackM

Command​

Command IDCodeNameConformance
0x9C4DChangeToModeChange modeM

Data Types​

ChangeToModeResponseEnum16 Type​

This enumeration defines the valid values of the Present Value of the ChangeToModeResponse Trait.

ValueNameDescription
0x00SuccessSuccess
0x01UnsupportedModeUnsupported mode
0x02GenericFailureGeneral failure
0x03InvalidInModeInvalid in mode
0x41StuckStuck
0x42DustBinMissingDust bin missing
0x43DustBinFullDust bin full
0x44WaterTankEmptyWater tank empty
0x45WaterTankMissingWater tank missing
0x46WaterTankLidOpenWater tank lid not closed
0x47MopCleaningPadMissingMop cleaning pad missing
0x48BatteryLowBattery low
ChangeToMode Command Structure Type​

Parameter structure of the ChangeToMode Command.

Struct Member No.Field NameTypeMandatoryDescription
0CurrentModeuint16MCurrent mode.

Trait Definitions​

Trait IDNameConformance
0x4E4ECurrentModeM
0x4E4FChangeToModeResponseM

CurrentMode Trait​

CurrentMode represents the current working state or setting of the device, with values from a predefined set of options.

Trait IDCode
0x4E4ECurrentMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueenum80RVM
0x0002Maximum Valueenum8255RO
0x0003Minimum Valueenum80RO
0x0007Default Valueenum80RWO

ChangeToModeResponse Trait​

ChangeToModeResponse is a response message or state indicating the result of a request to switch the device to a specific mode.

Trait IDCode
0x4E4FChangeToModeResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueChangeToModeResponseEnum160RVM
0x0006Supported Valuelist[ChangeToModeResponseEnum16]RO
0x0007Default Valueuint160RWO

Command Definitions​

Command IDNameConformance
0x9C4DChangeToModeM

ChangeToMode Command​

ChangeToMode is used to set the device mode.

Parameters​

ChangeToMode Command Structure

TemperatureControl​

Introduction​

Provides temperature setting and adjustment capability for target temperature control of constant-temperature devices.

Function Identification​

Function IDCodeName
0x00C6TemperatureControlTemperature control

Trait​

Trait IDCodeNameConformance
0x4E5CSetTemperatureLevelSet temperature levelO
0x4E5BSetTemperatureSet temperatureO

Command​

Command IDCodeNameConformance
0x9C4FChangeTemperatureLevelChange temperature levelO
0x9C4EChangeTemperatureChange temperatureO

Data Types​

ChangeTemperatureLevel Command Structure Type​

Parameter structure of the ChangeTemperatureLevel Command.

Struct Member No.Field NameTypeMandatoryDescription
0SetTemperatureLeveluint8MSet temperature level; default value is 0.
ChangeTemperature Command Structure Type​

Parameter structure of the ChangeTemperature Command.

Struct Member No.Field NameTypeMandatoryDescription
0SetTemperaturefloatMSet temperature; default value is 20.

Trait Definitions​

Trait IDNameConformance
0x4E5CSetTemperatureLevelO
0x4E5BSetTemperatureO

SetTemperatureLevel Trait​

SetTemperatureLevel allows the user to adjust the temperature to preset levels. Parameter Supported Values indicates the list of supported levels.

Trait IDCode
0x4E5CSetTemperatureLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO
0x0006Supported Valuelist[characterString]RO
0x0007Default Valueuint80RWO

SetTemperature Trait​

SetTemperature allows the user to specify and adjust the target temperature of the device or system. Unit: deg C.

Trait IDCode
0x4E5BSetTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat20RVWO
0x0002Maximum Valuefloat32RO
0x0003Minimum Valuefloat5RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat20RWO

Command Definitions​

Command IDNameConformance
0x9C4FChangeTemperatureLevelO
0x9C4EChangeTemperatureO

ChangeTemperatureLevel Command​

Allows the user to adjust the temperature to preset levels. Parameter Supported Values indicates the list of supported temperature levels.

Parameters​

ChangeTemperatureLevel Command Structure

ChangeTemperature Command​

ChangeTemperature allows the user to specify and adjust the target temperature of the device or system.

Parameters​

ChangeTemperature Command Structure

MediaInput​

Introduction​

Describes media input source management and switching, supporting selection of the current playback source and the input list.

Function Identification​

Function IDCodeName
0x00C7MediaInputPlayback source

Trait​

Trait IDCodeNameConformance
0x4E5EMediaInputPlayback sourceM

Command​

Command IDCodeNameConformance
0x9C53SelectInputSelect playback sourceM

Data Types​

SelectInput Command Structure Type​

Parameter structure of the SelectInput Command.

Struct Member No.Field NameTypeMandatoryDescription
0MediaInputuint8MInput source; default value is 0.

Trait Definitions​

Trait IDNameConformance
0x4E5EMediaInputM

MediaInput Trait​

MediaInput provides the list of available input sources and provides select and rename commands.

Trait IDCode
0x4E5EMediaInput
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueenum80RVWM
0x0007Default Valueenum80RWO

Command Definitions​

Command IDNameConformance
0x9C53SelectInputM

SelectInput Command​

This Command is used to perform the "select playback source" operation.

Parameters​

SelectInput Command Structure

HEPAFilterMonitoring​

Introduction​

Monitors HEPA filter usage, remaining life and replacement reminders.

Function Identification​

Function IDCodeName
0x00C8HEPAFilterMonitoringHEPA filter monitoring

Trait​

Trait IDCodeNameConformance
0x4E49ChangeIndicationFilter life stateM
0x4E48ConditionFilter remaining lifeO

Command​

Command IDCodeNameConformance
0x9C46ResetConditionReset filterO

Data Types​

ChangeIndicationEnum8 Type​

This enumeration defines the valid values of the Present Value of the ChangeIndication Trait.

ValueNameDescription
0x00OKOK
0x01WarmingWarning
0x02CriticalCritical

Trait Definitions​

Trait IDNameConformance
0x4E49ChangeIndicationM
0x4E48ConditionO

ChangeIndication Trait​

ChangeIndication defines the state of the filter life.

Trait IDCode
0x4E49ChangeIndication
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueChangeIndicationEnum80RVM
0x0006Supported Valuelist[ChangeIndicationEnum8]RO
0x0007Default Valueuint80RWO

Condition Trait​

Represents the remaining life of the filter, as a percentage %.

Trait IDCode
0x4E48Condition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat100RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat100RWO

Command Definitions​

Command IDNameConformance
0x9C46ResetConditionO

ResetCondition Command​

ResetCondition indicates resetting the filter.

This Command has no parameters.

ActivatedCarbonFilterMonitoring​

Introduction​

Monitors activated carbon filter usage, remaining life and replacement reminders.

Function Identification​

Function IDCodeName
0x00C9ActivatedCarbonFilterMonitoringActivated carbon filter monitoring

Trait​

Trait IDCodeNameConformance
0x4E49ChangeIndicationFilter life stateM
0x4E48ConditionFilter remaining lifeO

Command​

Command IDCodeNameConformance
0x9C46ResetConditionReset filterO

Data Types​

ChangeIndicationEnum8 Type​

This enumeration defines the valid values of the Present Value of the ChangeIndication Trait.

ValueNameDescription
0x00OKOK
0x01WarmingWarning
0x02CriticalCritical

Trait Definitions​

Trait IDNameConformance
0x4E49ChangeIndicationM
0x4E48ConditionO

ChangeIndication Trait​

ChangeIndication defines the state of the filter life.

Trait IDCode
0x4E49ChangeIndication
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueChangeIndicationEnum80RVM
0x0006Supported Valuelist[ChangeIndicationEnum8]RO
0x0007Default Valueuint80RWO

Condition Trait​

Represents the remaining life of the filter, as a percentage %.

Trait IDCode
0x4E48Condition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat100RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat100RWO

Command Definitions​

Command IDNameConformance
0x9C46ResetConditionO

ResetCondition Command​

ResetCondition indicates resetting the filter.

This Command has no parameters.

ThreadBorderRouter​

Introduction​

Manages the operation and configuration of the Thread border router and the Thread network it carries.

Function Identification​

Function IDCodeName
0x00CAThreadBorderRouterBorder router

Trait​

Trait IDCodeNameConformance
0x4E5FBorderRouterNameBorder router nameM
0x4E60BorderAgentIDBorder router IDM
0x4E61ThreadVersionThread versionM
0x4E62InterfaceEnabledInterface enableM
0x4E63ActiveDatasetTimestampActive dataset timestampM
0x4E64PendingDatasetTimestampPending dataset timestampM
0x4E65DatasetResponseDataset responseO

Command​

Command IDCodeNameConformance
0x9C55GetActiveDatasetRequestRequest Active datasetO
0x9C56GetPendingDatasetRequestRequest Pending datasetO
0x9C57SetActiveDatasetRequestSet Active dataset requestO
0x9C58SetPendingDatasetRequestSet Pending dataset requestO

Data Types​

SetActiveDatasetRequest Command Structure Type​

Parameter structure of the SetActiveDatasetRequest Command.

Struct Member No.Field NameTypeMandatoryDescription
0ActiveDatasetcharacterStringMActive dataset.
SetPendingDatasetRequest Command Structure Type​

Parameter structure of the SetPendingDatasetRequest Command.

Struct Member No.Field NameTypeMandatoryDescription
0PendingDatasetcharacterStringMPending dataset.

Trait Definitions​

Trait IDNameConformance
0x4E5FBorderRouterNameM
0x4E60BorderAgentIDM
0x4E61ThreadVersionM
0x4E62InterfaceEnabledM
0x4E63ActiveDatasetTimestampM
0x4E64PendingDatasetTimestampM
0x4E65DatasetResponseO

BorderRouterName Trait​

This Trait is used for access to and reporting of "border router name" data.

Trait IDCode
0x4E5FBorderRouterName
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVM

BorderAgentID Trait​

The unique ID of the Thread border router device.

Trait IDCode
0x4E60BorderAgentID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuestring320RVM
0x0007Default Valuestring320RWO

ThreadVersion Trait​

The Thread version of the border router.

Trait IDCode
0x4E61ThreadVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint160RWO

InterfaceEnabled Trait​

Whether the Thread interface is enabled.

Trait IDCode
0x4E62InterfaceEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVM
0x0007Default Valueboolean1RWO

ActiveDatasetTimestamp Trait​

The timestamp extracted from the Active Dataset value of the Thread node configuration to which the border router is connected.

Trait IDCode
0x4E63ActiveDatasetTimestamp
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVM
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0007Default Valueuint640RWO
0x000DIs NullbooleanFalseRVO

PendingDatasetTimestamp Trait​

The timestamp extracted from the Pending Dataset value of the Thread node configuration to which the border router is connected.

Trait IDCode
0x4E64PendingDatasetTimestamp
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVM
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0007Default Valueuint640RWO
0x000DIs NullbooleanFalseRVO

DatasetResponse Trait​

If no dataset is configured (as requested by the active or pending dataset), this field should be set to empty.

Trait IDCode
0x4E65DatasetResponse
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterString0RVO
0x0007Default ValuecharacterString0RWO
0x000DIs NullbooleanFalseRVO

Command Definitions​

Command IDNameConformance
0x9C55GetActiveDatasetRequestO
0x9C56GetPendingDatasetRequestO
0x9C57SetActiveDatasetRequestO
0x9C58SetPendingDatasetRequestO

GetActiveDatasetRequest Command​

This Command is used to perform the "request Active dataset" operation.

This Command has no parameters.

GetPendingDatasetRequest Command​

This Command is used to perform the "request Pending dataset" operation.

This Command has no parameters.

SetActiveDatasetRequest Command​

This Command is used to perform the "set Active dataset request" operation.

Parameters​

SetActiveDatasetRequest Command Structure

SetPendingDatasetRequest Command​

This Command is used to perform the "set Pending dataset request" operation.

Parameters​

SetPendingDatasetRequest Command Structure

ThemePack​

Introduction​

Manages device theme pack resources, including theme download, switching and version information.

Function Identification​

Function IDCodeName
0x00CBThemePackTheme pack

Trait​

Trait IDCodeNameConformance
0x4E78ThemeIDTheme IDM
0x4E77ThemeVersionTheme versionM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4E78ThemeIDM
0x4E77ThemeVersionM

ThemeID Trait​

This Trait is used for access to and reporting of "theme ID" data.

Trait IDCode
0x4E78ThemeID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0007Default Valueuint161RWO

ThemeVersion Trait​

Theme version.

Trait IDCode
0x4E77ThemeVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO
0x0007Default Valueuint161RWO

Command Definitions​

This Function does not contain Commands.

WiFiNetworkDiagnostics​

Introduction​

Provides standardized Wi-Fi network diagnostic metrics to assist in troubleshooting connection quality and link state.

Function Identification​

Function IDCodeName
0x00CCWiFiNetworkDiagnosticsWiFi network diagnostics

Trait​

Trait IDCodeNameConformance
0x0013CurrentMaxRateCurrent maximum rateO
0x0012PacketUnicastTxCountUnicast packet transmitted countO
0x0011PacketUnicastRxCountUnicast packet received countO
0x0010PacketMulticastTxCountMulticast packet transmitted countO
0x000FPacketMulticastRxCountMulticast packet received countO
0x000EBeaconLostCountBeacon lost countO
0x000DWiFiVersionWiFi versionO
0x000CSecurityTypeSecurity typeO
0x4E7BBSSIDBSSIDO
0x4E2COverrunCountOverrun packet lost countO
0x0014NetworksNetwork nameO
0x0015SupportedWiFiBandsSupported WiFi bandsO

Command​

Command IDCodeNameConformance
0x9C68ResetCountsReset countsO

Data Types​

WiFiVersionEnum8 Type​

This enumeration defines the valid values of the Present Value of the WiFiVersion Trait.

ValueNameDescription
0x00aa
0x01bb
0x02gg
0x03nn
0x04acac
0x05axax
0x06ahah
SecurityTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the SecurityType Trait.

ValueNameDescription
0x00UnspecifiedUnspecified
0x01NoneNone
0x02WEPWEP
0x03WPAWPA
0x04WPA2WPA2
0x05WPA3WPA3
NetworksTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the Networks Trait.

Struct Member No.Field NameTypeMandatoryDescription
0NetworkIDcharacterStringMNetwork identifier. SSID for Wi-Fi; Extended PAN ID for Thread; OS network interface name for Ethernet. Maximum length 32 bytes.
1ConnectedbooleanMWhether this network is connected. Wi-Fi: associated with an AP; Ethernet: link active; Thread: in an operational mesh.

Trait Definitions​

Trait IDNameConformance
0x0013CurrentMaxRateO
0x0012PacketUnicastTxCountO
0x0011PacketUnicastRxCountO
0x0010PacketMulticastTxCountO
0x000FPacketMulticastRxCountO
0x000EBeaconLostCountO
0x000DWiFiVersionO
0x000CSecurityTypeO
0x4E7BBSSIDO
0x4E2COverrunCountO
0x0014NetworksO
0x0015SupportedWiFiBandsO

CurrentMaxRate Trait​

Indicates the current maximum PHY rate of data transmission (bits per second).

Trait IDCode
0x0013CurrentMaxRate
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVO
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint321RO

PacketUnicastTxCount Trait​

PacketUnicastTxCount should indicate the number of unicast packets transmitted by the node.

Trait IDCode
0x0012PacketUnicastTxCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

PacketUnicastRxCount Trait​

PacketUnicastRxCount should indicate the number of unicast packets received by the node.

Trait IDCode
0x0011PacketUnicastRxCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

PacketMulticastTxCount Trait​

PacketMulticastTxCount should indicate the number of multicast packets transmitted by the node.

Trait IDCode
0x0010PacketMulticastTxCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

PacketMulticastRxCount Trait​

Indicates the number of multicast packets received by the node.

Trait IDCode
0x000FPacketMulticastRxCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

BeaconLostCount Trait​

BeaconLostCount should indicate the number of beacons lost as detected by the node.

Trait IDCode
0x000EBeaconLostCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

WiFiVersion Trait​

WiFiVersion should indicate the version of the 802.11 standard currently used by the node.

Trait IDCode
0x000DWiFiVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWiFiVersionEnum80RVO
0x0006Supported Valuelist[WiFiVersionEnum8]RO

SecurityType Trait​

SecurityType should indicate the Wi-Fi security type currently in use.

Trait IDCode
0x000CSecurityType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSecurityTypeEnum80RVO
0x0006Supported Valuelist[SecurityTypeEnum8]RO
0x0007Default Valueuint80RWO

BSSID Trait​

BSSID should indicate the BSSID of the Wi-Fi network the node is currently connected to.

Trait IDCode
0x4E7BBSSID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

OverrunCount Trait​

The number of packets discarded at ingress or egress because the buffer memory was insufficient to hold all packets.

Trait IDCode
0x4E2COverrunCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVO
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO

Networks Trait​

The Networks Trait should indicate the network configurations available on the network interface.

Trait IDCode
0x0014Networks
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[NetworksTraitPresentValueStructure]RVO

SupportedWiFiBands Trait​

SupportedWiFiBands should indicate all bands supported by the configured Wi-Fi interface.

Trait IDCode
0x0015SupportedWiFiBands
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

Command Definitions​

Command IDNameConformance
0x9C68ResetCountsO

ResetCounts Command​

Receiving this command should reset the following attributes to 0:

This Command has no parameters.

ZigbeeNetworkDiagnostics​

Introduction​

Provides Zigbee network diagnostics capability, including channel, PAN, neighbor and routing information.

Function Identification​

Function IDCodeName
0x00CDZigbeeNetworkDiagnosticsZigbee network diagnostics

Trait​

Trait IDCodeNameConformance
0x4E84ZigbeeNextHopMacZigbee MAC address of the next-hop downstream deviceO
0x4F53ZigbeeKeySeqNumberZigbee network key sequence numberO
0x4F4CZigbeeCoordNetworkKeyZigbee coordinator network keyO
0x4F4DZigbeeCoordMacZigbee coordinator MAC addressO
0x8149RebootReasonReboot reasonO
0x4EA9PreOperationModeZigbee device previous operation modeO
0x4E9BAPSRetransmissionCountAPS layer retransmission countO
0x4EA5MACRetransmissionCountMAC layer retransmission countO
0x4EA8NWKRetransmissionCountNetwork layer retransmission countO
0x4EA7RoutingAgingCountThresholdRouting aging count thresholdO
0x4EA6MessageTransmissionFailureCountThresholdMessage transmission failure count thresholdO
0x4EA2EnableNWKACKNetwork layer retransmission enable configurationO
0x4E9FEnableAPSACKAPS acknowledgment enable configurationO
0x4E9DCurOperationModeZigbee device operation modeO
0x4E9CCCAModeCCA modeO
0x4E93ZigbeeTotalMessageInOneHourTotal Zigbee messages sent within 1 hourO
0x4E92ZigbeeResentMessageInOneHourZigbee messages resent within 1 hourO
0x4E91ZigbeeFrameCounterZigbee frame counterO
0x4E8FZigbeeAvgSuccessfulResendCountZigbee average successful resend countO
0x4E90ZigbeeFailedMessageInOneHourZigbee messages failed to send within 1 hourO
0x5130ZigbeeNeighborInfoZigbee neighbor informationO
0x8121ZigbeeDeviceInformationZigbee device identity and installation informationO
0x4E8DZigbeeGeneralDiagnosticsZigbee device general diagnostics information reportO
0x8153LQILink quality indicatorO
0x814BPANIDPersonal area network identifierO
0x814AChannelRadio channelO
0x4FA7ZigbeeExtendedPANIDZigbee network extended identifierO
0x50FEDeviceUnbindReasonDevice unbind reasonO

Command​

This Function does not contain Commands.

Data Types​

RebootReasonEnum8 Type​

This enumeration defines the valid values of the Present Value of the RebootReason Trait.

ValueNameDescription
0x00UnspecifiedUnknown
0x01PowerOnRebootPower-on reboot
0x02BrownOutResetLow-voltage reset
0x03SoftwareWatchdogResetSoftware watchdog reset
0x04HardwareWatchdogResetHardware watchdog reset
0x05SoftwareUpdateCompletedSoftware update completed
0x06SoftwareResetSoftware reboot
PreOperationModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the PreOperationMode Trait.

ValueNameDescription
0x00UnjoinedModeNot joined mode
0x01NewlyJoinedModeNewly joined mode
0x02PollingModeWarehouse polling mode
0x03UserModeUser mode
0x04DegradedModeSub-health mode
0x05RejoinModeWarehouse reconnection mode
CurOperationModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the CurOperationMode Trait.

ValueNameDescription
0x00UnjoinedModeNot joined mode
0x01NewlyJoinedModeNewly joined mode
0x02PollingModeWarehouse polling mode
0x03UserModeUser mode
0x04DegradedModeSub-health mode
0x05RejoinModeWarehouse reconnection mode
CCAModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the CCAMode Trait.

ValueNameDescription
0x00CCA1CCA1 mode
0x01CCA1CCA2 mode
ZigbeeNeighborInfo Type​

This structure defines the information of a single Zigbee neighbor node.

IDNameTypeConstraintQualityDefaultAccessConformance
0x0000 sNeighborAddruint16RO
0x0001 sNeighborDescriptoruint8RO
0x0002 sNeighborLqiuint8RO
NeighborAddr Field​

This field should specify the network address of the Zigbee neighbor node.

NeighborDescriptor Field​

This field should specify the descriptor byte of the Zigbee neighbor node. It is an 8-bit unsigned integer that combines the three parts of information, DeviceType, RxOnWhenIdle and Relationship, encoded into the same byte.

	7         6   5   4      3   2      1    0
+--------+------------+------------+----------+
|Reserved|Relationship|RxOnWhenIdle|DeviceType|
| 1 bit | 3 bit | 2 bit | 2 bit |
+--------+------------+------------+----------+
Relationship Field​

This field should specify the relationship between the Zigbee neighbor node and the current device.

ValueNameSummaryConformance
0x00 sParentParent node of the current deviceM
0x01 sChildChild node of the current deviceM
0x02 sSiblingPeer node of the current deviceM
0x03 sUnknownUnknown relationshipM
RxOnWhenIdle Field​

This field should specify whether the neighbor node keeps its receiver on when idle.

ValueNameSummaryConformance
0x00 sRX on when idleKeep receiver on when idleM
0x01 sRX off when idleTurn receiver off when idleM
DeviceType Field​

This field should specify the neighbor node type.

ValueNameSummaryConformance
0x00 sCoordinatorCoordinatorM
0x01 sRouterRouterM
0x02 sEndDeviceEnd deviceM
0x03 sUnknownUnknown typeM
NeighborLqi Field​

This field should specify the Link Quality Indicator (LQI) value of the Zigbee neighbor node.

DeviceUnbindReasonTypeEnum8 Type​

This enumeration defines the valid values of the Type field in the DeviceUnbindReason structure.

ValueNameDescription
0x00NoneNo reason
0x01UserManualResetUser manually reset the device
0x02CloudDeleteCloud deletion and unbind
0x03GatewayActiveDeleteGateway proactively deleted and unbound
0x04ChildCountExceedSub-device count limit exceeded
0x05BatchAddExceedBatch add limit exceeded
0x06PollingTimeoutPolling timeout
0x07IeeeAddressNotFoundIEEE address not found
0x08DeviceAnnounceMissedDevice Announce not received
DeviceUnbindReasonTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the DeviceUnbindReason Trait.

Struct Member No.Field NameTypeMandatoryDescription
0TypeDeviceUnbindReasonTypeEnum8MUnbind operation type.
1Timeuint32MOffline/unbind event occurrence time (UTC second-level timestamp).
2PrevDelbooleanMWhether delete protection is enabled.
3DidcharacterStringODID of the removed sub-device.
4ModelcharacterStringOModel of the removed sub-device.

Trait Definitions​

Trait IDNameConformance
0x4E84ZigbeeNextHopMacO
0x4F53ZigbeeKeySeqNumberO
0x4F4CZigbeeCoordNetworkKeyO
0x4F4DZigbeeCoordMacO
0x8149RebootReasonO
0x4EA9PreOperationModeO
0x4E9BAPSRetransmissionCountO
0x4EA5MACRetransmissionCountO
0x4EA8NWKRetransmissionCountO
0x4EA7RoutingAgingCountThresholdO
0x4EA6MessageTransmissionFailureCountThresholdO
0x4EA2EnableNWKACKO
0x4E9FEnableAPSACKO
0x4E9DCurOperationModeO
0x4E9CCCAModeO
0x4E93ZigbeeTotalMessageInOneHourO
0x4E92ZigbeeResentMessageInOneHourO
0x4E91ZigbeeFrameCounterO
0x4E8FZigbeeAvgSuccessfulResendCountO
0x4E90ZigbeeFailedMessageInOneHourO
0x5130ZigbeeNeighborInfoO
0x8121ZigbeeDeviceInformationO
0x4E8DZigbeeGeneralDiagnosticsO
0x8153LQIO
0x814BPANIDO
0x814AChannelO
0x4FA7ZigbeeExtendedPANIDO
0x50FEDeviceUnbindReasonO

ZigbeeNextHopMac Trait​

Defines the Zigbee MAC address of the next-hop device.

Trait IDCode
0x4E84ZigbeeNextHopMac
Parameters​

This Function has no additional parameters.

Detailed Description​

ZigbeeNetworkDiagnostics is used to summarize diagnostic data such as Zigbee network operating state, link quality, retransmission statistics, neighbor/routing information and reboot reasons.

The goal of this Function is to help gateways, debugging tools and cloud diagnostic systems quickly locate link degradation, joining anomalies, reboot anomalies, message failures and neighbor relationship changes in the Zigbee network.

Applicability​

This Function applies to devices that act as management nodes of the Zigbee network, usually gateways, coordinators, or public nodes with network proxy/diagnostics capability.

When a device does not have a full Zigbee network management view, it may implement only the subset of Traits consistent with its own visible network state, but should ensure that the implemented Traits are semantically complete, value-consistent and can be reported stably.

Semantic Conventions​

  • RebootReason should reflect the reason for the most recent startup or reboot.
  • PreOperationMode should reflect the network stage the device was in before entering the current working state.
  • CurOperationMode should reflect the current Zigbee network operating state of the device.
  • PANID, Channel, ZigbeeExtendedPANID should describe the Zigbee network identifier the device is currently joined to or managing.
  • ZigbeeNeighborInfo and ZigbeeGeneralDiagnostics should carry the neighbor information list and general diagnostic statistics respectively; if the device internally uses finer-grained diagnostic metrics, they should also be organized through the structured values of these two Traits.
  • ZigbeeDeviceInformation should carry the device's Zigbee identity and installation information; InstallCode belongs to the commissioning-secret and SHALL NOT be read back through normal diagnostic interfaces.

Trait Usage Recommendations​

ZigbeeNextHopMac, ZigbeeKeySeqNumber, ZigbeeCoordNetworkKey, ZigbeeCoordMac, ZigbeeDeviceInformation are more oriented toward network security and network identity information; RebootReason, PreOperationMode, CurOperationMode are more oriented toward system state; APSRetransmissionCount, MACRetransmissionCount, NWKRetransmissionCount, RoutingAgingCountThreshold, MessageTransmissionFailureCountThreshold, EnableNWKACK, EnableAPSACK, CCAMode are more oriented toward link policy; ZigbeeTotalMessageInOneHour, ZigbeeResentMessageInOneHour, ZigbeeFrameCounter, ZigbeeAvgSuccessfulResendCount, ZigbeeFailedMessageInOneHour are more oriented toward operation statistics; ZigbeeNeighborInfo, ZigbeeGeneralDiagnostics, LQI, PANID, Channel, ZigbeeExtendedPANID are more oriented toward network observation values.

Data Update Principles​

  • Counter-type Traits should monotonically increase during device operation or refresh as defined by the implementation, but should not regress without cause.
  • Network identifier-type Traits can be updated after network rejoin, network switching or rejoining.
  • Enumeration-type Traits should always fall within their declared valid enumeration set.
  • If the device temporarily cannot collect a certain diagnostic value, it should use the null value, default value or implementation-defined unavailable semantics allowed by the Trait definition, and should not output out-of-range values.

Relationship with Upper-Layer Systems​

Cloud or local debugging tools can judge the following based on these Traits:

  • Whether the device has successfully joined the Zigbee network.
  • Whether the current Zigbee network has a large number of retransmissions, failures or routing aging.
  • Whether the neighbor table shows abnormal growth, loss or link quality degradation.
  • Whether the device has experienced abnormal reboots, watchdog resets or software upgrade reboots.
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ZigbeeKeySeqNumber Trait​

Represents the network key sequence number currently used by the Zigbee coordinator, used to identify the key version. During Magic Pair joining, the gateway reports this attribute to the cloud or App, and the joining device must obtain the sequence number and configure it locally to ensure secure communication using the same network key as the coordinator. Default value is 0.

Trait IDCode
0x4F53ZigbeeKeySeqNumber
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO
0x0007Default Valueuint80RWO

ZigbeeCoordNetworkKey Trait​

Used to represent the network key of the Zigbee coordinator.

Trait IDCode
0x4F4CZigbeeCoordNetworkKey
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ZigbeeCoordMac Trait​

Used to represent the MAC address of the Zigbee coordinator.

Trait IDCode
0x4F4DZigbeeCoordMac
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

RebootReason Trait​

The current value should indicate the reason for the most recent startup of the device.

Trait IDCode
0x8149RebootReason
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRebootReasonEnum80RVO
0x0006Supported Valuelist[RebootReasonEnum8]RO

PreOperationMode Trait​

Represents the previous Zigbee network connection state of the device.

Trait IDCode
0x4EA9PreOperationMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePreOperationModeEnum80RVO
0x0006Supported Valuelist[PreOperationModeEnum8]RO

APSRetransmissionCount Trait​

The number of automatic retransmission attempts by the ZigBee APS layer when a data packet does not receive an acknowledgment.

Trait IDCode
0x4E9BAPSRetransmissionCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint83RVWO
0x0002Maximum Valueuint820RO
0x0003Minimum Valueuint83RO
0x0005Step Valueuint321RO
0x0007Default Valueuint83RWO

MACRetransmissionCount Trait​

Indicates the number of retransmissions at the MAC layer during packet transmission.

Trait IDCode
0x4EA5MACRetransmissionCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint83RVWO
0x0002Maximum Valueuint814RO
0x0003Minimum Valueuint83RO
0x0005Step Valueuint321RO
0x0007Default Valueuint83RWO

NWKRetransmissionCount Trait​

Indicates the number of retransmissions at the network layer during packet transmission.

Trait IDCode
0x4EA8NWKRetransmissionCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint83RVWO
0x0002Maximum Valueuint820RO
0x0003Minimum Valueuint83RO
0x0005Step Valueuint321RO
0x0007Default Valueuint83RWO

RoutingAgingCountThreshold Trait​

The aging count threshold setting for device packet routing.

Trait IDCode
0x4EA7RoutingAgingCountThreshold
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint85RVWO
0x0002Maximum Valueuint820RO
0x0003Minimum Valueuint83RO
0x0005Step Valueuint321RO
0x0007Default Valueuint85RWO

MessageTransmissionFailureCountThreshold Trait​

The threshold count setting for device packet transmission failures.

Trait IDCode
0x4EA6MessageTransmissionFailureCountThreshold
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint810RVWO
0x0002Maximum Valueuint820RO
0x0003Minimum Valueuint83RO
0x0005Step Valueuint321RO
0x0007Default Valueuint810RWO

EnableNWKACK Trait​

Toggles the option to enable network layer acknowledgment in network communication.

Trait IDCode
0x4EA2EnableNWKACK
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableAPSACK Trait​

Toggles the option to enable APS acknowledgment in network communication.

Trait IDCode
0x4E9FEnableAPSACK
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CurOperationMode Trait​

Represents the current Zigbee network connection state of the device.

Trait IDCode
0x4E9DCurOperationMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCurOperationModeEnum80RVO
0x0006Supported Valuelist[CurOperationModeEnum8]RO

CCAMode Trait​

Indicates the CCA state of the device.

Trait IDCode
0x4E9CCCAMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCCAModeEnum80RVO
0x0006Supported Valuelist[CCAModeEnum8]RO

ZigbeeTotalMessageInOneHour Trait​

Indicates the total number of Zigbee messages sent within 1 hour.

Trait IDCode
0x4E93ZigbeeTotalMessageInOneHour
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

ZigbeeResentMessageInOneHour Trait​

Represents the number of Zigbee messages resent within one hour.

Trait IDCode
0x4E92ZigbeeResentMessageInOneHour
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

ZigbeeFrameCounter Trait​

The ZigBee frame counter is a unique incrementing value appended to each data frame, used to prevent replay attacks and ensure communication security.

Trait IDCode
0x4E91ZigbeeFrameCounter
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

ZigbeeAvgSuccessfulResendCount Trait​

Indicates the average number of successful resends of Zigbee messages.

Trait IDCode
0x4E8FZigbeeAvgSuccessfulResendCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

ZigbeeFailedMessageInOneHour Trait​

Represents the number of Zigbee messages that failed to be sent within one hour.

Trait IDCode
0x4E90ZigbeeFailedMessageInOneHour
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

ZigbeeNeighborInfo Trait​

Provides a list of Zigbee neighbor node information.

Trait IDCode
0x5130ZigbeeNeighborInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[ZigbeeNeighborInfo Type]RVO

ZigbeeGeneralDiagnostics Trait​

A general reporting channel for sub-device self-diagnostic information.

Trait IDCode
0x4E8DZigbeeGeneralDiagnostics
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

LQI Trait​

Indicates the Link Quality Indicator (LQI) of the Thread network, reflecting the RF link quality between Thread devices. Range: 0-255.

Trait IDCode
0x8153LQI
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

PANID Trait​

The current value indicates the Zigbee network PAN ID.

Trait IDCode
0x814BPANID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665534RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

Channel Trait​

The current value indicates the Zigbee network channel number.

Trait IDCode
0x814AChannel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO

ZigbeeExtendedPANID Trait​

Represents the string of the 64-bit extended identifier of the Zigbee network. Together with the 16-bit PAN ID, it is used to uniquely identify the network, usually expressed as a 16-character hexadecimal string (e.g., "00124B0001234567").

Trait IDCode
0x4FA7ZigbeeExtendedPANID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

DeviceUnbindReason Trait​

Reports the device unbind reason and associated metadata (type, time, prevDel, did, model).

Trait IDCode
0x50FEDeviceUnbindReason
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDeviceUnbindReasonTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain Commands.

ZigbeeSubscribe​

Introduction​

Provides Zigbee subscription capability for recording subscribable device resources, subscription capability scope and subscription record management. This Function is mainly for gateways, bridges, or Zigbee nodes with resource proxy capability, used to establish stable mappings between external resource subscription relationships and local device resources.

This capability works together with the actual resource read/write capability of the Zigbee device: the device itself does not proactively initiate subscriptions, but passively receives subscription records, and then queries or controls the corresponding resources according to the subscription records.

Function Identification​

Function IDCodeName
0x0125ZigbeeSubscribeZigbee subscription

Trait​

Trait IDCodeNameConformance
0x5131SubscribeRecordIdSubscription record IDM
0x5132SubscribeCapabilitySubscription capabilityM

Command​

Command IDCodeNameConformance
0x9D70AddSubscribeRecordAdd subscription recordM
0x9D9DAddSubscribeRecordRspAdd subscription record responseM
0x9D97RemoveSubscribeRecordRemove subscription recordM
0x9D9ERemoveSubscribeRecordRspRemove subscription record responseM
0x9D98GetSubscribeRecordGet subscription recordM
0x9D9FGetSubscribeRecordRspGet subscription record responseM
0x9D99PublishSubscribeDataPublish subscription dataM
0x9DA0PublishSubscribeDataRspPublish subscription data responseM
0x9D9AQuerySubscribeDataQuery subscription dataM
0x9DA1QuerySubscribeDataRspQuery subscription data responseM
0x9D9BSetSubscribeDataSet subscription dataM
0x9DA2SetSubscribeDataRspSet subscription data responseM

Data Types​

SubscribeStatusCodeEnum Type​

This enumeration defines the execution results of subscription-related commands.

ValueNameDescription
0x00SuccessSuccess
0x01FailureFailure
SubscribeData Type​

This structure is used to carry resource identifiers and values.

Struct Member No.Field NameTypeMandatoryDescription
0ResourceIDuint64MResource ID (BACnet format).
1Valueoctstr16MResource value.
SubscribeCapabilityTraitPresentValueStructure Type​

This type describes the decoding semantics of the SubscribeCapability Trait. In the wire protocol, SubscribeCapability is passed through as octstr16, with the content being Header + nested CBOR Payload.

Struct Member No.Field NameTypeMandatoryDescription
0EffectDataHeaderoctstr16MEffectData header, containing protocol identifier, version and control flags.
1NestedCborPayloadoctstr16MNested CBOR payload, containing the Devices capability tree, the endpoint limit for each device type, and subscribable Aqara Spec tags.

Trait Definitions​

Trait IDNameConformance
0x5131SubscribeRecordIdM
0x5132SubscribeCapabilityM

SubscribeRecordId Trait​

Records the list of subscription record IDs currently saved by the device, for query, deletion and state synchronization.

Trait IDCode
0x5131SubscribeRecordId
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[uint32]RVM

SubscribeCapability Trait​

Defines the capability limit and resource tag set of the device for subscribable resources.

Trait IDCode
0x5132SubscribeCapability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueoctstr16Header + nested CBOR PayloadRVM

Command Definitions​

AddSubscribeRecord Command​

This command is used to request the server to add a subscription record.

Param No.Param NameTypeConformanceDescription
0SubscribeRecordoctstr16MRaw subscription record; encoding format see the SubscribeRecord Encoding specification.
AddSubscribeRecordRsp Command​

This command is used to respond to AddSubscribeRecord, indicating the result of the add operation.

Param No.Param NameTypeConformanceDescription
0StatusSubscribeStatusCodeEnumMExecution status.
1SubscribeRecordIduint32MThe subscription record ID after successful addition.
RemoveSubscribeRecord Command​

This command is used to request the server to delete the specified subscription record.

Param No.Param NameTypeConformanceDescription
0SubscribeRecordIduint32MThe subscription record ID to delete.
RemoveSubscribeRecordRsp Command​

This command is used to respond to RemoveSubscribeRecord, indicating the result of the delete operation.

Param No.Param NameTypeConformanceDescription
0StatusSubscribeStatusCodeEnumMExecution status.
GetSubscribeRecord Command​

This command is used to request the server to return the subscription record content by subscription record ID.

Param No.Param NameTypeConformanceDescription
0SubscribeRecordIduint8MThe subscription record ID to read.
GetSubscribeRecordRsp Command​

This command is used to respond to GetSubscribeRecord, returning the subscription record content.

Param No.Param NameTypeConformanceDescription
0StatusSubscribeStatusCodeEnumMExecution status.
1SubscribeRecordoctstr16MRaw subscription record.
PublishSubscribeData Command​

This command is used by the client to publish subscription data to the server.

Param No.Param NameTypeConformanceDescription
0DeviceDidoctstrMDevice Did.
1SubscribeDatalist[SubscribeDataType]MThe list of subscription data to publish.
PublishSubscribeDataRsp Command​

This command is used to respond to PublishSubscribeData, indicating the result of the publish operation.

Param No.Param NameTypeConformanceDescription
0StatusSubscribeStatusCodeEnumMExecution status.
QuerySubscribeData Command​

This command is used to request the server to query subscription data by device and resource ID list.

Param No.Param NameTypeConformanceDescription
0DeviceDidoctstrMDevice Did.
1ResourceIDlist[uint64]MThe list of resource IDs to query.
QuerySubscribeDataRsp Command​

This command is used to respond to QuerySubscribeData, returning the subscription data content.

Param No.Param NameTypeConformanceDescription
0StatusSubscribeStatusCodeEnumMExecution status.
1DeviceDidoctstrMDevice Did.
2SubscribeDatalist[SubscribeDataType]MThe list of subscription data returned by the query.
SetSubscribeData Command​

This command is used to request the server to write subscription data by device.

Param No.Param NameTypeConformanceDescription
0DeviceDidoctstrMDevice Did.
1SubscribeDatalist[SubscribeDataType]MThe list of subscription data to write.
SetSubscribeDataRsp Command​

This command is used to respond to SetSubscribeData, indicating the result of the write operation.

Param No.Param NameTypeConformanceDescription
0StatusSubscribeStatusCodeEnumMExecution status.

Semantic Notes​

  • Subscription records should use the device Did as the ownership identifier and the resource ID as the targeting target.
  • Subscription capability information should be as consistent as possible with the device's actual subscribable capability and should not exaggerate the supported scope.
  • Resource value encoding should remain reversible and stable, facilitating subsequent query and data synchronization.
  • If a record does not exist, a resource is not supported, or the data format is invalid, the related command should return a failure status.

Encoding Specifications​

SubscribeRecord Encoding Specification​

This section defines the binary encoding format of the SubscribeRecord fields in the return contents of AddSubscribeRecord and GetSubscribeRecord. The encoding uses the Header + Payload architecture, where Payload is encoded with CBOR (RFC 8949).

For the general EffectData header layout, Flags semantics, ProtocolID assignment, CBOR rules and parsing flow, see the composite data encoding protocol description in this repository. The subscription record protocol uses the following fixed parameters:

  • ProtocolID = 0x04
  • ProtocolName = SubscribeRecord
  • Version = 0
  • PayloadFormat = CBOR

The current version defines one subscription record type: subscribing to device resource values (SubscribeType = 0x00).

Overview​

The EffectData binary format consists of the following parts:

  • Header: at least 2 bytes, containing the protocol identifier, version and control flags.
  • Payload: a CBOR-encoded Map, used to describe the subscription record content.

The overall structure is as follows:

+------------------+-------+---------------+--------+---------+
| ProtocolVersion | Flags | PayloadLength | CRC16 | Payload |
| (1 byte) |(1 byte)| (opt 2B) |(opt 2B)| (CBOR) |
+------------------+-------+---------------+--------+---------+
required required optional optional required
Header Structure​
Byte 0 - ProtocolVersion​

This byte combines the Protocol ID and Version into a single encoding.

	7   6   5   4   3   2   1   0
+-------+---------------------------+
|Version| ProtocolID |
| 2 bit | 6 bit |
+-------+---------------------------+
BitsNameRangeDescription
bit 0-5ProtocolID0-63Protocol identifier, 0x04 indicates SubscribeRecord.
bit 6-7Version0-3Version number.

Encoding formula: ProtocolVersion = (Version &lt;&lt; 6) | ProtocolID

Decoding formula: ProtocolID = ProtocolVersion & 0x3F, Version = (ProtocolVersion &gt;&gt; 6) & 0x03

Byte 1 - Flags​

This byte is used to control whether optional fields exist and the Payload attributes.

	7   6   5   4   3   2   1   0
+-------+-------+---+---+---+---+
|Reserv |Format |Cmp|Enc|CRC|Len|
| 2 bit | 2 bit | 1 | 1 | 1 | 1 |
+-------+-------+---+---+---+---+
BitsNameDescription
bit 0HasPayloadLength1 indicates the presence of the PayloadLength field (2 bytes).
bit 1HasCRC1 indicates the presence of the CRC16 field (2 bytes), requiring HasPayloadLength = 1.
bit 2EncryptedReserved bit, must be 0.
bit 3CompressedReserved bit, must be 0.
bit 4-5PayloadFormat0x00 indicates CBOR (default); other values are reserved.
bit 6-7ReservedReserved bit, must be 0.

Common Flags values:

FlagsHeader LengthFields Present
0x002 bytesOnly ProtocolVersion + Flags
0x014 bytes+ PayloadLength
0x036 bytes+ PayloadLength + CRC16
note

Flags = 0x02 (CRC only without PayloadLength) is an illegal configuration because CRC calculation requires a clear Payload boundary.

Optional Fields​
  • PayloadLength (2 bytes, big-endian): present when Flags.bit0 = 1, indicating the byte length of the Payload.
  • CRC16 (2 bytes, big-endian): present when Flags.bit1 = 1, computed using CRC-16/MODBUS over the Payload body, excluding the Header.
Payload Structure (CBOR)​

The Payload is a CBOR Map (RFC 8949), and Map Keys use unsigned integers. Key values 0-23 can be encoded as a single byte in CBOR to reduce overhead.

CBOR Key Definition​

Map Keys use unsigned integers (CBOR major type 0); 0-23 can be encoded as a single byte.

KeyNameCBOR TypeRange/UnitDescription
0SubscribeTypeunsigned int0Subscription record type, used to determine the subsequent structure.
1RecordIdunsigned intSubscription record ID.
2SourceDeviceMacbyte string8 bytesMAC address of the subscribed device.
3SourceDeviceDidstringDid of the subscribed device.
4DeviceTypeunsigned intDevice type.
5ResouceIdbyte string8 bytesResource value identifier, used inside the SubscribeItem sub-Map.
6AqaraSpecbyte string8 bytesAqara Spec tag, used inside the SubscribeItem sub-Map.
7SubscribeItemarray of mapList of subscribed resource items.
SubscribeType Field​

This field is used to indicate the type of the subscription record.

ValueNameDescriptionRequired top-level keys (for this type)
0x00SubscribeDeviceSubscribe to device resource values0, 1, 3, 4, 7 (see structure below), where key 2 is optional.
RecordId Field​

This field carries the subscription record identifier RecordId.

SourceDeviceMac Field​

This field is used to indicate the source device MAC address, fixed as an 8-byte byte string.

SourceDeviceDid Field​

This field is used to indicate the source device Did.

DeviceType Field​

This field is used to indicate the device type. Its value is the unsigned integer device type ID defined by Aqara Spec, consistent with the numeric space used by function / trait in Aqara Spec Tags.

SubscribeItem Field​

This field is a CBOR Array; each element in the array is a Map, used to describe a subscribed resource. Each Map must contain key 5 (ResouceId) and key 6 (AqaraSpec).

ResouceId Field (inside SubscribeItem)​

This field is used to indicate the resource value to subscribe to. The original spelling in the protocol is ResouceId; this document stays consistent.

AqaraSpec Field (inside SubscribeItem)​

This field is used to indicate the Aqara Spec tag corresponding to this resource.

SubscribeType Encoding Details​
SubscribeDevice(SubscribeType = 0x00)​

The CBOR Payload structure is as follows:

{
0: <SubscribeType> // [M] SubscribeType = SubscribeDevice (0x00)
1: <RecordId> // [M] Subscribe record ID
2: <SourceDeviceMac>, // [O] Subscribed device MAC
3: <SourceDeviceDid>, // [M] Subscribed device Did
4: <DeviceType> // [M] Device type
7: [ // [M] SubscribeItem
{ 5: <ResouceId>, // [M] Resource value
6: <AqaraSpec>, // [M] Aqara spec tag
},
...
]
}

In addition to requiring the mandatory keys above, the receiving end should also require at least one of SourceDeviceMac (key 2) or SourceDeviceDid (key 3) to exist, for device identity identification.

Validation Rules​
Header Validation​

The receiving end should validate:

  1. ProtocolID is 0x04.
  2. Version is 0.
  3. Bits 2, 3, and 6-7 of Flags are all 0.
  4. PayloadFormat is 0 (CBOR).
  5. If HasCRC = 1, then HasPayloadLength must also be 1.
Payload Validation​

The receiving end should validate:

  1. The Payload is a CBOR Map.
  2. SubscribeType (key 0) exists, and its value must be 0x00 in the current specification version.
  3. At least one of SourceDeviceMac (key 2) and SourceDeviceDid (key 3) exists.
  4. Each SubscribeItem contains both ResouceId (key 5) and AqaraSpec (key 6).
  5. All key values that appear are in the 0-100 range.
  6. Undefined keys are recommended to be ignored; strict implementations may reject data containing unknown keys.
Encoding Examples​
Example 1: Subscribing to the switch state of one switch circuit​

The resource value (point) is 4.1.85, and the Aqara Spec is 1.132.32920.85.

EffectData parameters:

  • SubscribeType = SubscribeDevice (0)
  • RecordId = 1
  • SourceDeviceDid = lumi.54ef441000645ad1
  • DeviceType = 12

The CBOR diagnostic representation is as follows (for illustration, ResouceId and AqaraSpec below are shown as 8-byte byte strings):

{
0: 0,
1: 1,
3: "lumi.54ef441000645ad1",
4: 12,
7: [
{ 5: h'0100000100000055',
6: h'0001008480980055'
}
]
}

Payload(CBOR,hex):

A5 00 00 01 01 03 75 6C 75 6D 69 2E 35 34 65 66 34 34 31 30 30 30 36 34 35 61 64 31 04 0C 07 81 A2 05 48 01 00 00 01 00 00 00 55 06 48 00 01 00 84 80 98 00 55

Complete EffectData (minimal Header, Flags = 0x00):

Header:  04 00
Payload: A5 00 00 01 01 03 75 6C 75 6D 69 2E 35 34 65 66 34 34 31 30 30 30 36 34 35 61 64 31 04 0C 07 81 A2 05 48 01 00 00 01 00 00 00 55 06 48 00 01 00 84 80 98 00 55
Total: 53 bytes

Parsing notes (first few bytes):

  1. 04: ProtocolVersion, indicating ProtocolID = 4, Version = 0.
  2. 00: Flags, indicating no length field, no CRC, and the Payload is CBOR.
  3. A5: CBOR Map, with 5 key-value pairs (key 0, 1, 3, 4, 7).
  4. 00 / 00: key 0, indicating SubscribeType = SubscribeDevice.
  5. 01 / 01: key 1, indicating RecordId = 1.
  6. 03 ...: key 3, indicating the UTF-8 text Did lumi.54ef441000645ad1.
  7. 04 / 0C: key 4, indicating DeviceType = 12.
  8. 07 ...: key 7, indicating an array of length 1, where each element is a Map containing key 5 and key 6, corresponding respectively to the 8-byte ResouceId and AqaraSpec (48 indicates a byte string of length 8).
SubscribeCapability Encoding Specification​

This section defines the binary encoding format of the SubscribeCapability Trait. The encoding uses the Header + Payload architecture, where Payload is encoded with CBOR (RFC 8949).

For the general EffectData header layout, Flags semantics, ProtocolID assignment, CBOR rules and parsing flow, see the composite data encoding protocol description in this repository. The subscription capability protocol uses the following fixed parameters:

  • ProtocolID = 0x05
  • ProtocolName = SubscribeCapability
  • Version = 0
  • PayloadFormat = CBOR

The current version merges the subscription capabilities of all device types into one nested CBOR Map. Within each device type, the Aqara Spec tags are encoded as a function → trait → [parameter] hierarchy tree, omitting the endpoint segment (which is always a placeholder value in the capability scenario).

Overview​

The EffectData binary format consists of the following parts:

  • Header: at least 2 bytes, containing the protocol identifier, version and control flags.
  • Payload: a CBOR-encoded Map, used to describe the supported device types and their subscription capability limits.

The overall structure is as follows:

+------------------+-------+---------------+--------+---------+
| ProtocolVersion | Flags | PayloadLength | CRC16 | Payload |
| (1 byte) |(1 byte)| (opt 2B) |(opt 2B)| (CBOR) |
+------------------+-------+---------------+--------+---------+
required required optional optional required
Header Structure​
Byte 0 - ProtocolVersion​

This byte combines the Protocol ID and Version into a single encoding.

	7   6   5   4   3   2   1   0
+-------+---------------------------+
|Version| ProtocolID |
| 2 bit | 6 bit |
+-------+---------------------------+
BitsNameRangeDescription
bit 0-5ProtocolID0-63Protocol identifier, 0x05 indicates SubscribeCapability.
bit 6-7Version0-3Version number.

Encoding formula: ProtocolVersion = (Version &lt;&lt; 6) | ProtocolID

Decoding formula: ProtocolID = ProtocolVersion & 0x3F, Version = (ProtocolVersion &gt;&gt; 6) & 0x03

Byte 1 - Flags​

This byte is used to control whether optional fields exist and the Payload attributes.

	7   6   5   4   3   2   1   0
+-------+-------+---+---+---+---+
|Reserv |Format |Cmp|Enc|CRC|Len|
| 2 bit | 2 bit | 1 | 1 | 1 | 1 |
+-------+-------+---+---+---+---+
BitsNameDescription
bit 0HasPayloadLength1 indicates the presence of the PayloadLength field (2 bytes).
bit 1HasCRC1 indicates the presence of the CRC16 field (2 bytes), requiring HasPayloadLength = 1.
bit 2EncryptedReserved bit, must be 0.
bit 3CompressedReserved bit, must be 0.
bit 4-5PayloadFormat0x00 indicates CBOR (default); other values are reserved.
bit 6-7ReservedReserved bit, must be 0.

Common Flags values:

FlagsHeader LengthFields Present
0x002 bytesOnly ProtocolVersion + Flags
0x014 bytes+ PayloadLength
0x036 bytes+ PayloadLength + CRC16
note

Flags = 0x02 (CRC only without PayloadLength) is an illegal configuration because CRC calculation requires a clear Payload boundary.

Optional Fields​
  • PayloadLength (2 bytes, big-endian): present when Flags.bit0 = 1, indicating the byte length of the Payload.
  • CRC16 (2 bytes, big-endian): present when Flags.bit1 = 1, computed using CRC-16/MODBUS over the Payload body, excluding the Header.
Payload Structure (CBOR)​

The Payload is a CBOR Map (RFC 8949), and Map Keys use unsigned integers. Key values 0-23 can be encoded as a single byte in CBOR to reduce overhead.

CBOR Key Definition​

Map Keys use unsigned integers (CBOR major type 0); 0-23 can be encoded as a single byte. The fixed key space is shared by the top-level Payload Map and the Devices entry Maps:

  • The top-level Payload Map uses key 0 (Devices).
  • Each element in the Devices array uses keys 1, 2, 3.

Inside AqaraSpecTree (key 3), Map Keys no longer use this fixed table, but directly use the numeric function and trait values themselves.

KeyNameCBOR TypeRange/UnitDescription
0Devicesarray of mapList of subscription capability entries for each device type.
1DeviceTypeunsigned intDevice type ID defined by Aqara Spec, located in each Devices entry.
2MaxEndpointNumunsigned int1-255The maximum number of distinct endpoints allowed to subscribe for this device type, located in each Devices entry.
3AqaraSpecTreemapThe Aqara Spec hierarchy tree supported for subscription by this device type, located in each Devices entry.
Devices Field​

This field is a CBOR Array; each Map in the array describes the subscription capability of one device type. An empty array indicates that the server currently does not support subscription for any device type.

DeviceType Field (inside Devices entries)​

This field is used to indicate the device type corresponding to the capability entry, whose value is the unsigned integer device type ID defined by Aqara Spec. The same DeviceType may only appear once in a single Payload.

MaxEndpointNum Field (inside Devices entries)​

This field is used to indicate how many distinct endpoints the server allows subscribing for this device type.

AqaraSpecTree Field (inside Devices entries)​

This field uses a hierarchical CBOR Map to describe the set of Aqara Spec tags subscribable for this device type, with the encoding levels as follows:

function → trait → [ parameter, ... ]

An Aqara Spec Tag consists of four parts: endpoint, function, trait and parameter, all 16-bit unsigned integers. In SubscribeCapability:

  • endpoint is the placeholder segment at the capability layer and must be omitted when encoding; when the receiving end restores the tree path to a complete Tag, it should treat its logical value as 0xFFFF.
  • function is used as the outer Map Key (unsigned integer).
  • trait is used as the inner Map Key (unsigned integer), located under each function.
  • parameter is used as the CBOR Array element corresponding to each trait. Values are usually small (most do not exceed 16), so they can often be encoded as a single byte.

Each path function F → trait T → parameter P can be expanded into a logical Aqara Spec: (endpoint=0xFFFF, function=F, trait=T, parameter=P).

Encoding constraints are as follows:

  • function, trait and parameter must be unsigned integers.
  • In the same tree, each function key may appear only once; under the same function, each trait key may appear only once.
  • In the parameter array corresponding to the same (function, trait), each parameter may appear only once, and it is recommended to arrange them in ascending order.
  • An empty Map {} indicates that this device type currently has no subscribable Aqara Spec tags.
Payload Encoding Shape​

The CBOR Payload structure is as follows:

{
0: [ // [M] Devices
{
1: <DeviceType>, // [M] Device type
2: <MaxEndpointNum>, // [M] Max endpoint count
3: { // [M] AqaraSpecTree
<function>: { // [M] function as map key
<trait>: [ <parameter>, ... ], // [M] trait as map key; parameter array
...
},
...
}
},
...
]
}
Validation Rules​
Header Validation​

The receiving end should validate:

  1. ProtocolID is 0x05.
  2. Version is 0.
  3. Bits 2, 3, and 6-7 of Flags are all 0.
  4. PayloadFormat is 0 (CBOR).
  5. If HasCRC = 1, then HasPayloadLength must also be 1.
Payload Validation​

The receiving end should validate:

  1. The Payload is a CBOR Map.
  2. Devices (key 0) exists and its type is Array.
  3. Each element in Devices is a Map and must contain DeviceType (key 1), MaxEndpointNum (key 2) and AqaraSpecTree (key 3).
  4. Each DeviceType is an unsigned integer device type ID defined by Aqara Spec.
  5. DeviceType values must be unique in a single Payload.
  6. Each MaxEndpointNum must be an unsigned integer in the 1-255 range.
  7. Each AqaraSpecTree is a Map and satisfies:
  8. Fixed Devices entry keys that appear should be in the 0-100 range.
  9. Undefined fixed keys are recommended to be ignored; strict implementations may reject unknown fixed keys.
Encoding Examples​
Example 1: Switch device capability (single Spec)​

EffectData parameters:

  • DeviceType = 12 (switch device, as defined in Aqara Spec)
  • MaxEndpointNum = 4
  • One Aqara Spec path: function=132, trait=32920, parameter=1

The CBOR diagnostic representation is as follows:

{
0: [
{
1: 12,
2: 4,
3: {
132: {
32920: [1]
}
}
}
]
}

Payload(CBOR,hex):

A1 00 81 A3 01 0C 02 04 03 A1 18 84 A1 19 80 98 81 01

Complete EffectData (minimal Header, Flags = 0x00):

Header:  05 00
Payload: A1 00 81 A3 01 0C 02 04 03 A1 18 84 A1 19 80 98 81 01
Total: 21 bytes

Parsing notes:

  1. 05: ProtocolVersion, indicating ProtocolID = 5, Version = 0.
  2. 00: Flags, indicating no length field, no CRC, and the Payload is CBOR.
  3. A1: CBOR Map, with 1 key-value pair (key 0).
  4. 00 / 81: key 0, indicating a Devices array of length 1.
  5. A3: Map, with 3 key-value pairs (key 1, 2, 3).
  6. 01 / 0C: key 1, indicating DeviceType = 12 (Switch).
  7. 02 / 04: key 2, indicating MaxEndpointNum = 4.
  8. 03 / A1: key 3, indicating AqaraSpecTree, which contains one function.
  9. 18 84:function key = 132.
  10. A1 19 80 98:trait key = 32920.
  11. 81 01: parameter array [1].
Example 2: Multiple parameters under the same function / trait​

The CBOR diagnostic representation is as follows:

{
0: [
{
1: 12,
2: 4,
3: {
132: {
32920: [1, 2, 3, 4, 5]
}
}
}
]
}

Payload(CBOR,hex):

A1 00 81 A3 01 0C 02 04 03 A1 18 84 A1 19 80 98 85 01 02 03 04 05

5 logical Specs share the same function key and trait key; the Payload length is 22 bytes, plus the 2-byte Header for a total of 24 bytes.

Example 3: Multiple device types​

The CBOR diagnostic representation is as follows:

{
0: [
{
1: 12,
2: 4,
3: {
132: { 32920: [1] }
}
},
{
1: 10,
2: 2,
3: {
132: {
32920: [1],
32921: [1]
}
}
}
]
}

The above content indicates:

  • Switch device (DeviceType = 12): up to 4 endpoints, supporting Spec (function=132, trait=32920, parameter=1).
  • Light device (DeviceType = 10): up to 2 endpoints, supporting Specs (132, 32920, 1) and (132, 32921, 1).

Payload(CBOR,hex):

A1 00 82 A3 01 0C 02 04 03 A1 18 84 A1 19 80 98 81 01 A3 01 0A 02 02 03 A1 18 84 A2 19 80 98 81 01 19 80 99 81 01

AnalogInputObject​

Introduction​

Acquires continuously varying analog input values (such as voltage, temperature analog signals) in read-only mode.

Function Identification​

. Parameter values under the same (function, trait) must be unique.

Function IDCodeName
0x00CEAnalogInputObjectAnalog input object

Trait​

Trait IDCodeNameConformance
0x4EB2AnalogInputPVAnalog input current valueM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4EB2AnalogInputPVM

AnalogInputPV Trait​

AnalogInputPV conveys the real-time value of the analog input channel and its engineering metadata.

Trait IDCode
0x4EB2AnalogInputPV
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat4294967295RO
0x0003Minimum Valuefloat0RO

Command Definitions​

This Function does not contain Commands.

AnalogOutputObject​

Introduction​

Provides writable continuous analog output control signals.

Function Identification​

Function IDCodeName
0x00CFAnalogOutputObjectAnalog output object

Trait​

Trait IDCodeNameConformance
0x4EB3AnalogOutputPVAnalog output current valueM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4EB3AnalogOutputPVM

AnalogOutputPV Trait​

AnalogOutputPV carries the commanded or actual value of the analog output object.

Trait IDCode
0x4EB3AnalogOutputPV
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuefloatRVWM
0x0002Maximum Valuefloat4294967295RO
0x0003Minimum Valuefloat0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

BinaryInputObject​

Introduction​

Acquires binary state inputs, such as door sensors, switches and other true/false or active/inactive quantities.

Function Identification​

Function IDCodeName
0x00D0BinaryInputObjectBinary input object

Trait​

Trait IDCodeNameConformance
0x4EB4BinaryInputPVBinary input current valueM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4EB4BinaryInputPVM

BinaryInputPV Trait​

BinaryInputPV reports the instantaneous logical state of a discrete input and may optionally describe polarity inversion.

Trait IDCode
0x4EB4BinaryInputPV
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVM
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain Commands.

BinaryOutputObject​

Introduction​

Drives binary actuator outputs, such as relays, contactors, solenoid valves or alarm signals.

Function Identification​

Function IDCodeName
0x00D1BinaryOutputObjectBinary output object

Trait​

Trait IDCodeNameConformance
0x4EB5BinaryOutputPVBinary output current valueM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4EB5BinaryOutputPVM

BinaryOutputPV Trait​

BinaryOutputPV holds the command or actual on/off state of the binary output.

Trait IDCode
0x4EB5BinaryOutputPV
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWM
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain Commands.

MultiStateInputObject​

Introduction​

Acquires multi-state discrete inputs, representing one of N states.

Function Identification​

Function IDCodeName
0x00D2MultiStateInputObjectMulti-state input object

Trait​

Trait IDCodeNameConformance
0x4EB6MultiStateInputPVMulti-state input current valueM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4EB6MultiStateInputPVM

MultiStateInputPV Trait​

MultiStateInputPV provides the current enumerated state, along with human-readable state labels and optional descriptive text.

Trait IDCode
0x4EB6MultiStateInputPV
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVM
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO

Command Definitions​

This Function does not contain Commands.

MultiStateOutputObject​

Introduction​

Outputs multi-state discrete control commands, such as HVAC mode or light scene switching.

Function Identification​

Function IDCodeName
0x00D3MultiStateOutputObjectMulti-state output object

Trait​

Trait IDCodeNameConformance
0x4EB7MultiStateOutputPVMulti-state output current valueM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4EB7MultiStateOutputPVM

MultiStateOutputPV Trait​

MultiStateOutputPV contains the requested or currently active enumerated output state.

Trait IDCode
0x4EB7MultiStateOutputPV
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32RVWM
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0007Default Valueuint320RWO

Command Definitions​

This Function does not contain Commands.

CharacterStringValueObject​

Introduction​

Defines a data object represented as a string and its externally visible characteristics.

Function Identification​

Function IDCodeName
0x00D4CharacterStringValueObjectCharacter string value object

Trait​

Trait IDCodeNameConformance
0x4EB8CharStringValuePVString object current valueM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4EB8CharStringValuePVM

CharStringValuePV Trait​

Indicates the current value of the CharacterString Value Object.

Trait IDCode
0x4EB8CharStringValuePV
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWM

Command Definitions​

This Function does not contain Commands.

ScreenUserInterface​

Introduction​

Manages screen-side user interface configuration, including page layout, cards, themes and display data.

Function Identification​

Function IDCodeName
0x00D5ScreenUserInterfaceScreen-side configuration

Trait​

Trait IDCodeNameConformance
0x4EBCScreenHeightScreen heightM
0x4EBBScreenWidthScreen widthM
0x4EBAMaxPageNumMaximum page countM
0x4EB9DataVersionData versionM
0x4E78ThemeIDTheme IDM
0x4E77ThemeVersionTheme versionM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4EBCScreenHeightM
0x4EBBScreenWidthM
0x4EBAMaxPageNumM
0x4EB9DataVersionM
0x4E78ThemeIDM
0x4E77ThemeVersionM

ScreenHeight Trait​

This Trait is used for access to and reporting of "screen height" data.

Trait IDCode
0x4EBCScreenHeight
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16O240RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint16O240RWO

ScreenWidth Trait​

This Trait is used for access to and reporting of "screen width" data.

Trait IDCode
0x4EBBScreenWidth
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16O240RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint16O240RWO

MaxPageNum Trait​

This Trait is used for access to and reporting of "maximum page count" data.

Trait IDCode
0x4EBAMaxPageNum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16O1RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint16O1RWO

DataVersion Trait​

This Trait is used for access to and reporting of "data version" data.

Trait IDCode
0x4EB9DataVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint64O0RVM
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0007Default Valueuint64O0RWO

ThemeID Trait​

This Trait is used for access to and reporting of "theme ID" data.

Trait IDCode
0x4E78ThemeID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16O1RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0007Default Valueuint16O1RWO

ThemeVersion Trait​

Theme version.

Trait IDCode
0x4E77ThemeVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16O1RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16O1RWO

Command Definitions​

This Function does not contain Commands.

DeviceAnomalyMonitoring​

Introduction​

Continuously monitors device operating parameters, promptly detecting and reporting anomalies or fault states.

Function Identification​

Function IDCodeName
0x00D6DeviceAnomalyMonitoringDevice anomaly monitoring

Trait​

Trait IDCodeNameConformance
0x4ECAVoltageSafetyManagementVoltage safety managementO
0x4EC8LoadSafetyManagementLoad safety managementO
0x4EC7TemperatureSafetyManagementTemperature safety managementO
0x4EC9CurrentSafetyManagementCurrent safety managementO
0x4ECBOverCurrentResponseSettingOver-current response settingO
0x50DEOverTemperatureAlertEnableOver-temperature alert enableO
0x50DFUnderTemperatureAlertEnableUnder-temperature alert enableO

Command​

This Function does not contain Commands.

Data Types​

VoltageSafetyManagementEnum8 Type​

This enumeration defines the valid values of the Present Value of the VoltageSafetyManagement Trait.

ValueNameDescription
0x00VoltageNormalVoltage normal
0x01OverVoltageAnomalyOver-voltage anomaly
0x02OverVoltageProtectionOver-voltage protection
0x03UnderVoltageProtectionUnder-voltage protection
LoadSafetyManagementEnum8 Type​

This enumeration defines the valid values of the Present Value of the LoadSafetyManagement Trait.

ValueNameDescription
0x00LoadNormalLoad normal
0x01OverLoadAnomalyOverload anomaly
0x02OverLoadProtectionOverload protection
TemperatureSafetyManagementEnum8 Type​

This enumeration defines the valid values of the Present Value of the TemperatureSafetyManagement Trait.

ValueNameDescription
0x00TempNormalTemperature normal
0x01OverTempAnomalyOver-temperature anomaly
0x02OverTempProtectionOver-temperature protection
0x0BUnderTempAnomalyUnder-temperature anomaly
CurrentSafetyManagementEnum8 Type​

This enumeration defines the valid values of the Present Value of the CurrentSafetyManagement Trait.

ValueNameDescription
0x00CurrentNormalCurrent normal
0x01OverCurrentAnomalyOver-current anomaly
0x02OverCurrentProtectionOver-current protection
OverCurrentResponseSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the OverCurrentResponseSetting Trait.

ValueNameDescription
0x00ShutdownSingleShut down a single one
0x01ShutdownAllShut down all

Trait Definitions​

Trait IDNameConformance
0x4ECAVoltageSafetyManagementO
0x4EC8LoadSafetyManagementO
0x4EC7TemperatureSafetyManagementO
0x4EC9CurrentSafetyManagementO
0x4ECBOverCurrentResponseSettingO
0x5136OverTempTemperatureO
0x5137OverLoadPowerO
0x50DEOverTemperatureAlertEnableO
0x50DFUnderTemperatureAlertEnableO

VoltageSafetyManagement Trait​

A safety mechanism used to monitor the power supply voltage and provide protection during over-voltage or under-voltage anomalies.

Trait IDCode
0x4ECAVoltageSafetyManagement
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVoltageSafetyManagementEnum80RVO
0x0006Supported Valuelist[VoltageSafetyManagementEnum8]RO
0x0007Default Valueuint80RWO

LoadSafetyManagement Trait​

A safety mechanism that monitors electrical or mechanical load, used to distinguish load normal, overload anomaly and overload protection states, so that the device can promptly alert and enter protection when the load exceeds the limit.

Trait IDCode
0x4EC8LoadSafetyManagement
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLoadSafetyManagementEnum80RVO
0x0006Supported Valuelist[LoadSafetyManagementEnum8]RO
0x0007Default Valueuint80RWO

TemperatureSafetyManagement Trait​

A safety mechanism that monitors device temperature, used to report whether the device is in normal, over-temperature anomaly or over-temperature protection state, and to provide state evidence for the subsequent recovery process after an anomaly is triggered.

Trait IDCode
0x4EC7TemperatureSafetyManagement
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTemperatureSafetyManagementEnum80RVO
0x0006Supported Valuelist[TemperatureSafetyManagementEnum8]RO
0x0007Default Valueuint80RWO

CurrentSafetyManagement Trait​

A safety mechanism that monitors device current, used to report whether the current is in normal, over-current anomaly or over-current protection state, and to support the execution of the over-current protection policy.

Trait IDCode
0x4EC9CurrentSafetyManagement
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCurrentSafetyManagementEnum80RVO
0x0006Supported Valuelist[CurrentSafetyManagementEnum8]RO
0x0007Default Valueuint80RWO

OverCurrentResponseSetting Trait​

This configuration is used to set the action scope of over-current protection, determining whether the device should act on a single load or all loads when over-current is detected.

Trait IDCode
0x4ECBOverCurrentResponseSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOverCurrentResponseSettingEnum80RVWO
0x0006Supported Valuelist[OverCurrentResponseSettingEnum8]RO
0x0007Default ValueOverCurrentResponseSettingEnum80RWO

OverTempTemperature Trait​

This Trait is used to carry the temperature value or threshold corresponding to the over-temperature alert, facilitating the synchronization of the current temperature context when reporting the alert. Unit: deg C.

Trait IDCode
0x5136OverTempTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat70RVO
0x0002Maximum Valuefloat150RO
0x0003Minimum Valuefloat-50RO

OverTemperatureAlertEnable Trait​

Turns the over-temperature (high temperature) alert function on or off.

Trait IDCode
0x50DEOverTemperatureAlertEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

UnderTemperatureAlertEnable Trait​

Turns the under-temperature alert function on or off.

Trait IDCode
0x50DFUnderTemperatureAlertEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

OverLoadPower Trait​

This Trait is used to carry the power value or threshold corresponding to the overload alert, facilitating the synchronization of the current load context when reporting the alert. Unit: W.

Trait IDCode
0x5137OverLoadPower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat60RVO
0x0002Maximum Valuefloat200RO
0x0003Minimum Valuefloat0RO
0x0007Default Valuefloat60RWO

Command Definitions​

This Function does not contain Commands.

OTA​

Introduction​

Manages the device firmware upgrade process, including download, installation scheduling and upgrade progress and result reporting.

Function Identification​

Function IDCodeName
0x00D7OTAUpgrade function

Trait​

Trait IDCodeNameConformance
0x4F09OTAStateOTA stateO
0x4EE1UpgradeTypeSettingUpgrade type settingO
0x5070OTADegradeEnableOTA degrade enableO

Command​

This Function does not contain Commands.

Data Types​

OTAStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the OTAState Trait.

ValueNameDescription
0x00OTASuccessfulUpgrade successful
0x01IdleIdle
0x02DownloadInProgressDownloading
0x03DownloadFailedDownload failed
0x04DownloadCompleteDownload complete
0x05VerificationInProgressVerifying
0x06VerificationSuccessfulVerification successful
0x07VerificationFailedVerification failed
0x08OTAInProgressUpgrading
0x09OTAFailedUpgrade failed
UpgradeTypeSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the UpgradeTypeSetting Trait.

ValueNameDescription
0x00ManualUpdateManual upgrade
0x01AutoUpdateAutomatic upgrade

Trait Definitions​

Trait IDNameConformance
0x4F09OTAStateO
0x4EE1UpgradeTypeSettingO
0x5070OTADegradeEnableO

OTAState Trait​

An enumerated value that provides real-time visibility into the overall progress and result of the device firmware over-the-air (OTA) update process. It represents the specific stage of the device in the firmware update lifecycle (e.g., download, verification, activation), serving as core information for management systems to monitor state, make decisions and diagnose problems.

Trait IDCode
0x4F09OTAState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOTAStateEnum81RVO
0x0006Supported Valuelist[OTAStateEnum8]RO
0x0007Default Valueuint81RWO

UpgradeTypeSetting Trait​

Indicates the software or firmware upgrade method to be used, such as manual upgrade, automatic upgrade, etc.

Trait IDCode
0x4EE1UpgradeTypeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueUpgradeTypeSettingEnum80RVWO
0x0006Supported Valuelist[UpgradeTypeSettingEnum8]RO
0x0007Default Valueuint80RWO

OTADegradeEnable Trait​

Enables or disables the OTA degrade function. When enabled (value 1), firmware version downgrade is allowed; when disabled (value 0), downgrade is prohibited.

Trait IDCode
0x5070OTADegradeEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain Commands.

HumanRecognition​

Introduction​

Uses vision and other algorithms to detect human targets in the scene in real time, distinguishing humans from other objects and reporting events.

Function Identification​

Function IDCodeName
0x00D8HumanRecognitionHuman detection

Trait​

Trait IDCodeNameConformance
0x4EF7HumanRecognitionReportHuman detection event reportM
0x4FCDHumanRecognitionEnableHuman detection enableO
0x50C8HumanTrackingEnableHuman tracking enableO
0x50CBCloseUpHumanEnableClose-up object human enableO
0x4FB3TimePeriodSettingTime period settingO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB5PushEnablePush enableO
0x4FB6RecordEnableRecord enableO
0x4FB7IntervalSettingTime interval settingO
0x4FCCBitmaskRegionSettingDetection region settingO
0x502DRegionDimensionRegion dimensionO

Command​

This Function does not contain Commands.

Data Types​

HumanRecognitionReportEnum8 Type​

This enumeration defines the valid values of the Present Value of the HumanRecognitionReport Trait.

ValueNameDescription
0x01HumanDetectedHuman event detected
TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimePeriodSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour clock).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour clock).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, ordered from Sunday to Saturday; 1 indicates active, 0 indicates inactive.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
BitmaskRegionSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the BitmaskRegionSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0detect_regioncharacterStringMA bitmask in hexadecimal string form, where each bit corresponds to a grid cell.
1effective_bitsint32MThe number of valid bits in the bitmask; bits beyond this count should be ignored.
RegionDimensionTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the RegionDimension Trait.

Struct Member No.Field NameTypeMandatoryDescription
0unitenum8MThe unit of width and height, e.g., GRID or PIXEL.
1widthuint32MThe total width of the region in the specified unit.
2heightuint32MThe total height of the region in the specified unit.

Trait Definitions​

Trait IDNameConformance
0x4EF7HumanRecognitionReportM
0x4FCDHumanRecognitionEnableO
0x50C8HumanTrackingEnableO
0x50CBCloseUpHumanEnableO
0x4FB3TimePeriodSettingO
0x4FB4SensitivityLevelEnumO
0x4FB5PushEnableO
0x4FB6RecordEnableO
0x4FB7IntervalSettingO
0x4FCCBitmaskRegionSettingO
0x502DRegionDimensionO

HumanRecognitionReport Trait​

Reports whether a human is detected in the defined detection region.

Trait IDCode
0x4EF7HumanRecognitionReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHumanRecognitionReportEnum81VM
0x0006Supported Valuelist[HumanRecognitionReportEnum8]RO

HumanRecognitionEnable Trait​

The master switch to enable or disable human detection (AI-based).

Trait IDCode
0x4FCDHumanRecognitionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

HumanTrackingEnable Trait​

Enables or disables the camera's human tracking capability. When enabled, the camera automatically recognizes humans and adjusts the gimbal to keep the target centered.

Trait IDCode
0x50C8HumanTrackingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CloseUpHumanEnable Trait​

Controls whether to trigger close-up zoom on human targets in the close-up tracking scenario.

Trait IDCode
0x50CBCloseUpHumanEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

TimePeriodSetting Trait​

Defines the schedule plan of time periods and weekdays. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are strings in "HH:MM" format (24-hour clock), ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the entire day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period spans midnight, starting from the starttime of the active day to the endtime of the next day. repeat is an unsigned 8-bit integer array of length 7, with index order corresponding to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday. A value of 1 indicates the weekday is active, and 0 indicates it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

SensitivityLevelEnum Trait​

This enumeration configures sensitivity levels for multiple device functions (such as detection, recognition, sensing, alerting, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity respectively. Higher sensitivity makes the function more responsive to trigger conditions (e.g., easier to detect weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

PushEnable Trait​

Controls whether push notifications are sent to the user when a specific function (such as detection events, recognition events) is triggered. The value is of boolean type: true (enabled) means a push notification is sent when the event occurs; false (disabled) means no notification is sent even if the event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

RecordEnable Trait​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

IntervalSetting Trait​

Configures the minimum time interval between two consecutive event triggers of a specific function (e.g., detection, recognition). The value is numeric, in seconds. After an event is triggered, any further detection of the same event within this interval will not generate a new trigger until the interval has elapsed.

Trait IDCode
0x4FB7IntervalSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

BitmaskRegionSetting Trait​

Defines region configuration based on a grid mask. It contains two fields: detect_region (hexadecimal string) and effective_bits (integer). Each bit in the hexadecimal string corresponds to a grid cell (e.g., dividing the frame into 24 cells). A bit value of 1 indicates that detection or recognition is enabled for the corresponding cell, and 0 indicates disabled. The bit arrangement follows a predefined order (e.g., left to right or from the most significant bit to the least significant bit). The effective_bits field specifies the number of actually valid bits in the hexadecimal string, allowing the string to maintain a fixed length while only the first N bits are meaningful. For example, "FF" means 8 consecutive bits are all 1. If effective_bits is 32, all 32 bits are valid; if it is 24, only the first 24 bits are valid. This representation is commonly used for functions such as motion detection and human detection that need to flexibly select specific regions on video frames.

Trait IDCode
0x4FCCBitmaskRegionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBitmaskRegionSettingTraitPresentValueStructureRVWO
0x0007Default ValueBitmaskRegionSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"ffffffffffffffffffffffffffffffffffff"}RWO

RegionDimension Trait​

Defines the complete canvas size that a client (such as an App) can use for region configuration (such as detection regions, privacy masks). Its value is a structure containing three fields: unit (enum8): the unit of width and height, e.g., GRID (grid cell), PIXEL (pixel). width (uint32): the total width of the region in the specified unit. height (uint32): the total height of the region in the specified unit.

Trait IDCode
0x502DRegionDimension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRegionDimensionTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain Commands.

SoundDetection​

Introduction​

Acquires ambient sound through a microphone, recognizes specific sound types (such as glass breaking, baby crying) and raises alerts.

Function Identification​

Function IDCodeName
0x00D9SoundDetectionSound detection

Trait​

Trait IDCodeNameConformance
0x4EF6AnomalySoundDetectedAnomalous sound detectedM
0x4FBCSnoreDetectionEnableSnore recognition enableO
0x4FBDLoudSoundDetectionEnableLoud sound recognition enableO
0x4FFESoundDetectionEnableSound detection enableO
0x4FB3TimePeriodSettingTime period settingO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB5PushEnablePush enableO
0x4FB6RecordEnableRecord enableO
0x4FB7IntervalSettingTime interval settingO
0x5004BabyCryDetectionEnableBaby cry recognition enableO
0x5005AlarmSoundDetectionEnableAlarm sound recognition enableO
0x5006DogBarkDetectionEnablePet barking recognition enableO
0x5007CoughDetectionEnableCough recognition enableO

Command​

This Function does not contain Commands.

Data Types​

AnomalySoundDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value of the AnomalySoundDetected Trait.

ValueNameDescription
0x01CryDetectedCrying detected
0x02SnoreDetectedSnoring detected
0x03LoudSoundDetectedLoud sound detected
0x04BabyCryDetectedBaby crying detected
0x05AlarmSoundDetectedAlarm sound detected
0x06DogBarkDetectedPet barking detected
0x07CoughDetectedCoughing detected
TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimePeriodSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour clock).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour clock).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, ordered from Sunday to Saturday; 1 indicates active, 0 indicates inactive.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest

Trait Definitions​

Trait IDNameConformance
0x4EF6AnomalySoundDetectedM
0x4FBCSnoreDetectionEnableO
0x4FBDLoudSoundDetectionEnableO
0x4FFESoundDetectionEnableO
0x4FB3TimePeriodSettingO
0x4FB4SensitivityLevelEnumO
0x4FB5PushEnableO
0x4FB6RecordEnableO
0x4FB7IntervalSettingO
0x5004BabyCryDetectionEnableO
0x5005AlarmSoundDetectionEnableO
0x5006DogBarkDetectionEnableO
0x5007CoughDetectionEnableO

AnomalySoundDetected Trait​

This function enables the device to intelligently recognize anomalous sounds in the environment. For example, when an event matching baby cry characteristics is detected, a cry event will be reported.

Trait IDCode
0x4EF6AnomalySoundDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAnomalySoundDetectedEnum81VM
0x0006Supported Valuelist[AnomalySoundDetectedEnum8]RO

SnoreDetectionEnable Trait​

The master switch to enable or disable snore detection. When enabled, the camera continuously listens to audio to recognize snore patterns.

Trait IDCode
0x4FBCSnoreDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

LoudSoundDetectionEnable Trait​

The master switch to enable or disable loud sound detection.

Trait IDCode
0x4FBDLoudSoundDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SoundDetectionEnable Trait​

The master switch to enable or disable AI sound detection (including baby crying, dog barking, coughing, snoring, etc.).

Trait IDCode
0x4FFESoundDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

TimePeriodSetting Trait​

Defines the schedule plan of time periods and weekdays. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are strings in "HH:MM" format (24-hour clock), ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the entire day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period spans midnight, starting from the starttime of the active day to the endtime of the next day. repeat is an unsigned 8-bit integer array of length 7, with index order corresponding to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday. A value of 1 indicates the weekday is active, and 0 indicates it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

SensitivityLevelEnum Trait​

This enumeration configures sensitivity levels for multiple device functions (such as detection, recognition, sensing, alerting, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity respectively. Higher sensitivity makes the function more responsive to trigger conditions (e.g., easier to detect weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

PushEnable Trait​

Controls whether push notifications are sent to the user when a specific function (such as detection events, recognition events) is triggered. The value is of boolean type: true (enabled) means a push notification is sent when the event occurs; false (disabled) means no notification is sent even if the event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

RecordEnable Trait​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

IntervalSetting Trait​

Configures the minimum time interval between two consecutive event triggers of a specific function (e.g., detection, recognition). The value is numeric, in seconds. After an event is triggered, any further detection of the same event within this interval will not generate a new trigger until the interval has elapsed.

Trait IDCode
0x4FB7IntervalSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

BabyCryDetectionEnable Trait​

The master switch to enable or disable baby cry detection.

Trait IDCode
0x5004BabyCryDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

AlarmSoundDetectionEnable Trait​

The master switch to enable or disable alarm sound recognition.

Trait IDCode
0x5005AlarmSoundDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

DogBarkDetectionEnable Trait​

The master switch to enable or disable dog barking detection.

Trait IDCode
0x5006DogBarkDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CoughDetectionEnable Trait​

The master switch to enable or disable cough detection.

Trait IDCode
0x5007CoughDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain Commands.

PetRecognition​

Introduction​

Recognizes individual pets such as cats and dogs in the scene, reporting pet appearance or related recognition events.

Function Identification​

Function IDCodeName
0x00DAPetRecognitionPet recognition

Trait​

Trait IDCodeNameConformance
0x4EF8PetRecognitionReportPet recognition reportM
0x4FE3PetRecognitionEnablePet recognition enableO
0x50C9PetTrackingEnablePet tracking enableO
0x50CCCloseUpPetEnableClose-up object cat/dog enableO
0x4FB3TimePeriodSettingTime period settingO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB5PushEnablePush enableO
0x4FB6RecordEnableRecord enableO
0x4FB7IntervalSettingTime interval settingO
0x4FCCBitmaskRegionSettingDetection region settingO
0x502DRegionDimensionRegion dimensionO

Command​

This Function does not contain Commands.

Data Types​

PetRecognitionReportEnum16 Type​

This enumeration defines the valid values of the Present Value of the PetRecognitionReport Trait.

ValueNameDescription
0x01CatDetectedCat detected
0x02DogDetectedDog detected
0x03CatOrDogDetectedCat and dog detected
TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimePeriodSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour clock).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour clock).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, ordered from Sunday to Saturday; 1 indicates active, 0 indicates inactive.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
BitmaskRegionSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the BitmaskRegionSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0detect_regioncharacterStringMA bitmask in hexadecimal string form, where each bit corresponds to a grid cell.
1effective_bitsint32MThe number of valid bits in the bitmask; bits beyond this count should be ignored.
RegionDimensionTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the RegionDimension Trait.

Struct Member No.Field NameTypeMandatoryDescription
0unitenum8MThe unit of width and height, e.g., GRID or PIXEL.
1widthuint32MThe total width of the region in the specified unit.
2heightuint32MThe total height of the region in the specified unit.

Trait Definitions​

Trait IDNameConformance
0x4EF8PetRecognitionReportM
0x4FE3PetRecognitionEnableO
0x50C9PetTrackingEnableO
0x50CCCloseUpPetEnableO
0x4FB3TimePeriodSettingO
0x4FB4SensitivityLevelEnumO
0x4FB5PushEnableO
0x4FB6RecordEnableO
0x4FB7IntervalSettingO
0x4FCCBitmaskRegionSettingO
0x502DRegionDimensionO

PetRecognitionReport Trait​

Enables a smart device to accurately recognize pet types. When a cat, dog or both are detected, the specific type is automatically reported.

Trait IDCode
0x4EF8PetRecognitionReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePetRecognitionReportEnum161VM
0x0006Supported Valuelist[PetRecognitionReportEnum16]RO

PetRecognitionEnable Trait​

The master switch to enable or disable pet detection (cat and dog recognition).

Trait IDCode
0x4FE3PetRecognitionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

PetTrackingEnable Trait​

Enables or disables the camera's automatic tracking capability for pet (cat/dog) targets.

Trait IDCode
0x50C9PetTrackingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CloseUpPetEnable Trait​

Controls whether to trigger close-up zoom on pet (cat/dog) targets in the close-up tracking scenario.

Trait IDCode
0x50CCCloseUpPetEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

TimePeriodSetting Trait​

Defines the schedule plan of time periods and weekdays. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are strings in "HH:MM" format (24-hour clock), ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the entire day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period spans midnight, starting from the starttime of the active day to the endtime of the next day. repeat is an unsigned 8-bit integer array of length 7, with index order corresponding to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday. A value of 1 indicates the weekday is active, and 0 indicates it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

SensitivityLevelEnum Trait​

This enumeration configures sensitivity levels for multiple device functions (such as detection, recognition, sensing, alerting, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity respectively. Higher sensitivity makes the function more responsive to trigger conditions (e.g., easier to detect weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

PushEnable Trait​

Controls whether push notifications are sent to the user when a specific function (such as detection events, recognition events) is triggered. The value is of boolean type: true (enabled) means a push notification is sent when the event occurs; false (disabled) means no notification is sent even if the event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

RecordEnable Trait​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

IntervalSetting Trait​

Configures the minimum time interval between two consecutive event triggers of a specific function (e.g., detection, recognition). The value is numeric, in seconds. After an event is triggered, any further detection of the same event within this interval will not generate a new trigger until the interval has elapsed.

Trait IDCode
0x4FB7IntervalSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

BitmaskRegionSetting Trait​

Defines region configuration based on a grid mask. It contains two fields: detect_region (hexadecimal string) and effective_bits (integer). Each bit in the hexadecimal string corresponds to a grid cell (e.g., dividing the frame into 24 cells). A bit value of 1 indicates that detection or recognition is enabled for the corresponding cell, and 0 indicates disabled. The bit arrangement follows a predefined order (e.g., left to right or from the most significant bit to the least significant bit). The effective_bits field specifies the number of actually valid bits in the hexadecimal string, allowing the string to maintain a fixed length while only the first N bits are meaningful. For example, "FF" means 8 consecutive bits are all 1. If effective_bits is 32, all 32 bits are valid; if it is 24, only the first 24 bits are valid. This representation is commonly used for functions such as motion detection and human detection that need to flexibly select specific regions on video frames.

Trait IDCode
0x4FCCBitmaskRegionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBitmaskRegionSettingTraitPresentValueStructureRVWO
0x0007Default ValueBitmaskRegionSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"ffffffffffffffffffffffffffffffffffff"}RWO

RegionDimension Trait​

Defines the complete canvas size that a client (such as an App) can use for region configuration (such as detection regions, privacy masks). Its value is a structure containing three fields: unit (enum8): the unit of width and height, e.g., GRID (grid cell), PIXEL (pixel). width (uint32): the total width of the region in the specified unit. height (uint32): the total height of the region in the specified unit.

Trait IDCode
0x502DRegionDimension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRegionDimensionTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain Commands.

FaceRecognition​

Introduction​

Acquires facial features and compares them with the local library, reporting face recognition results and matching information.

Function Identification​

Function IDCodeName
0x00DBFaceRecognitionFace recognition

Trait​

Trait IDCodeNameConformance
0x4EF9FaceIDReportFace recognition ID reportM
0x4FD4StrangerFaceDetectedFace recognition event (stranger)O
0x4FD5FaceRecognitionEnableFace recognition enableO
0x4FB3TimePeriodSettingTime period settingO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB5PushEnablePush enableO
0x4FB6RecordEnableRecord enableO
0x4FB7IntervalSettingTime interval settingO
0x4FCCBitmaskRegionSettingDetection region settingO
0x4FDCFaceRecognitionAlgorithmTypeFace recognition algorithm typeO
0x502DRegionDimensionRegion dimensionO

Command​

This Function does not contain Commands.

Data Types​

TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimePeriodSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour clock).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour clock).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, ordered from Sunday to Saturday; 1 indicates active, 0 indicates inactive.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
BitmaskRegionSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the BitmaskRegionSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0detect_regioncharacterStringMA bitmask in hexadecimal string form, where each bit corresponds to a grid cell.
1effective_bitsint32MThe number of valid bits in the bitmask; bits beyond this count should be ignored.
FaceRecognitionAlgorithmTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the FaceRecognitionAlgorithmType Trait.

ValueNameDescription
0x00NotSupportedFace recognition not supported
0x01OnDeviceFace recognition on-device algorithm
0x02CloudFace recognition cloud algorithm
RegionDimensionTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the RegionDimension Trait.

Struct Member No.Field NameTypeMandatoryDescription
0unitenum8MThe unit of width and height, e.g., GRID or PIXEL.
1widthuint32MThe total width of the region in the specified unit.
2heightuint32MThe total height of the region in the specified unit.

Trait Definitions​

Trait IDNameConformance
0x4EF9FaceIDReportM
0x4FD4StrangerFaceDetectedO
0x4FD5FaceRecognitionEnableO
0x4FB3TimePeriodSettingO
0x4FB4SensitivityLevelEnumO
0x4FB5PushEnableO
0x4FB6RecordEnableO
0x4FB7IntervalSettingO
0x4FCCBitmaskRegionSettingO
0x4FDCFaceRecognitionAlgorithmTypeO
0x502DRegionDimensionO

FaceIDReport Trait​

A unique identifier associated with a specific face, used for face recognition or identity verification.

Trait IDCode
0x4EF9FaceIDReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640VM
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint321RO

StrangerFaceDetected Trait​

An event triggered when an unrecognized (stranger) face is detected. The value is always "0", indicating an unknown person.

Trait IDCode
0x4FD4StrangerFaceDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640VO
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint321RO
0x0007Default Valueuint640RWO

FaceRecognitionEnable Trait​

The master switch to enable the face recognition function. When enabled, the camera detects faces and matches them against the known database.

Trait IDCode
0x4FD5FaceRecognitionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TimePeriodSetting Trait​

Defines the schedule plan of time periods and weekdays. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are strings in "HH:MM" format (24-hour clock), ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the entire day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period spans midnight, starting from the starttime of the active day to the endtime of the next day. repeat is an unsigned 8-bit integer array of length 7, with index order corresponding to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday. A value of 1 indicates the weekday is active, and 0 indicates it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

SensitivityLevelEnum Trait​

This enumeration configures sensitivity levels for multiple device functions (such as detection, recognition, sensing, alerting, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity respectively. Higher sensitivity makes the function more responsive to trigger conditions (e.g., easier to detect weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

PushEnable Trait​

Controls whether push notifications are sent to the user when a specific function (such as detection events, recognition events) is triggered. The value is of boolean type: true (enabled) means a push notification is sent when the event occurs; false (disabled) means no notification is sent even if the event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

RecordEnable Trait​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

IntervalSetting Trait​

Configures the minimum time interval between two consecutive event triggers of a specific function (e.g., detection, recognition). The value is numeric, in seconds. After an event is triggered, any further detection of the same event within this interval will not generate a new trigger until the interval has elapsed.

Trait IDCode
0x4FB7IntervalSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

BitmaskRegionSetting Trait​

Defines region configuration based on a grid mask. It contains two fields: detect_region (hexadecimal string) and effective_bits (integer). Each bit in the hexadecimal string corresponds to a grid cell (e.g., dividing the frame into 24 cells). A bit value of 1 indicates that detection or recognition is enabled for the corresponding cell, and 0 indicates disabled. The bit arrangement follows a predefined order (e.g., left to right or from the most significant bit to the least significant bit). The effective_bits field specifies the number of actually valid bits in the hexadecimal string, allowing the string to maintain a fixed length while only the first N bits are meaningful. For example, "FF" means 8 consecutive bits are all 1. If effective_bits is 32, all 32 bits are valid; if it is 24, only the first 24 bits are valid. This representation is commonly used for functions such as motion detection and human detection that need to flexibly select specific regions on video frames.

Trait IDCode
0x4FCCBitmaskRegionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBitmaskRegionSettingTraitPresentValueStructureRVWO
0x0007Default ValueBitmaskRegionSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"ffffffffffffffffffffffffffffffffffff"}RWO

FaceRecognitionAlgorithmType Trait​

Specifies where the face recognition algorithm runs. On-device processing offers better privacy and lower latency; cloud processing can support larger face databases.

Trait IDCode
0x4FDCFaceRecognitionAlgorithmType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFaceRecognitionAlgorithmTypeEnum81RVWO
0x0006Supported Valuelist[FaceRecognitionAlgorithmTypeEnum8]RO
0x0007Default Valueuint81RWO

RegionDimension Trait​

Defines the complete canvas size that a client (such as an App) can use for region configuration (such as detection regions, privacy masks). Its value is a structure containing three fields: unit (enum8): the unit of width and height, e.g., GRID (grid cell), PIXEL (pixel). width (uint32): the total width of the region in the specified unit. height (uint32): the total height of the region in the specified unit.

Trait IDCode
0x502DRegionDimension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRegionDimensionTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain Commands.

GestureRecognition​

Introduction​

Analyzes gesture actions in real time, converting predefined gestures into control commands.

Function Identification​

Function IDCodeName
0x00DCGestureRecognitionGesture recognition

Trait​

Trait IDCodeNameConformance
0x4EFAGestureRecognitionReportGesture recognition event reportM
0x500DGestureRecognitionAntiFalseTriggerGesture recognition anti-false-trigger enableO
0x500CGestureRecognitionModeGesture recognition typeO
0x500BRectangularRegionSettingGesture recognition regionO
0x5008GestureRecognitionEnableGesture recognition enableO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB3TimePeriodSettingTime period settingO
0x4FE1GestureRecognitionSoundEnableGesture recognition sound prompt enableO

Command​

This Function does not contain Commands.

Data Types​

GestureRecognitionReportEnum16 Type​

This enumeration defines the valid values of the Present Value of the GestureRecognitionReport Trait.

ValueNameDescription
0x02TwoTwo
0x04FourFour
0x05FiveFive
0x06EightEight
0x0AGoodGood
0x65TwoBothHandsTwo (both hands)
0x66FourBothHandsFour (both hands)
0x67FiveBothHandsFive (both hands)
0x68EightBothHandsEight (both hands)
GestureRecognitionModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the GestureRecognitionMode Trait.

ValueNameDescription
0x00OneHandOne-hand mode
0x01TwoHandTwo-hand mode
RectangularRegionSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the RectangularRegionSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0x_beginint32MTop-left corner X coordinate.
1y_beginint32MTop-left corner Y coordinate.
2x_endint32MBottom-right corner X coordinate.
3y_endint32MBottom-right corner Y coordinate.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimePeriodSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour clock).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour clock).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, ordered from Sunday to Saturday; 1 indicates active, 0 indicates inactive.

Trait Definitions​

Trait IDNameConformance
0x4EFAGestureRecognitionReportM
0x500DGestureRecognitionAntiFalseTriggerO
0x500CGestureRecognitionModeO
0x500BRectangularRegionSettingO
0x5008GestureRecognitionEnableO
0x4FB4SensitivityLevelEnumO
0x4FB3TimePeriodSettingO
0x4FE1GestureRecognitionSoundEnableO

GestureRecognitionReport Trait​

Enables the device to recognize specific user gestures through a vision sensor. When a predefined gesture action is detected, the corresponding gesture event is automatically reported.

Trait IDCode
0x4EFAGestureRecognitionReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueGestureRecognitionReportEnum162VM
0x0006Supported Valuelist[GestureRecognitionReportEnum16]RO

GestureRecognitionAntiFalseTrigger Trait​

Enables or disables the gesture recognition anti-false-trigger protection to reduce accidental triggers.

Trait IDCode
0x500DGestureRecognitionAntiFalseTrigger
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

GestureRecognitionMode Trait​

Specifies whether gesture recognition is in one-hand mode or two-hand mode.

Trait IDCode
0x500CGestureRecognitionMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueGestureRecognitionModeEnum80RVWO
0x0006Supported Valuelist[GestureRecognitionModeEnum8]RO
0x0007Default Valueuint80RWO

RectangularRegionSetting Trait​

Defines a rectangular region using the absolute coordinates of the top-left corner (XBegin, YBegin) and the bottom-right corner (XEnd, YEnd); the coordinate origin is at the top-left of the image, X increases rightward and Y increases downward. Commonly used for configuring detection regions, privacy mask regions and similar functions.

Trait IDCode
0x500BRectangularRegionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRectangularRegionSettingTraitPresentValueStructureRVWO

GestureRecognitionEnable Trait​

The master switch to enable gesture recognition.

Trait IDCode
0x5008GestureRecognitionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SensitivityLevelEnum Trait​

This enumeration configures sensitivity levels for multiple device functions (such as detection, recognition, sensing, alerting, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity respectively. Higher sensitivity makes the function more responsive to trigger conditions (e.g., easier to detect weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

TimePeriodSetting Trait​

Defines the schedule plan of time periods and weekdays. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are strings in "HH:MM" format (24-hour clock), ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the entire day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period spans midnight, starting from the starttime of the active day to the endtime of the next day. repeat is an unsigned 8-bit integer array of length 7, with index order corresponding to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday. A value of 1 indicates the weekday is active, and 0 indicates it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

GestureRecognitionSoundEnable Trait​

Enables or disables the sound feedback during gesture recognition (such as static/dynamic gesture execution or dynamic gesture activation). When enabled, the device emits a sound prompt.

Trait IDCode
0x4FE1GestureRecognitionSoundEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain Commands.

VehicleDetection​

Introduction​

Detects the appearance of vehicles in the monitored area, reporting vehicle presence events for security or automation use.

Function Identification​

Function IDCodeName
0x00DDVehicleDetectionVehicle detection

Trait​

Trait IDCodeNameConformance
0x4EFBVehicleDetectedVehicle recognitionM
0x4FEAVehicleDetectionEnableVehicle recognition enableO
0x502DRegionDimensionRegion dimensionO
0x4FCCBitmaskRegionSettingDetection region settingO
0x4FB6RecordEnableRecord enableO
0x4FB7IntervalSettingTime interval settingO
0x4FB5PushEnablePush enableO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB3TimePeriodSettingTime period settingO
0x4E59VehicleIDVehicle IDO
0x5066StrangeVehicleDetectedStrange vehicle detectedO
0x5196VehicleEntryExitEventVehicle entry/exit eventO

Command​

This Function does not contain Commands.

Data Types​

VehicleDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value of the VehicleDetected Trait.

ValueNameDescription
0x01VehicleDetectedVehicle recognized
RegionDimensionTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the RegionDimension Trait.

Struct Member No.Field NameTypeMandatoryDescription
0unitenum8MThe unit of width and height, e.g., GRID or PIXEL.
1widthuint32MThe total width of the region in the specified unit.
2heightuint32MThe total height of the region in the specified unit.
BitmaskRegionSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the BitmaskRegionSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0detect_regioncharacterStringMA bitmask in hexadecimal string form, where each bit corresponds to a grid cell.
1effective_bitsint32MThe number of valid bits in the bitmask; bits beyond this count should be ignored.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimePeriodSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour clock).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour clock).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, ordered from Sunday to Saturday; 1 indicates active, 0 indicates inactive.
StrangeVehicleDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value of the StrangeVehicleDetected Trait.

ValueNameDescription
0x01DetectedDetected
VehicleEntryExitEventEnum8 Type​

This enumeration defines the valid values of the Present Value of the VehicleEntryExitEvent Trait.

ValueKeyChinese NameEnglish NameDescription
0x01VehicleExitVehicle exitedVehicle ExitDetected that a vehicle has exited (left).
0x02VehicleEntryVehicle enteredVehicle EntryDetected that a vehicle has entered.

Trait Definitions​

Trait IDNameConformance
0x4EFBVehicleDetectedM
0x4FEAVehicleDetectionEnableO
0x502DRegionDimensionO
0x4FCCBitmaskRegionSettingO
0x4FB6RecordEnableO
0x4FB7IntervalSettingO
0x4FB5PushEnableO
0x4FB4SensitivityLevelEnumO
0x4FB3TimePeriodSettingO
0x4E59VehicleIDO
0x5066StrangeVehicleDetectedO
0x5196VehicleEntryExitEventO

VehicleDetected Trait​

Enables the device to recognize vehicles in the monitored area. When a vehicle entering, moving or parking is observed, a vehicle detection event is automatically reported.

Trait IDCode
0x4EFBVehicleDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVehicleDetectedEnum81VM
0x0006Supported Valuelist[VehicleDetectedEnum8]RO

VehicleDetectionEnable Trait​

The master switch to enable or disable vehicle detection (cloud-based).

Trait IDCode
0x4FEAVehicleDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

RegionDimension Trait​

Defines the complete canvas size that a client (such as an App) can use for region configuration (such as detection regions, privacy masks). Its value is a structure containing three fields: unit (enum8): the unit of width and height, e.g., GRID (grid cell), PIXEL (pixel). width (uint32): the total width of the region in the specified unit. height (uint32): the total height of the region in the specified unit.

Trait IDCode
0x502DRegionDimension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRegionDimensionTraitPresentValueStructureRVO

BitmaskRegionSetting Trait​

Defines region configuration based on a grid mask. It contains two fields: detect_region (hexadecimal string) and effective_bits (integer). Each bit in the hexadecimal string corresponds to a grid cell (e.g., dividing the frame into 24 cells). A bit value of 1 indicates that detection or recognition is enabled for the corresponding cell, and 0 indicates disabled. The bit arrangement follows a predefined order (e.g., left to right or from the most significant bit to the least significant bit). The effective_bits field specifies the number of actually valid bits in the hexadecimal string, allowing the string to maintain a fixed length while only the first N bits are meaningful. For example, "FF" means 8 consecutive bits are all 1. If effective_bits is 32, all 32 bits are valid; if it is 24, only the first 24 bits are valid. This representation is commonly used for functions such as motion detection and human detection that need to flexibly select specific regions on video frames.

Trait IDCode
0x4FCCBitmaskRegionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBitmaskRegionSettingTraitPresentValueStructureRVWO
0x0007Default ValueBitmaskRegionSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"ffffffffffffffffffffffffffffffffffff"}RWO

RecordEnable Trait​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

IntervalSetting Trait​

Configures the minimum time interval between two consecutive event triggers of a specific function (e.g., detection, recognition). The value is numeric, in seconds. After an event is triggered, any further detection of the same event within this interval will not generate a new trigger until the interval has elapsed.

Trait IDCode
0x4FB7IntervalSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

PushEnable Trait​

Controls whether push notifications are sent to the user when a specific function (such as detection events, recognition events) is triggered. The value is of boolean type: true (enabled) means a push notification is sent when the event occurs; false (disabled) means no notification is sent even if the event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

SensitivityLevelEnum Trait​

This enumeration configures sensitivity levels for multiple device functions (such as detection, recognition, sensing, alerting, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity respectively. Higher sensitivity makes the function more responsive to trigger conditions (e.g., easier to detect weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

TimePeriodSetting Trait​

Defines the schedule plan of time periods and weekdays. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are strings in "HH:MM" format (24-hour clock), ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the entire day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period spans midnight, starting from the starttime of the active day to the endtime of the next day. repeat is an unsigned 8-bit integer array of length 7, with index order corresponding to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday. A value of 1 indicates the weekday is active, and 0 indicates it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

VehicleID Trait​

VehicleID is the unique identifier assigned to each electric vehicle (EV).

Trait IDCode
0x4E59VehicleID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuestring32RVO

StrangeVehicleDetected Trait​

Used to report the event when a strange vehicle is detected.

Trait IDCode
0x5066StrangeVehicleDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStrangeVehicleDetectedEnum81VO
0x0006Supported Valuelist[StrangeVehicleDetectedEnum8]RO
0x0007Default Valueuint81RWO

VehicleEntryExitEvent Trait​

Vehicle entry/exit event. Indicates the event that the device has detected a vehicle entering or exiting. This Trait is an enumeration (uint8), report-only, and is actively reported by the device when a vehicle entry/exit event is detected.

Trait IDCode
0x5196VehicleEntryExitEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVehicleEntryExitEventEnum8VO
0x0006Supported Valuelist[VehicleEntryExitEventEnum8]RO

Command Definitions​

This Function does not contain Commands.

FlameDetection​

Introduction​

Detects visible flames through image or sensor algorithms, promptly reporting fire events for early warning.

Function Identification​

Function IDCodeName
0x00DEFlameDetectionFlame detection

Trait​

Trait IDCodeNameConformance
0x4EFCFlameDetectedFlame detectionM
0x4FF8FlameDetectionEnableFlame recognition enableO
0x4FB5PushEnablePush enableO
0x4FB6RecordEnableRecord enableO

Command​

This Function does not contain Commands.

Data Types​

FlameDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value of the FlameDetected Trait.

ValueNameDescription
0x01FlameDetectedFlame recognized

Trait Definitions​

Trait IDNameConformance
0x4EFCFlameDetectedM
0x4FF8FlameDetectionEnableO
0x4FB5PushEnableO
0x4FB6RecordEnableO

FlameDetected Trait​

Enables the device to recognize open flames or flame features in the monitored area. When a suspected flame is detected, an event is automatically triggered and reported.

Trait IDCode
0x4EFCFlameDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFlameDetectedEnum81VM
0x0006Supported Valuelist[FlameDetectedEnum8]RO

FlameDetectionEnable Trait​

The master switch to enable or disable flame detection.

Trait IDCode
0x4FF8FlameDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

PushEnable Trait​

Controls whether push notifications are sent to the user when a specific function (such as detection events, recognition events) is triggered. The value is of boolean type: true (enabled) means a push notification is sent when the event occurs; false (disabled) means no notification is sent even if the event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

RecordEnable Trait​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

Command Definitions​

This Function does not contain Commands.

PackageRecognition​

Introduction​

Automatically recognizes packages in the scene, sending reminders and recording events upon delivery or pickup.

Function Identification​

Function IDCodeName
0x00DFPackageRecognitionPackage recognition

Trait​

Trait IDCodeNameConformance
0x4EFDPackageRecognitionReportPackage recognition reportM
0x4FF1PackageRecognitionEnablePackage recognition detection enableO
0x4FB3TimePeriodSettingTime period settingO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB5PushEnablePush enableO
0x4FB6RecordEnableRecord enableO
0x4FB7IntervalSettingTime interval settingO
0x4FCCBitmaskRegionSettingDetection region settingO
0x502DRegionDimensionRegion dimensionO

Command​

This Function does not contain Commands.

Data Types​

PackageRecognitionReportEnum8 Type​

This enumeration defines the valid values of the Present Value of the PackageRecognitionReport Trait.

ValueNameDescription
0x01PackageAppearedPackage appeared
0x02PackageDisappearedPackage disappeared
TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the TimePeriodSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour clock).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour clock).
2repeatarray[uint32]MWeekday repeat flags of fixed length 7, ordered from Sunday to Saturday; 1 indicates active, 0 indicates inactive.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
BitmaskRegionSettingTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the BitmaskRegionSetting Trait.

Struct Member No.Field NameTypeMandatoryDescription
0detect_regioncharacterStringMA bitmask in hexadecimal string form, where each bit corresponds to a grid cell.
1effective_bitsint32MThe number of valid bits in the bitmask; bits beyond this count should be ignored.
RegionDimensionTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the RegionDimension Trait.

Struct Member No.Field NameTypeMandatoryDescription
0unitenum8MThe unit of width and height, e.g., GRID or PIXEL.
1widthuint32MThe total width of the region in the specified unit.
2heightuint32MThe total height of the region in the specified unit.

Trait Definitions​

Trait IDNameConformance
0x4EFDPackageRecognitionReportM
0x4FF1PackageRecognitionEnableO
0x4FB3TimePeriodSettingO
0x4FB4SensitivityLevelEnumO
0x4FB5PushEnableO
0x4FB6RecordEnableO
0x4FB7IntervalSettingO
0x4FCCBitmaskRegionSettingO
0x502DRegionDimensionO

PackageRecognitionReport Trait​

Automatically reports events when a package is delivered, picked up or its state changes.

Trait IDCode
0x4EFDPackageRecognitionReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePackageRecognitionReportEnum81VM
0x0006Supported Valuelist[PackageRecognitionReportEnum8]RO

PackageRecognitionEnable Trait​

The master switch to enable or disable package detection.

Trait IDCode
0x4FF1PackageRecognitionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TimePeriodSetting Trait​

Defines the schedule plan of time periods and weekdays. The schedule configuration structure contains three fields: starttime, endtime and repeat. starttime and endtime are strings in "HH:MM" format (24-hour clock), ranging from "00:00" to "23:59", defining the start and end time of the active period. If the two are equal, the period covers the entire day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period spans midnight, starting from the starttime of the active day to the endtime of the next day. repeat is an unsigned 8-bit integer array of length 7, with index order corresponding to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday. A value of 1 indicates the weekday is active, and 0 indicates it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

SensitivityLevelEnum Trait​

This enumeration configures sensitivity levels for multiple device functions (such as detection, recognition, sensing, alerting, etc.). Valid values are 0, 1, 2, 3, 4, corresponding to lowest, low, medium, high and highest sensitivity respectively. Higher sensitivity makes the function more responsive to trigger conditions (e.g., easier to detect weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

PushEnable Trait​

Controls whether push notifications are sent to the user when a specific function (such as detection events, recognition events) is triggered. The value is of boolean type: true (enabled) means a push notification is sent when the event occurs; false (disabled) means no notification is sent even if the event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

RecordEnable Trait​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

IntervalSetting Trait​

Configures the minimum time interval between two consecutive event triggers of a specific function (e.g., detection, recognition). The value is numeric, in seconds. After an event is triggered, any further detection of the same event within this interval will not generate a new trigger until the interval has elapsed.

Trait IDCode
0x4FB7IntervalSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

BitmaskRegionSetting Trait​

Defines region configuration based on a grid mask. It contains two fields: detect_region (hexadecimal string) and effective_bits (integer). Each bit in the hexadecimal string corresponds to a grid cell (e.g., dividing the frame into 24 cells). A bit value of 1 indicates that detection or recognition is enabled for the corresponding cell, and 0 indicates disabled. The bit arrangement follows a predefined order (e.g., left to right or from the most significant bit to the least significant bit). The effective_bits field specifies the number of actually valid bits in the hexadecimal string, allowing the string to maintain a fixed length while only the first N bits are meaningful. For example, "FF" means 8 consecutive bits are all 1. If effective_bits is 32, all 32 bits are valid; if it is 24, only the first 24 bits are valid. This representation is commonly used for functions such as motion detection and human detection that need to flexibly select specific regions on video frames.

Trait IDCode
0x4FCCBitmaskRegionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBitmaskRegionSettingTraitPresentValueStructureRVWO
0x0007Default ValueBitmaskRegionSettingTraitPresentValueStructureIf expressed in JSON, the default value is: {"0":"ffffffffffffffffffffffffffffffffffff"}RWO

RegionDimension Trait​

Defines the complete canvas size that a client (such as an App) can use for region configuration (such as detection regions, privacy masks). Its value is a structure containing three fields: unit (enum8): the unit of width and height, e.g., GRID (grid cell), PIXEL (pixel). width (uint32): the total width of the region in the specified unit. height (uint32): the total height of the region in the specified unit.

Trait IDCode
0x502DRegionDimension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRegionDimensionTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain Commands.

HumanPresence​

Introduction​

Detects human presence in a space, supporting advanced sensing capabilities such as people counting, trajectory and identity association.

Function Identification​

Function IDCodeName
0x00E0HumanPresenceHuman presence detection

Trait​

Trait IDCodeNameConformance
0x4F01PresenceHuman presenceM
0x4F02ActivityDetectedHuman activity detectionO
0x4E72HoldTimeAbsence hold timeO
0x4F06PresenceConfigurationPresence soft sensing configurationO

Command​

Command IDCodeNameConformance
0x9C73ResetPresenceReset to absentO

Data Types​

PresenceEnum8 Type​

This enumeration defines the valid values of the Present Value of the Presence Trait.

ValueNameDescription
0x00UnknownUnknown
0x01NoHumanDetectedNo person detected
0x02HumanDetectedPerson detected
PresenceConfigurationTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the PresenceConfiguration Trait.

Struct Member No.Field NameTypeMandatoryDescription
0HubListlist[characterString]MList of gateway Device IDs.
1EventsStructOEvent configuration, containing DeviceID and ResList.
2StatesStructOState configuration, containing DeviceID and ResList.
3EntriescharacterStringOEntrance configuration.
4Configuint32OConfiguration items, e.g., DetDuration, UnKnownDuration.

Trait Definitions​

Trait IDNameConformance
0x4F01PresenceM
0x4F02ActivityDetectedO
0x4E72HoldTimeO
0x4F06PresenceConfigurationO

Presence Trait​

Presence is used to detect whether there is a person in the monitored area.

Trait IDCode
0x4F01Presence
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePresenceEnum80RVM
0x0006Supported Valuelist[PresenceEnum8]RO
0x0007Default Valueuint80RWO

ActivityDetected Trait​

Indicates whether any human activity is detected while the space is occupied.

Trait IDCode
0x4F02ActivityDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0VO
0x0007Default Valueboolean0RWO

HoldTime Trait​

Absence hold time, unit: S.

Trait IDCode
0x4E72HoldTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0007Default Valueuint161RWO

PresenceConfiguration Trait​

Used to configure the settings related to presence soft sensing.

Trait IDCode
0x4F06PresenceConfiguration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePresenceConfigurationTraitPresentValueStructureRVWO

Command Definitions​

Command IDNameConformance
0x9C73ResetPresenceO

ResetPresence Command​

The ResetPresence command is used to reset the current presence detection state of the device or space.

This Command has no parameters.

HeartMonitoring​

Introduction​

Uses sensors to continuously or periodically measure the user's heart rate, recording and analyzing heart-health-related data.

Function Identification​

Function IDCodeName
0x00E1HeartMonitoringHeart monitoring

Trait​

Trait IDCodeNameConformance
0x4F08HeartRateHeart rateM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4F08HeartRateM

HeartRate Trait​

Measures the number of heartbeats per minute in real time. Unit: bpm.

Trait IDCode
0x4F08HeartRate
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

BreathingMonitoring​

Introduction​

Uses sensors to continuously or periodically measure the user's breathing rate and pattern, supporting health monitoring.

Function Identification​

Function IDCodeName
0x00E2BreathingMonitoringBreathing monitoring

Trait​

Trait IDCodeNameConformance
0x4F07BreathingRateBreathing rateM

Command​

This Function does not contain Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4F07BreathingRateM

BreathingRate Trait​

Measures the number of breaths per minute in real time. Unit: bpm.

Trait IDCode
0x4F07BreathingRate
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat60.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain Commands.

AmbientSensingConfiguration​

Introduction​

Provides Aqara ambient sensing configuration capabilities, covering zone management, installation mode selection, fall detection, proximity sensing and PIR/Radar cooperative sensing configuration items, used for real-time parameter configuration and zone-based management of ambient sensing devices.

Function Identification​

Function IDCodeName
0x00E3AmbientSensingConfigurationAmbient sensing configuration

Trait​

Trait IDCodeNameConformance
0x4F8DZonesInfoZone informationM
0x4F19ZonesZonesM
0x4F5AProximityDistanceLevelProximity sensing distanceO
0x4F32AIEntryExitRegionRecognitionAI entry/exit region recognitionO
0x4F31AutoEdgeRecognitionAutomatic edge recognitionO
0x4F30AutoInterferenceSourceRecognitionAutomatic interference source recognitionO
0x4F2EBedHeightSettingBed height settingO
0x4F2FFallDelayTimeSettingFall delay time settingO
0x4F2DFallDetectionSensitivityFall detection sensitivityO
0x4F2CFallMaskBitmaskFall mask bitmaskO
0x4F2BEnableFallDetectionEnable fall detectionO
0x4F2ADetectionDirectionSettingDetection direction settingO
0x4F15InstallHeightSettingInstall height settingO
0x4F29CoordinateReverseSettingCoordinate reverse settingO
0x4F28EnableAIAdaptiveSensitivityEnable AI adaptive sensitivityO
0x4F27EnableAIInterferenceSourceRecognitionEnable AI interference source recognitionO
0x4F25EnableAverageOccupancyDurationDetectionEnable average occupancy duration detectionO
0x4F24EnableActivityDetectionEnable activity detectionO
0x4F23EnableAIHighPrecisionRecognitionEnable AI high precision detectionO
0x4F22EnableTrafficFlowDetectionEnable traffic flow detectionO
0x4F21EnableWalkingDistanceDetectionEnable walking distance detectionO
0x4F20EnableVisitorCountDetectionEnable visitor count detectionO
0x4F1FEnableHumanCountDetectionEnable human count detectionO
0x4F1EEnableLargeMotionRecognitionEnable large motion recognitionO
0x4F1DEdgeRegionBitmaskEdge region bitmaskO
0x4F1CInterferenceRegionBitmaskInterference region bitmaskO
0x4F1BEntryExitRegionBitmaskEntry/exit region bitmaskO
0x4F1AEnablePostureRecognitionEnable posture recognitionO
0x4F18MaxDetectionAreasMaximum detection zoneO
0x4F17InstallAngleInstall angleO
0x4F13InstallModeInstall modeO
0x4F14SideInstallSide installO
0x4F16InstallStatusInstall statusO
0x4FAAAISpaceBackgroundLearningCompleteAI space background learning completeO
0x4FA9AISpaceBackgroundLearningReportingTimeoutAI space background learning timeoutO
0x4FA8InterferenceSourceRecognitionReportingTimeoutInterference source recognition timeoutO
0x5117DetectionRangeDetection rangeO
0x5187MinDetectionRangeMinimum detection rangeO
0x5188MaxDetectionRangeMaximum detection rangeO
0x5189DetectionRangeStepDetection range stepO
0x5118SensingModeSensor modeO
0x511ADetectionRangeTargetPositionTarget position distance within detection rangeO

Command​

Command IDCodeNameConformance
0x9C7ERemoveZoneRemove zoneO
0x9C7DUpdateZoneUpdate zoneO
0x9C7BEnableAISpaceBackgroundLearningStart AI space background learningO
0x9C7ASubscribeAIEntryExitRegionRecognitionDataSubscribe AI entry/exit region recognition dataO
0x9C79SubscribeAutoEdgeRecognitionDataSubscribe automatic edge recognition dataO
0x9C78SubscribeAutoInterferenceSourceRecognitionDataSubscribe automatic interference source recognition dataO
0x9C7CAppendZoneAppend zoneO
0x9D36SetZonesSet zonesO
0x9D89SubscribeDetectionRangeTargetPositionSubscribe target position within detection rangeO

Data Types​

ZonesInfoTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the ZonesInfo Trait.

Struct Member No.Field NameTypeMandatoryDescription
0ZoneIDuint8MZone ID.
1ZoneNamecharacterStringMZone name.
2ZoneColorIDuint8MZone color ID.
3ZoneTagIDuint8MZone label ID.
4ZoneTagNamecharacterStringMZone label name.
ZonesTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the Zones Trait.

Struct Member No.Field NameTypeMandatoryDescription
0ZoneIDuint8MZone ID.
1ZoneTypeenum8MZone type (e.g., 0x00=Other, 0x01=LivingRoom, etc.; see the complete enumeration in the aqara-spec AppendZone command).
2ZoneBitmaskcharacterStringMZone bitmask.
3ZoneProximityDetectionEnablebooleanMWhether zone proximity detection is enabled.
ProximityDistanceLevelEnum8 Type​

This enumeration defines the valid values of the Present Value of the ProximityDistanceLevel Trait.

ValueNameDescription
0x00FarFar
0x01MediumMedium
0x02NearNear
FallDetectionSensitivityEnum8 Type​

This enumeration defines the valid values of the Present Value of the FallDetectionSensitivity Trait.

ValueNameDescription
0x00LowLow
0x01MediumMedium
0x02HighHigh
DetectionDirectionSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the DetectionDirectionSetting Trait.

ValueNameDescription
0x00OmniDirectionalOmnidirectional
0x01LeftRightLeft and right
CoordinateReverseSettingEnum8 Type​

This enumeration defines the valid values of the Present Value of the CoordinateReverseSetting Trait.

ValueNameDescription
0x00DisabledDisabled
0x01EnabledEnabled
0x02AutoAutomatic
InstallModeEnum8 Type​

This enumeration defines the valid values of the Present Value of the InstallMode Trait.

ValueNameDescription
0x00UnknownUnknown
0x01SideMountSide mount
0x02TopMountTop mount
SideInstallEnum8 Type​

This enumeration defines the valid values of the Present Value of the SideInstall Trait.

ValueNameDescription
0x00UnknownUnknown
0x01WallWall
0x02LeftCornerLeft corner
0x03RightCornerRight corner
InstallStatusEnum8 Type​

This enumeration defines the valid values of the Present Value of the InstallStatus Trait.

ValueNameDescription
0x00LevelFacingUpHorizontal facing up
0x01LevelTiltedFacingUpHorizontal tilted facing up
0x02LevelReverseTiltedFacingUpHorizontal reverse tilted facing up
0x03SideFacingForwardSide facing forward
0x04SideReverseFacingForwardSide reverse facing forward
0x05TopFacingDownTop facing down
0x06TiltedFacingDownTilted facing down
0x07ReverseTiltedFacingDownReverse tilted facing down
0x08InvalidInvalid
AISpaceBackgroundLearningCompleteEnum8 Type​

This enumeration defines the valid values of the Present Value of the AISpaceBackgroundLearningComplete Trait.

ValueNameDescription
0x00SUCCESSSuccess
0x01INVALID_ARGUMENTInvalid parameter
0x02INVALID_STATEInvalid state
0x03RESOURCE_EXHAUSTEDResource exhausted
0x04BUSYBusy
0x05DUPLICATE_ZONE_IDDuplicate zone ID
RemoveZone Command Structure Type​

The parameter structure of the RemoveZone Command.

Struct Member No.Field NameTypeMandatoryDescription
0ZoneIDuint8MZone ID.
UpdateZone Command Structure Type​

The parameter structure of the UpdateZone Command.

Struct Member No.Field NameTypeMandatoryDescription
0ZonesZonesTraitPresentValueStructureMZone.
AppendZone Command Structure Type​

The parameter structure of the AppendZone Command.

Struct Member No.Field NameTypeMandatoryDescription
0ZoneZonesTraitPresentValueStructureMZone.
SetZones Command Structure Type​

The parameter structure of the SetZones Command.

Struct Member No.Field NameTypeMandatoryDescription
0Zoneslist[ZonesTraitPresentValueStructure]MZone.
SubscribeAutoEdgeRecognitionData Command Structure Type​

The parameter structure of the SubscribeAutoEdgeRecognitionData Command.

Struct Member No.Field NameTypeMandatoryDescription
0Timeoutuint8MSubscription timeout.

Trait Definitions​

Trait IDNameConformance
0x4F8DZonesInfoM
0x4F19ZonesM
0x4F5AProximityDistanceLevelO
0x4F32AIEntryExitRegionRecognitionO
0x4F31AutoEdgeRecognitionO
0x4F30AutoInterferenceSourceRecognitionO
0x4F2EBedHeightSettingO
0x4F2FFallDelayTimeSettingO
0x4F2DFallDetectionSensitivityO
0x4F2CFallMaskBitmaskO
0x4F2BEnableFallDetectionO
0x4F2ADetectionDirectionSettingO
0x4F15InstallHeightSettingO
0x4F29CoordinateReverseSettingO
0x4F28EnableAIAdaptiveSensitivityO
0x4F27EnableAIInterferenceSourceRecognitionO
0x4F25EnableAverageOccupancyDurationDetectionO
0x4F24EnableActivityDetectionO
0x4F23EnableAIHighPrecisionRecognitionO
0x4F22EnableTrafficFlowDetectionO
0x4F21EnableWalkingDistanceDetectionO
0x4F20EnableVisitorCountDetectionO
0x4F1FEnableHumanCountDetectionO
0x4F1EEnableLargeMotionRecognitionO
0x4F1DEdgeRegionBitmaskO
0x4F1CInterferenceRegionBitmaskO
0x4F1BEntryExitRegionBitmaskO
0x4F1AEnablePostureRecognitionO
0x4F18MaxDetectionAreasO
0x4F17InstallAngleO
0x4F13InstallModeO
0x4F14SideInstallO
0x4F16InstallStatusO
0x4FAAAISpaceBackgroundLearningCompleteO
0x4FA9AISpaceBackgroundLearningReportingTimeoutO
0x4FA8InterferenceSourceRecognitionReportingTimeoutO
0x5117DetectionRangeO
0x5187MinDetectionRangeO
0x5188MaxDetectionRangeO
0x5189DetectionRangeStepO
0x5118SensingModeO
0x511ADetectionRangeTargetPositionO

ZonesInfo Trait​

Contains parameters such as zone color and name. This trait is not reported by the device, but is generated by the cloud.

Trait IDCode
0x4F8DZonesInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[ZonesInfoTraitPresentValueStructure]RVWM

Zones Trait​

This Trait is used to configure and read detection zone information, including the zone type, zone bitmap and whether proximity detection is enabled for the zone.

Trait IDCode
0x4F19Zones
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[ZonesTraitPresentValueStructure]RVM

ProximityDistanceLevel Trait​

This Trait is used to set the current proximity sensing distance level and declare the maximum proximity sensing level range supported by the device.

Trait IDCode
0x4F5AProximityDistanceLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueProximityDistanceLevelEnum80RVWO
0x0006Supported Valuelist[ProximityDistanceLevelEnum8]RO
0x0007Default ValueProximityDistanceLevelEnum80RWO

AIEntryExitRegionRecognition Trait​

This Trait is used to report AI entry/exit region recognition results, for the upper system to analyze zone entry/exit behavior.

Trait IDCode
0x4F32AIEntryExitRegionRecognition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringVO

AutoEdgeRecognition Trait​

This Trait is used to report automatic edge recognition results, helping to determine the effective detection boundary.

Trait IDCode
0x4F31AutoEdgeRecognition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringVO

AutoInterferenceSourceRecognition Trait​

This Trait is used to report automatic interference source recognition results, used to identify environmental factors that may affect sensing quality.

Trait IDCode
0x4F30AutoInterferenceSourceRecognition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringVO

BedHeightSetting Trait​

This Trait is used for access to and reporting of "bed height setting" data. Unit: mm.

Trait IDCode
0x4F2EBedHeightSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1640RVWO
0x0002Maximum Valueuint161500RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint1640RWO

FallDelayTimeSetting Trait​

This Trait is used for access to and reporting of "fall delay time setting" data. Unit: S.

Trait IDCode
0x4F2FFallDelayTimeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1620RVWO
0x0002Maximum Valueuint16300RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint1620RWO

FallDetectionSensitivity Trait​

This Trait is used for access to and reporting of "fall detection sensitivity" data.

Trait IDCode
0x4F2DFallDetectionSensitivity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFallDetectionSensitivityEnum80RVWO
0x0006Supported Valuelist[FallDetectionSensitivityEnum8]RO
0x0007Default ValueFallDetectionSensitivityEnum80RWO

FallMaskBitmask Trait​

This Trait is used for access to and reporting of "fall mask bitmask" data.

Trait IDCode
0x4F2CFallMaskBitmask
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

EnableFallDetection Trait​

This Trait is used for access to and reporting of "enable fall detection" data.

Trait IDCode
0x4F2BEnableFallDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

DetectionDirectionSetting Trait​

This Trait is used for access to and reporting of "detection direction setting" data.

Trait IDCode
0x4F2ADetectionDirectionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDetectionDirectionSettingEnum80RVWO
0x0006Supported Valuelist[DetectionDirectionSettingEnum8]RO
0x0007Default ValueDetectionDirectionSettingEnum80RWO

InstallHeightSetting Trait​

This Trait is used for access to and reporting of "install height setting" data. Unit: mm.

Trait IDCode
0x4F15InstallHeightSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVWO
0x0002Maximum Valueuint164000RO
0x0003Minimum Valueuint161500RO
0x0005Step Valueuint321RO
0x0007Default Valueuint160RWO

CoordinateReverseSetting Trait​

This Trait is used for access to and reporting of "coordinate reverse setting" data.

Trait IDCode
0x4F29CoordinateReverseSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCoordinateReverseSettingEnum80RVWO
0x0006Supported Valuelist[CoordinateReverseSettingEnum8]RO
0x0007Default ValueCoordinateReverseSettingEnum80RWO

EnableAIAdaptiveSensitivity Trait​

This Trait is used for access to and reporting of "enable AI adaptive sensitivity" data.

Trait IDCode
0x4F28EnableAIAdaptiveSensitivity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableAIInterferenceSourceRecognition Trait​

This Trait is used for access to and reporting of "enable AI interference source recognition" data.

Trait IDCode
0x4F27EnableAIInterferenceSourceRecognition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableAverageOccupancyDurationDetection Trait​

This Trait is used for access to and reporting of "enable average occupancy duration detection" data.

Trait IDCode
0x4F25EnableAverageOccupancyDurationDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableActivityDetection Trait​

This Trait is used for access to and reporting of "enable activity detection" data.

Trait IDCode
0x4F24EnableActivityDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableAIHighPrecisionRecognition Trait​

This Trait is used for access to and reporting of "enable AI high precision detection" data.

Trait IDCode
0x4F23EnableAIHighPrecisionRecognition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableTrafficFlowDetection Trait​

This Trait is used for access to and reporting of "enable traffic flow detection" data.

Trait IDCode
0x4F22EnableTrafficFlowDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableWalkingDistanceDetection Trait​

This Trait is used for access to and reporting of "enable walking distance detection" data.

Trait IDCode
0x4F21EnableWalkingDistanceDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableVisitorCountDetection Trait​

This Trait is used for access to and reporting of "enable visitor count detection" data.

Trait IDCode
0x4F20EnableVisitorCountDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableHumanCountDetection Trait​

This Trait is used for access to and reporting of "enable human count detection" data.

Trait IDCode
0x4F1FEnableHumanCountDetection
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EnableLargeMotionRecognition Trait​

This Trait is used for access to and reporting of "enable large motion recognition" data.

Trait IDCode
0x4F1EEnableLargeMotionRecognition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

EdgeRegionBitmask Trait​

This Trait is used for access to and reporting of "edge region bitmask" data.

Trait IDCode
0x4F1DEdgeRegionBitmask
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

InterferenceRegionBitmask Trait​

This Trait is used for access to and reporting of "interference region bitmask" data.

Trait IDCode
0x4F1CInterferenceRegionBitmask
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

EntryExitRegionBitmask Trait​

This Trait is used for access to and reporting of "entry/exit region bitmask" data.

Trait IDCode
0x4F1BEntryExitRegionBitmask
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

EnablePostureRecognition Trait​

This Trait is used for access to and reporting of "enable posture recognition" data.

Trait IDCode
0x4F1AEnablePostureRecognition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

MaxDetectionAreas Trait​

This Trait is used for access to and reporting of "maximum detection zone" data.

Trait IDCode
0x4F18MaxDetectionAreas
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint321RO

InstallAngle Trait​

This Trait is used for access to and reporting of "install angle" data.

Trait IDCode
0x4F17InstallAngle
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO

InstallMode Trait​

This Trait is used for access to and reporting of "install mode" data.

Trait IDCode
0x4F13InstallMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueInstallModeEnum80RVWO
0x0006Supported Valuelist[InstallModeEnum8]RO
0x0007Default ValueInstallModeEnum80RWO

SideInstall Trait​

This Trait is used for access to and reporting of "side install" data.

Trait IDCode
0x4F14SideInstall
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSideInstallEnum80RVWO
0x0006Supported Valuelist[SideInstallEnum8]RO
0x0007Default ValueSideInstallEnum80RWO

InstallStatus Trait​

This Trait is used for access to and reporting of "install status" data.

Trait IDCode
0x4F16InstallStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueInstallStatusEnum80RVO
0x0006Supported Valuelist[InstallStatusEnum8]RO

AISpaceBackgroundLearningComplete Trait​

This Trait is used for access to and reporting of "AI space background learning complete" data.

Trait IDCode
0x4FAAAISpaceBackgroundLearningComplete
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAISpaceBackgroundLearningCompleteEnum80VO
0x0006Supported Valuelist[AISpaceBackgroundLearningCompleteEnum8]RO
0x0007Default ValueAISpaceBackgroundLearningCompleteEnum80RWO

AISpaceBackgroundLearningReportingTimeout Trait​

This Trait is used for access to and reporting of "AI space background learning timeout" data. Unit: S.

Trait IDCode
0x4FA9AISpaceBackgroundLearningReportingTimeout
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO

InterferenceSourceRecognitionReportingTimeout Trait​

This Trait is used for access to and reporting of "interference source recognition timeout" data. Unit: S.

Trait IDCode
0x4FA8InterferenceSourceRecognitionReportingTimeout
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO

DetectionRange Trait​

This Trait is used to configure the radar detection range as a set of discrete detection range units.

The distance units of MinDetectionRange, MaxDetectionRange and DetectionRangeStep are all cm. The server should ensure that (MaxDetectionRange - MinDetectionRange) / DetectionRangeStep is always an integer multiple of 8, so that the detection range units can be completely mapped to bytes without padding bits.

The bitmask byte length of this Trait is (MaxDetectionRange - MinDetectionRange) / DetectionRangeStep / 8. For example, with a minimum range of 0, a maximum range of 600 and a step of 25 cm, the bitmask length is 600 / 25 / 8 = 3 bytes, representing 24 detection range units of 25 cm each.

image::../images/aqara_Ambient_configuration_cluster/detection_range_bitmask.svg[DetectionRangeBitmask layout example,780]

Bit n (with the least significant bit as bit 0) corresponds to the detection range unit from MinDetectionRange + n × DetectionRangeStep to MinDetectionRange + (n+1) × DetectionRangeStep cm. A value of 1 indicates that the unit is included in the current detection range, and 0 indicates it is not included.

When this Trait is NULL, it indicates that the detection range is not configured. A write operation should update the device's detection range configuration, a read operation should return the current configuration; writing NULL should clear the configured detection range. At least one detection range unit should be selected; all bits being 0 is not allowed.

Trait IDCode
0x5117DetectionRange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16RVWO

MinDetectionRange Trait​

This Trait indicates the minimum detection distance supported by the device, in cm. A value of 0 means 0 cm.

Trait IDCode
0x5187MinDetectionRange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint16600RO
0x0003Minimum Valueuint160RO

MaxDetectionRange Trait​

This Trait indicates the maximum detection distance supported by the device, in cm. A value of 600 means 600 cm.

Trait IDCode
0x5188MaxDetectionRange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16600RVO
0x0002Maximum Valueuint16600RO
0x0003Minimum Valueuint160RO

DetectionRangeStep Trait​

This Trait indicates the step of each detection range unit, in cm. A value of 25 means 25 cm. The client should use this value in combination with MinDetectionRange and MaxDetectionRange to determine the expected byte length of the DetectionRange bitmask and the distance represented by each bit.

Trait IDCode
0x5189DetectionRangeStep
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1625RVO
0x0002Maximum Valueuint16600RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint1625RWO

SensingMode Trait​

This Trait is used to configure the sensing working mode of PIR and Radar, such as PIR-only, Radar-only or dual-mode cooperation.

Trait IDCode
0x5118SensingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0006Supported Valuelist[uint8]RO
0x0007Default Valueuint80RWO

DetectionRangeTargetPosition Trait​

This Trait is used to report data related to target positions within the detection range, facilitating visual calibration and range calibration.

Trait IDCode
0x511ADetectionRangeTargetPosition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterString0VO
0x0002Maximum ValuecharacterString65535RO
0x0003Minimum ValuecharacterString0RO

Command Definitions​

Command IDNameConformance
0x9C7ERemoveZoneO
0x9C7DUpdateZoneO
0x9C7BEnableAISpaceBackgroundLearningO
0x9C7ASubscribeAIEntryExitRegionRecognitionDataO
0x9C79SubscribeAutoEdgeRecognitionDataO
0x9C78SubscribeAutoInterferenceSourceRecognitionDataO
0x9C7CAppendZoneO
0x9D36SetZonesO
0x9D89SubscribeDetectionRangeTargetPositionO

RemoveZone Command​

This Command is used to execute the "remove zone" operation.

Parameters​

RemoveZone Command Structure

UpdateZone Command​

This Command is used to execute the "update zone" operation.

Parameters​

UpdateZone Command Structure

EnableAISpaceBackgroundLearning Command​

This Command is used to execute the "start AI space background learning" operation.

This Command has no parameters.

SubscribeAIEntryExitRegionRecognitionData Command​

This Command is used to execute the "subscribe AI entry/exit region recognition data" operation.

This Command has no parameters.

SubscribeAutoEdgeRecognitionData Command​

This Command is used to execute the "subscribe automatic edge recognition data" operation.

Parameters​

SubscribeAutoEdgeRecognitionData Command Structure

SubscribeAutoInterferenceSourceRecognitionData Command​

This Command is used to execute the "subscribe automatic interference source recognition data" operation.

This Command has no parameters.

AppendZone Command​

This Command is used to execute the "append zone" operation.

Parameters​

AppendZone Command Structure

SetZones Command​

This Command is used to execute the "set zones" operation.

Parameters​

SetZones Command Structure

SubscribeDetectionRangeTargetPosition Command​

This Command is used to execute the "subscribe target position within detection range" operation.

This Command has no parameters.

RadarSensingUnion​

Introduction​

Provides a unified aggregation interface for ambient sensing joint data, used to aggregate capabilities such as child endpoint lists, zone identifiers, people counting and motion status, supporting cross-zone information aggregation and zone-based reporting in Leader/Child scenarios.

Function Identification​

Function IDCodeName
0x00E4RadarSensingUnionRadar sensing union

Trait​

Trait IDCodeNameConformance
0x4F57DataStayCheckSpace stay count calibrationM
0x4F58StartTimeStatistics start timeM
0x4F59ViewZoomGrid view zoom functionM
0x4F56FirstNetInDevice first network entryM
0x4F3CCumulativeHumanExitCountCumulative human exit countO
0x4F3BCumulativeHumanEntryCountCumulative human entry countO
0x4F39PeriodicAverageOccupancyDurationPeriodic average occupancy durationO
0x4F3APeriodicTotalWalkingDistancePeriodic total walking distanceO
0x4F38PeriodicPeakVisitorCountPeriodic peak visitor countO
0x4F37CurrentVisitorCountCurrent visitor countO
0x4F36PeriodicPeakHumanCountPeriodic peak human countO
0x4F35CurrentHumanCountCurrent human countO
0x4F34ZoneIDZone IDO
0x4F33ChildEndpointListChild endpoint listO
0x80EAMotionDetectedMotion direction detectionO
0x50E2VisitCountDeltaVisitor count deltaO
0x50E3OccupancyDurationDeltaOccupancy duration deltaO
0x50E4WalkingDistanceDeltaWalking distance deltaO
0x50E5HumanEntryCountDeltaHuman entry count deltaO
0x50E6HumanExitCountDeltaHuman exit count deltaO

Command​

This Function does not contain Commands.

Data Types​

FirstNetInEnum8 Type​

This enumeration defines the valid values of the Present Value of the FirstNetIn Trait.

ValueNameDescription
0x00FirstNetInFirst network entry
0x01NetInGuideNetwork entry guidance complete
0x02SecondStepEntered step two
0x03ThirdStepEntered step three
0x04FourthStepEntered step four
CumulativeHumanExitCountTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the CumulativeHumanExitCount Trait.

Struct Member No.Field NameTypeMandatoryDescription
0StartTimeuint32MStart time, unit s.
1EndTimeuint32MEnd time, unit s.
2Countuint16MCumulative number of people who exited.
CumulativeHumanEntryCountTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the CumulativeHumanEntryCount Trait.

Struct Member No.Field NameTypeMandatoryDescription
0StartTimeuint32MStart time, unit s.
1EndTimeuint32MEnd time, unit s.
2Countuint16MCumulative number of people who entered.
PeriodicAverageOccupancyDurationTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the PeriodicAverageOccupancyDuration Trait.

Struct Member No.Field NameTypeMandatoryDescription
0StartTimeuint32MStart time, unit s.
1EndTimeuint32MEnd time, unit s.
2Durationuint32MAverage occupancy duration, unit s.
PeriodicTotalWalkingDistanceTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the PeriodicTotalWalkingDistance Trait.

Struct Member No.Field NameTypeMandatoryDescription
0StartTimeuint32MStart time, unit s.
1EndTimeuint32MEnd time, unit s.
2Distanceuint32MTotal walking distance, unit m.
PeriodicPeakVisitorCountTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the PeriodicPeakVisitorCount Trait.

Struct Member No.Field NameTypeMandatoryDescription
0StartTimeuint32MStart time, unit s.
1EndTimeuint32MEnd time, unit s.
2Countuint16MVisitor count value.
PeriodicPeakHumanCountTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the PeriodicPeakHumanCount Trait.

Struct Member No.Field NameTypeMandatoryDescription
0StartTimeuint32MStart time, unit s.
1EndTimeuint32MEnd time, unit s.
2Countuint16MPeople count value.
MotionDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value of the MotionDetected Trait.

ValueNameDescription
0x00EnterEntering
0x01LeftLeaving
0x02LeftInLeft entry
0x03RightOutRight exit
0x04RightInRight entry
0x05LeftOutLeft exit
0x06AccessApproaching
0x07AwayMoving away
VisitCountDeltaTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the VisitCountDelta Trait.

Struct Member No.Field NameTypeMandatoryDescription
0CountDeltauint16MThe visitor increment detected since the last VisitCountDelta report, in times, with a value of at least 1.
1ObservationDurationuint32MThe observation duration for collecting this increment, unit s.
OccupancyDurationDeltaTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the OccupancyDurationDelta Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DurationDeltauint32MThe accumulated occupancy duration increment since the last OccupancyDurationDelta report, unit s, with a value of at least 1.
1ObservationDurationuint32MThe observation duration for collecting this increment, unit s.
WalkingDistanceDeltaTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the WalkingDistanceDelta Trait.

Struct Member No.Field NameTypeMandatoryDescription
0DistanceDeltauint32MThe accumulated walking distance increment since the last WalkingDistanceDelta report, unit m, with a value of at least 1.
1ObservationDurationuint32MThe observation duration for collecting this increment, unit s.
HumanEntryCountDeltaTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the HumanEntryCountDelta Trait.

Struct Member No.Field NameTypeMandatoryDescription
0CountDeltauint16MThe human entry increment detected since the last HumanEntryCountDelta report, in times, with a value of at least 1.
1ObservationDurationuint32MThe observation duration for collecting this increment, unit s.
HumanExitCountDeltaTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the HumanExitCountDelta Trait.

Struct Member No.Field NameTypeMandatoryDescription
0CountDeltauint16MThe human exit increment detected since the last HumanExitCountDelta report, in times, with a value of at least 1.
1ObservationDurationuint32MThe observation duration for collecting this increment, unit s.

Trait Definitions​

Trait IDNameConformance
0x4F57DataStayCheckM
0x4F58StartTimeM
0x4F59ViewZoomM
0x4F56FirstNetInM
0x4F3CCumulativeHumanExitCountO
0x4F3BCumulativeHumanEntryCountO
0x4F39PeriodicAverageOccupancyDurationO
0x4F3APeriodicTotalWalkingDistanceO
0x4F38PeriodicPeakVisitorCountO
0x4F37CurrentVisitorCountO
0x4F36PeriodicPeakHumanCountO
0x4F35CurrentHumanCountO
0x4F34ZoneIDO
0x4F33ChildEndpointListO
0x80EAMotionDetectedO
0x50E2VisitCountDeltaO
0x50E3OccupancyDurationDeltaO
0x50E4WalkingDistanceDeltaO
0x50E5HumanEntryCountDeltaO
0x50E6HumanExitCountDeltaO

DataStayCheck Trait​

This Trait is used for access to and reporting of "space stay count calibration" data.

Trait IDCode
0x4F57DataStayCheck
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWM
0x0002Maximum Valueuint3210000RO
0x0003Minimum Valueuint32-10000RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

StartTime Trait​

This Trait is used for access to and reporting of "statistics start time" data. Unit: minute.

Trait IDCode
0x4F58StartTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVWM
0x0002Maximum Valueuint161440RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint160RWO

ViewZoom Trait​

This Trait is used for access to and reporting of "grid view zoom function" data.

Trait IDCode
0x4F59ViewZoom
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWM
0x0007Default Valueboolean0RWO

FirstNetIn Trait​

Used for the guidance and related functions when a device first joins the network and enters the device detail page.

Trait IDCode
0x4F56FirstNetIn
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFirstNetInEnum80RVWM
0x0006Supported Valuelist[FirstNetInEnum8]RO
0x0007Default ValueFirstNetInEnum80RWO

CumulativeHumanExitCount Trait​

This Trait is used for access to and reporting of "cumulative human exit count" data.

Trait IDCode
0x4F3CCumulativeHumanExitCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCumulativeHumanExitCountTraitPresentValueStructureRVO

CumulativeHumanEntryCount Trait​

This Trait is used for access to and reporting of "cumulative human entry count" data.

Trait IDCode
0x4F3BCumulativeHumanEntryCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCumulativeHumanEntryCountTraitPresentValueStructureRVO

PeriodicAverageOccupancyDuration Trait​

This Trait is used for access to and reporting of "periodic average occupancy duration" data.

Trait IDCode
0x4F39PeriodicAverageOccupancyDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePeriodicAverageOccupancyDurationTraitPresentValueStructureRVO

PeriodicTotalWalkingDistance Trait​

This Trait is used for access to and reporting of "periodic total walking distance" data.

Trait IDCode
0x4F3APeriodicTotalWalkingDistance
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePeriodicTotalWalkingDistanceTraitPresentValueStructureRVO

PeriodicPeakVisitorCount Trait​

This Trait is used for access to and reporting of "periodic peak visitor count" data.

Trait IDCode
0x4F38PeriodicPeakVisitorCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePeriodicPeakVisitorCountTraitPresentValueStructureRVO

CurrentVisitorCount Trait​

This Trait is used for access to and reporting of "current visitor count" data.

Trait IDCode
0x4F37CurrentVisitorCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO

PeriodicPeakHumanCount Trait​

This Trait is used for access to and reporting of "periodic peak human count" data.

Trait IDCode
0x4F36PeriodicPeakHumanCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePeriodicPeakHumanCountTraitPresentValueStructureRVO

CurrentHumanCount Trait​

This Trait is used for access to and reporting of "current human count" data.

Trait IDCode
0x4F35CurrentHumanCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint160RVO
0x0002Maximum Valueuint1610RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint160RWO

ZoneID Trait​

This Trait is used for access to and reporting of "zone ID" data.

Trait IDCode
0x4F34ZoneID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO

ChildEndpointList Trait​

This Trait is used to report the list of Child endpoint identifiers managed by the Leader endpoint. If the list is empty, it indicates that no Child endpoint is currently managed.

Trait IDCode
0x4F33ChildEndpointList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

MotionDetected Trait​

This Trait is used to report motion state changes. In the Leader role, the global motion state can be reported; in the Child role, the motion state of its bound zone is reported.

Trait IDCode
0x80EAMotionDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMotionDetectedEnum80VO
0x0006Supported Valuelist[MotionDetectedEnum8]RO

VisitCountDelta Trait​

Used to report the visitor increment detected since the last VisitCountDelta report; the client can accumulate this increment to obtain the cumulative visitor count.

Trait IDCode
0x50E2VisitCountDelta
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVisitCountDeltaTraitPresentValueStructureRVO

OccupancyDurationDelta Trait​

Used to report the accumulated occupancy duration increment since the last OccupancyDurationDelta report, in seconds.

Trait IDCode
0x50E3OccupancyDurationDelta
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOccupancyDurationDeltaTraitPresentValueStructureRVO

WalkingDistanceDelta Trait​

Used to report the accumulated walking distance increment since the last WalkingDistanceDelta report, in meters.

Trait IDCode
0x50E4WalkingDistanceDelta
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWalkingDistanceDeltaTraitPresentValueStructureRVO

HumanEntryCountDelta Trait​

Used to report the human entry increment (delta, not the cumulative total) detected since the last HumanEntryCountDelta, mapped and reported from the radar sensing Union Event. The server may report incrementally (CountDelta=1) or aggregate multiple detections before reporting; the same detection must not be reported repeatedly. The client should accumulate CountDelta to obtain the cumulative entry count, and should not rely on the server to persist or replay lost events.

Trait IDCode
0x50E5HumanEntryCountDelta
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHumanEntryCountDeltaTraitPresentValueStructureRVO

HumanExitCountDelta Trait​

Used to report the human exit increment (delta, not the cumulative total) detected since the last HumanExitCountDelta, mapped and reported from the radar sensing Union Event. The server may report incrementally (CountDelta=1) or aggregate multiple detections before reporting; the same detection must not be reported repeatedly. The client should accumulate CountDelta to obtain the cumulative exit count, and should not rely on the server to persist or replay lost events.

Trait IDCode
0x50E6HumanExitCountDelta
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueHumanExitCountDeltaTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain Commands.

OccupantLocation​

Introduction​

Used to synchronize the location data of presence targets, providing information such as target type, posture and activity state, supporting per-target location subscription and detection target management.

Function Identification​

Function IDCodeName
0x00E5OccupantLocationOccupant location

Trait​

Trait IDCodeNameConformance
0x4F3EMaxDetectionTargetsMaximum detection targetsM
0x4F46LocationInfoLocation infoO
0x4F45ActivityStateActivity stateO
0x4F44FallStateFall stateO
0x4F43LargeMotionStateLarge motion stateO
0x4F42LyingStateLying stateO
0x4F41StandingStateStanding stateO
0x4F40SittingStateSitting stateO
0x4F3FWalkingStateWalking stateO

Command​

Command IDCodeNameConformance
0x9C80RemoveDetectionTargetRemove detection targetO
0x9C7FSubscribeLocationDataSubscribe location dataO

Data Types​

LocationInfoTraitPresentValueStructure Type​

This structure defines the Present Value field layout of the LocationInfo Trait.

Struct Member No.Field NameTypeMandatoryDescription
0TargetIduint8MTarget ID.
1TargetXCoordinateint16MTarget X coordinate.
2TargetYCoordinateint16MTarget Y coordinate.
3TargetZCoordinateint16MTarget Z coordinate.
4TargetVelocityint16MTarget speed.
5TargetSignalToNoiseRatiouint16MTarget signal-to-noise ratio.
6TargetTypeenum8MTarget type: 0=Person, 1=NotPerson, 2=Fan, 3=Pet, 4=Curtain, 5=GreenPlants, 6=Sweeper, 7=AirPurifier, 8=Child, 0xFF=Unknown.
7TargetPostureenum8MTarget posture: 0=Walk, 1=Sit, 2=Stand, 3=Lie, 4=Fall, 0xFF=Undefined.
8TargetZoneIduint8MThe detection zone ID where the target is located.
ActivityStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the ActivityState Trait.

ValueNameDescription
0x00UnknownUnknown
0x01ActiveActive
0x02StillStatic
FallStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the FallState Trait.

ValueNameDescription
0x00ClearedCleared
0x01FallFall
0x02SuspectedFallSuspected fall
LargeMotionStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the LargeMotionState Trait.

ValueNameDescription
0x00NoneNone
0x01Action1Motion 1
0x02Action2Motion 2
LyingStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the LyingState Trait.

ValueNameDescription
0x00NoneNone
0x01PresentPresent
StandingStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the StandingState Trait.

ValueNameDescription
0x00NoneNone
0x01PresentPresent
SittingStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the SittingState Trait.

ValueNameDescription
0x00NoneNone
0x01PresentPresent
WalkingStateEnum8 Type​

This enumeration defines the valid values of the Present Value of the WalkingState Trait.

ValueNameDescription
0x00NoneNone
0x01PresentPresent
RemoveDetectionTarget Command Structure Type​

The parameter structure of the RemoveDetectionTarget Command.

Struct Member No.Field NameTypeMandatoryDescription
0TargetIDuint8MTarget ID.
SubscribeLocationData Command Structure Type​

The parameter structure of the SubscribeLocationData Command.

Struct Member No.Field NameTypeMandatoryDescription
0Timeoutuint16MSubscription timeout, in seconds.

Trait Definitions​

Trait IDNameConformance
0x4F3EMaxDetectionTargetsM
0x4F46LocationInfoO
0x4F45ActivityStateO
0x4F44FallStateO
0x4F43LargeMotionStateO
0x4F42LyingStateO
0x4F41StandingStateO
0x4F40SittingStateO
0x4F3FWalkingStateO

MaxDetectionTargets Trait​

This Trait is used to report the maximum number of detection targets supported by the device.

Trait IDCode
0x4F3EMaxDetectionTargets
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVM
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO

LocationInfo Trait​

This Trait is used to report the list of currently detected target locations and tracking information.

Trait IDCode
0x4F46LocationInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[LocationInfoTraitPresentValueStructure]RVO

ActivityState Trait​

This Trait is used to report the aggregated activity state, such as active, static or unknown.

Trait IDCode
0x4F45ActivityState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueActivityStateEnum80RVO
0x0006Supported Valuelist[ActivityStateEnum8]RO

FallState Trait​

This Trait is used for access to and reporting of "fall state" data.

Trait IDCode
0x4F44FallState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFallStateEnum80RVO
0x0006Supported Valuelist[FallStateEnum8]RO

LargeMotionState Trait​

This Trait is used for access to and reporting of "large motion state" data.

Trait IDCode
0x4F43LargeMotionState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLargeMotionStateEnum80RVO
0x0006Supported Valuelist[LargeMotionStateEnum8]RO

LyingState Trait​

This Trait is used for access to and reporting of "lying state" data.

Trait IDCode
0x4F42LyingState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLyingStateEnum80RVO
0x0006Supported Valuelist[LyingStateEnum8]RO

StandingState Trait​

This Trait is used for access to and reporting of "standing state" data.

Trait IDCode
0x4F41StandingState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStandingStateEnum80RVO
0x0006Supported Valuelist[StandingStateEnum8]RO

SittingState Trait​

This Trait is used for access to and reporting of "sitting state" data.

Trait IDCode
0x4F40SittingState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSittingStateEnum80RVO
0x0006Supported Valuelist[SittingStateEnum8]RO

WalkingState Trait​

This Trait is used for access to and reporting of "walking state" data.

Trait IDCode
0x4F3FWalkingState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWalkingStateEnum80RVO
0x0006Supported Valuelist[WalkingStateEnum8]RO

Command Definitions​

Command IDNameConformance
0x9C80RemoveDetectionTargetO
0x9C7FSubscribeLocationDataO

RemoveDetectionTarget Command​

This Command is used to execute the "remove detection target" operation.

Parameters​

RemoveDetectionTarget Command Structure

SubscribeLocationData Command​

This Command is used to execute the "subscribe location data" operation.

Parameters​

SubscribeLocationData Command Structure

MatterCoordination​

Introduction​

Centrally manages Matter protocol related coordination operations, including network entry, binding, data synchronization and certificate management.

Function Identification​

Function IDCodeName
0x00E6MatterCoordinationMatter function coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9C81APIUnbindMatterDeviceDownMatter device downlink unbindO
0x9C82APIUnbindMatterDeviceUPMatter device uplink unbindO
0x9C83APIPushMatterBindInfoMatter binding info pushO
0x9C84APIStartBindMatterDeviceToHubAqara device network entry binding startO
0x9C85APIReportDeviceAqaraSpecModelAqara Spec thing model reportO
0x9C86APISyncAqaraSpecDataToCloudAqara Spec device data cloud syncO
0x9C87APIGenNextMatterNodeIdMatter node ID generationO
0x9C88APIGenHomeMatterNocHome Matter NOC certificate generationO
0x9C89APIQueryMatterJoinLimitMatter device network entry limit queryO

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9C81APIUnbindMatterDeviceDownO
0x9C82APIUnbindMatterDeviceUPO
0x9C83APIPushMatterBindInfoO
0x9C84APIStartBindMatterDeviceToHubO
0x9C85APIReportDeviceAqaraSpecModelO
0x9C86APISyncAqaraSpecDataToCloudO
0x9C87APIGenNextMatterNodeIdO
0x9C88APIGenHomeMatterNocO
0x9C89APIQueryMatterJoinLimitO

APIUnbindMatterDeviceDown Command​

Matter device unbind command (downlink). The cloud sends a command to the gateway to remove (unbind) the specified Matter device from the home network. The gateway executes the local unbind flow and updates the network topology.

This Command has no parameters.

APIUnbindMatterDeviceUP Command​

Matter device unbind state report (uplink). The gateway reports the result or state of a locally triggered Matter device unbind event to the cloud, ensuring that the cloud device list stays in sync with the local network state.

This Command has no parameters.

APIPushMatterBindInfo Command​

Matter device network entry/binding info push. The cloud sends the network entry permission, network credentials or configuration information of a new Matter device to the gateway, guiding and authorizing the device to join the local Matter network.

This Command has no parameters.

APIStartBindMatterDeviceToHub Command​

Aqara Spec device binding start. The gateway reports the discovery of a new Aqara Spec device to the cloud and requests to start the binding process. This is the first step of the multi-step device onboarding flow.

This Command has no parameters.

APIReportDeviceAqaraSpecModel Command​

Aqara Spec device Thing model detailed report. During device onboarding, the gateway reports the complete thing model definition (functions, attributes, commands, etc.) supported by the newly discovered Aqara Spec device to the cloud, for device function registration and dynamic UI generation.

This Command has no parameters.

APISyncAqaraSpecDataToCloud Command​

Aqara Spec device resource data cloud sync. The gateway batch-syncs all current state data (e.g., all attribute values) of the local Aqara Spec device to the cloud. This is typically used for full state recovery after initial device enabling or network restoration.

This Command has no parameters.

APIGenNextMatterNodeId Command​

Matter network Node ID generation request. When preparing to assign a network identity to a new Matter device, the gateway requests the cloud to generate a globally unique and compliant Node ID.

This Command has no parameters.

APIGenHomeMatterNoc Command​

Home Matter NOC certificate generation request. When establishing or managing a Matter Fabric, the gateway requests the cloud to generate or update the Matter Network Operation Certificate (NOC) for the current user's home, for secure authentication.

This Command has no parameters.

APIQueryMatterJoinLimit Command​

Matter device network entry limit policy query. Before allowing a new device to join the Matter network, the gateway queries the cloud about whether the current home or gateway has reached the device limit, or whether other network entry limit policies exist.

This Command has no parameters.

OTACoordination​

Introduction​

Manages the OTA firmware upgrade coordination flow, including task dispatch, progress reporting, result feedback and version query.

Function Identification​

Function IDCodeName
0x00E7OTACoordinationOTA function coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9C8AAPIUpgradeDeviceFirmwareSub-device firmware upgradeO
0x9C8BAPICancelOtaUpgradeDevice OTA upgrade cancelO
0x9C8CAPIReportOtaProgressOTA upgrade progress reportO
0x9C8DAPIReportOtaResultOTA upgrade result reportO
0x9C8EAPIReportOtaDeviceListStateOTA device list state reportO
0x9C8FAPIInquiryFirmwareInfoGateway firmware info queryO

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9C8AAPIUpgradeDeviceFirmwareO
0x9C8BAPICancelOtaUpgradeO
0x9C8CAPIReportOtaProgressO
0x9C8DAPIReportOtaResultO
0x9C8EAPIReportOtaDeviceListStateO
0x9C8FAPIInquiryFirmwareInfoO

APIUpgradeDeviceFirmware Command​

Sub-device firmware upgrade command dispatch. The cloud sends an over-the-air (OTA) firmware upgrade command for the specified sub-device (Zigbee, Bluetooth, etc.) to the gateway, including firmware version and download address information.

This Command has no parameters.

APICancelOtaUpgrade Command​

Device OTA upgrade cancel Command. The cloud sends a command to the gateway to cancel the ongoing firmware upgrade task of the specified device.

This Command has no parameters.

APIReportOtaProgress Command​

OTA upgrade progress report. The gateway reports the current progress of the sub-device firmware upgrade to the cloud in real time (e.g., download percentage, flashing state), for display on the front-end interface.

This Command has no parameters.

APIReportOtaResult Command​

OTA upgrade final result report. After the sub-device firmware upgrade task completes (success or failure), the gateway reports the final result and details to the cloud (e.g., the successful version number, the failure error code).

This Command has no parameters.

APIReportOtaDeviceListState Command​

OTA upgrade device list state report. The gateway reports the aggregated state list of all devices that are currently upgrading, waiting to upgrade or failed to upgrade to the cloud, for centralized monitoring of the upgrade batch.

This Command has no parameters.

APIInquiryFirmwareInfo Command​

Gateway firmware info query request. The gateway proactively queries the cloud about whether there is a new firmware version applicable to itself and related metadata (e.g., version number, update log, file size), to trigger the gateway's own OTA upgrade check.

This Command has no parameters.

StudioCoordination​

Introduction​

Manages the integration between the gateway and the Aqara Studio development environment, including account authentication, project backup and device synchronization.

Function Identification​

Function IDCodeName
0x00E8StudioCoordinationStudio function coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9C90APIGetPositionByDeviceIdGet room by deviceO
0x9C91APIGetAuthCodeAuth code acquisitionO
0x9C92APILoginByAuthCodeAuth code loginO
0x9C93APILoginByGuardCodeAccount password loginO
0x9C94APIGetUserDeviceListUser device list acquisitionO
0x9C95APIGetStudioBackupUploadUrlStudio backup upload URL acquisitionO
0x9C96APIGetStudioBackupInfoStudio cloud backup info acquisitionO
0x9C97APIConfirmStudioBackupSuccessStudio cloud backup upload confirmationO
0x9C98APIDeleteStudioBackupStudio cloud backup deletionO
0x9C99APIReportStudioInfoStudio info reportO
0x9C9AAPIGetProxyServerInfoProxy server info queryO

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9C90APIGetPositionByDeviceIdO
0x9C91APIGetAuthCodeO
0x9C92APILoginByAuthCodeO
0x9C93APILoginByGuardCodeO
0x9C94APIGetUserDeviceListO
0x9C95APIGetStudioBackupUploadUrlO
0x9C96APIGetStudioBackupInfoO
0x9C97APIConfirmStudioBackupSuccessO
0x9C98APIDeleteStudioBackupO
0x9C99APIReportStudioInfoO
0x9C9AAPIGetProxyServerInfoO

APIGetPositionByDeviceId Command​

Query room by device ID. When the gateway needs to organize the device list or perform room-level control, it queries the cloud for the room name or room ID to which the specified device ID currently belongs.

This Command has no parameters.

APIGetAuthCode Command​

User authentication code acquisition request.

This Command has no parameters.

APILoginByAuthCode Command​

Auth code login request.

This Command has no parameters.

APILoginByGuardCode Command​

Account password login request.

This Command has no parameters.

APIGetUserDeviceList Command​

User device list acquisition request. The gateway requests the cloud for the list of all bound devices under the currently logged-in user account, including device ID, name, type and basic state, usually initiated during initialization, refresh or management interface operations.

This Command has no parameters.

APIGetStudioBackupUploadUrl Command​

Studio backup file upload URL request. After creating a local Studio (development/configuration environment) backup, the gateway requests a temporary, secure file upload URL from the cloud to transfer the backup file to cloud storage.

This Command has no parameters.

APIGetStudioBackupInfo Command​

Studio cloud backup info query request. The gateway queries the cloud for the list of existing Studio backup files of the current user or gateway and their metadata (e.g., backup time, size, description), for restoration or backup management.

This Command has no parameters.

APIConfirmStudioBackupSuccess Command​

Studio cloud backup upload success confirmation. After the backup file is successfully uploaded to the cloud, the gateway sends a confirmation notification to the cloud, prompting it to mark the backup file as available and complete the storage flow.

This Command has no parameters.

APIDeleteStudioBackup Command​

Studio cloud backup deletion request. The gateway requests the cloud to delete a specified historical Studio backup file, to free up storage space or clean up old data.

This Command has no parameters.

APIReportStudioInfo Command​

Studio running info report. The gateway proactively reports the running state, version and configuration summary of the local Aqara Studio instance to the cloud, for monitoring and statistical analysis.

This Command has no parameters.

APIGetProxyServerInfo Command​

Proxy server connection info query request. The gateway (or its Studio environment) requests the cloud for available proxy server addresses and configuration information, to establish specific network connections (e.g., remote debugging, external service access).

This Command has no parameters.

CameraCoordination​

Introduction​

Handles complex camera business logic, including WebRTC calls, gimbal control, recognition data synchronization and extended events.

Function Identification​

Function IDCodeName
0x00E9CameraCoordinationCamera function coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9C9BAPIIssueTokenForWebRTCCallWebRTC call token issuanceO
0x9C9CAPIGetSignallingServerAddressSignaling server address acquisitionO
0x9CCAAPIOperateCameraDownCamera downlink operationO
0x9CCBAPIOperateBridgedDeviceBridge device operationO
0x9CD3APIUnbindWiFiSubdeviceWiFi sub-device unbindO
0x9CD1APIDeviceCameraCallDevice camera active callO
0x9CD0APIOperateCameraUpCamera uplink operationO
0x9CD2APIBindWiFiSubdeviceWiFi sub-device bindO
0x9CCCAPICheckFaceDataConsistencyFace data consistency checkO
0x9CCEAPIReportCameraExtEventsCamera extended business event reportO
0x9CCDAPICheckCarDataConsistencyVehicle data consistency checkO
0x9CC9APIConfigCameraSpecificCamera specific configurationO

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9C9BAPIIssueTokenForWebRTCCallO
0x9C9CAPIGetSignallingServerAddressO
0x9CCAAPIOperateCameraDownO
0x9CCBAPIOperateBridgedDeviceO
0x9CD3APIUnbindWiFiSubdeviceO
0x9CD1APIDeviceCameraCallO
0x9CD0APIOperateCameraUpO
0x9CD2APIBindWiFiSubdeviceO
0x9CCCAPICheckFaceDataConsistencyO
0x9CCEAPIReportCameraExtEventsO
0x9CCDAPICheckCarDataConsistencyO
0x9CC9APIConfigCameraSpecificO

APIIssueTokenForWebRTCCall Command​

WebRTC device call token issuance request. When a WebRTC-capable video device (such as a camera) needs to establish a peer-to-peer audio/video call or stream, the device requests the cloud to issue a temporary security token on its behalf, for authentication and session establishment.

This Command has no parameters.

APIGetSignallingServerAddress Command​

Signaling server address acquisition request. The device queries the cloud for the currently available signaling server address list, to support P2P connection negotiation for devices using real-time communication protocols such as WebRTC.

This Command has no parameters.

APIOperateCameraDown Command​

Camera downlink operation Command. The cloud sends specific control commands to the camera device, such as gimbal control, adding/invoking presets, face database management, cruise settings, etc.

This Command has no parameters.

APIOperateBridgedDevice Command​

Bridge device operation Command. The cloud sends commands through the gateway to devices acting as bridges (e.g., multi-function gateway, repeater), instructing them to perform specific operations (e.g., on/off, configuration) on the sub-devices they connect or manage.

This Command has no parameters.

APIUnbindWiFiSubdevice Command​

WiFi sub-device unbind success report. The device reports to the cloud that a WiFi sub-device has been successfully unbound (removed) from this device or its bridge management.

This Command has no parameters.

APIDeviceCameraCall Command​

Device-initiated call request (e.g., Camera). When the camera or other device detects a specific event (e.g., doorbell press, motion detection), it proactively initiates an audio/video call or push notification request to the cloud for the user to answer or view.

This Command has no parameters.

APIOperateCameraUp Command​

Camera uplink operation request. The device proactively initiates special operation requests for the camera to the cloud, such as requesting cloud AI analysis of video clips, applying for temporary cloud storage quota upgrades, and reporting self-check exceptions.

This Command has no parameters.

APIBindWiFiSubdevice Command​

WiFi sub-device bind success report. The device reports to the cloud that a WiFi sub-device (e.g., WiFi camera, smart plug) has been successfully bound to the home network and user account through this device or its bridging function.

This Command has no parameters.

APICheckFaceDataConsistency Command​

Face recognition data consistency check request. The device reports the summary of the locally stored face recognition feature library to the cloud, requesting comparison and receiving differences (face data to be added or deleted) to keep the face library synchronized.

This Command has no parameters.

APIReportCameraExtEvents Command​

Camera extended business event report. The device reports extended events generated by the camera beyond basic state changes (e.g., intelligent recognition results, abnormal behavior alerts, scene analysis events) to the cloud for advanced applications and AI analysis.

This Command has no parameters.

APICheckCarDataConsistency Command​

Vehicle recognition data consistency check request. The device reports the summary of the locally stored vehicle recognition feature library to the cloud, requesting comparison and receiving differences (vehicle data to be added or deleted) to maintain vehicle database synchronization.

This Command has no parameters.

APIConfigCameraSpecific Command​

Camera-specific configuration operation Command. The cloud sends configuration query, setting or modification commands for camera-specific functions (e.g., RTSP stream address, encoding parameters, motion detection area) to the camera.

This Command has no parameters.

SecurityGuardCoordination​

Introduction​

Manages home space security alerting capabilities, including arming/disarming, alarm confirmation, and local/cloud configuration synchronization.

Function Identification​

Function IDCodeName
0x00EASecurityGuardCoordinationSecurity guard coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9C9DAPIConfirmSecurityAlertHome security alarm confirmationO
0x9C9EAPIEnableSecurityHome security enableO
0x9C9FAPIRepairSecurityEnableHome security enable repairO
0x9CA0APISyncSecurityLanInfoHome security LAN status syncO
0x9CA1APIDeleteSecurityLocalHome security local deletionO
0x9CA2APICheckSecurityConfigConsistencyHome security configuration consistency checkO
0x9CA3APICheckSecurityEnableConsistencyHome security enable state consistency checkO

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9C9DAPIConfirmSecurityAlertO
0x9C9EAPIEnableSecurityO
0x9C9FAPIRepairSecurityEnableO
0x9CA0APISyncSecurityLanInfoO
0x9CA1APIDeleteSecurityLocalO
0x9CA2APICheckSecurityConfigConsistencyO
0x9CA3APICheckSecurityEnableConsistencyO

APIConfirmSecurityAlert Command​

Home security alarm confirmation Command. After the user confirms the home security alarm (e.g., intrusion detection) reported by the device through the cloud App, the cloud sends this confirmation Command to the device. The device then stops pushing the alarm and may update its local state.

This Command has no parameters.

APIEnableSecurity Command​

Home security function enable/disable Command. The cloud sends a command to enable or disable the overall home security subsystem functions on the device.

This Command has no parameters.

APIRepairSecurityEnable Command​

Home security enable state repair Command. When the cloud detects that the device's local security enable state is inconsistent with the cloud records, it sends this Command to force the device's local enable state to synchronize with the cloud-specified state, used to repair state drift.

This Command has no parameters.

APISyncSecurityLanInfo Command​

Home security LAN state sync Command. The cloud sends the latest home security-related configuration, device state or scene information to the device, ensuring that the gateway's local security logic is consistent with the cloud configuration.

This Command has no parameters.

APIDeleteSecurityLocal Command​

Home security local configuration deletion Command. The cloud instructs the gateway to delete specific locally stored home security configurations (e.g., security scenes or device bindings), usually for configuration cleanup or reset.

This Command has no parameters.

APICheckSecurityConfigConsistency Command​

Home security configuration consistency check request. The device proactively requests the cloud to compare whether the detailed home security configurations stored on both sides (e.g., arming mode, linkage rules) are completely consistent, and returns the comparison result.

This Command has no parameters.

APICheckSecurityEnableConsistency Command​

Home security enable state consistency check request. The device queries the cloud to verify whether the "master switch" state (on/off) recorded for the home security function is consistent on both sides.

This Command has no parameters.

SceneCoordination​

Introduction​

Manages the lifecycle of smart scenes (automation rules), including synchronization, deletion, triggered execution and consistency checks.

Function Identification​

Function IDCodeName
0x00EBSceneCoordinationScene linkage coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9CA4APIRunSceneScene executionO
0x9CA5APIRunLocalSceneCloud-triggered local scene executionO
0x9CA7APIDownloadLocalSceneScene localization syncO
0x9CA8APIDownloadCentralSceneCentral scene localization syncO
0x9CA9APIDeleteLocalSceneLocal scene deletionO
0x9CAAAPICheckLocalSceneSyncLocal scene info sync checkO

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9CA4APIRunSceneO
0x9CA5APIRunLocalSceneO
0x9CA7APIDownloadLocalSceneO
0x9CA8APIDownloadCentralSceneO
0x9CA9APIDeleteLocalSceneO
0x9CAAAPICheckLocalSceneSyncO

APIRunScene Command​

Scene execution Command (generic). The cloud sends a command to the device to immediately execute the specified pre-configured scene. The device is responsible for parsing the scene actions and controlling local or sub-devices to perform the corresponding operations.

This Command has no parameters.

APIRunLocalScene Command​

Cloud-triggered local scene execution Command. The cloud triggers an automation scene that has been stored and runs locally on the device (instead of a cloud-virtualized scene). Upon receipt, the device directly executes the local scene logic for low-latency response.

This Command has no parameters.

APIDownloadLocalScene Command​

Scene configuration localization sync Command. The cloud sends the complete definition of the user-created automation scene (trigger conditions, execution actions) to the device. The device stores it locally and is responsible for subsequent execution, making the scene available offline.

This Command has no parameters.

APIDownloadCentralScene Command​

Central scene configuration localization sync Command. For systems supporting multi-gateway hubs/edge computing, the cloud sends "central scene" configurations involving cross-gateway collaboration to the gateway acting as the hub, for localized storage and distributed coordinated execution.

This Command has no parameters.

APIDeleteLocalScene Command​

Local scene deletion Command. The cloud instructs the device to delete one or more specified synchronized scenes from its local storage, usually for sync cleanup after the user deletes scenes in the cloud.

This Command has no parameters.

APICheckLocalSceneSync Command​

Local scene info sync check request. The device reports summary information of all locally stored scenes (e.g., ID, version) to the cloud, requesting comparison and receiving the list of scenes to be updated or deleted, to maintain two-way synchronization.

This Command has no parameters.

HubCoordination​

Introduction​

As the core coordination module of the gateway, it manages sub-device onboarding, configuration, heartbeat, tokens and various proxy services.

Function Identification​

Function IDCodeName
0x00ECHubCoordinationGateway function coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9CA6APISyncTokenDownToken sync pushO
0x9CACAPIRpcDebugCommandRPC debug commandO
0x9CD4APIEnableSubdeviceJoiningSub-device onboarding mode enableO
0x9CD5APIDisableSubdeviceJoiningSub-device onboarding mode disableO
0x9CD6APIUnbindSubdeviceDownSub-device downlink unbindO
0x9CD7APIUnbindHubDownGateway downlink unbindO
0x9CD8APISetSubdeviceMixingSub-device combined integrated deviceO
0x9CD9APISyncDataCloudToHubCloud-to-gateway data syncO
0x9CDAAPIClearLocalDataLocal data clearO
0x9CDBAPICheckHubDataConsistencyGateway data consistency checkO
0x9CDDAPICheckHubConfigGateway configuration checkO
0x9CDEAPIPushHubConfigGateway configuration pushO
0x9CDFAPIClearHubConfigGateway configuration clearO
0x9CE0APINotifyConfigChangeGateway configuration change notificationO
0x9CE1APINotifyNoSubdeviceNo sub-device notificationO
0x9CE2APIStartHubProvisioningGateway onboarding address pushO
0x9CE3APIBindBleDeviceToHubBluetooth device bind to gatewayO
0x9CE4APIRunFunctionInstructionCloud instruction executionO
0x9CE5APITriggerSubdeviceReadSub-device data read triggerO
0x9CE6APIBindSubdeviceWithSecurityCodeBind sub-device with security codeO
0x9CE7APIRefreshHubTokenGateway token refreshO
0x9CE8APIConnectHubNew gateway onboarding (V1.0)O
0x9CE9APIBindSubdeviceNoAuthBind sub-device without authenticationO
0x9CEAAPIUnbindSubdeviceUpSub-device uplink unbindO
0x9CEBAPIUnbindHubUpGateway uplink unbindO
0x9CECAPISubdeviceKeepAliveSub-device heartbeatO
0x9CEDAPIReportPropertyExaminationDebug info reportO
0x9CEEAPIReportDeviceResponseDevice response reportO
0x9CEFAPIReportHubLocalInfoGateway local info reportO
0x9CF0APICheckHubLocalSyncGateway local info sync checkO
0x9CF1APIExecuteSubstituteCommandSubstitute command executionO
0x9CF2APIAskOtherHubTokenOther gateway token acquisitionO
0x9CF3APIUploadDeviceInfoDevice info updateO
0x9CF4APIReportHubLocalConfigGateway local configuration reportO
0x9CF5APISyncSubdeviceListSub-device list syncO
0x9CF6APIQueryDeviceResMultiExtDevice resource multi-value queryO
0x9CF7APIQueryDeviceResMultiExtGbkDevice resource multi-value query (GBK encoding)O
0x9CF8APIUploadLogFileEventLog file upload eventO
0x9CF9APIGetSubdeviceServiceConfigSub-device service configuration acquisitionO
0x9CFAAPIGetInstallCodeInstall code acquisitionO
0x9CFBAPIGetRandomJoinCodeRandom onboarding code acquisitionO
0x9CFCAPIReportHeartbeatGateway heartbeat reportO
0x9CFDAPIGetVoiceFileUrlVoice file URL acquisitionO
0x9CFEAPIGetWeatherDataWeather data acquisitionO
0x9CFFAPISubscribeDeviceResourceDevice resource subscriptionO
0x9D00APIUnsubscribeDeviceResourceDevice resource unsubscribeO
0x9D01APIReportExceptionLogDevice exception log reportO
0x9D02APIGetLoginRandomCodeLogin random code acquisitionO
0x9D04APIRegisterDirectDeviceDirect device re-onboardingO
0x9D06APIGetSubdeviceConfigSub-device configuration queryO
0x9D07APIReportSubdeviceModelSub-device model reportO
0x9D08APINotifySubdeviceReadResultSub-device data read completion notificationO
0x9D09APIReportCommandExecResultCloud command execution result reportO

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9CA6APISyncTokenDownO
0x9CACAPIRpcDebugCommandO
0x9CD4APIEnableSubdeviceJoiningO
0x9CD5APIDisableSubdeviceJoiningO
0x9CD6APIUnbindSubdeviceDownO
0x9CD7APIUnbindHubDownO
0x9CD8APISetSubdeviceMixingO
0x9CD9APISyncDataCloudToHubO
0x9CDAAPIClearLocalDataO
0x9CDBAPICheckHubDataConsistencyO
0x9CDDAPICheckHubConfigO
0x9CDEAPIPushHubConfigO
0x9CDFAPIClearHubConfigO
0x9CE0APINotifyConfigChangeO
0x9CE1APINotifyNoSubdeviceO
0x9CE2APIStartHubProvisioningO
0x9CE3APIBindBleDeviceToHubO
0x9CE4APIRunFunctionInstructionO
0x9CE5APITriggerSubdeviceReadO
0x9CE6APIBindSubdeviceWithSecurityCodeO
0x9CE7APIRefreshHubTokenO
0x9CE8APIConnectHubO
0x9CE9APIBindSubdeviceNoAuthO
0x9CEAAPIUnbindSubdeviceUpO
0x9CEBAPIUnbindHubUpO
0x9CECAPISubdeviceKeepAliveO
0x9CEDAPIReportPropertyExaminationO
0x9CEEAPIReportDeviceResponseO
0x9CEFAPIReportHubLocalInfoO
0x9CF0APICheckHubLocalSyncO
0x9CF1APIExecuteSubstituteCommandO
0x9CF2APIAskOtherHubTokenO
0x9CF3APIUploadDeviceInfoO
0x9CF4APIReportHubLocalConfigO
0x9CF5APISyncSubdeviceListO
0x9CF6APIQueryDeviceResMultiExtO
0x9CF7APIQueryDeviceResMultiExtGbkO
0x9CF8APIUploadLogFileEventO
0x9CF9APIGetSubdeviceServiceConfigO
0x9CFAAPIGetInstallCodeO
0x9CFBAPIGetRandomJoinCodeO
0x9CFCAPIReportHeartbeatO
0x9CFDAPIGetVoiceFileUrlO
0x9CFEAPIGetWeatherDataO
0x9CFFAPISubscribeDeviceResourceO
0x9D00APIUnsubscribeDeviceResourceO
0x9D01APIReportExceptionLogO
0x9D02APIGetLoginRandomCodeO
0x9D04APIRegisterDirectDeviceO
0x9D06APIGetSubdeviceConfigO
0x9D07APIReportSubdeviceModelO
0x9D08APINotifySubdeviceReadResultO
0x9D09APIReportCommandExecResultO

APISyncTokenDown Command​

Device Token sync downlink Command. The cloud sends the latest authorized Token or other security credentials of the user or device to the device, updating the authentication information used when the device communicates with the cloud or other services.

This Command has no parameters.

APIRpcDebugCommand Command​

Gateway remote procedure call (RPC) debug Command. The cloud sends a generic RPC debug Command to the gateway for remotely performing diagnostics, retrieving internal state, testing specific functions or modifying debug parameters. It is an important tool for development and operations.

This Command has no parameters.

APIEnableSubdeviceJoining Command​

Sub-device onboarding mode enable Command. The cloud instructs the gateway to enter pairing/discovery mode, allowing new sub-devices (Zigbee, Bluetooth, etc.) to join the network within a specified duration or until a stop command is received.

This Command has no parameters.

APIDisableSubdeviceJoining Command​

Sub-device onboarding mode disable Command. The cloud instructs the gateway to immediately exit the pairing/discovery mode for new sub-devices and resume normal operation.

This Command has no parameters.

APIUnbindSubdeviceDown Command​

Sub-device downlink unbind Command. The cloud sends a command to the gateway to remove (unbind) the specified sub-device from its management list. The gateway will perform the local unbind process and stop communicating with it.

This Command has no parameters.

APIUnbindHubDown Command​

Hub downlink unbind Command. The cloud instructs the Hub to perform the unbind process from the current user account, usually including resetting network configuration, clearing user data and preparing for a new user binding.

This Command has no parameters.

APISetSubdeviceMixing Command​

Sub-device combination and integration configuration Command. The cloud instructs the gateway to logically combine or integrate multiple independent physical sub-devices into virtual composite devices for unified control or complex scenes.

This Command has no parameters.

APISyncDataCloudToHub Command​

Cloud-to-hub batch data sync Command. The cloud sends data packages to the hub to batch-synchronize non-real-time business data such as user configuration, device relationships and scene rules, ensuring the hub can restore full service state after going offline or initialization.

This Command has no parameters.

APIClearLocalData Command​

Hub local data clear Command. The cloud instructs the Hub to clear specific types or all user data and configurations synchronized from the cloud and stored locally (e.g., scenes, device bindings), usually for account switching or data reset.

This Command has no parameters.

APICheckHubDataConsistency Command​

Hub data consistency check Command. The cloud proactively requests the Hub to compare its stored data summary with the cloud.

This Command has no parameters.

APICheckHubConfig Command​

Hub system configuration check Command. The cloud sends a command requiring the Hub to self-check the current system-level configuration and report the check result or configuration summary.

This Command has no parameters.

APIPushHubConfig Command​

Hub system configuration push Command. The cloud sends system-level configuration parameters or policy files to the Hub to update or initialize its runtime environment, function module parameters or connection policies.

This Command has no parameters.

APIClearHubConfig Command​

Hub system configuration clear Command. The cloud instructs the Hub to clear the specified system configuration, restoring it to factory default or empty state.

This Command has no parameters.

APINotifyConfigChange Command​

Hub configuration change notification Command. The cloud notifies the Hub that some of its configurations have been changed in the cloud, requiring the Hub to actively pull the latest configuration or prepare to apply the new configuration, enabling proactive push of changes.

This Command has no parameters.

APINotifyNoSubdevice Command​

No sub-device state notification Command. The cloud notifies the gateway that, according to cloud records, no sub-device is bound under the current account.

This Command has no parameters.

APIStartHubProvisioning Command​

Hub onboarding configuration info push Command. After a new Hub is first powered on or reset, the cloud sends the bootstrap information needed for onboarding, such as connectable server addresses, configuration Token or initial configuration, to guide it through initialization.

This Command has no parameters.

APIBindBleDeviceToHub Command​

Bluetooth device bind to Zigbee hub. This Command is a coordination interface between the cloud and the Hub; the request body is defined by YApi and is not used on the Magic Pair application channel.

For Magic Pair BLE Endpoint local onboarding, the current account UserID SHALL be written via VerifyDeviceAuthenticity Cmd 9 WriteUserId, and then the device discovers the designated nearby BLE gateway; this Command must not be used as an entry point for pairing or network credential delivery.

This Command has no local application channel parameters.

APIRunFunctionInstruction Command​

Cloud predefined function instruction execution request. The cloud sends a predefined function instruction code or script identifier to the hub, requiring it to interpret and execute the corresponding complex logic or a series of operations locally.

This Command has no parameters.

APITriggerSubdeviceRead Command​

Sub-device data proactive read trigger Command. The cloud instructs the gateway to immediately initiate a proactive data read request to the specified sub-device (e.g., query the latest sensor values), and asynchronously report the read results to the cloud, to obtain device state on demand.

This Command has no parameters.

APIBindSubdeviceWithSecurityCode Command​

Security-code-based quintuple model sub-device binding request. When a new gateway (using the quintuple authentication model) binds a sub-device, it reports the sub-device information and pre-shared security code to the cloud, requesting the cloud to verify the validity of the security code to complete secure binding.

This Command has no parameters.

APIRefreshHubToken Command​

Quintuple gateway Token refresh request. When the current security token of a gateway using the quintuple authentication model is about to expire, it requests a new valid token from the cloud to maintain secure communication with the cloud.

This Command has no parameters.

APIConnectHub Command​

Hub onboarding request. The Hub initiates an onboarding request to the cloud using the new onboarding protocol and process (version V1.0), submitting device credentials and network information to complete identity registration and network access.

This Command has no parameters.

APIBindSubdeviceNoAuth Command​

Sub-device binding request without authentication. In specific modes (e.g., local debugging, trusted network), the hub requests the cloud to bind a sub-device, declaring that strict security authentication (e.g., quintuple verification) is bypassed.

This Command has no parameters.

APIUnbindSubdeviceUp Command​

Sub-device uplink unbind notification. The gateway proactively reports to the cloud that it has locally removed (unbound) a sub-device, requesting the cloud to update the device relationships and clean up related data.

This Command has no parameters.

APIUnbindHubUp Command​

Hub uplink unbind request. The Hub proactively initiates an unbind request from the current user account to the cloud, usually triggered by the user.

This Command has no parameters.

APISubdeviceKeepAlive Command​

Sub-device online heartbeat report. The gateway periodically or when sub-device state changes reports the online state (heartbeat) of its managed sub-devices to the cloud, for the cloud to monitor device liveness and update the online indicators in the device list.

This Command has no parameters.

APIReportPropertyExamination Command​

Debug and diagnostic info report. During system operation, the device reports non-business information such as debug logs, diagnostic events and network environment parameters to the cloud, for remote troubleshooting, system optimization and data analysis.

This Command has no parameters.

APIReportDeviceResponse Command​

Device Command execution response report. After executing a control or query Command sent by the cloud, the device reports the specific response result returned by the device (including success, failure and detailed data), completing the Command interaction loop.

This Command has no parameters.

APIReportHubLocalInfo Command​

Device local comprehensive info report. The device proactively reports local information to the cloud for overall state awareness and data backup.

This Command has no parameters.

APICheckHubLocalSync Command​

Hub local info two-way sync check request. The Hub proactively initiates a check request to the cloud, comparing the local info summary with the cloud, detecting and correcting inconsistencies to ensure data integrity.

This Command has no parameters.

APIExecuteSubstituteCommand Command​

Hub requests the cloud to execute a Command on its behalf. When the Hub cannot directly execute a Command due to permission, capability or network limitations, it requests the cloud to send the Command to the target device or service on its behalf and return the result to the Hub.

This Command has no parameters.

APIAskOtherHubToken Command​

Request other gateway security Token. In scenarios requiring cross-gateway collaboration or access, the gateway requests the cloud for the security token of another designated gateway, to establish secure direct or indirect communication with it.

This Command has no parameters.

APIUploadDeviceInfo Command​

Device info update report. The device reports changes to its own or its managed sub-devices' attribute information (e.g., name modification, location adjustment, icon update), requesting the cloud to synchronously update the device profile.

This Command has no parameters.

APIReportHubLocalConfig Command​

Hub detailed local configuration report. The Hub proactively reports its detailed local system configuration to the cloud.

This Command has no parameters.

APISyncSubdeviceList Command​

Hub sub-device list batch sync. The Hub reports the complete list and basic information (ID, type, state) of all sub-devices it manages to the cloud, refreshing the cloud records and ensuring the device inventory is accurate.

This Command has no parameters.

APIQueryDeviceResMultiExt Command​

Device resource multi-value extended query request. The gateway requests the cloud to simultaneously query the current values of multiple devices or multiple resources (attributes) of a single device, supporting extended query options for efficient batch data acquisition.

This Command has no parameters.

APIQueryDeviceResMultiExtGbk Command​

Device resource multi-value extended query request (GBK encoding). The request and response text data use GBK character encoding to be compatible with systems or devices requiring this encoding format.

This Command has no parameters.

APIUploadLogFileEvent Command​

Log file upload event notification. The device notifies the cloud that the log file upload has been completed, triggering the cloud log processing flow.

This Command has no parameters.

APIGetSubdeviceServiceConfig Command​

Sub-device service configuration query request. The gateway queries the cloud for the service configuration parameters required or recommended for a specific sub-device, such as connection policy, data reporting frequency, function enablement suggestions, etc.

This Command has no parameters.

APIGetInstallCode Command​

Quintuple Install Code acquisition request. A device using the quintuple security model requests its unique "Install Code" from the cloud, for identity verification during the secure onboarding process.

This Command has no parameters.

APIGetRandomJoinCode Command​

Quintuple sub-device onboarding random code acquisition request. Under the quintuple security framework, the gateway requests a one-time random onboarding code from the cloud for a new sub-device preparing to join the network, ensuring the security and uniqueness of the onboarding process.

This Command has no parameters.

APIReportHeartbeat Command​

Hub self online heartbeat report. The Hub periodically sends heartbeat signals to the cloud, indicating that itself (not sub-devices) is online and running normally, for the cloud to monitor the Hub liveness state.

This Command has no parameters.

APIGetVoiceFileUrl Command​

Voice prompt file URL acquisition request. The gateway requests the download URL or configuration information of voice prompt files (e.g., alarm tones, welcome messages) from the cloud, for local playback.

This Command has no parameters.

APIGetWeatherData Command​

Weather data acquisition request. The device requests current weather, forecast and other meteorological information for a specified location from the cloud, for smart scene triggering or interface display.

This Command has no parameters.

APISubscribeDeviceResource Command​

Device-initiated resource subscription request. The device (or the gateway on its behalf) requests the cloud to start subscribing to changes of one or more device resources. When the resource values change, the cloud will proactively push updates.

This Command has no parameters.

APIUnsubscribeDeviceResource Command​

Device-initiated resource unsubscribe request. The device (or the gateway on its behalf) requests the cloud to stop pushing updates for one or more previously subscribed device resources.

This Command has no parameters.

APIReportExceptionLog Command​

Device Exception Log Report. The hub or device reports exceptions, error logs, or crash information captured during operation to the cloud, facilitating fault diagnosis and system improvement by developers.

This Command has no parameters.

APIGetLoginRandomCode Command​

Device login random number (Nonce) acquisition request. During device login or authentication, a random number (Nonce) is requested from the cloud, used to construct security credentials against replay attacks.

This Command has no parameters.

APIRegisterDirectDevice Command​

Direct device re-onboarding registration request. A direct-connect device (e.g., via Wi-Fi Direct) requests the cloud to restore network connection and services.

This Command has no parameters.

APIGetSubdeviceConfig Command​

Sub-device detailed configuration query request. The gateway queries the cloud for the detailed configuration information of the specified sub-device.

This Command has no parameters.

APIReportSubdeviceModel Command​

Sub-device thing model info report. After discovering a new sub-device or upgrading sub-device firmware, the gateway reports its complete supported thing model definitions (functions, properties, commands, events) to the cloud, for updating the device capability library and dynamic UI generation.

This Command has no parameters.

APINotifySubdeviceReadResult Command​

Sub-device data proactive read result asynchronous report. In response to the cloud's APITriggerSubdeviceRead command, after completing the data read of the target sub-device, the gateway asynchronously reports the read result (or timeout/failure state) to the cloud, completing the loop of this on-demand query.

This Command has no parameters.

APIReportCommandExecResult Command​

Cloud predefined instruction execution result report. After executing the cloud-delivered predefined function instruction via APIRunFunctionInstruction, the hub reports the success/failure result, output data or detailed error information of the instruction execution to the cloud.

This Command has no parameters.

LightBoxCoordination​

Introduction​

Manages configuration push for smart light box devices, controlling the displayed content and effects.

Function Identification​

Function IDCodeName
0x00EDLightBoxCoordinationLight box function coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9CABAPIPushLightBoxConfigLight box configuration pushO

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9CABAPIPushLightBoxConfigO

APIPushLightBoxConfig Command​

Light box device configuration info push Command. The cloud sends specific configurations of the smart light box device (e.g., lighting effects, color schemes, scheduled plans) to the gateway, which then forwards or applies them to the target light box device.

This Command has no parameters.

IRCoordination​

Introduction​

Manages gateway IR learning and transmission, including code library synchronization, virtual remote creation and key control.

Function Identification​

Function IDCodeName
0x00EEIRCoordinationIR remote coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9D58APIStartIrLearningForAppStart IR code learningO
0x9D4EAPIListIrControllersForAppQuery remote list under gatewayO
0x9D4CAPIGetMatchTreeForAppGet match tree infoO
0x9D59APICreateIrVirtualDeviceForAppCreate localized IR code virtual deviceO
0x9D57APICancelIrLearningForAppCancel IR code learningO
0x9D48APIQueryIrSpsForAppQuery operator listO
0x9D4DAPIReadLearnedIrCodeForAppRead learned IR codeO
0x9D53APIAddIrKeyForAppAdd key to remoteO
0x9D54APIGetAirConditionerFunctionsForAppGet function combinations supported by stateful air conditionerO
0x9D49APIQueryIrAreaForAppQuery area listO
0x9D4AAPIGetBrandByIdForAppQuery brand info by brand IDO
0x9D4BAPIGetBrandsByCategoryForAppGet brand list by device typeO
0x9D55APIGetKeysByRemoteIdForAppGet key info by remote IDO
0x9D56APIMatchRemoteByIrCodeForAppGet match state result by IR codeO
0x9D5AAPIGetSupportIrGatewaysForAppGet gateway list supporting IR devices at locationO
0x9D4FAPIGetControllerKeysForAppGet all key info of remoteO
0x9D50APIDeleteIrKeysForAppDelete remote keysO
0x9D51APIClickIrKeyForAppClick remote keyO
0x9D5BAPIGetIrControllerInfoForAppGet remote infoO
0x9D47APIGetIrDeviceCategoriesForAppGet IR device category listO
0x9D52APIUpdateIrKeyNameForAppUpdate remote key nameO
0x9CB6APISyncIrLearningCodesIR learning code syncO
0x9CB7APIGetIrCodeDownloadUrlIR code download URL acquisitionO
0x9CB3APIQueryIrLearningCodeIR learning code queryO
0x9CB2APIQueryIrCodeLibraryIR code library queryO
0x9CB4APIGetIrCodeIR code acquisitionO
0x9CB5APIGetIrCodeTargetIR code target acquisitionO
0x9CAEAPISendIrButtonPressIR code single clickO
0x9CAFAPIDeleteLearnedIrCodeLearned IR code deletionO
0x9CB0APISaveLearnedIrKeyIR learning code key saveO
0x9CADAPIStartIrCodeLearningIR code learning startO
0x9D64APISaveMatchedRemoteInfoForAppSave matched remote infoO

Data Types​

APISaveMatchedRemoteInfoForApp Command Structure Type​

This structure defines the parameters of the APISaveMatchedRemoteInfoForApp Command.

Struct Member No.Field NameTypeMandatoryDescription
0Categoryuint32MDevice type; the default value is 0.
1BrandIduint32MBrand ID; the default value is 0.
2RemoteIduint32MRemote ID; the default value is 0.
3SpIduint32OSet-top box operator ID; the default value is 0.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9D58APIStartIrLearningForAppO
0x9D4EAPIListIrControllersForAppO
0x9D4CAPIGetMatchTreeForAppO
0x9D59APICreateIrVirtualDeviceForAppO
0x9D57APICancelIrLearningForAppO
0x9D48APIQueryIrSpsForAppO
0x9D4DAPIReadLearnedIrCodeForAppO
0x9D53APIAddIrKeyForAppO
0x9D54APIGetAirConditionerFunctionsForAppO
0x9D49APIQueryIrAreaForAppO
0x9D4AAPIGetBrandByIdForAppO
0x9D4BAPIGetBrandsByCategoryForAppO
0x9D55APIGetKeysByRemoteIdForAppO
0x9D56APIMatchRemoteByIrCodeForAppO
0x9D5AAPIGetSupportIrGatewaysForAppO
0x9D4FAPIGetControllerKeysForAppO
0x9D50APIDeleteIrKeysForAppO
0x9D51APIClickIrKeyForAppO
0x9D5BAPIGetIrControllerInfoForAppO
0x9D47APIGetIrDeviceCategoriesForAppO
0x9D52APIUpdateIrKeyNameForAppO
0x9CB6APISyncIrLearningCodesO
0x9CB7APIGetIrCodeDownloadUrlO
0x9CB3APIQueryIrLearningCodeO
0x9CB2APIQueryIrCodeLibraryO
0x9CB4APIGetIrCodeO
0x9CB5APIGetIrCodeTargetO
0x9CAEAPISendIrButtonPressO
0x9CAFAPIDeleteLearnedIrCodeO
0x9CB0APISaveLearnedIrKeyO
0x9CADAPIStartIrCodeLearningO
0x9D64APISaveMatchedRemoteInfoForAppO

APIStartIrLearningForApp Command​

Starts IR code learning on the gateway and returns the learning identifier.

This Command has no parameters.

APIListIrControllersForApp Command​

Lists all virtual IR remote devices under the gateway.

This Command has no parameters.

APIGetMatchTreeForApp Command​

Retrieves the match tree (key mapping) of brand, set-top box or IPTV remotes.

This Command has no parameters.

APICreateIrVirtualDeviceForApp Command​

Creates a virtual IR remote device (match-based or custom-based).

This Command has no parameters.

APICancelIrLearningForApp Command​

Cancels the ongoing IR code learning session on the gateway.

This Command has no parameters.

APIQueryIrSpsForApp Command​

Queries the set-top box operator list by city ID.

This Command has no parameters.

APIReadLearnedIrCodeForApp Command​

Reads the learned IR code from the gateway using the keyId returned during the learning process.

This Command has no parameters.

APIAddIrKeyForApp Command​

Adds the newly learned IR key to the remote.

This Command has no parameters.

APIGetAirConditionerFunctionsForApp Command​

Gets the functions supported by the stateful air conditioner remote (mode, temperature, fan speed, etc.).

This Command has no parameters.

APIQueryIrAreaForApp Command​

Queries administrative divisions such as province, city and district.

This Command has no parameters.

APIGetBrandByIdForApp Command​

Retrieves brand information for the given category and brand ID.

This Command has no parameters.

APIGetBrandsByCategoryForApp Command​

Retrieves the brand list supported by a specific IR device category.

This Command has no parameters.

APIGetKeysByRemoteIdForApp Command​

Gets the key list supported by the remote code library using remoteId.

This Command has no parameters.

APIMatchRemoteByIrCodeForApp Command​

Matches possible remotes based on the learned IR code.

This Command has no parameters.

APIGetSupportIrGatewaysForApp Command​

Gets the gateway list supporting IR function at the specified location.

This Command has no parameters.

APIGetControllerKeysForApp Command​

Gets all key information of the specified remote device.

This Command has no parameters.

APIDeleteIrKeysForApp Command​

Deletes one or more keys from the remote.

This Command has no parameters.

APIClickIrKeyForApp Command​

Sends a single key press command to the IR remote.

This Command has no parameters.

APIGetIrControllerInfoForApp Command​

Gets the detailed information of a single IR remote (brand, type, etc.).

This Command has no parameters.

APIGetIrDeviceCategoriesForApp Command​

Queries the IR device category list supported by the remote (e.g., TV, air conditioner).

This Command has no parameters.

APIUpdateIrKeyNameForApp Command​

Renames a key on the IR remote.

This Command has no parameters.

APISyncIrLearningCodes Command​

IR learning code two-way sync request. The device reports the summary of all locally stored IR learning codes to the cloud, requesting comparison and receiving the difference list (codes to be added or deleted), to achieve eventual consistency between the cloud and the device IR code library.

This Command has no parameters.

APIGetIrCodeDownloadUrl Command​

IR code database download URL request. The device requests from the cloud a URL for downloading the complete or incremental IR code database file, to update or initialize the offline code library.

This Command has no parameters.

APIQueryIrLearningCode Command​

Learned IR code info query request. The device requests the cloud to retrieve the list and metadata (e.g., bound appliance name, key name) of all locally stored user-defined learned IR codes.

This Command has no parameters.

APIQueryIrCodeLibrary Command​

IR code cloud library query request. The device queries the cloud whether the preset IR code library for a specific brand and model of appliance exists, allowing users to add and control common appliances without manual learning.

This Command has no parameters.

APIGetIrCode Command​

IR code raw data acquisition request. The device requests the raw or waveform data of the specified IR code from the cloud, for local transmission or verification.

This Command has no parameters.

APIGetIrCodeTarget Command​

IR code target appliance info request. The device requests the detailed information of the target appliance associated with a specific IR code (e.g., brand, model, functions) from the cloud, to enrich the user interface display.

This Command has no parameters.

APISendIrButtonPress Command​

IR code single transmission Command. The cloud instructs the device to transmit a specific learned or preset IR code once to the target appliance (e.g., air conditioner, TV) through the IR emitter, simulating a single key press of the remote.

This Command has no parameters.

APIDeleteLearnedIrCode Command​

Learned IR code deletion Command. The cloud instructs the device to delete one or more previously learned and saved IR remote codes from its local storage.

This Command has no parameters.

APISaveLearnedIrKey Command​

Learned IR code key binding save Command. After the IR code learning succeeds, the cloud sends a command to bind the learned IR code to a user-defined virtual key (or scene action), and persists the binding in the device storage.

This Command has no parameters.

APIStartIrCodeLearning Command​

IR code learning mode start Command. The cloud instructs the device to enter IR learning mode, preparing to receive the user's physical IR remote signals and encode them into a storable, replayable digital format.

This Command has no parameters.

APISaveMatchedRemoteInfoForApp Command​

This Command is used to perform the "save matched remote info" operation.

Parameters​

APISaveMatchedRemoteInfoForApp Command Structure

CommLinkCoordination​

Introduction​

Monitors the communication link quality between the gateway and the cloud, performs latency probing and reports the results.

Function Identification​

Function IDCodeName
0x00EFCommLinkCoordinationCommunication link coordination

Trait​

This Function does not contain Traits.

Command​

Command IDCodeNameConformance
0x9CB8APICheckLinkConsumingLink latency checkO
0x9CB9APIReportLinkConsumingLink latency reportO
0x9DA3GetAqaraCertificateInfoForAppGet Aqara certificate info requestO
0x9DA4GetAqaraCertificateInfoForAppRspGet Aqara certificate info responseO

Data Types​

This Function has no custom data types.

GetAqaraCertificateInfoForAppRsp Command Structure Type​

This structure defines the response parameters of the GetAqaraCertificateInfoForAppRsp Command. This command belongs to the platform-level (App <-> Studio) interaction; all fields are mandatory, and field indexes are used as keys in JSON encoding.

Struct Member No.Field NameTypeMandatoryDescription
0CaPemcharacterStringMCA root certificate (PEM format).
1CaFingerprintSha256characterStringMSHA-256 fingerprint of the CA certificate (hexadecimal string).
2ServerChainPemcharacterStringMServer certificate chain (PEM format).
3ServerNotAfterEpochMillisuint64MServer certificate expiry timestamp (Unix epoch, milliseconds).
4DnsNameslist[characterString]MDomain name list allowed by the certificate.
5IpAddresseslist[characterString]MIP address list allowed by the certificate.

Trait Definitions​

This Function does not contain Traits.

Command Definitions​

Command IDNameConformance
0x9CB8APICheckLinkConsumingO
0x9CB9APIReportLinkConsumingO
0x9DA3GetAqaraCertificateInfoForAppO
0x9DA4GetAqaraCertificateInfoForAppRspO

APICheckLinkConsuming Command​

Network link latency probing Command. The cloud sends a probing command to the device to measure the round-trip time (RTT) between the cloud and the device, usually for network quality monitoring and diagnosis.

This Command has no parameters.

APIReportLinkConsuming Command​

Network link latency probing result report. After performing link probing, the device reports the measured network latency and other results to the cloud, for network performance analysis and statistics.

This Command has no parameters.

GetAqaraCertificateInfoForApp Command​

This command is initiated by the App to Aqara Studio to request Aqara certificate information. Studio shall return the certificate details via the GetAqaraCertificateInfoForAppRsp Command. This request has no parameters.

Parameters​

This Command has no parameters.

note

Request example (JSON):

{}

GetAqaraCertificateInfoForAppRsp Command​

This command is returned by Aqara Studio as the response to GetAqaraCertificateInfoForApp. It contains the CA root certificate, the CA certificate SHA-256 fingerprint, the server certificate chain, the server certificate expiry timestamp, and the allowed domain name and IP address lists.

Parameters​

GetAqaraCertificateInfoForAppRsp Command Structure

note

Response example (JSON, field indexes as keys):

{
"0": "-----BEGIN CERTIFICATE-----\nMIID...\n-----END CERTIFICATE-----",
"1": "a1b2c3d4e5f6...",
"2": "-----BEGIN CERTIFICATE-----\nMIID...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIID...\n-----END CERTIFICATE-----",
"3": 1735689600000,
"4": ["aqarastudio-4829.local", "aqarastudio-1234.local"],
"5": ["10.11.51.142", "192.168.1.100"]
}

RingtoneCoordination​

Introduction​

Manages gateway local ringtone/music files, including download, deletion and consistency check with the cloud library.

Function Identification​

Function IDCodeName
0x00F0RingtoneCoordinationRingtone management coordination

Trait​

This Function does not contain any Traits.

Command​

Command IDCodeNameConformance
0x9CBAAPIDownloadMusicMusic downloadO
0x9CBBAPIDeleteMusicMusic deletionO
0x9CBCAPICheckLocalMusicSyncLocal music information consistency checkO
0x9D61APIGetSupportDeviceInfoForAppQuery supported device information by locationO
0x9D62APIGetCustomRingtoneInfoForAppQuery custom ringtone informationO

Data Types​

This Function does not define any custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

Command IDNameConformance
0x9CBAAPIDownloadMusicO
0x9CBBAPIDeleteMusicO
0x9CBCAPICheckLocalMusicSyncO
0x9D61APIGetSupportDeviceInfoForAppO
0x9D62APIGetCustomRingtoneInfoForAppO

APIDownloadMusic Command (Music Download)​

Device music file download Command. The cloud sends a command instructing the device to download audio files (such as ringtones and chimes) from a specified address to local storage for subsequent playback.

This Command has no parameters.

APIDeleteMusic Command (Music Deletion)​

Device local music file deletion Command. The cloud instructs the device to delete one or more specified audio files from local storage.

This Command has no parameters.

APICheckLocalMusicSync Command (Local Music Information Consistency Check)​

Local music file information synchronization check request. The device reports the list of locally stored music files (for example, file names and MD5) to the cloud, requests comparison, and receives the list of files to be synchronized (downloaded or deleted) to keep the cloud and local music libraries consistent.

This Command has no parameters.

APIGetSupportDeviceInfoForApp Command (Query Supported Device Information by Location)​

This command queries the list of devices at a specified location that support a specific file type (such as doorbell files). The request contains positionId (position ID) and fileType (file type). The response returns an array of devices, including details such as did, deviceName, state, model, positionId, and positionName.

This Command has no parameters.

APIGetCustomRingtoneInfoForApp Command (Query Custom Ringtone Information)​

This command queries the list of custom ringtone files (such as doorbell files) that can be distributed to devices and their current distribution status. The request contains did (device ID) and fileType (file type, such as "bell_file"). The response returns an array of files, including details such as fileId, fileName, fileUrl, encryption key, sendState (distribution status), dataState (valid/deleted), failCode, and failMsg.

This Command has no parameters.

ScreenCoordination (Screen Function Coordination)​

Introduction​

Manages smart scene panel interactions, including configuration distribution, status query, and two-way passthrough between the cloud and the panel.

Function Identifier​

Function IDCodeName
0x00F1ScreenCoordinationScreen function coordination

Trait​

This Function does not contain any Traits.

Command​

Command IDCodeNameConformance
0x9CBDAPIPushPanelConfigScene panel configuration distributionO
0x9CBEAPICloudToPanelDownstreamCloud-to-panel downstream generalO
0x9CBFAPICheckPanelConfigConsistencyScene panel configuration consistency checkO
0x9CC0APIPanelUpstreamRequestPanel upstream request generalO
0x9CC6APISyncPositionDownPosition information downstream synchronizationO

Data Types​

This Function does not define any custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

Command IDNameConformance
0x9CBDAPIPushPanelConfigO
0x9CBEAPICloudToPanelDownstreamO
0x9CBFAPICheckPanelConfigConsistencyO
0x9CC0APIPanelUpstreamRequestO
0x9CC6APISyncPositionDownO

APIPushPanelConfig Command (Scene Panel Configuration Distribution)​

Smart scene panel configuration distribution command. The cloud sends configuration related to smart scene panels (physical or virtual) to the device, including button icons, backlight colors, and associated scene or device control logic.

This Command has no parameters.

APICloudToPanelDownstream Command (Cloud-to-Panel Downstream General)​

Cloud-to-panel downstream general command channel. The cloud uses this general interface to send various control, query, or configuration commands to scene panels.

This Command has no parameters.

APICheckPanelConfigConsistency Command (Scene Panel Configuration Consistency Check)​

Scene panel configuration consistency check request. The device reports a summary of the current configuration of all scene panels it manages to the cloud, requests comparison, and receives differences to ensure cloud and local panel configurations stay in sync.

This Command has no parameters.

APIPanelUpstreamRequest Command (Panel Upstream Request General)​

Panel-to-cloud upstream general request channel. This general interface is used to send various requests to the cloud, such as getting weather, executing complex scenes, or reporting panel events.

This Command has no parameters.

APISyncPositionDown Command (Position Information Downstream Synchronization)​

Device position information downstream synchronization Command. The cloud sends position information such as the rooms and areas assigned by the user to the device, ensuring that the device's local device-position mapping matches the cloud settings.

This Command has no parameters.

ConfigurationCoordination (General Configuration Coordination)​

Introduction​

Manages general function configurations, resource subscriptions, and position information synchronization via multicast or batch methods.

Function Identifier​

Function IDCodeName
0x00F2ConfigurationCoordinationGeneral configuration coordination

Trait​

This Function does not contain any Traits.

Command​

Command IDCodeNameConformance
0x9CC1APIGetConfigurationGeneral configuration acquisitionO
0x9CC2APIDeleteConfigurationGeneral configuration deletion (multicast)O
0x9CC3APIReportConfigurationGeneral configuration report (multicast)O
0x9CC4APISyncConfigurationGeneral configuration synchronizationO
0x9CC5APIPushConfigurationGeneral configuration distribution (multicast)O
0x9CC7APIPushSubscribedResourceSubscribed resource distributionO
0x9CC8APIWriteFunctionResourceFunction resource control (multicast)O
0x9D0AAPIReportThingModelDetailThing model detail reportO

Data Types​

This Function does not define any custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

Command IDNameConformance
0x9CC1APIGetConfigurationO
0x9CC2APIDeleteConfigurationO
0x9CC3APIReportConfigurationO
0x9CC4APISyncConfigurationO
0x9CC5APIPushConfigurationO
0x9CC7APIPushSubscribedResourceO
0x9CC8APIWriteFunctionResourceO
0x9D0AAPIReportThingModelDetailO

APIGetConfiguration Command (General Configuration Acquisition)​

General function configuration acquisition request. The device requests the latest configuration parameters or policy files for a specified function module (such as specific sensor data processing logic or device behavior rules) from the cloud.

This Command has no parameters.

APIDeleteConfiguration Command (General Configuration Deletion (Multicast))​

General function configuration multicast deletion Command. The cloud sends a command requiring the device to delete one or more specified types of general configurations. This Command can be sent via multicast to affect multiple eligible gateways or devices at the same time.

This Command has no parameters.

APIReportConfiguration Command (General Configuration Report (Multicast))​

General function resource multicast report. The device reports the current values or summary information of a certain type of locally stored general function resource (such as configurations or status caches) to the cloud via multicast or batch reporting, for centralized monitoring and synchronization.

This Command has no parameters.

APISyncConfiguration Command (General Configuration Synchronization)​

General function configuration bidirectional synchronization request. The device reports a summary of locally stored general function configurations to the cloud, requests comparison, and receives the difference list (configurations to push or delete) to achieve eventual consistency between the cloud and the device.

This Command has no parameters.

APIPushConfiguration Command (General Configuration Distribution (Multicast))​

General function configuration multicast distribution Command. The cloud distributes general function configurations (such as device behavior rules and data processing policies) to one or more devices. This Command can be sent via multicast to efficiently synchronize configurations across a batch of devices.

This Command has no parameters.

APIPushSubscribedResource Command (Subscribed Resource Distribution)​

Device subscribed resource distribution Command. According to the resource types subscribed by the device or its sub-devices, the cloud sends corresponding resource configurations, status updates, or data streams to the device for real-time data push or configuration updates.

This Command has no parameters.

APIWriteFunctionResource Command (Function Resource Control (Multicast))​

General function resource multicast control Command. The cloud sends write-operation Commands (such as setting values or triggering actions) for specific general function resources (such as virtual switches or counters) to one or more devices via multicast, enabling batch control.

This Command has no parameters.

APIReportThingModelDetail Command (Thing Model Detail Report)​

Aqara new device Thing model detailed information report. For hubs or devices that support the Aqara device Thing model protocol, detailed Thing models (objects, properties, services) are reported to the cloud.

This Command has no parameters.

LockCoordination (Lock Function Coordination)​

Introduction​

Handles smart lock extended services, including dedicated passthrough channels, encryption/decryption assistance, and extended event reporting.

Function Identifier​

Function IDCodeName
0x00F3LockCoordinationLock function coordination

Trait​

This Function does not contain any Traits.

Command​

Command IDCodeNameConformance
0x9CCFAPIReportLockExtEventsLock extended service event reportO
0x9CDCAPILockPassthroughDownstreamExternal passthrough gateway downstreamO
0x9D03APIAssistDeviceCryptoDevice data encryption/decryption assistanceO
0x9D05APILockPassthroughUpstreamExternal passthrough upstream reportO

Data Types​

This Function does not define any custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

Command IDNameConformance
0x9CCFAPIReportLockExtEventsO
0x9CDCAPILockPassthroughDownstreamO
0x9D03APIAssistDeviceCryptoO
0x9D05APILockPassthroughUpstreamO

APIReportLockExtEvents Command (Lock Extended Service Event Report)​

Smart lock extended service event report. The device reports extended events generated by the smart lock beyond basic state changes (such as unlock records of specific users, duress alarms, low battery warnings, and tamper alarms) to the cloud.

This Command has no parameters.

APILockPassthroughDownstream Command (External Passthrough Gateway Downstream)​

External application passthrough downstream Command (dedicated channel). The cloud sends raw Commands or data that bypass business-layer parsing through the dedicated passthrough channel reserved for specific external applications, forwarding them directly to the designated sub-device (such as a smart lock).

This Command has no parameters.

APIAssistDeviceCrypto Command (Device Data Encryption/Decryption Assistance)​

Device data encryption/decryption assistance request. Due to security policies or capability limitations, the gateway requests the cloud to encrypt or decrypt specific string data using the designated device's key and return the result.

This Command has no parameters.

APILockPassthroughUpstream Command (External Passthrough Upstream Report)​

External application passthrough upstream information report (dedicated channel).

This Command has no parameters.

WakeupCoordination (Device Wakeup Coordination)​

Introduction​

Obtains wakeup service addresses or tokens for low-power devices that support remote wakeup.

Function Identifier​

Function IDCodeName
0x00F4WakeupCoordinationDevice wakeup coordination

Trait​

This Function does not contain any Traits.

Command​

Command IDCodeNameConformance
0x9D0BAPIGetWakeupUrlWakeup address acquisitionO

Data Types​

This Function does not define any custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

Command IDNameConformance
0x9D0BAPIGetWakeupUrlO

APIGetWakeupUrl Command (Wakeup Address Acquisition)​

Device remote wakeup service address acquisition request. The device queries the cloud for the wakeup server address or access Token of sub-devices that support remote wakeup (such as low-power devices), so that they can be activated on demand.

This Command has no parameters.

CloudStorageCoordination (Cloud Storage Function Coordination)​

Introduction​

Manages cloud recording/cloud storage business resource configurations and obtains information such as storage quotas and upload credentials.

Function Identifier​

Function IDCodeName
0x00F5CloudStorageCoordinationCloud storage function coordination

Trait​

This Function does not contain any Traits.

Command​

Command IDCodeNameConformance
0x9D0CAPIRequestCloudStorageResourceCloud storage business resource requestO

Data Types​

This Function does not define any custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

Command IDNameConformance
0x9D0CAPIRequestCloudStorageResourceO

APIRequestCloudStorageResource Command (Cloud Storage Business Resource Request)​

Cloud storage business resource configuration request. The device (typically a camera or similar device) requests resource configuration information related to the cloud video storage service from the cloud, such as storage quotas, upload credentials, and recording plans.

This Command has no parameters.

CentralHubCoordination (Central Hub Function Coordination)​

Introduction​

Manages advanced central hub gateway capabilities, including central hub enabling, Broker information, and data passthrough channels.

Function Identifier​

Function IDCodeName
0x00F6CentralHubCoordinationCentral hub function coordination

Trait​

This Function does not contain any Traits.

Command​

Command IDCodeNameConformance
0x9D0DAPIEnableCentralHubFunctionCentral hub function enablingO
0x9D0EAPIHubPassthroughDataDownGateway passthrough data downstreamO
0x9D0FAPIInquiryCentralBrokerCentral hub Broker information queryO
0x9D10APIInquiryCentralEnableStateCentral hub enable state queryO
0x9D11APIHubPassthroughDataUpGateway passthrough data upstreamO

Data Types​

This Function does not define any custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

Command IDNameConformance
0x9D0DAPIEnableCentralHubFunctionO
0x9D0EAPIHubPassthroughDataDownO
0x9D0FAPIInquiryCentralBrokerO
0x9D10APIInquiryCentralEnableStateO
0x9D11APIHubPassthroughDataUpO

APIEnableCentralHubFunction Command (Central Hub Function Enabling)​

Hub central gateway core function enabling Command. The cloud commands the Hub to activate its core capabilities as a "smart home central gateway", such as the local automation engine, cross-protocol coordination, device management, and edge computing, upgrading it from an ordinary gateway to a home control center.

This Command has no parameters.

APIHubPassthroughDataDown Command (Gateway Passthrough Data Downstream)​

Hub data passthrough downstream channel. The cloud sends raw data packets that do not require Hub business-layer parsing to the Hub through this general passthrough interface, and the Hub directly forwards them to the specific terminal devices or services connected to it.

This Command has no parameters.

APIInquiryCentralBroker Command (Central Hub Broker Information Query)​

Central message broker information query request. The hub acting as the central hub queries the cloud for information about the message broker server it should connect to (for inter-device communication and event distribution).

This Command has no parameters.

APIInquiryCentralEnableState Command (Central Hub Enable State Query)​

Central function enable state query request. The hub queries the cloud for the current enable state (enabled or disabled) of its own "central hub function", for state synchronization or UI display.

This Command has no parameters.

APIHubPassthroughDataUp Command (Gateway Passthrough Data Upstream)​

Hub data passthrough upstream channel. The Hub reports raw data packets received from connected devices directly to the cloud or designated external services through this general passthrough interface, without business-layer parsing.

This Command has no parameters.

IftttCoordination (IFTTT Function Coordination)​

Introduction​

Serves as the automation rule coordination center, managing the synchronization, subscription, and execution of IFTTT/local automation rules.

Function Identifier​

Function IDCodeName
0x00F7IftttCoordinationIFTTT function coordination

Trait​

This Function does not contain any Traits.

Command​

Command IDCodeNameConformance
0x9D12APIEnableAutomationAutomation enableO
0x9D13APIEnableIftttIFTTT enableO
0x9D14APIDownloadIftttLocalIFTTT local synchronizationO
0x9D15APIDeleteIftttLocalIFTTT local deletionO
0x9D16APIPushCentralAutomationCentral automation distributionO
0x9D17APIDeleteCentralAutomationCentral automation deletionO
0x9D18APIEnableCentralAutomationCentral automation enableO
0x9D19APIPublishResourceChangeResource change publicationO
0x9D1AAPIQueryHolidayListHoliday list queryO
0x9D1BAPICheckLocalIftttSyncLocal automation information consistency checkO
0x9D1CAPISubscribeIftttResChangeIFTTT resource change subscriptionO
0x9D1DAPIUnsubscribeIftttResChangeIFTTT resource change unsubscriptionO
0x9D1EAPIRunCloudActionCloud action executionO
0x9D1FAPIQueryIftttResIFTTT resource queryO
0x9D20APIGetSunriseSunsetByLatLonSunrise/sunset time acquisition by latitude and longitudeO

Data Types​

This Function does not define any custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

Command IDNameConformance
0x9D12APIEnableAutomationO
0x9D13APIEnableIftttO
0x9D14APIDownloadIftttLocalO
0x9D15APIDeleteIftttLocalO
0x9D16APIPushCentralAutomationO
0x9D17APIDeleteCentralAutomationO
0x9D18APIEnableCentralAutomationO
0x9D19APIPublishResourceChangeO
0x9D1AAPIQueryHolidayListO
0x9D1BAPICheckLocalIftttSyncO
0x9D1CAPISubscribeIftttResChangeO
0x9D1DAPIUnsubscribeIftttResChangeO
0x9D1EAPIRunCloudActionO
0x9D1FAPIQueryIftttResO
0x9D20APIGetSunriseSunsetByLatLonO

APIEnableAutomation Command (Automation Enable)​

Local automation rule master switch control command. The cloud sends a command to globally enable or disable all automation rules (IFTTT scenarios) stored and executed locally on the gateway, making them temporarily effective or ineffective.

This Command has no parameters.

APIEnableIfttt Command (IFTTT Enable)​

The cloud sends a dedicated command to the gateway to control the overall enable state of its IFTTT (If This Then That) automation function.

This Command has no parameters.

APIDownloadIftttLocal Command (IFTTT Local Synchronization)​

The cloud synchronizes the user-created IFTTT automation rules to the gateway's local storage, allowing them to be triggered and executed under local (offline) conditions.

This Command has no parameters.

APIDeleteIftttLocal Command (IFTTT Local Deletion)​

The cloud instructs the gateway to delete the specified IFTTT automation rules from its local storage.

This Command has no parameters.

APIPushCentralAutomation Command (Central Automation Distribution)​

Central-level automation rule delivery command. The cloud provides complex automation rule configurations that need to be coordinated across multiple hubs, or the hub centralizes processing on the hub that acts as the central hub.

This Command has no parameters.

APIDeleteCentralAutomation Command (Central Automation Deletion)​

Central-level automation rule deletion command. The cloud instructs the hub acting as the central hub to delete the specified central-level automation rules from its storage.

This Command has no parameters.

APIEnableCentralAutomation Command (Central Automation Enable)​

Central-level automation rule enabling command. The cloud controls whether the central hub hub enables the central-level automation rules stored in it.

This Command has no parameters.

APIPublishResourceChange Command (Resource Change Publication)​

Resource change event publication command. When a resource value changes in the cloud, the change event is proactively "published" to local gateways that have subscribed to that resource, to trigger their local automation rules.

This Command has no parameters.

APIQueryHolidayList Command (Holiday List Query)​

The device queries the cloud for the holiday list of a specified year and region.

This Command has no parameters.

APICheckLocalIftttSync Command (Local Automation Information Consistency Check)​

Local automation rule information synchronization check request. The gateway reports summary information of all locally stored IFTTT automation rules to the cloud, requests comparison, and receives differences to keep the cloud and local rule libraries consistent.

This Command has no parameters.

APISubscribeIftttResChange Command (IFTTT Resource Change Subscription)​

Local automation rule cloud resource change subscription request. The gateway subscribes to changes of one or more cloud resources on behalf of local automation rules. When these resources change in the cloud, the cloud will notify the gateway.

This Command has no parameters.

APIUnsubscribeIftttResChange Command (IFTTT Resource Change Unsubscription)​

Local automation rule cloud resource change unsubscription request. The gateway requests the cloud to stop pushing change notifications for previously subscribed specific resources.

This Command has no parameters.

APIRunCloudAction Command (Cloud Action Execution)​

Local automation-triggered cloud action execution request. When the conditions of a local automation rule on the gateway are met, the cloud is requested through this interface to execute actions that can only be completed in the cloud (such as sending notifications, calling internet APIs, or updating cloud databases).

This Command has no parameters.

APIQueryIftttRes Command (IFTTT Resource Query)​

Automation-related resource value query request. When evaluating rule conditions, the hub's local automation engine queries the cloud for the current value of a specified resource (for example, device status in another home, weather data, or user modes).

This Command has no parameters.

APIGetSunriseSunsetByLatLon Command (Sunrise/Sunset Time Acquisition by Latitude and Longitude)​

Sunrise/sunset time query request based on latitude and longitude. The device queries the cloud for the specific sunrise and sunset times of the day according to its latitude/longitude coordinates, to implement natural light-related smart automation scenarios (such as "turn on the light at sunset").

This Command has no parameters.

NetworkManagement (Network Management)​

Introduction​

Serves as the core control module for device network connections and access policies, managing remote proxies and access addresses.

Function Identifier​

Function IDCodeName
0x00F8NetworkManagementNetwork management

Trait​

Trait IDCodeNameConformance
0x4F4ERemoteProxyAccessEnableRemote proxy access enableO
0x4F4FInternetAccessAddressInternet access addressO
0x4F50LanAccessAddressLAN access addressO
0x516ENetworkSpeedTestModeNetwork speed test modeO
0x516FNetworkSpeedTestResultNetwork speed test resultO
0x5170NetworkSpeedThresholdNetwork speed compliance thresholdO
0x5186NetworkProtocolSupportSupported network protocolsO

Command​

This Function does not contain any Commands.

Data Types​

NetworkSpeedTestResultTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the NetworkSpeedTestResult Trait.

Structure Member IndexField NameTypeRequiredDescription
0UpThresholdfloatOUplink rate, in Mbps (megabits per second).
1DownThresholdfloatODownlink rate, in Mbps (megabits per second).
NetworkSpeedThresholdTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the NetworkSpeedThreshold Trait.

Structure Member IndexField NameTypeRequiredDescription
0UpThresholdfloatOUplink rate threshold, in Mbps (megabits per second).
1DownThresholdfloatODownlink rate threshold, in Mbps (megabits per second).

Trait Definitions​

Trait IDNameConformance
0x4F4ERemoteProxyAccessEnableO
0x4F4FInternetAccessAddressO
0x4F50LanAccessAddressO
0x516ENetworkSpeedTestModeO
0x516FNetworkSpeedTestResultO
0x5170NetworkSpeedThresholdO
0x5186NetworkProtocolSupportO

RemoteProxyAccessEnable Trait (Remote Proxy Access Enable)​

Remote proxy access enable switch. This attribute enables or disables the device's ability to be remotely accessed via an internet cloud proxy. When enabled, authorized users can remotely control the device through a secure cloud tunnel; when disabled, the device can only be accessed within the local area network (LAN).

Trait IDCode
0x4F4ERemoteProxyAccessEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

InternetAccessAddress Trait (Internet Access Address)​

The public network access address assigned to the device by the cloud platform (usually a domain name or NAT-mapped address). The remote management service uses this address to locate and connect to the device, reflecting the device's logical position in the wide area network (WAN).

Trait IDCode
0x4F4FInternetAccessAddress
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

LanAccessAddress Trait (LAN Access Address)​

The IP address assigned to the device by the router in the home local area network (LAN) (usually via DHCP). Other devices on the same network (such as mobile apps and computers) use this address to discover and communicate with the device locally at low latency.

Trait IDCode
0x4F50LanAccessAddress
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

NetworkSpeedTestMode Trait (Network Speed Test Mode)​

Configure or get the device's network speed test mode status. Writing 1 puts the device into speed test mode, and writing 0 exits speed test mode. After the speed test completes, the device automatically resets the status to 0 (idle). This Trait is readable, writable, and reportable.

Trait IDCode
0x516ENetworkSpeedTestMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

NetworkSpeedTestResult Trait (Network Speed Test Result)​

Indicates the actual network speed obtained after the device completes the speed test, in Mbps (megabits per second), including both downlink and uplink dimensions. This Trait is a read-only property, actively reported by the device after the speed test, for client display or compliance assessment.

Trait IDCode
0x516FNetworkSpeedTestResult
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNetworkSpeedTestResultTraitPresentValueStructureRVO

NetworkSpeedThreshold Trait (Network Speed Threshold)​

Reference thresholds used to determine whether the device's network speed meets requirements, in Mbps (megabits per second), including downlink and uplink speed threshold dimensions. When the measured speed (provided by NetworkSpeedTestResult) reaches or exceeds the corresponding threshold, it is judged as "pass"; otherwise, it is judged as "fail".

Trait IDCode
0x5170NetworkSpeedThreshold
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNetworkSpeedThresholdTraitPresentValueStructureRVO

NetworkProtocolSupport Trait (Supported Network Protocols)​

Supported network protocols. Represents the set of network communication protocols supported by the device in normal working conditions. This Trait uses a bitmask (Bitmap) form: bit0 = Wi-Fi, bit1 = Thread, bit2 = Ethernet, bit3 = Zigbee, bit4 = BLE, bit5 = Aqara RS485. Multiple protocols can be set simultaneously.

Trait IDCode
0x5186NetworkProtocolSupport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain any Commands.

ToiletCore (Toilet Core Functions)​

Introduction​

Integrates the most basic physical state sensing and component control of the smart toilet, including seating, lid opening, flushing, seat heating, and night light.

Function Identifier​

Function IDCodeName
0x00F9ToiletCoreToilet core functions

Trait​

Trait IDCodeNameConformance
0x4F66SeatHeatingLevelSeat heatingO
0x4F65SeatStateSeat stateO
0x4F64LidStateLid stateO
0x4F62SeatOccupancySeated/standing stateO
0x8098OnOffOn/Off stateO
0x508BDeodorizationDeodorizationO

Command​

Command IDCodeNameConformance
0x9D28FlushCommandToilet flushingO
0x9D27SeatCommandSeat state toggleO
0x9D26LidCommandLid state toggleO

Data Types​

SeatHeatingLevelEnum8 Type​

This enumeration defines the valid values of the Present Value for the SeatHeatingLevel Trait.

ValueNameDescription
0x00OffOff
0x0126C26deg C
0x0227C27deg C
0x0328C28deg C
0x0429C29deg C
0x0530C30deg C
0x0631C31deg C
0x0732C32deg C
0x0833C33deg C
0x0934C34deg C
0x0A35C35deg C
0x0B36C36deg C
0x0C37C37deg C
0x0D38C38deg C
0x0E39C39deg C
0x0F40C40deg C
FlushCommand Command Structure Type​

Parameter structure of the FlushCommand Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MFlush type.
SeatCommand Command Structure Type​

Parameter structure of the SeatCommand Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MOperation type.
LidCommand Command Structure Type​

Parameter structure of the LidCommand Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MOperation type.

Trait Definitions​

Trait IDNameConformance
0x4F66SeatHeatingLevelO
0x4F65SeatStateO
0x4F64LidStateO
0x4F62SeatOccupancyO
0x8098OnOffO
0x508BDeodorizationO

SeatHeatingLevel Trait (Seat Heating)​

Sets the seat heating level for a comfortable sitting experience. The "Off" level indicates that heating is disabled.

Trait IDCode
0x4F66SeatHeatingLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSeatHeatingLevelEnum80RVWO
0x0006Supported Valuelist[SeatHeatingLevelEnum8]RO
0x0007Default ValueSeatHeatingLevelEnum80RWO

SeatState Trait (Seat State)​

Controls opening or closing the toilet seat. When opening the seat, if the toilet lid is closed, the lid will be automatically opened first.

Trait IDCode
0x4F65SeatState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

LidState Trait (Lid State)​

Indicates the toilet lid state. When the lid is closed, writing 1 slowly opens it; when the lid is open, writing 0 slowly closes it.

Trait IDCode
0x4F64LidState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SeatOccupancy Trait (Seated/Standing State)​

Indicates whether the toilet seat is occupied. 0 means unoccupied, 1 means occupied.

Trait IDCode
0x4F62SeatOccupancy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO

OnOff Trait (On/Off State)​

When written, turns the camera device on or off. When read, indicates the current power state. Values: false = off, true = on.

Trait IDCode
0x8098OnOff
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Deodorization Trait (Deodorization)​

Controls the deodorization function of the smart toilet. A value of 0 means off, and a value of 1 means on.

Trait IDCode
0x508BDeodorization
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

Command IDNameConformance
0x9D28FlushCommandO
0x9D27SeatCommandO
0x9D26LidCommandO

FlushCommand Command​

Executes a Flush Command. Options include Full Flush (solid waste) or Half Flush (liquid waste or specific scenarios). Executing this Command will interrupt any ongoing washing or drying process.

Parameters​

FlushCommand Command Structure

SeatCommand Command​

Sends a control command to the toilet, such as "toggle", causing the seat to perform the opposite action of its current state (open if closed, close if open).

Parameters​

SeatCommand Command Structure

LidCommand Command​

Sends a control command to the toilet, such as "toggle", causing the lid to perform the opposite action of its current state (open if closed, close if open).

Parameters​

LidCommand Command Structure

ToiletDiagnostic (Toilet Diagnostic Information)​

Introduction​

Monitors the health status of key hardware subsystems of the smart toilet, actively reporting faults such as temperature, flow, and fan issues.

Function Identifier​

Function IDCodeName
0x00FAToiletDiagnosticToilet diagnostic information

Trait​

Trait IDCodeNameConformance
0x4F67SeatTempSensorFaultSeat temperature sensor faultO
0x4F68PressureValveFaultPressure valve faultO
0x4F69WaterHeaterVoltageFaultWater heater voltage faultO
0x4F6AFlowSensorFaultFlow sensor faultO
0x4F6BOutletWaterTempSensorFaultOutlet water temperature sensor faultO
0x4F6CInletWaterTempSensorFaultInlet water temperature sensor faultO
0x4F6DWaterTempSensorsConsistencyFaultInlet/outlet water temperature sensor consistency faultO
0x4F6EDryerFanFaultDryer fan faultO

Command​

This Function does not contain any Commands.

Data Types​

SeatTempSensorFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the SeatTempSensorFault Trait.

ValueNameDescription
0x00NormalNormal
0x01OverheatOverheat
0x02FaultFault
PressureValveFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the PressureValveFault Trait.

ValueNameDescription
0x00NormalNormal
0x01FaultFault
WaterHeaterVoltageFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the WaterHeaterVoltageFault Trait.

ValueNameDescription
0x00NormalNormal
0x01FaultFault
FlowSensorFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the FlowSensorFault Trait.

ValueNameDescription
0x00NormalNormal
0x01InsufficientInsufficient
0x02ExcessiveExcessive
OutletWaterTempSensorFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the OutletWaterTempSensorFault Trait.

ValueNameDescription
0x00NormalNormal
0x01OverheatOverheat
0x02FaultFault
InletWaterTempSensorFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the InletWaterTempSensorFault Trait.

ValueNameDescription
0x00NormalNormal
0x01OverheatOverheat
0x02FaultFault
WaterTempSensorsConsistencyFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the WaterTempSensorsConsistencyFault Trait.

ValueNameDescription
0x00NormalNormal
0x01FaultFault
DryerFanFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the DryerFanFault Trait.

ValueNameDescription
0x00NormalNormal
0x01FaultFault

Trait Definitions​

Trait IDNameConformance
0x4F67SeatTempSensorFaultO
0x4F68PressureValveFaultO
0x4F69WaterHeaterVoltageFaultO
0x4F6AFlowSensorFaultO
0x4F6BOutletWaterTempSensorFaultO
0x4F6CInletWaterTempSensorFaultO
0x4F6DWaterTempSensorsConsistencyFaultO
0x4F6EDryerFanFaultO

SeatTempSensorFault Trait (Seat Temperature Sensor Fault)​

Reports the seat temperature sensor status: Normal, Overheat, or Sensor Fault.

Trait IDCode
0x4F67SeatTempSensorFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSeatTempSensorFaultEnum80VO
0x0006Supported Valuelist[SeatTempSensorFaultEnum8]RO

PressureValveFault Trait (Pressure Valve Fault)​

Reports pressure valve faults, such as solenoid valve or diaphragm abnormalities.

Trait IDCode
0x4F68PressureValveFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePressureValveFaultEnum80VO
0x0006Supported Valuelist[PressureValveFaultEnum8]RO

WaterHeaterVoltageFault Trait (Water Heater Voltage Fault)​

Reports water heater voltage abnormalities, such as an open thermostat or fuse.

Trait IDCode
0x4F69WaterHeaterVoltageFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWaterHeaterVoltageFaultEnum80VO
0x0006Supported Valuelist[WaterHeaterVoltageFaultEnum8]RO

FlowSensorFault Trait (Flow Sensor Fault)​

Reports the water flow status: Normal, Insufficient Flow, or Excessive Flow (possibly due to a pressure valve fault).

Trait IDCode
0x4F6AFlowSensorFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFlowSensorFaultEnum80VO
0x0006Supported Valuelist[FlowSensorFaultEnum8]RO

OutletWaterTempSensorFault Trait (Outlet Water Temperature Sensor Fault)​

Reports the outlet water temperature sensor status: Normal, Overheat, or Sensor Fault.

Trait IDCode
0x4F6BOutletWaterTempSensorFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueOutletWaterTempSensorFaultEnum80VO
0x0006Supported Valuelist[OutletWaterTempSensorFaultEnum8]RO

InletWaterTempSensorFault Trait (Inlet Water Temperature Sensor Fault)​

Reports the inlet water temperature sensor status: Normal, Overheat, or Sensor Fault.

Trait IDCode
0x4F6CInletWaterTempSensorFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueInletWaterTempSensorFaultEnum80VO
0x0006Supported Valuelist[InletWaterTempSensorFaultEnum8]RO

WaterTempSensorsConsistencyFault Trait (Inlet/Outlet Water Temperature Sensor Consistency Fault)​

Reports the consistency check status between the inlet and outlet water temperature sensors: Normal or Consistency Fault.

Trait IDCode
0x4F6DWaterTempSensorsConsistencyFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWaterTempSensorsConsistencyFaultEnum80VO
0x0006Supported Valuelist[WaterTempSensorsConsistencyFaultEnum8]RO

DryerFanFault Trait (Dryer Fan Fault)​

Reports the operating status of the dryer fan: Normal or Fault (e.g., loose terminals, open circuit, or stalled rotor).

Trait IDCode
0x4F6EDryerFanFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDryerFanFaultEnum80VO
0x0006Supported Valuelist[DryerFanFaultEnum8]RO

Command Definitions​

This Function does not contain any Commands.

ToiletHygiene (Toilet Hygiene Maintenance)​

Introduction​

Maintains the device's own cleanliness and hygiene, including nozzle cleaning, foam shield, plasma sterilization, and waterway cleaning.

Function Identifier​

Function IDCodeName
0x00FBToiletHygieneToilet hygiene maintenance

Trait​

Trait IDCodeNameConformance
0x4F61PlasmaSterilizeStatusPlasma sterilizationO

Command​

Command IDCodeNameConformance
0x9D23NozzleCleanToilet nozzle cleaningO
0x9D24FoamShieldControlFoam shield controlO
0x9D25CleanFoamSystemCommandFoam system waterway cleaningO

Data Types​

NozzleClean Command Structure Type​

Parameter structure of the NozzleClean Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MCleaning type.
FoamShieldControl Command Structure Type​

Parameter structure of the FoamShieldControl Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MOperation type.
CleanFoamSystemCommand Command Structure Type​

Parameter structure of the CleanFoamSystemCommand Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MOperation type.

Trait Definitions​

Trait IDNameConformance
0x4F61PlasmaSterilizeStatusO

PlasmaSterilizeStatus Trait (Plasma Sterilization)​

Starts the deep plasma sterilization process. It can only be triggered when the seat is unoccupied and no other activity is in progress.

Trait IDCode
0x4F61PlasmaSterilizeStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

Command IDNameConformance
0x9D23NozzleCleanO
0x9D24FoamShieldControlO
0x9D25CleanFoamSystemCommandO

NozzleClean Command​

Controls the nozzle self-cleaning behavior: Auto Clean (automatic cleaning), Manual Maintenance (extend only for maintenance), or Off (retract).

Parameters​

NozzleClean Command Structure

FoamShieldControl Command​

Manually controls the release and stop of the foam shield. Set to "Start" to begin releasing foam; set to "Stop" to stop releasing foam.

Parameters​

FoamShieldControl Command Structure

CleanFoamSystemCommand Command​

Performs a cleaning cycle of the foam system waterway to prevent clogging.

Parameters​

CleanFoamSystemCommand Command Structure

ToiletWashDry (Toilet Washing and Drying)​

Introduction​

Defines the complete smart toilet washing and drying process, covering washing modes, water temperature/pressure, drying wind speed, and duration settings.

Function Identifier​

Function IDCodeName
0x00FCToiletWashDryToilet washing and drying

Trait​

Trait IDCodeNameConformance
0x4F7CToiletWashingModeWashing modeO
0x4F7DToiletMassageModeMassage wash modeO
0x4F7EToiletWaterTemperatureWashing water temperatureO
0x4F7FToiletWaterPressureLevelWashing intensityO
0x4F80NozzlePositionWashing positionO
0x4F81ToiletDryingStatusToilet dryingO
0x4F82FanSpeedLevelDrying fan speed levelO
0x4F83RinseDurationSet posterior wash durationO
0x4F84FeminineWashDurationSet feminine wash durationO
0x4F85DryingDurationSet drying durationO

Command​

Command IDCodeNameConformance
0x9D29WashDryCombinationCommandToilet washing and drying controlO

Data Types​

ToiletWashingModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the ToiletWashingMode Trait.

ValueNameDescription
0x01RinsePosterior wash
0x02RinseMovingPosterior wash (moving)
0x03FeminineWashFeminine wash
0x04FeminineWashMovingFeminine wash (moving)
0x00StopStop
0x05EnemaEnema
0x06ChildWashChild wash
ToiletMassageModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the ToiletMassageMode Trait.

ValueNameDescription
0x00OffOff
0x01PressureMassageStrong/weak massage
0x02TemperatureMassageHot/cold massage
ToiletWaterTemperatureEnum8 Type​

This enumeration defines the valid values of the Present Value for the ToiletWaterTemperature Trait.

ValueNameDescription
0x00RoomTempRoom temperature
0x0126C26deg C
0x0227C27deg C
0x0328C28deg C
0x0429C29deg C
0x0530C30deg C
0x0631C31deg C
0x0732C32deg C
0x0833C33deg C
0x0934C34deg C
0x0A35C35deg C
0x0B36C36deg C
0x0C37C37deg C
0x0D38C38deg C
0x0E39C39deg C
0x0F40C40deg C
ToiletWaterPressureLevelEnum8 Type​

This enumeration defines the valid values of the Present Value for the ToiletWaterPressureLevel Trait.

ValueNameDescription
0x00GentleGentle
0x01StandardStandard
0x02StrongStrong
NozzlePositionEnum8 Type​

This enumeration defines the valid values of the Present Value for the NozzlePosition Trait.

ValueNameDescription
0x00RearRear
0x01RearwardRear-mid
0x02MiddleMiddle
0x03ForwardFront-mid
0x04FrontFront
ToiletDryingStatusEnum8 Type​

This enumeration defines the valid values of the Present Value for the ToiletDryingStatus Trait.

ValueNameDescription
0x00OffOff
0x01RoomTempRoom temperature
0x02LowTempLow temperature
0x03MediumLowTempMedium-low temperature
0x04MediumTempMedium temperature
0x05MediumHighTempMedium-high temperature
0x06HighTempHigh temperature
0x07OnOn
FanSpeedLevelEnum8 Type​

This enumeration defines the valid values of the Present Value for the FanSpeedLevel Trait.

ValueNameDescription
0x00LowSpeedLow speed
0x01MediumSpeedMedium speed
0x02HighSpeedHigh speed
WashDryCombinationCommand Command Structure Type​

Parameter structure of the WashDryCombinationCommand Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MOperation type.

Trait Definitions​

Trait IDNameConformance
0x4F7CToiletWashingModeO
0x4F7DToiletMassageModeO
0x4F7EToiletWaterTemperatureO
0x4F7FToiletWaterPressureLevelO
0x4F80NozzlePositionO
0x4F81ToiletDryingStatusO
0x4F82FanSpeedLevelO
0x4F83RinseDurationO
0x4F84FeminineWashDurationO
0x4F85DryingDurationO

ToiletWashingMode Trait (Washing Mode)​

Selects the washing function mode, including Rinse Wash, Feminine Wash, and their moving modes.

Trait IDCode
0x4F7CToiletWashingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueToiletWashingModeEnum80RVWO
0x0006Supported Valuelist[ToiletWashingModeEnum8]RO
0x0007Default Valueuint80RWO

ToiletMassageMode Trait (Massage Wash Mode)​

Selects and starts/stops the massage washing function. Modes include "Pressure Massage" and "Temperature Massage".

Trait IDCode
0x4F7DToiletMassageMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueToiletMassageModeEnum80RVWO
0x0006Supported Valuelist[ToiletMassageModeEnum8]RO
0x0007Default ValueToiletMassageModeEnum80RWO

ToiletWaterTemperature Trait (Washing Water Temperature)​

Sets the washing water temperature level, from room temperature to multiple heating levels.

Trait IDCode
0x4F7EToiletWaterTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueToiletWaterTemperatureEnum80RVWO
0x0006Supported Valuelist[ToiletWaterTemperatureEnum8]RO
0x0007Default ValueToiletWaterTemperatureEnum80RWO

ToiletWaterPressureLevel Trait (Washing Intensity)​

Adjusts the washing water pressure, such as gentle, standard, and strong.

Trait IDCode
0x4F7FToiletWaterPressureLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueToiletWaterPressureLevelEnum80RVWO
0x0006Supported Valuelist[ToiletWaterPressureLevelEnum8]RO
0x0007Default ValueToiletWaterPressureLevelEnum80RWO

NozzlePosition Trait (Washing Position)​

Adjusts the front-back position of the washing nozzle to suit different cleaning areas.

Trait IDCode
0x4F80NozzlePosition
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNozzlePositionEnum80RVWO
0x0006Supported Valuelist[NozzlePositionEnum8]RO
0x0007Default ValueNozzlePositionEnum80RWO

ToiletDryingStatus Trait (Toilet Drying)​

Controls the start/stop of the drying function and sets the air temperature level.

Trait IDCode
0x4F81ToiletDryingStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueToiletDryingStatusEnum80RVWO
0x0006Supported Valuelist[ToiletDryingStatusEnum8]RO
0x0007Default ValueToiletDryingStatusEnum80RWO

FanSpeedLevel Trait (Drying Fan Speed Level)​

Sets the drying fan speed level, options include Low, Medium, and High.

Trait IDCode
0x4F82FanSpeedLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFanSpeedLevelEnum80RVWO
0x0006Supported Valuelist[FanSpeedLevelEnum8]RO
0x0007Default ValueFanSpeedLevelEnum80RWO

RinseDuration Trait (Set Posterior Wash Duration)​

Sets the duration of the Posterior Wash mode. Unit: S.

Trait IDCode
0x4F83RinseDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat180RVWO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat60.0RO
0x0005Step Valuefloat30.0RO
0x0007Default Valuefloat180RWO

FeminineWashDuration Trait (Set Feminine Wash Duration)​

Sets the duration of the Feminine Wash mode. Unit: S.

Trait IDCode
0x4F84FeminineWashDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat180RVWO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat60.0RO
0x0005Step Valuefloat30.0RO
0x0007Default Valuefloat180RWO

DryingDuration Trait (Set Drying Duration)​

Sets the duration of the drying function. Unit: S.

Trait IDCode
0x4F85DryingDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat180RVWO
0x0002Maximum Valuefloat600.0RO
0x0003Minimum Valuefloat60.0RO
0x0005Step Valuefloat60.0RO
0x0007Default Valuefloat180RWO

Command Definitions​

Command IDNameConformance
0x9D29WashDryCombinationCommandO

WashDryCombinationCommand Command​

One-touch control combining washing, care, and drying. Select "Wash Only" or "Wash and Dry" to start the corresponding process; "Start" starts drying only; "Stop" stops any ongoing washing or drying activity.

Parameters​

WashDryCombinationCommand Command Structure

ToiletSettings (Toilet Parameter Settings)​

Introduction​

Allows users to personalize default parameters and automation scenarios, such as automatic lid opening, automatic flushing, foam shield, and long-sitting reminders.

Function Identifier​

Function IDCodeName
0x00FDToiletSettingsToilet parameter settings

Trait​

Trait IDCodeNameConformance
0x4F63AutoFoamDurationFoam shield release durationO
0x4F6FAutoFoamGlobalEnableAuto foam shield release enableO
0x4F70AutoFoamOnSitFoam shield release on sittingO
0x4F71AutoFoamAfterFlushFoam shield release on leavingO
0x4F72AutoFoamOnFootFlipFoam shield release on foot-flipO
0x4F73SittingReminderThresholdSet long-sitting reminder trigger timeO
0x4F74AutoLidEnableAuto lid opening enableO
0x4F75AutoFlushEnableAuto flush on leaving enableO
0x4F76PostFlushCloseModeAuto close lid and seat after flushO
0x4F77PostFlushCloseDelayAuto close lid and seat delay after flushO
0x4F78FootSensorEnableFoot sensor enableO
0x4F79PreWettingEnablePre-wetting on sittingO
0x4F7AAutoDeodorizerEnableAuto deodorizer on sitting enableO
0x4F7BSittingReminderAlertLong-sitting reminder reportO

Command​

This Function does not contain any Commands.

Data Types​

PostFlushCloseModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the PostFlushCloseMode Trait.

ValueNameDescription
0x00DisableDisabled
0x01CloseLidAndSeatClose lid and seat automatically
0x02CloseSeatOnlyClose seat only
SittingReminderAlertEnum8 Type​

This enumeration defines the valid values of the Present Value for the SittingReminderAlert Trait.

ValueNameDescription
0x00NormalNormal
0x01SittingReminderLong-sitting reminder

Trait Definitions​

Trait IDNameConformance
0x4F63AutoFoamDurationO
0x4F6FAutoFoamGlobalEnableO
0x4F70AutoFoamOnSitO
0x4F71AutoFoamAfterFlushO
0x4F72AutoFoamOnFootFlipO
0x4F73SittingReminderThresholdO
0x4F74AutoLidEnableO
0x4F75AutoFlushEnableO
0x4F76PostFlushCloseModeO
0x4F77PostFlushCloseDelayO
0x4F78FootSensorEnableO
0x4F79PreWettingEnableO
0x4F7AAutoDeodorizerEnableO
0x4F7BSittingReminderAlertO

AutoFoamDuration Trait (Foam Shield Release Duration)​

Sets the automatic foam release duration, applicable to scenarios such as after sitting, after foot-flip seat lifting, and after flushing. Unit: S.

Trait IDCode
0x4F63AutoFoamDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat10RVWO
0x0002Maximum Valuefloat30.0RO
0x0003Minimum Valuefloat5.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat10RWO

AutoFoamGlobalEnable Trait (Auto Foam Shield Release Enable)​

Enables or disables the automatic foam shield function in all scenarios.

Trait IDCode
0x4F6FAutoFoamGlobalEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AutoFoamOnSit Trait (Foam Shield Release on Sitting)​

Enables or disables automatic foam release when sitting.

Trait IDCode
0x4F70AutoFoamOnSit
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AutoFoamAfterFlush Trait (Foam Shield Release on Leaving)​

Enables or disables automatic foam replenishment after flushing.

Trait IDCode
0x4F71AutoFoamAfterFlush
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AutoFoamOnFootFlip Trait (Foam Shield Release on Foot-Flip)​

Enables or disables automatic foam release triggered by foot-flip seat lifting (anti-splash).

Trait IDCode
0x4F72AutoFoamOnFootFlip
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SittingReminderThreshold Trait (Set Long-Sitting Reminder Trigger Time)​

Sets the time threshold for triggering the long-sitting reminder. Unit: S.

Trait IDCode
0x4F73SittingReminderThreshold
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1200RVWO
0x0002Maximum Valuefloat3600.0RO
0x0003Minimum Valuefloat600.0RO
0x0005Step Valuefloat60.0RO
0x0007Default Valuefloat1200RWO

AutoLidEnable Trait (Auto Lid Opening Enable)​

Enables or disables automatic lid opening when a person approaches. Disabled by default.

Trait IDCode
0x4F74AutoLidEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AutoFlushEnable Trait (Auto Flush on Leaving Enable)​

Enables or disables automatic flushing (Full or Half) based on the sitting duration after the user leaves the seat.

Trait IDCode
0x4F75AutoFlushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

PostFlushCloseMode Trait (Auto Close Lid and Seat After Flush)​

Sets the automatic closing strategy after flushing: Disabled, Close Lid and Seat, or Close Seat Only.

Trait IDCode
0x4F76PostFlushCloseMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePostFlushCloseModeEnum80RVWO
0x0006Supported Valuelist[PostFlushCloseModeEnum8]RO
0x0007Default ValuePostFlushCloseModeEnum80RWO

PostFlushCloseDelay Trait (Auto Close Lid and Seat Delay After Flush)​

Sets the delay in seconds before automatically closing the lid/seat after flushing.

Trait IDCode
0x4F77PostFlushCloseDelay
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat15RVWO
0x0002Maximum Valuefloat30.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat3.0RO
0x0007Default Valuefloat15RWO

FootSensorEnable Trait (Foot Sensor Enable)​

Enables or disables all foot-sensing functions (lid opening, seat lifting, flushing).

Trait IDCode
0x4F78FootSensorEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

PreWettingEnable Trait (Pre-Wetting on Sitting)​

Enables or disables automatically pre-wetting the inner wall of the toilet when sitting to enhance flushing performance.

Trait IDCode
0x4F79PreWettingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AutoDeodorizerEnable Trait (Auto Deodorizer on Sitting Enable)​

Enables or disables the automatic deodorization function when sitting.

Trait IDCode
0x4F7AAutoDeodorizerEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

SittingReminderAlert Trait (Long-Sitting Reminder Report)​

When the actual sitting duration exceeds the set threshold, reports a "sitting reminder" event.

Trait IDCode
0x4F7BSittingReminderAlert
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSittingReminderAlertEnum80VO
0x0006Supported Valuelist[SittingReminderAlertEnum8]RO

Command Definitions​

This Function does not contain any Commands.

Lighting (Lighting Function)​

Introduction​

This Function provides the capability to activate and control dynamic lighting effects. The server provides a list of effects driven by different sources, from which the client can select and trigger.

Dynamic lighting effects can be used both for luminaires that support the Color Control Function and for those that only support the Level Control Function (for example, dimmable lights).

The specific implementation of effects falls within the vendor's custom scope. Devices from different vendors are not guaranteed to represent the same effect even if they use the same EffectID; the same vendor can reuse the same EffectID across different devices to express a consistent implementation.

Function Identifier​

Function IDCodeName
0x00FELightingLighting function

Trait​

Trait IDCodeConformance
0x4F8AEffectInfoM
0x5062EffectOperationStateO
0x5032LightTypeO
0x4F9CMaxEffectNameLengthO
0x4F9BUserDefinedEffectsO
0x4F89MaxUserDefinedEffectsO
0x4F88CurrentEffectIDO
0x4F87BuiltInEffectsO
0x503FFlowModeColorListO
0x503EFlowModeSensitivityO
0x503DEnableFlowModeO
0x5033LedGridMaskO
0x5242SupportedLedGridMaskO
0x5034FlowModeO
0x5036ShortcutEffectsO
0x5035InstallationConfigurationO
0x4FAELightStripModelO
0x5177WireReversedO
0x4F33ChildEndpointListO
0x4FADSupportedSegmentPatternsO
0x4FACSupportedDynamicEffectIdsO
0x519DSupportedNaturalEffectIdsO
0x4FABSupportedActionTypesO
0x523ALightModeO
0x523BColorTemperaturePresetO
0x523CColorTemperatureLevelO

Command​

Command IDCodeConformance
0x9D39EnterConfigurationModeO
0x9D31PreviewTransitionO
0x9D30StopPreviewO
0x9D2FPreviewEffectO
0x9D2ERemoveUserDefinedEffectO
0x9D2DUpdateUserDefinedEffectO
0x9D2CAddUserDefinedEffectO
0x9D2BGetEffectDataO
0x9D2AStartEffectO
0x9D63RemoveUserDefinedEffectsO

Data Types​

EffectInfoTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the EffectInfo Trait.

Structure Member IndexField NameTypeRequiredDescription
0EffectIDuint8MEffect ID. 0x00-0x7F indicates built-in effects, and 0x80-0xFE indicates user-defined effects.
1EffectDatacharacterStringMEffect data. Carries the raw encoding of the dynamic lighting effect, and its format should be consistent with the add/update/preview commands.
2EffectNamecharacterStringMEffect name. Display name for the client, and its length should satisfy the MaxEffectNameLength constraint.
EffectOperationStateEnum8 Type​

This enumeration defines the valid values of the Present Value for the EffectOperationState Trait.

ValueNameDescription
0x00IdleIdle
0x01ExecutingExecuting
0x02PreviewingPreviewing
LightTypeEnum8 Type​

This enumeration defines the valid values of the Present Value for the LightType Trait.

ValueNameDescription
0x00GenericLightGeneral light
0x01CeilingLightCeiling light
0x02BulbBulb
0x03EavesLightEaves light
0x04FloorLampFloor lamp
0x05StringLightString light
0x06DimmingDriverDimmable driver
0x07LightStripLight strip
0x08TrackLightTrack light
0x09PendantLightPendant light
ActionTypeEnum8 Type​

This enumeration defines the valid values of the ActionType field in EffectData, and is used by the SupportedActionTypes Trait to declare the effect data modes supported by the device.

ValueNameDescription
0x00StaticEffectStatic scene
0x01DynamicEffectDynamic scene using DynamicEffectId
0x02SequenceEffectSequence scene using StepList
0x03SegmentStaticEffectSegmented static scene using SegmentPattern
0x04SegmentDynamicEffectSegmented dynamic scene
0x05NaturalAtmosphereEffectNatural atmosphere scene using NaturalEffectId
NaturalEffectIdEnum8 Type​

This enumeration defines the natural atmosphere effect IDs used when ActionType is NaturalAtmosphereEffect.

ValueNameDescription
0x00NearThunderNear thunder
0x01DistantThunderFar thunder
0x02MeteorMeteor
0x03FireflyFirefly
0x04BlueSkyWhiteCloudsBlue sky and white clouds
0x05OvercastOvercast
UserDefinedEffectsTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the UserDefinedEffects Trait.

Structure Member IndexField NameTypeRequiredDescription
0EffectIDuint8MUser-defined effect ID, with a value range of 0x80-0xFE.
1EffectNamecharacterStringMUser-set effect name, whose UTF-8 byte length must not exceed MaxEffectNameLength.
BuiltInEffectsTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the BuiltInEffects Trait.

Structure Member IndexField NameTypeRequiredDescription
0EffectIDuint8MBuilt-in effect ID, with a value range of 0x00-0x7F.
1BuiltInEffectLabelIDenum8MBuilt-in effect label ID, used to identify the human-readable semantics of the preset effect.
FlowModeColorListTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the FlowModeColorList Trait.

Structure Member IndexField NameTypeRequiredDescription
0Xuint16MX component in CIE 1931 xy chromaticity coordinates.
1Yuint16MY component in CIE 1931 xy chromaticity coordinates.
FlowModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the FlowMode Trait.

ValueNameDescription
0x01StretchBreathe
0x02PulsePulse
0x03RunningRunning
0x04BlinkBlink
InstallationConfigurationTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the InstallationConfiguration Trait.

Structure Member IndexField NameTypeRequiredDescription
0EavesWhiteLightCountuint8EavesLightNumber of white light units of the eaves light. Valid only when LightType is EavesLight; 255 when not configured.
1EavesBlueLightCountuint8EavesLightNumber of blue light units of the eaves light. Valid only when LightType is EavesLight; 255 when not configured.
2StringLightLengthSelectionuint8StringLightLength level of the string light. Valid only when LightType is StringLight; 255 when not configured.
3LightStripTrimSegmentCountuint8LightStripNumber of cut segments of the light strip. Valid only when LightType is LightStrip; 255 when not configured.
LightStripModelEnum8 Type​

This enumeration defines the valid values of the Present Value for the LightStripModel Trait.

ValueNameDescription
0x01DCLBDD01LMDCLBDD01LM
EnterConfigurationMode Command Structure Type​

Parameter structure of the EnterConfigurationMode Command.

Structure Member IndexField NameTypeRequiredDescription
0Stageuint8MConfiguration phase number. 0 means exiting configuration mode, 1/2 indicate the first two phases, and 3-255 indicate subsequent phases.
PreviewTransition Command Structure Type​

Parameter structure of the PreviewTransition Command.

Structure Member IndexField NameTypeRequiredDescription
0OnTransitionTimeuint16MTransition time for turning on the light, in units of 100 milliseconds. Example: 10 means 1 second.
1OffTransitionTimeuint16MTransition time for turning off the light, in units of 100 milliseconds. Example: 10 means 1 second.
2DimmingCurvaturefloatMDimmer curve power value used for preview. The larger the value, the longer the stay in the low-brightness area.
3InitialBrightnessuint8MInitial brightness percentage used for preview, with a value range consistent with the InitialBrightness Trait constraint.
PreviewEffect Command Structure Type​

Parameter structure of the PreviewEffect Command.

Structure Member IndexField NameTypeRequiredDescription
0EffectDatacharacterStringMRaw effect data to be previewed, with an encoding format consistent with that used when adding/updating user-defined effects.
RemoveUserDefinedEffect Command Structure Type​

Parameter structure of the RemoveUserDefinedEffect Command.

Structure Member IndexField NameTypeRequiredDescription
0EffectIDuint8MEffect ID to be removed. It should be an existing UserDefined effect (usually in the range 0x80-0xFE).
UpdateUserDefinedEffect Command Structure Type​

Parameter structure of the UpdateUserDefinedEffect Command.

Structure Member IndexField NameTypeRequiredDescription
0EffectIDuint8MEffect ID to be updated. It should be an existing UserDefined effect.
1EffectDatacharacterStringMUpdated raw effect data, whose encoding format should be consistent with the Lighting EffectData specification.
AddUserDefinedEffect Command Structure Type​

Parameter structure of the AddUserDefinedEffect Command.

Structure Member IndexField NameTypeRequiredDescription
0EffectNamecharacterStringMName of the new effect, whose UTF-8 byte length must not exceed MaxEffectNameLength.
1EffectDatacharacterStringMRaw data of the new effect, whose encoding format should comply with the Lighting EffectData specification.
GetEffectData Command Structure Type​

Parameter structure of the GetEffectData Command.

Structure Member IndexField NameTypeRequiredDescription
0EffectIDuint8MEffect ID whose effect data is to be read. It should exist in the BuiltIn or UserDefined list.
StartEffect Command Structure Type​

Parameter structure of the StartEffect Command.

Structure Member IndexField NameTypeRequiredDescription
0EffectIDenum8MEffect ID of the effect to be started. It should be a valid EffectID supported or saved by the device.
RemoveUserDefinedEffects Command Structure Type​

Parameter structure of the RemoveUserDefinedEffects Command.

Structure Member IndexField NameTypeRequiredDescription
0EffectIDslist[Struct]MList of effect IDs to be removed in batch. Each item should be an existing UserDefined effect ID.

Trait Definitions​

Trait IDNameConformance
0x4F8AEffectInfoM
0x5062EffectOperationStateO
0x5032LightTypeO
0x4F9CMaxEffectNameLengthO
0x4F9BUserDefinedEffectsO
0x4F89MaxUserDefinedEffectsO
0x4F88CurrentEffectIDO
0x4F87BuiltInEffectsO
0x503FFlowModeColorListO
0x503EFlowModeSensitivityO
0x503DEnableFlowModeO
0x5033LedGridMaskO
0x5242SupportedLedGridMaskO
0x5034FlowModeO
0x5036ShortcutEffectsO
0x5035InstallationConfigurationO
0x4FAELightStripModelO
0x5177WireReversedO
0x4F33ChildEndpointListO
0x4FADSupportedSegmentPatternsO
0x4FACSupportedDynamicEffectIdsO
0x519DSupportedNaturalEffectIdsO
0x4FABSupportedActionTypesO
0x523ALightModeO
0x523BColorTemperaturePresetO
0x523CColorTemperatureLevelO
LightModeEnum8 Type​

This enumeration defines the working modes of general lighting.

ValueNameDescription
0x00AutoAuto
0x01NormalNormal
0x02NightNight light
0x03ColorColor light
0x04ColorTemperatureColor temperature
ColorTemperaturePresetEnum8 Type​

This enumeration defines the discrete color temperature categories provided by lighting devices; it does not represent Kelvin color temperature values.

ValueNameDescription
0x00IncandescentIncandescent
0x01WhiteWhite
0x02DaylightWhiteDaylight white
0x03DaylightDaylight
0x04OtherOther

EffectInfo Trait​

This Trait provides a list of effect information, where each item contains EffectID, EffectData, and EffectName, for maintaining, displaying, and synchronizing effect details.

This Trait is maintained by the cloud and is not reported by the device.

The encoding of EffectData should be consistent with the effect write/preview commands, so that clients can directly display, back up, or reuse it after reading.

For the binary encapsulation of EffectData, CBOR payload format, field definitions, ActionType encoding, and examples, see EffectData Encoding Specification.

Trait IDCode
0x4F8AEffectInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[EffectInfoTraitPresentValueStructure]RVM

EffectOperationState Trait​

This Trait indicates the device's current effect operation state. Typical states include idle, executing, and previewing.

Clients can use this to determine whether there is a preview that can be stopped, whether an effect execution flow is in progress, and whether new effect control commands should be deferred.

Trait IDCode
0x5062EffectOperationState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEffectOperationStateEnum80RVO
0x0006Supported Valuelist[EffectOperationStateEnum8]RO

LightType Trait​

This Trait indicates the physical form or installation type of the luminaire. Clients can use it to determine the product form and available capabilities of the device.

The valid field ranges of composite parameters such as installation configuration depend on the value of this Trait.

Trait IDCode
0x5032LightType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightTypeEnum80RVO
0x0006Supported Valuelist[LightTypeEnum8]RO

WireReversed Trait​

This Trait represents the reverse-connection protection configuration, indicating whether the logical mapping between the two output channels is swapped.

This Trait applies to luminaires with two output channels. A typical example is a dual-color-temperature PWM light, where the two channels correspond to warm white and cool white respectively. If the warm white and cool white wires are reversed during installation, controlling the cool color temperature may cause the luminaire to appear warm. In this case, the client can set this Trait to true to make the server swap the two channel outputs, allowing the luminaire to glow as expected without rewiring.

When this Trait is false, the server should use the product's default two-channel output mapping without reverse-connection correction.

When this Trait is true, the server should swap the two output channel mappings and treat the current installation as being in a reverse-connected state.

Trait IDCode
0x5177WireReversed
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

ChildEndpointList Trait​

This Trait indicates the list of endpoints associated with the current cluster instance.

This Trait should be a non-empty list.

When the current cluster instance owns the effect capabilities of other endpoints, this Trait should list those endpoints.

When the current cluster instance represents the effect capability of a luminaire, this Trait should include the endpoint where the cluster instance resides and may include other endpoints represented by the luminaire.

Trait IDCode
0x4F33ChildEndpointList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistallRVO

MaxEffectNameLength Trait​

This Trait indicates the maximum UTF-8 byte length allowed for user-defined effect names (EffectName).

This value is fixed per device and ranges from 1-32. Clients should not exceed this limit when writing names.

Trait IDCode
0x4F9CMaxEffectNameLength
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81RVO
0x0002Maximum Valueuint832RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

UserDefinedEffects Trait​

This Trait contains the list of all user-defined effects currently stored on the device. Each item contains EffectID (0x80-0xFE) and EffectName.

An empty list means there are currently no user-defined effects; a null value means the information is currently unavailable (for example, the device is initializing or the data cannot be read temporarily).

Trait IDCode
0x4F9BUserDefinedEffects
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[UserDefinedEffectsTraitPresentValueStructure]RVO

MaxUserDefinedEffects Trait​

This Trait indicates the maximum number of user-defined effects the device can support.

When the number of effects reaches the limit, operations to add user-defined effects should return a capacity-related error.

Trait IDCode
0x4F89MaxUserDefinedEffects
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81RVO
0x0002Maximum Valueuint832RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO

CurrentEffectID Trait​

This Trait indicates the EffectID of the currently active effect; when empty, it means there is currently no active effect.

This value can be used to highlight the currently effective effect in the UI and serve as context for subsequent query, switch, or stop logic.

Trait IDCode
0x4F88CurrentEffectID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x000DIs NullbooleanFalseRVO

BuiltInEffects Trait​

This Trait contains the list of all built-in effects supported by the device. Each item contains EffectID (0x00-0x7F) and BuiltInEffectLabelID.

An empty list means there are currently no built-in effects; a null value means the information is currently unavailable.

Trait IDCode
0x4F87BuiltInEffects
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[BuiltInEffectsTraitPresentValueStructure]RVO
0x000DIs NullbooleanFalseRVO

FlowModeColorList Trait​

This Trait contains an ordered list of colors for Flow Mode, where each item is a CIE 1931 xy chromaticity point; the list length must not exceed MaxFlowModeColors.

When configuring this list, clients should ensure the order and quantity satisfy the constraints to obtain predictable rhythmic color-matching behavior.

Trait IDCode
0x503FFlowModeColorList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[FlowModeColorListTraitPresentValueStructure]RVWO

FlowModeSensitivity Trait​

This Trait indicates the sensitivity percentage used by Flow Mode.

The higher the sensitivity, the more responsive the device typically is to input changes (such as music rhythm).

Trait IDCode
0x503EFlowModeSensitivity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80RVWO
0x0002Maximum Valueuint8100RO
0x0003Minimum Valueuint80RO
0x0007Default Valueuint80RWO

EnableFlowMode Trait​

This Trait indicates whether Flow Mode is currently enabled on the device.

Clients can explicitly enable or disable it through this Trait and configure it in combination with FlowMode, FlowModeColorList, and FlowModeSensitivity.

Trait IDCode
0x503DEnableFlowMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanO0RVWO
0x0007Default ValuebooleanO0RWO

LedGridMask Trait​

This Trait indicates and allows the client to control the enable state of each configurable LED grid cell on the device through a mask. A bit of 1 means the corresponding grid cell is enabled (participates in effect rendering), and a bit of 0 means the corresponding grid cell is disabled (does not participate in effect rendering). The bits the client can modify are defined by the SupportedLedGridMask Trait; when attempting to modify a bit whose value is 0 in SupportedLedGridMask, the device MUST reject the write and keep the original value of the attribute.

Trait IDCode
0x5033LedGridMask
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

SupportedLedGridMask Trait​

This Trait indicates which LED grid cells on the device the client can configure through LedGridEnableMask; the mask format follows the LedGridMask Type. A bit of 1 means the corresponding grid cell physically exists on the device and is open for client configuration; a bit of 0 means the corresponding position is not configurable, either because the device does not have that physical grid cell, or the server has not opened that cell for client control. This Trait describes a fixed hardware or product capability and SHALL NOT change over the device lifetime.

The Present Value carries the mask as a string; the string encoding SHALL be consistent with the LedGridMask representation used by the device.

Trait IDCode
0x5242SupportedLedGridMask
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

FlowMode Trait​

This Trait indicates the currently configured Flow Mode effect engine.

Clients can select the rhythmic effect type supported by the current device in combination with the Supported Value.

Trait IDCode
0x5034FlowMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFlowModeEnum81RVWO
0x0006Supported Valuelist[FlowModeEnum8]RO
0x0007Default ValueFlowModeEnum81RWO

ShortcutEffects Trait​

This Trait contains an ordered list of EffectIDs used by shortcut buttons, defining the effect switching sequence for shortcut presses.

Each time the device receives a shortcut button trigger, it should switch to the next EffectID in this list; after reaching the last item, the next trigger should wrap around to the first item.

Each item in the list is a uint8 EffectID and should reference an effect that already exists in BuiltInEffects or UserDefinedEffects.

List items can mix built-in EffectIDs (0x00-0x7F) and user-defined EffectIDs (0x80-0xFE), and the number of list items must not exceed the MaxShortcutEffects constraint value.

An empty list (length 0) means the shortcut buttons are disabled; in this state, button presses should not trigger effect switching through this mechanism.

When a client writes this Trait, the server should validate each EffectID item by item to check whether it exists in BuiltInEffects or UserDefinedEffects; if any invalid item exists, the write should be rejected and the corresponding error returned.

Trait IDCode
0x5036ShortcutEffects
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVWO

InstallationConfiguration Trait​

This Trait indicates the current installation (product layout) configuration; the valid fields vary depending on the LightType.

For example, the eave light scenario uses white/blue light count fields, light strings use a length selection field, and light strips use a trimming segment count field. Inapplicable fields should be empty; when writing a field that does not match the LightType, the device may return InvalidConfiguration.

Trait IDCode
0x5035InstallationConfiguration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueInstallationConfigurationTraitPresentValueStructureRVWO

LightStripModel Trait​

This Trait indicates the currently configured light strip model; it is meaningful only when the LightType is LightStrip.

A null value means no light strip model is set. When non-null, it should belong to the Supported Value list.

Trait IDCode
0x4FAELightStripModel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightStripModelEnum81RVWO
0x0006Supported Valuelist[LightStripModelEnum8]RO
0x0007Default ValueLightStripModelEnum81RWO
0x000DIs NullbooleanFalseRVO

SupportedSegmentPatterns Trait​

This Trait indicates the list of segment modes supported by the server in the SegmentStaticEffect scenario.

If the device does not support SegmentStaticEffect, or supports it but does not provide any available segment modes, the list should be empty.

Trait IDCode
0x4FADSupportedSegmentPatterns
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

SupportedDynamicEffectIds Trait​

This Trait indicates the list of dynamic effect IDs supported by the server under DynamicEffect/SegmentDynamicEffect.

If the device does not support the above dynamic modes, or supports the modes but not any DynamicEffectId, the list should be empty.

Trait IDCode
0x4FACSupportedDynamicEffectIds
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVO

SupportedNaturalEffectIds Trait​

This Trait indicates the list of natural atmosphere effect IDs supported by the server in the NaturalAtmosphereEffect scenario.

Clients can use this list to determine the NaturalEffectIds supported by the device before sending AddUserDefinedEffect, UpdateUserDefinedEffect, or PreviewEffect. If the device does not support NaturalAtmosphereEffect, or does not support any natural atmosphere effect IDs, the list should be empty.

Trait IDCode
0x519DSupportedNaturalEffectIds
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[NaturalEffectIdEnum8]RVO

SupportedActionTypes Trait​

This Trait indicates the list of ActionTypes supported by the server in EffectData.

Clients can use this list to constrain the selectable editing modes before sending AddUserDefinedEffect, UpdateUserDefinedEffect, or PreviewEffect.

Trait IDCode
0x4FABSupportedActionTypes
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[ActionTypeEnum8]RVO

LightMode Trait​

The lighting mode represents the currently selected working mode of the luminaire, used to distinguish Auto, Normal, Night Light, Color Light, and Color Temperature modes.

Trait IDCode
0x523ALightMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightModeEnum80-4No fixed default valueRVWO

ColorTemperaturePreset Trait​

Discrete color temperature categories represent the white light color presets provided by the device, modeled separately from continuous color temperature values expressed in mired or Kelvin.

Trait IDCode
0x523BColorTemperaturePreset
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueColorTemperaturePresetEnum80-4No fixed default valueRVWO

ColorTemperatureLevel Trait​

The color temperature level represents the discrete color temperature adjustment levels defined by the device, ranging from 0-20; its value does not represent Kelvin or mired.

Trait IDCode
0x523CColorTemperatureLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint80-20No fixed default value; reported by the deviceRVWO
0x0002Maximum Valueuint820RO
0x0003Minimum Valueuint80RO
0x0005Step Valueuint81RO

Command Definitions​

Command IDNameConformance
0x9D39EnterConfigurationModeO
0x9D31PreviewTransitionO
0x9D30StopPreviewO
0x9D2FPreviewEffectO
0x9D2ERemoveUserDefinedEffectO
0x9D2DUpdateUserDefinedEffectO
0x9D2CAddUserDefinedEffectO
0x9D2BGetEffectDataO
0x9D2AStartEffectO
0x9D63RemoveUserDefinedEffectsO

EnterConfigurationMode Command​

This command is used to request the device to enter a general configuration mode stage; Stage=0 indicates the end of the configuration mode.

Stage=1 indicates the first stage, Stage=2 indicates the second stage, and Stage=3-255 indicate subsequent stages. The behavior and timeout policy of each stage are defined by the device implementation.

Parameters​

EnterConfigurationMode Command Structure

PreviewTransition Command​

This command should request the device to preview the transition effect using the provided parameters. Users can preview how the light's on/off transition behaves under the specified timing and curve settings before committing.

This command is used to rehearse the combined visual impact of the On/Off transition time, dimming curve, and initial brightness.

Parameters​

PreviewTransition Command Structure

StopPreview Command​

This command should request the device to stop the currently running effect preview and resume normal lighting operation.

If there is currently no preview effect, the device may return a status code with the semantics of "no active effect preview".

This Command has no parameters.

PreviewEffect Command​

This command should request the device to preview the effect using the provided EffectData without saving it. Users can preview the effect before adding or updating a user-defined effect.

The EffectData encoding should be consistent with the add/update user-defined effect commands.

Parameters​

PreviewEffect Command Structure

RemoveUserDefinedEffect Command​

This command should request the device to remove an existing user-defined effect. Only effects of the UserDefined type can be removed; BuiltIn effects cannot be removed.

If the specified EffectID does not exist or is not UserDefined, the device should return the corresponding error status.

Parameters​

RemoveUserDefinedEffect Command Structure

UpdateUserDefinedEffect Command​

This command should request the device to update an existing user-defined effect. Only effects of the UserDefined type can be updated.

An update request can include the effect name, effect data, or both.

Parameters​

UpdateUserDefinedEffect Command Structure

AddUserDefinedEffect Command​

This command should request the device to add a user-defined effect; the EffectID of the new effect is assigned by the device.

When the number of user-defined effects reaches the limit, the device should return a status code with the semantics of "capacity full".

Parameters​

AddUserDefinedEffect Command Structure

GetEffectData Command​

This command should request the device to return the effect data of the specified EffectID. Clients can use it to read stored effect data (such as for display, backup, or editing).

When the query succeeds, the returned EffectData should be consistent with the encoding used when writing that effect.

Parameters​

GetEffectData Command Structure

StartEffect Command​

This command should request the device to start the specified lighting effect.

The target EffectID should exist in the BuiltInEffects or UserDefinedEffects list.

Parameters​

StartEffect Command Structure

RemoveUserDefinedEffects Command​

This command should request the device to batch-remove user-defined effects; only effects of the UserDefined type can be removed.

The device can return the processing result for each EffectID individually, or return an overall error as defined by the implementation.

Parameters​

RemoveUserDefinedEffects Command Structure

EffectData Encoding Specification​

This section defines the binary encapsulation, CBOR payload structure, field encoding, and encoding examples of the lighting effect data EffectData. EffectData consists of a Header and a Payload: the Header contains at least the protocol identifier/version and flag bits; the Payload uses CBOR to describe the lighting effect. The top-level CBOR item of a single-channel effect is a Map, while that of a multi-channel effect is an array of Maps.

Overall Format​

The EffectData binary data consists of the following parts in order:

  • Header: at least 2 bytes, containing the protocol identifier, version, and control flags.
  • Payload: CBOR-encoded lighting effect data. A single-channel effect uses one CBOR Map; a multi-channel effect uses an array of CBOR Maps.
+------------------+-------+---------------+--------+---------+
| ProtocolVersion | Flags | PayloadLength | CRC16 | Payload |
| (1 byte) |(1 byte)| (opt 2B) |(opt 2B)| (CBOR) |
+------------------+-------+---------------+--------+---------+
Required Required Optional Optional Required
Header Structure​
Byte 0: ProtocolVersion​

ProtocolVersion encodes ProtocolID and Version in the same byte: the high 2 bits represent the version, and the low 6 bits represent the protocol identifier.

  7   6   5   4   3   2   1   0
+-------+---------------------------+
|Version| ProtocolID |
| 2 bit | 6 bit |
+-------+---------------------------+

ProtocolVersion Bit Layout

BitNameRangeDescription
bit 0-5ProtocolID0-63Protocol identifier; 0x01 indicates LightingEffect.
bit 6-7Version0-3Protocol version number.

Encoding: ProtocolVersion = (Version &lt;&lt; 6) | ProtocolID

Decoding: ProtocolID = ProtocolVersion & 0x3F, Version = (ProtocolVersion &gt;&gt; 6) & 0x03

Byte 1: Flags​

Flags controls whether optional Header fields and Payload properties are present.

  7   6   5   4   3   2   1   0
+-------+-------+---+---+---+---+
|Reserved|Format|Cmp|Enc|CRC|Len|
| 2 bit | 2 bit | 1 | 1 | 1 | 1 |
+-------+-------+---+---+---+---+

Flags Bit Layout

BitNameDescription
bit 0HasPayloadLengthWhen 1, the 2-byte PayloadLength field is present.
bit 1HasCRCWhen 1, the 2-byte CRC16 field is present; requires HasPayloadLength = 1.
bit 2EncryptedReserved bit, must be 0.
bit 3CompressedReserved bit, must be 0.
bit 4-5PayloadFormat0x00 indicates CBOR (default); other values are reserved.
bit 6-7ReservedReserved bit, must be 0.

Common Flags values:

FlagsHeader LengthIncluded Fields
0x002 bytesProtocolVersion and Flags only
0x014 bytesProtocolVersion, Flags, and PayloadLength
0x036 bytesProtocolVersion, Flags, PayloadLength, and CRC16
note

Flags = 0x02 (CRC present but PayloadLength absent) is an invalid configuration, because the Payload boundary must be determined before computing the CRC.

Optional Header Fields​
  • PayloadLength (2 bytes, big-endian): present when Flags.bit0 = 1, indicating the byte length of the Payload.
  • CRC16 (2 bytes, big-endian): present when Flags.bit1 = 1. Uses CRC-16/MODBUS and computes the CRC over the Payload only, excluding the Header.
Payload Structure (CBOR)​

The Payload uses CBOR (RFC 8949) encoding, and the keys of the Map are unsigned integers. Keys 0-23 can use single-byte CBOR encoding to reduce payload overhead.

Single-Channel and Multi-Channel Payload​

The Payload structure is backward compatible. Clients and servers must determine its structure in the following way:

  • When the top-level CBOR item is a Map, it represents single-channel (legacy) EffectData and does not contain a Channel key.
  • When the top-level CBOR item is an Array, it represents multi-channel EffectData; each element in the array is a Map and must contain a Channel key.

The server can also determine multi-channel data by checking whether the channel Map contains a Channel key.

Upper-layer applications should check whether the product declares EffectOwner (EO) / EffectCapability (EC) consistency to decide whether to encode and distribute multi-channel or single-channel EffectData:

  • When EO/EC exists, the application must use multi-channel (Array) encoding and set Channel to the endpointTag reported by each lighting Endpoint.
  • When EO/EC does not exist (for example, single-light products supporting only DynamicLighting (DL)), the application must use single-channel (Map) encoding.

Multi-channel Payload rules are as follows:

  • Each element in the array describes a configured channel and must contain Channel.
  • Channel must equal the endpointTag reported by the corresponding lighting Endpoint. endpointTag usually increments sequentially starting from 1. For example, when the Fixed Label has Label="Number" and Value is "1", "2", "3", "4", they map to Channel 1, 2, 3, 4 respectively.
  • An element may contain OnOff. OnOff=false means the channel is selected but kept off; in this case, effect fields such as ActionType, Level, and colors may be omitted.
  • When OnOff=true or OnOff is omitted, the element must contain the ActionType-specific fields required to apply the effect to that channel.
  • Channels not present in the array are not configured by this EffectData and must retain their original state.
CBOR Key Definitions​
KeyNameCBOR TypeRange/UnitDescription
0ActionTypeunsigned int0-5Effect action type, determining the data structure.
1SegmentPatternunsigned int0-4Segment pattern.
2Levelunsigned int1-100(%)Brightness percentage.
3ColorTempunsigned intMiredColor temperature, in Mired.
4ColorXYunsigned int0 to 2^32−1Combined CIE XY encoding: (X &lt;&lt; 16) \</td> <td>Y; X and Y are each 0-65535.
5Reserved--Reserved.
6RelativeLevelsigned int1-100(%)Relative brightness percentage.
7DynamicEffectIdunsigned intSee the corresponding enumeration tableDynamic effect identifier.
8Speedunsigned int1-100(%)Speed percentage.
9LedGridCountunsigned int1-255Number of LED grid cells (LED IC chips).
10HoldTimeunsigned intIn 100 ms unitsHold time of each step.
11TransitTimeunsigned intIn 100 ms unitsTransition time between steps.
12CompletionActionunsigned int0-2Action after the sequence completes.
13LoopCountunsigned int0-255Number of loops; 0 means infinite looping.
14GradientEnabledbooltrue/falseWhether the gradient effect is enabled.
15SegmentCountunsigned int0-255Number of segments.
16SegmentListarray of map-Segment definition list.
17StepCountunsigned int0-255Number of steps.
18StepListarray of map-Step definition list.
19ColorCountunsigned int0-255Number of colors.
20ColorListarray of map-Color list.
21Variantunsigned int0-2Effect variant level: 0=small, 1=medium, 2=large.
22BlinkDensityunsigned int1-10Flicker density level: 1 is lowest, 10 is highest.
23Channelunsigned int1-255The endpointTag of the target lighting Endpoint in multi-channel EffectData; every element of a multi-channel array must contain this key, usually incrementing sequentially starting from 1.
24OnOffbooltrue/falseWhen false, the channel is selected but kept off; when true or omitted, the effect data is applied to the channel.
25NaturalEffectIdunsigned intSee the corresponding enumeration tableNatural atmosphere effect identifier (ActionType = NaturalEffect).
26DurationSunsigned int0-65535 (seconds)Effect duration; 0 means continuous operation.
27RandSeedunsigned int0-65535Random seed; 0 means the device may choose the seed itself, 1-65535 means the device must use that seed.
28StartDelayMsunsigned int0-65535 (milliseconds)Start delay; wait for this duration after entering the scene before executing the effect data.

ColorXY Encoding (Key 4): CIE X and Y are combined into a single unsigned integer. Encoding: ColorXY = (X 16) \| Y. Decoding: X = ColorXY 16, Y = ColorXY & 0xFFFF.

ActionType Values​
ValueNameDescriptionRequired Keys
0x00StaticEffectStatic scene2, and one of 3/4 (Level, ColorTemp/ColorXY)
0x01DynamicEffectDynamic scene7,8,19,20(DynamicEffectId,Speed,ColorCount,ColorList)
0x02SequenceEffectSequence scene12,13,17,18(CompletionAction,LoopCount,StepCount,StepList)
0x03SegmentStaticEffectSegment static scene1 (SegmentPattern); Whole mode requires 2, 3/4; other modes require 15, 16 (SegmentCount, SegmentList)
0x04SegmentDynamicEffectSegment dynamic scene15,16(SegmentCount,SegmentList)
0x05NaturalEffectNatural atmosphere scene25 (NaturalEffectId); requires one of 3/4 (ColorTemp/ColorXY, mutually exclusive); optional 26, 27, 28, 2, 8, 21 (DurationS, RandSeed, StartDelayMs, Level, Speed, Variant)
DynamicEffectId Values​
ValueNameChinese Effect Name
0UndefinedUndefined
1BreatheBreathing
2CandleCandlelight
3ColorfulColorful
4BlinkFlicker
5GradientGradient
6AlternateBreathAlternating breathing
7ForwardFlowForward flow
8ReverseFlowReverse flow
9JumpJump
10CelebrationCelebration
11BidirectionalCelebrationBidirectional celebration
12ChaseChase
13ReverseChaseReverse chase
14FireflyFluorescence
15StarryStarry sky
16BounceBounce
17MeteorShooting star
18ReverseMeteorReverse shooting star
19StackStacking
NaturalEffectId Values​

NaturalEffectId and DynamicEffectId are independent of each other. All NaturalEffect Payloads share the same set of optional parameters; this version does not define the individually required keys or parameter semantics of each natural effect.

ValueNameChinese Name
0NearThunderNear thunder
1DistantThunderDistant thunder
2MeteorShooting star
3FireflyFirefly
4BlueSkyWhiteCloudsBlue sky and white clouds
5OvercastOvercast

NaturalEffect common parameters:

KeyNameRangeDescription
3 / 4ColorTemp / ColorXYSee the key definition tableRequired color parameters, mutually exclusive.
26DurationS0-65535 secondsEffect duration; 0 means continuous operation.
27RandSeed0-65535Random seed; 0 means the device selects it itself, 1-65535 means the device uses that seed.
28StartDelayMs0-65535 millisecondsStart delay; wait for this duration after entering the scene before executing the effect data.
2Level1-100(%)Brightness.
8Speed1-100(%)Speed.
21Variant0-2Effect variant/level: 0=small, 1=medium, 2=large.
CompletionAction Values​
ValueNameDescription
0TurnOffTurn off the light.
1RestoreRestore the state before execution.
2HoldKeep the last frame.
SegmentPattern Values​
ValueNameDescription
0WholeThe whole light, without segmentation.
1UnitLoopUnit loop mode.
2EvenEvenly distributed segments.
3CustomCustom segment size and attributes.
4DIYDIY segment configuration.
ActionType Encoding Details​
StaticEffect(ActionType = 0x00)​
{
0: <ActionType>, // Required: 0x00
2: <Level>, // Required: brightness percentage
3: <ColorTemp>, // Optional: color temperature (Mired)
4: <ColorXY> // Optional: combined CIE XY encoding
}
DynamicEffect(ActionType = 0x01)​
{
0: <ActionType>, // Required: 0x01
7: <DynamicEffectId>, // Required: effect ID
8: <Speed>, // Conditional field: speed percentage
21: <Variant>, // Conditional field: effect variant
22: <BlinkDensity>, // Conditional field: blink density
19: <ColorCount>, // Required: color count
20: [ // Required: color list
{ 4: <ColorXY> }, // Color 1
... // Colors 2 to N
]
}
SequenceEffect(ActionType = 0x02)​
{
0: <ActionType>, // Required: 0x02
12: <CompletionAction>, // Required: action after completion
13: <LoopCount>, // Required: loop count (0 means infinite looping)
17: <StepCount>, // Required: step count
18: [ // Required: step list
{
10: <HoldTime>, // Required: hold time (in 100 ms units)
11: <TransitTime>, // Required: transition time (in 100 ms units)
2: <Level>, // Required: brightness percentage
3: <ColorTemp>, // Optional: color temperature
4: <ColorXY> // Optional: combined CIE XY encoding
},
...
]
}
SegmentStaticEffect(ActionType = 0x03)​

The data structure varies according to SegmentPattern (key 1).

Whole (SegmentPattern = 0): the whole light uses a single color.

{
0: 3, 1: 0, // ActionType + Whole mode
2: <Level>, // Brightness percentage
3: <ColorTemp>, // Optional
4: <ColorXY> // Optional
}

UnitLoop (SegmentPattern = 1): segments repeat in a looping pattern.

{
0: 3, 1: 1, // ActionType + UnitLoop mode
15: <SegmentCount>,
16: [
{ 9: <LedGridCount>, 4: <ColorXY> },
...
]
}

Even (SegmentPattern = 2): evenly distributed segments, with optional gradient.

{
0: 3, 1: 2, // ActionType + Even mode
14: <GradientEnabled>,
15: <SegmentCount>,
16: [
{ 4: <ColorXY> },
...
]
}

Custom (SegmentPattern = 3): custom segments, each segment can set brightness individually.

{
0: 3, 1: 3, // ActionType + Custom mode
14: <GradientEnabled>,
15: <SegmentCount>,
16: [
{ 9: <LedGridCount>, 6: <RelativeLevel>, 3: <ColorTemp>, 4: <ColorXY> },
...
]
}

DIY (SegmentPattern = 4): DIY segments, each segment can set colors individually.

{
0: 3, 1: 4, // ActionType + DIY mode
15: <SegmentCount>,
16: [
{ 9: <LedGridCount>, 3: <ColorTemp>, 4: <ColorXY> },
...
]
}
SegmentDynamicEffect(ActionType = 0x04)​

Each segment has an independent dynamic effect, speed, and color list.

{
0: 4, // ActionType = SegmentDynamicEffect
15: <SegmentCount>,
16: [
{
9: <LedGridCount>,
7: <DynamicEffectId>,
8: <Speed>,
21: <Variant>,
22: <BlinkDensity>,
19: <ColorCount>,
20: [ { 4: <ColorXY> }, ... ]
},
...
]
}
NaturalEffect(ActionType = 0x05)​

All NaturalEffectIds share the same parameter set. Either ColorTemp or ColorXY must be provided, and they are mutually exclusive. Other keys are conditional fields; when omitted, they are handled by the device's default values/capabilities. This version does not specify the individual interpretation of parameters by each natural effect.

{
0: 5, // Required: ActionType = NaturalEffect
25: <NaturalEffectId>, // Required
3: <ColorTemp> | 4: <ColorXY>, // Required: color (choose one of two)
26: <DurationS>, // Conditional field: duration 0-65535 seconds; 0 means continuous operation
27: <RandSeed>, // Conditional field: 0 means the device selects it itself; 1-65535 uses the specified seed
28: <StartDelayMs>, // Conditional field: delay before execution 0-65535 milliseconds
2: <Level>, // Conditional field: brightness 1-100%
8: <Speed>, // Conditional field: speed 1-100%
21: <Variant> // Conditional field: variant 0-2
}
Encoding Examples​
Example 1: StaticEffect - red at 80% brightness​

EffectData parameters: ActionType = StaticEffect, Level = 80, ColorXY = 0x9E9A4246 (red).

CBOR diagnostic notation: {0: 0, 2: 80, 4: 2660909638}

Complete EffectData (hexadecimal):

Header:  01 00
Payload: A3 00 00 02 18 50 04 1A 9E 9A 42 46
Total: 14 bytes
Example 2: DynamicEffect - Colorful effect with 3 colors​

EffectData parameters: ActionType = DynamicEffect, DynamicEffectId = 3 (Colorful), Speed = 50%, 3 colors (red, green, blue).

CBOR diagnostic notation: {0: 1, 7: 3, 8: 50, 19: 3, 20: [{4: 2660909638}, {4: 1310044852}, {4: 616043336}]}

Complete EffectData (hexadecimal):

Header:  01 00
Payload: A5 00 01 07 03 08 18 32 13 03 14 83
A1 04 1A 9E 9A 42 46
A1 04 1A 4E 15 B2 B4
A1 04 1A 24 B8 13 48
Total: 35 bytes
Example 3: SequenceEffect - red gradient to warm white, looping 3 times​

EffectData parameters: ActionType = SequenceEffect, CompletionAction = Hold, LoopCount = 3, containing 2 steps.

CBOR diagnostic notation: {0: 2, 12: 2, 13: 3, 17: 2, 18: [{10: 20, 11: 10, 2: 100, 4: 2660909638}, {10: 20, 11: 10, 2: 100, 3: 172}]}

Complete EffectData (hexadecimal):

Header:  01 00
Payload: A5 00 02 0C 02 0D 03 11 02 12 82
A4 0A 14 0B 0A 02 18 64 04 1A 9E 9A 42 46
A4 0A 14 0B 0A 02 18 64 03 18 AC
Total: 38 bytes
Example 4: Multi-channel - static effect, dynamic effect, and off channel​

A product that supports EffectOwner (EO) / EffectCapability (EC) reports lighting endpointTags 1/2/3/4 (Fixed Label Number). One EffectData configures 3 channels and keeps endpointTag 4 unchanged:

  • Channel 1 (endpointTag 1): StaticEffect, Level = 80%, ColorXY is red (0x9E9A4246).
  • Channel 2 (endpointTag 2): DynamicEffect, DynamicEffectId = Colorful (3), Speed = 50%, ColorList is red/green/blue.
  • Channel 3 (endpointTag 3): selected but off (OnOff = false).
  • Channel 4 (endpointTag 4): not present in the array, so it retains its original state.

CBOR diagnostic notation:

[
{23: 1, 0: 0, 2: 80, 4: 2660909638},
{23: 2, 0: 1, 7: 3, 8: 50, 19: 3, 20: [{4: 2660909638}, {4: 1310044852}, {4: 616043336}]},
{23: 3, 24: false}
]

Complete EffectData (hexadecimal):

Header:  01 00
Payload: 83
A4 17 01 00 00 02 18 50 04 1A 9E 9A 42 46
A6 17 02 00 01 07 03 08 18 32 13 03 14 83
A1 04 1A 9E 9A 42 46
A1 04 1A 4E 15 B2 B4
A1 04 1A 24 B8 13 48
A2 17 03 18 18 F4
Total: 58 bytes
Example 5: NaturalEffect - near thunder​

EffectData parameters: ActionType = NaturalEffect, NaturalEffectId = NearThunder (0), ColorTemp = 250, Level = 80%, Speed = 50%, Variant = 1, DurationS = 30.

CBOR diagnostic notation: {0: 5, 25: 0, 3: 250, 2: 80, 8: 50, 21: 1, 26: 30}

Complete EffectData (hexadecimal):

Header:  01 00
Payload: A7 00 05 18 19 00 03 18 FA 02 18 50 08 18 32 15 01 18 1A 18 1E
Total: 23 bytes

ScreenUIConfig (Unified Screen Configuration)​

Introduction​

Provides unified UI configuration for screens, including page layouts, themes, card counts, and multi-page information management.

Function Identifier​

Function IDCodeName
0x00FFScreenUIConfigUnified screen configuration

Trait​

Trait IDCodeNameConformance
0x4EB9DataVersionData versionM
0x4ED0AssociatedDeviceIconSizeAssociated device icon sizeM
0x4ECFAssociatedDeviceNameSizeAssociated device name sizeM
0x4ED6SupportedPageLayoutsSupported page layoutsM
0x4ED5SupportedDeviceTypesSupported device typesM
0x4ED4PageLayoutSizePage layout sizeM
0x4ED3MaxWidgetNumMaximum card countM
0x4ED2UserDataSizeUser data sizeM
0x4ED1PageNameSizePage name sizeM
0x4ECEHomePageIndexHome page indexM
0x4EBCScreenHeightScreen heightM
0x4EBBScreenWidthScreen widthM
0x4EBAMaxPageNumMaximum page countM
0x4E78ThemeIDTheme IDM
0x4E77ThemeVersionTheme versionM
0x4F8FAllPagesInfoAll pages informationO

Command​

Command IDCodeNameConformance
0x9C6DRemovePageRemove pageM
0x9D34SetAllPagesInfoConfigure all pages informationO
0x9D35SetOnePageInfoConfigure single page informationO

Data Types​

RemovePage Command Structure Type​

Parameter structure of the RemovePage Command.

Structure Member IndexField NameTypeRequiredDescription
0PageListlist[Struct]MPage list.
SetAllPagesInfo Command Structure Type​

Parameter structure of the SetAllPagesInfo Command.

Structure Member IndexField NameTypeRequiredDescription
0AllPagesInfolist[Struct]MAll pages information.
SetOnePageInfo Command Structure Type​

Parameter structure of the SetOnePageInfo Command.

Structure Member IndexField NameTypeRequiredDescription
0PageInfostructMPage information.

Trait Definitions​

Trait IDNameConformance
0x4EB9DataVersionM
0x4ED0AssociatedDeviceIconSizeM
0x4ECFAssociatedDeviceNameSizeM
0x4ED6SupportedPageLayoutsM
0x4ED5SupportedDeviceTypesM
0x4ED4PageLayoutSizeM
0x4ED3MaxWidgetNumM
0x4ED2UserDataSizeM
0x4ED1PageNameSizeM
0x4ECEHomePageIndexM
0x4EBCScreenHeightM
0x4EBBScreenWidthM
0x4EBAMaxPageNumM
0x4E78ThemeIDM
0x4E77ThemeVersionM
0x4F8FAllPagesInfoO

DataVersion Trait (Data Version)​

This Trait is used for the access and reporting of data related to "Data Version".

Trait IDCode
0x4EB9DataVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVM
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0007Default Valueuint640RWO

AssociatedDeviceIconSize Trait (Associated Device Icon Size)​

This Trait is used for the access and reporting of data related to "Associated Device Icon Size".

Trait IDCode
0x4ED0AssociatedDeviceIconSize
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1632RVWM
0x0002Maximum Valueuint16128RO
0x0003Minimum Valueuint1632RO
0x0007Default Valueuint1632RWO

AssociatedDeviceNameSize Trait (Associated Device Name Size)​

This Trait is used for the access and reporting of data related to "Associated Device Name Size".

Trait IDCode
0x4ECFAssociatedDeviceNameSize
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1632RVWM
0x0002Maximum Valueuint16128RO
0x0003Minimum Valueuint1632RO
0x0007Default Valueuint1632RWO

SupportedPageLayouts Trait (Supported Page Layouts)​

This Trait is used for the access and reporting of data related to "Supported Page Layouts".

Trait IDCode
0x4ED6SupportedPageLayouts
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVWM

SupportedDeviceTypes Trait (Supported Device Types)​

This Trait is used for the access and reporting of data related to "Supported Device Types".

Trait IDCode
0x4ED5SupportedDeviceTypes
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuelistRVWM

PageLayoutSize Trait (Page Layout Size)​

This Trait is used for the access and reporting of data related to "Page Layout Size".

Trait IDCode
0x4ED4PageLayoutSize
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1632RVWM
0x0002Maximum Valueuint16128RO
0x0003Minimum Valueuint1632RO
0x0007Default Valueuint1632RWO

MaxWidgetNum Trait (Maximum Card Count)​

This Trait is used for the access and reporting of data related to "Maximum Card Count".

Trait IDCode
0x4ED3MaxWidgetNum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVWM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0007Default Valueuint161RWO

UserDataSize Trait (User Data Size)​

This Trait is used for the access and reporting of data related to "User Data Size".

Trait IDCode
0x4ED2UserDataSize
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16128RVWM
0x0002Maximum Valueuint16128RO
0x0003Minimum Valueuint1632RO
0x0007Default Valueuint16128RWO

PageNameSize Trait (Page Name Size)​

This Trait is used for the access and reporting of data related to "Page Name Size".

Trait IDCode
0x4ED1PageNameSize
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint1632RVWM
0x0002Maximum Valueuint16128RO
0x0003Minimum Valueuint1632RO
0x0007Default Valueuint1632RWO

HomePageIndex Trait (Home Page Index)​

This Trait is used for the access and reporting of data related to "Home Page Index".

Trait IDCode
0x4ECEHomePageIndex
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16RVWM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint160RWO

ScreenHeight Trait (Screen Height)​

This Trait is used for the access and reporting of data related to "Screen Height".

Trait IDCode
0x4EBCScreenHeight
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16240RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint16240RWO

ScreenWidth Trait (Screen Width)​

This Trait is used for the access and reporting of data related to "Screen Width".

Trait IDCode
0x4EBBScreenWidth
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16240RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint16240RWO

MaxPageNum Trait (Maximum Page Count)​

This Trait is used for the access and reporting of data related to "Maximum Page Count".

Trait IDCode
0x4EBAMaxPageNum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0007Default Valueuint161RWO

ThemeID Trait (Theme ID)​

This Trait is used for the access and reporting of data related to "Theme ID".

Trait IDCode
0x4E78ThemeID
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0007Default Valueuint161RWO

ThemeVersion Trait (Theme Version)​

Theme version

Trait IDCode
0x4E77ThemeVersion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint161RVM
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint161RO
0x0005Step Valueuint321RO
0x0007Default Valueuint161RWO

AllPagesInfo Trait (All Pages Information)​

This feature should provide information about all configured pages and their components.

Trait IDCode
0x4F8FAllPagesInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[AllPagesInfoTraitPresentValueStructure]RVWO

Command Definitions​

Command IDNameConformance
0x9C6DRemovePageM
0x9D34SetAllPagesInfoO
0x9D35SetOnePageInfoO

RemovePage Command​

This Command is used to perform the "Remove Page" operation.

Parameters​

RemovePage Command Structure

SetAllPagesInfo Command​

This Command is used to perform the "Configure All Pages Information" operation.

Parameters​

SetAllPagesInfo Command Structure

SetOnePageInfo Command​

This Command is used to perform the "Configure Single Page Information" operation.

Parameters​

SetOnePageInfo Command Structure

Ringtone (Ringtone)​

Introduction​

Provides ringtone and music playback control, supporting track selection, volume/duration adjustment, and playback status monitoring.

Function Identifier​

Function IDCodeName
0x0100RingtoneRingtone

Trait​

Trait IDCodeNameConformance
0x4FA1RingtonePlayIndexRingtone play indexM
0x4FA4RingtonePlayDurationRingtone play durationO
0x4FA3RingtonePlayStatusRingtone play statusO
0x4FA2RingtonePlayVolumeRingtone play volumeO
0x50B5CustomRingtoneCapabilityCustom ringtone capabilityO

Command​

Command IDCodeNameConformance
0x9D37PlayRingtonePlay ringtoneO

Data Types​

RingtonePlayIndexEnum32 Type​

This enumeration defines the valid values of the Present Value for the RingtonePlayIndex Trait.

ValueNameDescription
0x00PoliceCar1Police car sound 1
0x01PoliceCar2Police car sound 2
0x02SafetyAccidentSafety accident sound
0x03MissileCountdownMissile countdown
0x04GhostSoundGhost scream
0x05SniperRifleSniper rifle
0x06IntenseBattleIntense battle sound
0x07AirRaidSirenAir raid siren
0x08DogBarkDog bark
0x0ADoorbellDoorbell sound
0x0BKnockKnock sound
0x0CFunnyFunny sound
0x0DAlarmClockAlarm clock sound
0x0EArmingArming sound
0x0FDisarmingDisarming sound
0x14MiMixMiMix
0x15EnthusiasticEnthusiastic
0x16GuitarClassicGuitarClassic
0x17IceWorldPianoIceWorldPiano
0x18LeisureTimeLeisureTime
0x19ChildhoodChildhood
0x1AMorningStreamIetMorningStreamIet
0x1BMusixBoxMusixBox
0x1COrangeOrange
0x2710DefaultRingtoneDefault ringtone
RingtonePlayStatusEnum8 Type​

This enumeration defines the valid values of the Present Value for the RingtonePlayStatus Trait.

ValueNameDescription
0x00StoppedStopped
0x01PlayingPlaying
CustomRingtoneCapabilityEnum8 Type​

This enumeration defines the valid values of the Present Value for the CustomRingtoneCapability Trait.

ValueNameDescription
0x01SupportedSupported
PlayRingtone Command Structure Type​

Parameter structure of the PlayRingtone Command.

Structure Member IndexField NameTypeRequiredDescription
0PlayStatusenum8MPlay status; default value is 0.
1PlayIndexenum8OPlay index; default value is 10000.
2PlayVolumefloatOPlay volume; default value is 50.
3PlayDurationuint32OPlay duration; default value is 0.

Trait Definitions​

Trait IDNameConformance
0x4FA1RingtonePlayIndexM
0x4FA4RingtonePlayDurationO
0x4FA3RingtonePlayStatusO
0x4FA2RingtonePlayVolumeO
0x50B5CustomRingtoneCapabilityO

RingtonePlayIndex Trait (Ringtone Play Index)​

Indicates the index of the ringtone or music to be played. This feature allows selecting a specific track from a predefined list, where each index corresponds to a unique ringtone or music identifier. This value is an enumeration that maps to audio files.

Trait IDCode
0x4FA1RingtonePlayIndex
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRingtonePlayIndexEnum320RVWM
0x0006Supported Valuelist[RingtonePlayIndexEnum32]RO
0x0007Default ValueRingtonePlayIndexEnum320RWO

RingtonePlayDuration Trait (Ringtone Play Duration)​

Indicates the playback duration of the ringtone or music. The value represents the playback time (in seconds). A value of 0 means play once (single playback); a value greater than 0 means play for the specified number of seconds.

Trait IDCode
0x4FA4RingtonePlayDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

RingtonePlayStatus Trait (Ringtone Play Status)​

Indicates the current playback status of the ringtone or music. Value 0 usually means stopped or idle, and 1 means playing. Allows querying and controlling whether audio is currently playing.

Trait IDCode
0x4FA3RingtonePlayStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRingtonePlayStatusEnum80RVWO
0x0006Supported Valuelist[RingtonePlayStatusEnum8]RO
0x0007Default Valueuint80RWO

RingtonePlayVolume Trait (Ringtone Play Volume)​

Indicates the volume level for playing the ringtone or music. The value range is 0 (mute) to 100 (maximum volume). Unit: %.

Trait IDCode
0x4FA2RingtonePlayVolume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

CustomRingtoneCapability Trait (Custom Ringtone Capability)​

Indicates whether the device supports the custom ringtone feature (for example, uploading and playing user-defined ringtones). Value 1 means supported.

Trait IDCode
0x50B5CustomRingtoneCapability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCustomRingtoneCapabilityEnum81RVO
0x0006Supported Valuelist[CustomRingtoneCapabilityEnum8]RO
0x0007Default Valueuint81RWO

Command Definitions​

Command IDNameConformance
0x9D37PlayRingtoneO

PlayRingtone Command​

Controls the device to play or stop the specified ringtone or music. The first parameter, PlayStatus, is required and specifies the play status (PLAYING means start playing, STOPPED means stop playing). When the status is PLAYING, the PlayIndex parameter must be provided to specify the ringtone to play. The optional parameter PlayVolume sets the play volume (range 0-100, 0 is mute, 100 is maximum volume). The optional parameter PlayDuration sets the play duration (in seconds) (0 means play once, greater than 0 means play for the specified number of seconds). When the status is STOPPED, all other parameters should be omitted, and the device will stop the currently playing ringtone.

Parameters​

PlayRingtone Command Structure

FenceDetection (Virtual Fence Detection)​

Introduction​

Defines virtual fence areas in the camera view, detects people entering or leaving, and supports linkage policies such as recording and push notifications.

Function Identifier​

Function IDCodeName
0x0101FenceDetectionVirtual fence detection

Trait​

Trait IDCodeNameConformance
0x4FB1FenceDetectionReportVirtual fence detection reportM
0x4FB2FenceDetectionEnableVirtual fence enableO
0x4FB3TimePeriodSettingTime period settingO
0x4FB4SensitivityLevelEnumRecognition sensitivity settingO
0x4FB5PushEnablePush enableO
0x4FB6RecordEnableRecording enableO
0x4FB7IntervalSettingTime interval settingO
0x4FB8FenceAreaSettingFence area settingO
0x4FB9FenceEntryDetectionEnableFence entry detection report enableO
0x4FBAFenceExitDetectionEnableFence exit detection report enableO
0x4FBBDisplayFenceAreaEnableDisplay fence area enableO
0x502DRegionDimensionRegion dimensionO

Command​

This Function does not contain any Commands.

Data Types​

FenceDetectionReportEnum8 Type​

This enumeration defines the valid values of the Present Value for the FenceDetectionReport Trait.

ValueNameDescription
0x01EnterPerson entering the fence detected
0x02ExitPerson leaving the fence detected
TimePeriodSettingTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the TimePeriodSetting Trait.

Structure Member IndexField NameTypeRequiredDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour).
2repeatarray[uint32]MA weekday repeat flag with a fixed length of 7, in order from Sunday to Saturday; 1 means active, 0 means inactive.
SensitivityLevelEnum8 Type​

This enumeration defines the valid values of the Present Value for the SensitivityLevelEnum Trait.

ValueNameDescription
0x00LowestLowest
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestHighest
FenceAreaSettingTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the FenceAreaSetting Trait.

Structure Member IndexField NameTypeRequiredDescription
0polygon_visiblebooleanMWhether to display the fence area in the live view.
1polygon_numint32MNumber of polygons, which should match the length of the polygons array.
2polygonsarray[Struct]MPolygon array. Each Polygon contains id, points_num, and points.
RegionDimensionTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the RegionDimension Trait.

Structure Member IndexField NameTypeRequiredDescription
0unitenum8MUnit of width and height, such as GRID or PIXEL.
1widthuint32MTotal width of the region in the specified unit.
2heightuint32MTotal height of the region in the specified unit.

Trait Definitions​

Trait IDNameConformance
0x4FB1FenceDetectionReportM
0x4FB2FenceDetectionEnableO
0x4FB3TimePeriodSettingO
0x4FB4SensitivityLevelEnumO
0x4FB5PushEnableO
0x4FB6RecordEnableO
0x4FB7IntervalSettingO
0x4FB8FenceAreaSettingO
0x4FB9FenceEntryDetectionEnableO
0x4FBAFenceExitDetectionEnableO
0x4FBBDisplayFenceAreaEnableO
0x502DRegionDimensionO

FenceDetectionReport Trait (Virtual Fence Detection Report)​

An event triggered when a person enters or leaves a predefined virtual fence area. This event distinguishes the entry and exit directions.

Trait IDCode
0x4FB1FenceDetectionReport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFenceDetectionReportEnum81VM
0x0006Supported Valuelist[FenceDetectionReportEnum8]RO

FenceDetectionEnable Trait (Virtual Fence Enable)​

The master switch to enable or disable the virtual fence detection function. When enabled, the camera analyzes video frames to detect whether anyone crosses the defined polygon boundaries.

Trait IDCode
0x4FB2FenceDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TimePeriodSetting Trait (Time Period Setting)​

Defines a scheduled plan of time periods and working days. The scheduling configuration structure contains three fields: starttime, endtime, and repeat. starttime and endtime are strings in "HH:MM" format (24-hour), ranging from "00:00" to "23:59", defining the start and end times of the active period. If they are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of unsigned 8-bit integers with a length of 7, whose index order corresponds to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. A value of 1 means the working day is active, and 0 means it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FB3TimePeriodSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimePeriodSettingTraitPresentValueStructureRVWO
0x0007Default ValueTimePeriodSettingTraitPresentValueStructureIf the default value is expressed in JSON format, it is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

SensitivityLevelEnum Trait (Recognition Sensitivity Setting)​

This enumeration configures the sensitivity level for various device functions (such as detection, recognition, sensing, and alarm). Valid values are 0, 1, 2, 3, and 4, corresponding to lowest, low, medium, high, and highest sensitivity respectively. Higher sensitivity makes the function more sensitive to trigger conditions (such as more easily detecting weak signals or small targets); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FB4SensitivityLevelEnum
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSensitivityLevelEnum81RVWO
0x0006Supported Valuelist[SensitivityLevelEnum8]RO
0x0007Default Valueuint81RWO

PushEnable Trait (Push Enable)​

Controls whether push notifications are sent to the user when a specific function (such as detection events or recognition events) is triggered. The value is boolean: true (enabled) means a push notification is sent when an event occurs; false (disabled) means no notification is sent even when an event occurs.

Trait IDCode
0x4FB5PushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

RecordEnable Trait (Recording Enable)​

Enables or disables local recording during face recognition.

Trait IDCode
0x4FB6RecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

IntervalSetting Trait (Time Interval Setting)​

Configures the minimum time interval between two consecutive event triggers of a specific function (for example, detection or recognition). The value is numeric, in seconds. After an event is triggered, any further detection of the same event within this interval will not generate a new trigger until the interval has elapsed.

Trait IDCode
0x4FB7IntervalSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

FenceAreaSetting Trait (Fence Area Setting)​

Defines one or more polygon areas for the virtual fence. It contains three fields: PolygonVisible (characterString, value "0" or "1", indicating whether to display the fence area in the live preview), PolygonNum (characterString, total number of polygons), and Polygons (an array storing the definitions of each polygon). Each Polygon object contains: Id (characterString, unique identifier of the polygon), PointsNum (characterString, number of vertices), and Points (array of vertex coordinates). Each vertex is represented by x and y strings, with normalized values ranging from 0.0 to 1.0, corresponding to the proportional positions of the video frame width and height. Vertices are connected in order to form a closed polygon. This structure is used to configure the detection area of the fence function.

Trait IDCode
0x4FB8FenceAreaSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueFenceAreaSettingTraitPresentValueStructure{&quot;0&quot;:&quot;1&quot;,&quot;1&quot;:&quot;1&quot;,&quot;2&quot;:[{&quot;0&quot;:&quot;1&quot;,&quot;1&quot;:&quot;6&quot;,&quot;2&quot;:[{&quot;0&quot;:&quot;0.50000000&quot;,&quot;1&quot;:&quot;0.01694915&quot;},{&quot;0&quot;:&quot;0.73528814&quot;,&quot;1&quot;:&quot;0.25847459&quot;},{&quot;0&quot;:&quot;0.73528814&quot;,&quot;1&quot;:&quot;0.74152541&quot;},{&quot;0&quot;:&quot;0.50000000&quot;,&quot;1&quot;:&quot;0.98305082&quot;},{&quot;0&quot;:&quot;0.26471186&quot;,&quot;1&quot;:&quot;0.74152541&quot;},{&quot;0&quot;:&quot;0.26471186&quot;,&quot;1&quot;:&quot;0.25847459&quot;}]}]RVWO

FenceEntryDetectionEnable Trait (Fence Entry Detection Report Enable)​

Enables event triggering when a person enters the virtual fence area (from outside to inside).

Trait IDCode
0x4FB9FenceEntryDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

FenceExitDetectionEnable Trait (Fence Exit Detection Report Enable)​

Enables event triggering when a person leaves the virtual fence area (from inside to outside).

Trait IDCode
0x4FBAFenceExitDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

DisplayFenceAreaEnable Trait (Display Fence Area Enable)​

Shows or hides the virtual fence polygon overlay on the live video stream. When displayed, users can visually confirm the defined areas.

Trait IDCode
0x4FBBDisplayFenceAreaEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

RegionDimension Trait (Region Dimension)​

Defines the complete canvas size that a client (such as an App) can use for region configuration (such as detection areas or privacy masks). Its value is a structure containing three fields: unit (enum8): the unit of width and height, such as GRID (grid cell) or PIXEL (pixel). width (uint32): the total width of the region in the specified unit. height (uint32): the total height of the region in the specified unit.

Trait IDCode
0x502DRegionDimension
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRegionDimensionTraitPresentValueStructureRVO

Command Definitions​

This Function does not contain any Commands.

Security (Privacy and Security)​

Introduction​

Manages device security policies and access permissions, including user passwords, lost mode, and related verification mechanisms.

Function Identifier​

Function IDCodeName
0x0102SecurityPrivacy and security

Trait​

Trait IDCodeNameConformance
0x502AUserPasswordUser passwordO
0x5178SecurityPasswordSecurity passwordO
0x5192SecurityPasswordLevelSecurity password security levelO
0x50EEPasswordReminderPassword reminder settingO
0x50EFLockScreenPasswordLock screen passwordO
0x5193LockScreenPasswordLevelLock screen password security levelO
0x50F0PasswordRequirementSet whether a password is requiredO
0x501DTheftModeNotificationEnableLost mode push enableO
0x50ADTheftModeSupportedLost mode feature supportO
0x501CTheftModeEnableLost mode enableO

Command​

This Function does not contain any Commands.

Data Types​

SecurityPasswordLevelEnum8 Type​

This enumeration defines the valid values of the Present Value for the SecurityPasswordLevel Trait.

ValueKeyChinese NameEnglish NameDescription
0x00HighHigh levelHighSecurity password strength is high (default).
0x01LowLow levelLowSecurity password strength is low.
LockScreenPasswordLevelEnum8 Type​

This enumeration defines the valid values of the Present Value for the LockScreenPasswordLevel Trait.

ValueKeyChinese NameEnglish NameDescription
0x00HighHigh levelHighLock screen password strength is high (default).
0x01LowLow levelLowLock screen password strength is low.

Trait Definitions​

Trait IDNameConformance
0x502AUserPasswordO
0x5178SecurityPasswordO
0x5192SecurityPasswordLevelO
0x50EEPasswordReminderO
0x50EFLockScreenPasswordO
0x5193LockScreenPasswordLevelO
0x50F0PasswordRequirementO
0x501DTheftModeNotificationEnableO
0x50ADTheftModeSupportedO
0x501CTheftModeEnableO

UserPassword Trait (User Password)​

The user password used for device authentication and secure communication.

Trait IDCode
0x502AUserPassword
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterString0RVWO
0x0007Default ValuecharacterString0RWO

SecurityPassword Trait (Security Password)​

The security password. A security password used to verify administrator privileges. Before performing security-compliant operations such as factory reset or modifying advanced configurations, the user is required to enter this password for verification. This property is readable, writable, and reportable, and is usually stored and managed by the device side or the cloud.

Trait IDCode
0x5178SecurityPassword
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

SecurityPasswordLevel Trait (Security Password Security Level)​

Security password security level. Indicates the security level of the device's security password. The value is an enumeration (uint8), where 0 means high level and 1 means low level. This Trait is read-only and reportable, reported by the device according to the current strength of the security password. The frontend can implement different handling mechanisms based on this security level. For example, if the security level is low, the original password may not be required when changing the password.

Trait IDCode
0x5192SecurityPasswordLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSecurityPasswordLevelEnum80RVO
0x0006Supported Valuelist[SecurityPasswordLevelEnum8]RO
0x0007Default Valueuint80RWO

PasswordReminder Trait (Password Reminder Setting)​

Controls whether the password reminder can be skipped in the App configuration flow. 0 means do not skip, 1 means skip.

Trait IDCode
0x50EEPasswordReminder
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO
0x0006Supported Valuelist[boolean]RO
0x0007Default Valueboolean0RWO

LockScreenPassword Trait (Lock Screen Password)​

Used to set the lock screen password. The password is an encrypted 6-character string; an empty string means no lock screen password is set.

Trait IDCode
0x50EFLockScreenPassword
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

LockScreenPasswordLevel Trait (Lock Screen Password Security Level)​

Lock screen password security level. Indicates the security level of the device's lock screen password. The value is an enumeration (uint8), where 0 means high level and 1 means low level. This Trait is read-only and reportable, reported by the device according to the current strength of the lock screen password. The frontend can implement different handling mechanisms based on this security level. For example, if the security level is low, the original password may not be required when changing the password.

Trait IDCode
0x5193LockScreenPasswordLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLockScreenPasswordLevelEnum80RVO
0x0006Supported Valuelist[LockScreenPasswordLevelEnum8]RO
0x0007Default Valueuint80RWO

PasswordRequirement Trait (Set Whether a Password Is Required)​

Controls whether a password is required when performing operations such as unlocking or opening the door in non-consumer scenarios.

Trait IDCode
0x50F0PasswordRequirement
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0006Supported Valuelist[boolean]RO
0x0007Default Valueboolean0RWO

TheftModeNotificationEnable Trait (Lost Mode Push Enable)​

Enables or disables push notifications for anti-theft mode events.

Trait IDCode
0x501DTheftModeNotificationEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TheftModeSupported Trait (Lost Mode Feature Support)​

Indicates whether the device supports the lost/stolen mode feature.

Trait IDCode
0x50ADTheftModeSupported
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVO
0x0007Default Valueboolean0RWO

TheftModeEnable Trait (Lost Mode Enable)​

Enables or disables the anti-theft/lost mode.

Trait IDCode
0x501CTheftModeEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain any Commands.

Storage (Local Storage)​

Introduction​

Manages local SD card recording, formatting, recording modes, and storage status monitoring and maintenance.

Function Identifier​

Function IDCodeName
0x0103StorageLocal storage

Trait​

Trait IDCodeNameConformance
0x507BNASServerBindingStatusNAS server binding statusO
0x5067NewStorageDeviceDetectedNew storage device detectedO
0x4FE4NASLastWriteTimestampNAS last write timestampO
0x4FE7SDCardStatusSD card statusO
0x4FD2RecordingModeRecording modeO
0x5245RecordingDurationTypeRecording duration typeO
0x5246MinRecordingDurationMinimum recording durationO
0x5247MaxRecordingDurationMaximum recording durationO
0x5025SetNASSharedFolderSet shared folderO
0x5024NASSharedFoldersListGet shared folder listO
0x5023NASServersListGet NAS server listO
0x502CNASStorageDurationNAS storage durationO
0x502BNASTransferIntervalNAS transfer intervalO
0x5021NASStorageEnableNAS storage enableO
0x5022NASWorkModeNAS work modeO
0x5020NASVerificationResultNAS verification resultO
0x501ESetNASServersSet NAS serverO
0x501FNASStatusNAS statusO

Command​

Command IDCodeNameConformance
0x9D45DeleteNASServerDelete NAS serverO
0x9D3FTriggerSDCardStatusUploadTrigger SD card status uploadO
0x9D3CNASClearHistoryVideosClear NAS history videosO
0x9D3BFormatSDCardCommandFormat storage cardO

Data Types​

RecordingDurationTypeEnum8 Type​

This enumeration defines the valid values of the Present Value of the RecordingDurationType Trait.

ValueNameDescription
0x00AutoAutomatic; the device decides the minimum and maximum recording duration automatically based on battery level and other information
0x01CustomCustom; the user configures the recording duration through MinRecordingDuration and MaxRecordingDuration
NASServerBindingStatusEnum8 Type​

This enumeration defines the valid values of the Present Value for the NASServerBindingStatus Trait.

ValueNameDescription
0x00UnboundUnbound
0x01BoundBinding successful
NewStorageDeviceDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value for the NewStorageDeviceDetected Trait.

ValueNameDescription
0x00NoDeviceNo storage device connected
0x01SdCardSD card connected
0x02UsbUSB storage connected
0x03SdCardAndUsbSD card and USB storage connected
SDCardStatusTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the SDCardStatus Trait.

Structure Member IndexField NameTypeRequiredDescription
0totalsizeuint32MTotal SD card capacity, in KB.
1freesizeuint32MAvailable SD card capacity, in KB.
2othersizeuint32MCapacity used by non-camera files, in KB.
3sdstatusenum8MSD card status: 0=Normal, 1=Not inserted, 2=Formatting, 3=Error.
NASWorkModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the NASWorkMode Trait.

ValueNameDescription
0x00TranscodeFromSDTransfer from local storage card
0x01DirectUploadDirect upload to NAS
NASVerificationResultEnum8 Type​

This enumeration defines the valid values of the Present Value for the NASVerificationResult Trait.

ValueNameDescription
0x00FailedVerification failed
0x01SuccessVerification successful
SetNASServersTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the SetNASServers Trait.

Structure Member IndexField NameTypeRequiredDescription
0hostcharacterStringMNAS server address, which can be an IP address, hostname, or UNC path.
1usercharacterStringMNAS authentication username.
2passwordcharacterStringMNAS authentication password.
NASStatusEnum8 Type​

This enumeration defines the valid values of the Present Value for the NASStatus Trait.

ValueNameDescription
0x00NormalNormal
0x01TransferringTransferring
0x02PausedTransfer paused
0x03ClearingClearing videos
0x04ErrorError
DeleteNASServer Command Structure Type​

Parameter structure of the DeleteNASServer Command.

Structure Member IndexField NameTypeRequiredDescription
0Statusenum8MStatus; default value is 0.
NASClearHistoryVideos Command Structure Type​

Parameter structure of the NASClearHistoryVideos Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MCommand type.
FormatSDCardCommand Command Structure Type​

Parameter structure of the FormatSDCardCommand Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MCommand type.

Trait Definitions​

Trait IDNameConformance
0x507BNASServerBindingStatusO
0x5067NewStorageDeviceDetectedO
0x4FE4NASLastWriteTimestampO
0x4FE7SDCardStatusO
0x4FD2RecordingModeO
0x5245RecordingDurationTypeO
0x5246MinRecordingDurationO
0x5247MaxRecordingDurationO
0x5025SetNASSharedFolderO
0x5024NASSharedFoldersListO
0x5023NASServersListO
0x502CNASStorageDurationO
0x502BNASTransferIntervalO
0x5021NASStorageEnableO
0x5022NASWorkModeO
0x5020NASVerificationResultO
0x501ESetNASServersO
0x501FNASStatusO

NASServerBindingStatus Trait (NAS Server Binding Status)​

Indicates the binding status between the device and the NAS server. Value 0 means unbound (not connected or not configured), value 1 means bound (successfully connected and authenticated).

Trait IDCode
0x507BNASServerBindingStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNASServerBindingStatusEnum80RVO
0x0006Supported Valuelist[NASServerBindingStatusEnum8]RO
0x0007Default Valueuint80RWO

NewStorageDeviceDetected Trait (New Storage Device Detected)​

Indicates that a new storage device (SD card or USB storage) has been detected and the device does not currently use it as the selected recording location. The device reports this Trait to trigger a pop-up notification. The value indicates the detected storage device type:

0: No storage device detected 1: SD card detected 2: USB storage detected 3: Both SD card and USB storage detected

Trait IDCode
0x5067NewStorageDeviceDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNewStorageDeviceDetectedEnum80RVO
0x0006Supported Valuelist[NewStorageDeviceDetectedEnum8]RO

NASLastWriteTimestamp Trait (NAS Last Write Timestamp)​

Indicates the Unix timestamp (in milliseconds, without time zone) of the last successful write to NAS storage. The device records this timestamp when it finishes writing video files or any data to the NAS.

Trait IDCode
0x4FE4NASLastWriteTimestamp
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVO
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint321RO
0x0007Default Valueuint640RWO

SDCardStatus Trait (SD Card Status)​

Reports the storage information and health status of the SD card. It contains totalsize (total capacity, KB), freesize (available space, KB), othersize (space occupied by non-camera files, KB), and sdstatus (card status: 0=Normal, 1=Not inserted, 2=Formatting, 3=Error).

Trait IDCode
0x4FE7SDCardStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSDCardStatusTraitPresentValueStructureRVO
0x0007Default ValueSDCardStatusTraitPresentValueStructureIf the default value is expressed in JSON format, it is: {"0":0,"1":0,"2":0,"3":0}RWO

RecordingMode Trait (Recording Mode)​

Configures the recording behavior of the device. The structure contains two fields: mode (uint8, values: 0 = off, 1 = continuous recording, 2 = event-triggered recording) and overwrite (uint8, value: 1 = circular overwrite when storage is full). Both fields are required.

Trait IDCode
0x4FD2RecordingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRecordingModeTraitPresentValueStructureRVWO
0x0007Default ValueRecordingModeTraitPresentValueStructureIf the default value is expressed in JSON format, it is: {"0":2,"1":1}RWO

SetNASSharedFolder Trait (Set Shared Folder)​

Sets the shared folder path used for NAS storage.

Trait IDCode
0x5025SetNASSharedFolder
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

NASSharedFoldersList Trait (Get Shared Folder List)​

Retrieves the list of shared folders on the NAS as a JSON array.

Trait IDCode
0x5024NASSharedFoldersList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuearrayRVO

NASServersList Trait (Get NAS Server List)​

Retrieves the list of configured NAS servers as an array.

Trait IDCode
0x5023NASServersList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuearrayRVO

NASStorageDuration Trait (NAS Storage Duration)​

The retention duration of videos on the NAS (in seconds).

Trait IDCode
0x502CNASStorageDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint322592000RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint322592000RWO

NASTransferInterval Trait (NAS Transfer Interval)​

The time interval for transferring videos to the NAS (in seconds).

Trait IDCode
0x502BNASTransferInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint3286400RVWO
0x0002Maximum Valueuint3286400RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint3260RWO

NASStorageEnable Trait (NAS Storage Enable)​

Enables or disables NAS video storage.

Trait IDCode
0x5021NASStorageEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

NASWorkMode Trait (NAS Work Mode)​

Specifies the NAS storage mode: transfer from the SD card or direct upload.

Trait IDCode
0x5022NASWorkMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNASWorkModeEnum80RVWO
0x0006Supported Valuelist[NASWorkModeEnum8]RO
0x0007Default ValueNASWorkModeEnum80RWO

NASVerificationResult Trait (NAS Verification Result)​

The result of the last NAS connection verification.

Trait IDCode
0x5020NASVerificationResult
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNASVerificationResultEnum81RVO
0x0006Supported Valuelist[NASVerificationResultEnum8]RO

SetNASServers Trait (Set NAS Server)​

Configures the parameters required for the device to connect to a NAS server. It contains three parameters: host (characterString, the address of the NAS server, which can be an IP address, hostname, or UNC path), user (characterString, the username used for NAS authentication), and password (characterString, the password corresponding to the username). After receiving this command, the device attempts to connect to the specified NAS server using the provided credentials and returns the connection result (success or failure).

Trait IDCode
0x501ESetNASServers
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSetNASServersTraitPresentValueStructureRVWO

NASStatus Trait (NAS Status)​

The current status of NAS video storage.

Trait IDCode
0x501FNASStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNASStatusEnum80RVO
0x0006Supported Valuelist[NASStatusEnum8]RO

RecordingDurationType Trait (Recording Duration Type)​

The recording duration type on the device side. 0 is automatic: the device decides the minimum and maximum recording duration automatically based on battery level and other information; 1 is custom: the durations configured by MinRecordingDuration and MaxRecordingDuration are used. The default value is 0, and it is readable, writable, and reportable.

Trait IDCode
0x5245RecordingDurationType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueRecordingDurationTypeEnum80RVWO
0x0006Supported Valuelist[RecordingDurationTypeEnum8]RO
0x0007Default ValueRecordingDurationTypeEnum80RWO

MinRecordingDuration Trait (Minimum Recording Duration)​

The minimum recording duration on the device side, in seconds (s), ranging from 1 to 6 with a step of 1 and a default value of 6. This configuration is used when RecordingDurationType is Custom. After recording starts, even if the detected object stops moving or leaves the field of view, recording continues until the minimum recording duration is reached, to ensure sufficient event footage is captured. It is readable, writable, and reportable.

Trait IDCode
0x5246MinRecordingDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint81..66RVWO
0x0002Maximum Valueuint86RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint81RO
0x0007Default Valueuint81..66RWO

MaxRecordingDuration Trait (Maximum Recording Duration)​

The maximum recording duration on the device side, in seconds (s), ranging from 10 to 30 with a step of 1 and a default value of 30. This configuration is used when RecordingDurationType is Custom. After recording starts, if the detected object stops moving or leaves the field of view, recording stops after the minimum recording duration is reached to save power; if the detected object keeps moving, recording continues until the maximum recording duration is reached. It is readable, writable, and reportable.

Trait IDCode
0x5247MaxRecordingDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint810..3030RVWO
0x0002Maximum Valueuint830RO
0x0003Minimum Valueuint810RO
0x0005Step Valueuint81RO
0x0007Default Valueuint810..3030RWO

Command Definitions​

Command IDNameConformance
0x9D45DeleteNASServerO
0x9D3FTriggerSDCardStatusUploadO
0x9D3CNASClearHistoryVideosO
0x9D3BFormatSDCardCommandO

DeleteNASServer Command​

Represents the operation of unbinding the NAS server.

Parameters​

DeleteNASServer Command Structure

TriggerSDCardStatusUpload Command​

Triggers the device to proactively report the current SDCardStatus (including total capacity, available space, other usage, and card status) to the cloud or client.

This Command has no parameters.

NASClearHistoryVideos Command​

This Command is used to perform the "Clear NAS History Videos" operation.

Parameters​

NASClearHistoryVideos Command Structure

FormatSDCardCommand Command​

This Command is used to perform the "Format Storage Card" operation.

Parameters​

FormatSDCardCommand Command Structure

ImageMediaManagement (Image Media Management)​

Introduction​

Manages canvas layouts and image resources, supporting image download, storage, deletion, status reporting, and ID list maintenance.

Function Identifier​

Function IDCodeName
0x0104ImageMediaManagementImage media management

Trait​

Trait IDCodeNameConformance
0x4FEDCanvasLayoutConfigurationCanvas layout configurationO
0x4FEECurrentImageIdCurrent image IDO
0x4FEFDisplayImageDisplay imageO
0x4FF0DownloadImageDataDownload image dataO
0x4FF2ImageTransferStateImage transfer stateO
0x4FF3ImageDataListImage data listO
0x4FF4ImageIdListImage ID listO
0x5135OnDeviceImageIdListOn-device image ID listO
0x4FF5RemoveImagesRemove image listO
0x50F1FreeStorageCapacityRemaining image storage capacityO

Command​

This Function does not contain any Commands.

Data Types​

ImageTransferStateEnum8 Type​

This enumeration defines the valid values of the Present Value for the ImageTransferState Trait.

ValueNameDescription
0x00IdleIdle
0x01DownloadFailedDownload failed
0x02NoSpaceDownload failed - insufficient space
0x03DownloadFailedInProgressDownload failed - download in progress
0x04CheckFailedVerification failed
0x10DownloadingDownloading
0x20DownloadCompleteDownload complete
0x21TransferProgress10Image transfer progress 10%
0x22TransferProgress20Image transfer progress 20%
0x23TransferProgress30Image transfer progress 30%
0x24TransferProgress40Image transfer progress 40%
0x25TransferProgress50Image transfer progress 50%
0x26TransferProgress60Image transfer progress 60%
0x27TransferProgress70Image transfer progress 70%
0x28TransferProgress80Image transfer progress 80%
0x29TransferProgress90Image transfer progress 90%
0x2FTransferStartImage transfer started
0x30TransferCompleteImage transfer complete
0x31DisplayFailedNoDataImage display failed - no image data
0x32DisplayFailedTransferringImage display failed - transfer in progress
0x40DisplayCompleteImage display complete
0xFFOperationFailedOperation failed

Trait Definitions​

Trait IDNameConformance
0x4FEDCanvasLayoutConfigurationO
0x4FEECurrentImageIdO
0x4FEFDisplayImageO
0x4FF0DownloadImageDataO
0x4FF2ImageTransferStateO
0x4FF3ImageDataListO
0x4FF4ImageIdListO
0x5135OnDeviceImageIdListO
0x4FF5RemoveImagesO
0x50F1FreeStorageCapacityO

CanvasLayoutConfiguration Trait (Canvas Layout Configuration)​

Configuration parameters of the canvas layout used by the frontend.

Trait IDCode
0x4FEDCanvasLayoutConfiguration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

CurrentImageId Trait (Current Image ID)​

The ID of the currently displayed image, of type uint32.

Trait IDCode
0x4FEECurrentImageId
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

DisplayImage Trait (Display Image)​

The ID of the image to be displayed, of type uint32, sent by the App.

Trait IDCode
0x4FEFDisplayImage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320WO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

DownloadImageData Trait (Download Image Data)​

The data used to download an image, including URL, MD5, size, type, ID, and storage flag.

Trait IDCode
0x4FF0DownloadImageData
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringWO

ImageTransferState Trait (Image Transfer State)​

Image transfer state (idle, downloading, completed, failed, etc.).

Trait IDCode
0x4FF2ImageTransferState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueImageTransferStateEnum80RVO
0x0006Supported Valuelist[ImageTransferStateEnum8]RO
0x0007Default Valueuint80RWO

ImageDataList Trait (Image Data List)​

The image data list used by the App/server.

Trait IDCode
0x4FF3ImageDataList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ImageIdList Trait (Image ID List)​

An image ID list, containing several image IDs of type uint32, for example [123456, 345678].

Trait IDCode
0x4FF4ImageIdList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuearray[uint32]RVO

OnDeviceImageIdList Trait (On-Device Image ID List)​

Chinese Name: On-Device Image ID List.

Represents the list of image IDs stored in the local memory of the endpoint device itself (rather than the gateway or cloud). Each ID corresponds to an image data stored in the device's internal storage medium (such as Flash or SD card). This list is readable and reportable, maintained by the device side; the client can use it to enumerate, preview, or manage the image resources local to the device. Each image ID in the list is uint32.

Trait IDCode
0x5135OnDeviceImageIdList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuearray[uint32]RVO

RemoveImages Trait (Remove Image List)​

The list of image IDs to be deleted, containing several image IDs of type uint32, for example [123456, 345678].

Trait IDCode
0x4FF5RemoveImages
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuearray[uint32]WO

FreeStorageCapacity Trait (Remaining Image Storage Capacity)​

Reports the available remaining storage capacity of the device's album, in KB.

Trait IDCode
0x50F1FreeStorageCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain any Commands.

VoiceAssistant (Voice Assistant)​

Introduction​

Manages the device's voice interaction capabilities, including wake words, voice control switch, voice timbre, continuous conversation, voice control language, near-field wake, and spatial area configuration.

Function Identifier​

Function IDCodeName
0x0105VoiceAssistantVoice assistant

Trait​

Trait IDCodeConformance
0x4FF9VoiceAssistantEnabledM
0x50FCVoiceAssistantAuthStateO
0x50FDOneShotEnableO
0x50FFWakeWordSettingO
0x5101ControlScopeSettingO
0x5103WakeSensitivityO
0x5104NearFieldWakeEnabledO
0x5105AiRecommendEnabledO
0x51F2VoiceTimbreO
0x51F3ContinuousChatEnableO
0x51F4VoiceControlLanguageO

Command​

Command IDCodeConformance
0x9D5FTriggerVoiceAssistantWakeO

Data Types​

VoiceAssistantAuthStateEnum8 Type​

This enumeration defines the valid values of the Present Value for the VoiceAssistantAuthState Trait.

ValueNameDescription
0x00AuthorizedAuthorized
0x01UnauthorizedUnauthorized
ControlScopeSettingEnum32 Type​

This enumeration defines the valid values of the Present Value for the ControlScopeSetting Trait.

ValueNameDescription
0x00CurrentRoomCurrent room
0x01WholeHouseWhole house
WakeSensitivityEnum32 Type​

This enumeration defines the valid values of the Present Value for the WakeSensitivity Trait.

ValueNameDescription
0x00LowLow
0x01MediumMedium
0x02HighHigh
VoiceTimbreEnum8 Type​

This enumeration defines the valid values of the Present Value for the VoiceTimbre Trait.

ValueNameDescription
0x00MaleMale voice
0x01FemaleFemale voice
VoiceControlLanguageEnum8 Type​

This enumeration defines the valid values of the Present Value for the VoiceControlLanguage Trait.

ValueNameDescription
0x01ChineseChinese
0x02EnglishEnglish
TriggerVoiceAssistantWake Command Structure Type​

Parameter structure of the TriggerVoiceAssistantWake Command.

Structure Member IndexField NameTypeRequiredDescription
0Actionenum8MAction; 0 = NO_ACTION (no operation), 1 = WAKE (activate the voice assistant), 2 = ExitVoiceControl (exit voice control); default value is 1.

Trait Definitions​

Trait IDNameConformance
0x4FF9VoiceAssistantEnabledM
0x50FCVoiceAssistantAuthStateO
0x50FDOneShotEnableO
0x50FFWakeWordSettingO
0x5101ControlScopeSettingO
0x5103WakeSensitivityO
0x5104NearFieldWakeEnabledO
0x5105AiRecommendEnabledO
0x51F2VoiceTimbreO
0x51F3ContinuousChatEnableO
0x51F4VoiceControlLanguageO

VoiceAssistantEnabled Trait​

Determines whether the device responds to voice commands; when enabled (default), all built-in voice functions take effect; when disabled, the microphone ignores all wake words and commands, equivalent to having no voice hardware.

Trait IDCode
0x4FF9VoiceAssistantEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuebooleanO1RVWM
0x0007Default ValuebooleanO1RWO

VoiceAssistantAuthState Trait​

Indicates the voice control authorization state.

Trait IDCode
0x50FCVoiceAssistantAuthState
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVoiceAssistantAuthStateEnum80RVWO
0x0006Supported Valuelist[VoiceAssistantAuthStateEnum8]RO
0x0007Default Valueuint80RWO

OneShotEnable Trait​

Enables or disables the One-Shot voice control capability. 0 means off, 1 means on.

Trait IDCode
0x50FDOneShotEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

WakeWordSetting Trait​

Used to configure the wake words of the voice assistant, supporting a primary wake word, auxiliary wake words, and user-defined wake words.

Trait IDCode
0x50FFWakeWordSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

ControlScopeSetting Trait​

Sets the scope of voice control.

Trait IDCode
0x5101ControlScopeSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueControlScopeSettingEnum321RVWO
0x0006Supported Valuelist[ControlScopeSettingEnum32]RO
0x0007Default Valueuint321RWO

WakeSensitivity Trait​

Sets the voice wake sensitivity level.

Trait IDCode
0x5103WakeSensitivity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueWakeSensitivityEnum320RVWO
0x0006Supported Valuelist[WakeSensitivityEnum32]RO
0x0007Default Valueuint320RWO

NearFieldWakeEnabled Trait​

Enables or disables the near-field wake function.

Trait IDCode
0x5104NearFieldWakeEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AiRecommendEnabled Trait​

Enables or disables the AI recommendation function.

Trait IDCode
0x5105AiRecommendEnabled
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

VoiceTimbre Trait​

Indicates the voice timbre used by the voice assistant. 0 means male voice, 1 means female voice.

Trait IDCode
0x51F2VoiceTimbre
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVoiceTimbreEnum80RVWO
0x0006Supported Valuelist[VoiceTimbreEnum8]RO
0x0007Default Valueuint80RWO

ContinuousChatEnable Trait​

Used to enable or disable the continuous conversation function of the voice assistant. When enabled, users can converse continuously without frequently waking the voice assistant; the user can quickly end the current continuous conversation by saying "Goodbye".

Trait IDCode
0x51F3ContinuousChatEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

VoiceControlLanguage Trait​

Indicates the language types supported for recognition by voice control.

Trait IDCode
0x51F4VoiceControlLanguage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVoiceControlLanguageEnum81RVWO
0x0006Supported Valuelist[VoiceControlLanguageEnum8]RO
0x0007Default Valueuint81RWO

Command Definitions​

Command IDNameConformance
0x9D5FTriggerVoiceAssistantWakeO

TriggerVoiceAssistantWake Command​

This command triggers the device to wake the voice assistant so that it is ready to receive voice commands. The action parameter is an enumeration: NO_ACTION (0) means no operation, WAKE (1) means activate the voice assistant, and ExitVoiceControl (2) means exit voice control.

Parameters​

TriggerVoiceAssistantWake Command Structure

VoiceIntercom (Voice Intercom)​

Introduction​

Manages the voice intercom capabilities of the device, including the list of online devices available for intercom.

Function Identifier​

Function IDCodeName
TBDVoiceIntercomVoice intercom

Trait​

Trait IDCodeNameConformance
0x50F8IntercomDevicesListOnline intercom device listO

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x50F8IntercomDevicesListO

IntercomDevicesList Trait (Online Intercom Device List)​

Reports the list of devices currently discovered by the gateway that support intercom and are online.

Trait IDCode
0x50F8IntercomDevicesList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

Command Definitions​

This Function does not contain any Commands.

SpaceSecurity (Space Security)​

Introduction​

Manages the security capabilities of the device within a specific space, including alarm bell, volume, arm/disarm status, and alarm duration.

Function Identifier​

Function IDCodeName
0x0106SpaceSecuritySpace security

Trait​

Trait IDCodeNameConformance
0x4FFAAlarmStatusSecurity alarm statusM
0x50F9AlarmBellIndexAlarm bellO
0x50FAAlarmDurationAlarm durationO
0x50FBGuardStatusSecurity guard statusO

Command​

This Function does not contain any Commands.

Data Types​

AlarmStatusEnum8 Type​

This enumeration defines the valid values of the Present Value for the AlarmStatus Trait.

ValueNameDescription
0x00NormalNormal
0x01ConfirmedAbnormalConfirmed abnormal
0x02UnconfirmedNormalUnconfirmed normal
0x03UnconfirmedAbnormalUnconfirmed abnormal
AlarmBellIndexEnum32 Type​

This enumeration defines the valid values of the Present Value for the AlarmBellIndex Trait.

ValueNameDescription
0x00PoliceCarSound1Police car sound 1
0x01PoliceCarSound2Police car sound 2
0x02SafetyAccidentSoundSafety accident sound
0x03MissileCountdownMissile countdown
0x04GhostScreamGhost scream
0x05SniperGunSniper rifle
0x06BattleSoundIntense battle sound
0x07AirRaidAlarmAir raid siren
0x08DogBarkDog bark
0x2710DefaultRingtoneDefault ringtone
GuardStatusEnum8 Type​

This enumeration defines the valid values of the Present Value for the GuardStatus Trait.

ValueNameDescription
0x00HomeHome guard
0x01AwayAway guard
0x02SleepSleep guard
0x03OffDisarmed
0x04BasicBasic guard

Trait Definitions​

Trait IDNameConformance
0x4FFAAlarmStatusM
0x50F9AlarmBellIndexO
0x50FAAlarmDurationO
0x50FBGuardStatusO

AlarmStatus Trait (Security Alarm Status)​

Specifies the current alarm status of the system. The values include: Normal means no abnormality; ConfirmedAbnormal means a confirmed abnormality requiring action; UnconfirmedNormal means the abnormality has not yet been confirmed and monitoring continues; UnconfirmedAbnormal means a possible abnormality that needs verification.

Trait IDCode
0x4FFAAlarmStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAlarmStatusEnum80RVWM
0x0006Supported Valuelist[AlarmStatusEnum8]RO
0x0007Default Valueuint80RWO

AlarmBellIndex Trait (Alarm Bell)​

Sets or reads the security alarm bell index. When the value is 10000, the default ringtone is played.

Trait IDCode
0x50F9AlarmBellIndex
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAlarmBellIndexEnum320RVWO
0x0006Supported Valuelist[AlarmBellIndexEnum32]RO
0x0007Default Valueuint320RWO

AlarmDuration Trait (Alarm Duration)​

Sets or reads the duration of the alarm bell, in seconds. A value of 0 means single playback.

Trait IDCode
0x50FAAlarmDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint3260RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint3260RWO

GuardStatus Trait (Security Guard Status)​

Indicates the current security guard mode and is used to synchronize the guard status with ecosystems such as HomeKit.

Trait IDCode
0x50FBGuardStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueGuardStatusEnum80RVWO
0x0006Supported Valuelist[GuardStatusEnum8]RO
0x0007Default ValueGuardStatusEnum80RWO

Command Definitions​

This Function does not contain any Commands.

Massage (Massage)​

Introduction​

Manages electric bed comfort and posture adjustment, including back/leg lifting, massage mode/intensity/timer, and child lock and emergency stop.

Function Identifier​

Function IDCodeName
0x0107MassageMassage

Trait​

Trait IDCodeNameConformance
0x507EMassageLevelMassage intensityO
0x507FMassageModeMassage modeO
0x5081MassageEffectMassage effectO
0x5082MassageTimerMassage timerO
0x5083BackrestLiftBackrest lift adjustmentO
0x5084LegrestLiftLegrest lift adjustmentO
0x5085BackLegLiftBack and leg lift togetherO
0x5086BackLegDownBack and leg lower togetherO

Command​

Command IDCodeNameConformance
0x80C5StopStopO

Data Types​

MassageLevelEnum8 Type​

This enumeration defines the valid values of the Present Value for the MassageLevel Trait.

ValueNameDescription
0x00LowWeak
0x01MediumMedium
0x02HighStrong
MassageModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the MassageMode Trait.

ValueNameDescription
0x00OffOff
0x01ContinuousVibrationContinuous vibration massage
0x02IntermittentPulseIntermittent pulse massage
0x03WaveCushionWave cushioning massage
MassageEffectEnum8 Type​

This enumeration defines the valid values of the Present Value for the MassageEffect Trait.

ValueNameDescription
0x00ZeroPressureZero pressure
0x01YogaYoga
0x02SleepSleep
0x03MovieMovie watching
0x04NursingNursing
0x05AntiSnoringAnti-snoring
MassageTimerEnum8 Type​

This enumeration defines the valid values of the Present Value for the MassageTimer Trait.

ValueNameDescription
0x0010mins10 minutes
0x0120mins20 minutes
0x0230mins30 minutes
BackLegLiftEnum8 Type​

This enumeration defines the valid values of the Present Value for the BackLegLift Trait.

ValueNameDescription
0x00PausePaused
0x01StartExecuting
BackLegDownEnum8 Type​

This enumeration defines the valid values of the Present Value for the BackLegDown Trait.

ValueNameDescription
0x00PausePaused
0x01StartExecuting

Trait Definitions​

Trait IDNameConformance
0x507EMassageLevelO
0x507FMassageModeO
0x5081MassageEffectO
0x5082MassageTimerO
0x5083BackrestLiftO
0x5084LegrestLiftO
0x5085BackLegLiftO
0x5086BackLegDownO

MassageLevel Trait (Massage Intensity)​

Defines the intensity or speed level of the massage function, usually from low to high.

Trait IDCode
0x507EMassageLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMassageLevelEnum80RVWO
0x0006Supported Valuelist[MassageLevelEnum8]RO
0x0007Default ValueMassageLevelEnum80RWO

MassageMode Trait (Massage Mode)​

Specifies the operating mode or style of the massage function.

Trait IDCode
0x507FMassageMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMassageModeEnum80RVWO
0x0006Supported Valuelist[MassageModeEnum8]RO
0x0007Default ValueMassageModeEnum80RWO

MassageEffect Trait (Massage Effect)​

Specifies a preset massage effect or environment to provide a curated experience.

Trait IDCode
0x5081MassageEffect
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMassageEffectEnum80RVWO
0x0006Supported Valuelist[MassageEffectEnum8]RO
0x0007Default ValueMassageEffectEnum80RWO

MassageTimer Trait (Massage Timer)​

Specifies the target duration or timer setting of the massage session, which automatically turns off after the timeout.

Trait IDCode
0x5082MassageTimer
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMassageTimerEnum80RVWO
0x0006Supported Valuelist[MassageTimerEnum8]RO
0x0007Default ValueMassageTimerEnum80RWO

BackrestLift Trait (Backrest Lift Adjustment)​

Controls the adjustment of the backrest section, allowing it to rise or lower to support the user's upper body. Unit: deg.

Trait IDCode
0x5083BackrestLift
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat60.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

LegrestLift Trait (Legrest Lift Adjustment)​

Controls the adjustment of the leg support section, allowing it to rise or lower to support the user's legs. Unit: deg.

Trait IDCode
0x5084LegrestLift
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat40.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

BackLegLift Trait (Back and Leg Lift Together)​

Executes or controls the simultaneous rise of the backrest and leg rest for synchronized lifting.

Trait IDCode
0x5085BackLegLift
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBackLegLiftEnum80RVWO
0x0006Supported Valuelist[BackLegLiftEnum8]RO
0x0007Default ValueBackLegLiftEnum80RWO

BackLegDown Trait (Back and Leg Lower Together)​

Executes or controls the simultaneous lowering of the backrest and leg rest to flatten the bed.

Trait IDCode
0x5086BackLegDown
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueBackLegDownEnum80RVWO
0x0006Supported Valuelist[BackLegDownEnum8]RO
0x0007Default ValueBackLegDownEnum80RWO

Command Definitions​

Command IDNameConformance
0x80C5StopO

Stop Command​

This command should request the device to stop the current operation.

This Command has no parameters.

TowelRackDry (Towel Rack Drying)​

Introduction​

Manages the towel rack drying process, controlling the target temperature and drying duration, and reporting the remaining time and fault status.

Function Identifier​

Function IDCodeName
0x0108TowelRackDryTowel rack drying

Trait​

Trait IDCodeNameConformance
0x80B8CurrentTemperatureTemperatureO
0x5087TowelRackFaultTowel rack faultO
0x4E46RemainingDurationRemaining durationO
0x4F85DryingDurationSet drying durationO
0x4E5BSetTemperatureSet temperatureO
0x5078DryingModeDrying modeO

Command​

This Function does not contain any Commands.

Data Types​

TowelRackFaultEnum8 Type​

This enumeration defines the valid values of the Present Value for the TowelRackFault Trait.

ValueNameDescription
0x00NormalNormal
0x01TemperatureSensorFaultTemperature probe fault
0x02HeatingWireFaultHeating wire fault (no temperature rise)
0x03WiFiFaultWiFi fault
0x04ControllerFaultController fault
DryingModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the DryingMode Trait.

ValueNameDescription
0x00OffOff
0x01OnOn

Trait Definitions​

Trait IDNameConformance
0x80B8CurrentTemperatureO
0x5087TowelRackFaultO
0x4E46RemainingDurationO
0x4F85DryingDurationO
0x4E5BSetTemperatureO
0x5078DryingModeO

CurrentTemperature Trait (Temperature)​

Indicates the current temperature. Unit: deg C.

Trait IDCode
0x80B8CurrentTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat26RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat26RWO

TowelRackFault Trait (Towel Rack Fault)​

Indicates detected operational errors or hardware faults related to the drying system.

Trait IDCode
0x5087TowelRackFault
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTowelRackFaultEnum80RVO
0x0006Supported Valuelist[TowelRackFaultEnum8]RO

RemainingDuration Trait (Remaining Duration)​

RemainingDuration indicates the remaining time that the valve will continue to operate before it automatically turns off. Unit: S.

Trait IDCode
0x4E46RemainingDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat100000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO
0x000DIs NullbooleanFalseRVWO

DryingDuration Trait (Set Drying Duration)​

Sets the duration of the drying function. Unit: S.

Trait IDCode
0x4F85DryingDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat180RVWO
0x0002Maximum Valuefloat600.0RO
0x0003Minimum Valuefloat60.0RO
0x0005Step Valuefloat60.0RO
0x0007Default Valuefloat180RWO

SetTemperature Trait (Set Temperature)​

SetTemperature allows the user to specify and adjust the target temperature of the device or system. Unit: deg C.

Trait IDCode
0x4E5BSetTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat20RVWO
0x0002Maximum Valuefloat32RO
0x0003Minimum Valuefloat5RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat20RWO

DryingMode Trait (Drying Mode)​

Should indicate the on/off state of the drying mode.

Trait IDCode
0x5078DryingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDryingModeEnum80RVWO
0x0006Supported Valuelist[DryingModeEnum8]RO
0x0007Default ValueDryingModeEnum80RWO

Command Definitions​

This Function does not contain any Commands.

Live (Live)​

Introduction​

Controls the live video stream, supporting enhanced capabilities such as timelapse, zoom, sleep/wake, and related event recording.

Function Identifier​

Function IDCodeName
0x0109LiveLive

Trait​

Trait IDCodeNameConformance
0x4FFFCloudTimelapseInfoCloud timelapse infoO
0x50CACloseUpTrackingEnableClose-up tracking enableO
0x4FC0RelatedEventRecordEnableRelated event record enableO
0x4FC7TimelapseEnableTimelapse enableO
0x4FC8TimelapseTimePeriodTimelapse time periodO
0x517ETimelapsePushEnableTimelapse push enableO
0x51EESmartEventFilterEnableSmart event filter enableO

Command​

Command IDCodeNameConformance
0x9D3ACameraActiveToggleCamera sleep toggle commandO

Data Types​

CameraActiveToggle Command Structure Type​

Parameter structure of the CameraActiveToggle Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MCommand type.

Trait Definitions​

Trait IDNameConformance
0x4FFFCloudTimelapseInfoO
0x50CACloseUpTrackingEnableO
0x4FC0RelatedEventRecordEnableO
0x4FC7TimelapseEnableO
0x4FC8TimelapseTimePeriodO
0x517ETimelapsePushEnableO
0x51EESmartEventFilterEnableO

SmartEventFilterEnable Trait (Smart Event Filter Enable)​

Smart event filter enable. When enabled, the camera reduces duplicate recording and reporting of similar events. When an event is first detected, the event video is recorded normally; when similar events continue to occur within a short period, the recording frequency is reduced, recording event changes through interval snapshots that can be viewed continuously on the timeline. This Trait is boolean with a default value of 0 (disabled).

Trait IDCode
0x51EESmartEventFilterEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CloudTimelapseInfo Trait (Cloud Timelapse Info)​

Provides cloud timelapse task information, including task count, task ID, activation status, daily repeat flag, start and end dates, start and end times (absolute time or relative to sunrise/sunset), and capture interval.

Trait IDCode
0x4FFFCloudTimelapseInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCloudTimelapseInfoTraitPresentValueStructureRVWO

CloseUpTrackingEnable Trait (Close-Up Tracking Enable)​

Enables or disables the close-up tracking capability of the camera. When enabled, the camera can automatically zoom in on the target area when a target is detected.

Trait IDCode
0x50CACloseUpTrackingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

RelatedEventRecordEnable Trait (Related Event Record Enable)​

Enables or disables local recording when related events (such as those from other Zigbee/Thread sensors) occur. Allows recording to be triggered by external devices such as door/window sensors.

Trait IDCode
0x4FC0RelatedEventRecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TimelapseEnable Trait (Timelapse Enable)​

Enables or disables the timelapse function. When enabled, the device captures an image sequence at fixed intervals (configured separately) and composites them into a video.

Trait IDCode
0x4FC7TimelapseEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

TimelapseTimePeriod Trait (Timelapse Time Period)​

Defines a scheduled plan for the active period of timelapse recording. The scheduling configuration structure contains three fields: starttime, endtime, and repeat. starttime and endtime are strings in "HH:MM" format (24-hour), ranging from "00:00" to "23:59", defining the start and end times of the active period. If they are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of unsigned 8-bit integers with a length of 7, whose index order corresponds to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. A value of 1 means the working day is active, and 0 means it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FC8TimelapseTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTimelapseTimePeriodTraitPresentValueStructureRVWO

TimelapsePushEnable Trait (Timelapse Push Enable)​

Timelapse push enable. Controls whether timelapse content is pushed. 0 = off, 1 = on.

Trait IDCode
0x517ETimelapsePushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

Command IDNameConformance
0x9D3ACameraActiveToggleO

CameraActiveToggle Command​

This Command is used to perform the "Camera Sleep Toggle Command" operation.

Parameters​

CameraActiveToggle Command Structure

Playback (Playback)​

Interaction Flow​

Downloading the Local Recording Index File​

This section describes the flow in which the App downloads the local recording index file over the WebRTC DataChannel. The index granularity is day: at most one entry per day. A single query can span multiple days, and the response member LocalRecordIndex is the list of those days. When the number of days is small, MaxCount / Cursor are usually not needed.

  • Command: LocalRecordQuery with QueryLocalRecordType=LocalRecordIndex; the parameters are in the member LocalRecordIndex. It is exchanged via InvokeCommand on label aqara.control; the request OpCode is 0x008D and the response OpCode is 0x038D.
  • Response: the ComplexACK of this Command. Member 0 is Status, and the member LocalRecordIndex is a list of LocalRecordIndexEntryStructure.

To query a time range, pass the whole range; the device puts one entry per day into the response member LocalRecordIndex. The file transfer uses the FileDescriptor of that entry, written into initRequest. Date does not enter the transfer. On label aqara.download, only one FileDescriptor is transferred at a time; a new initRequest SHALL NOT be issued before the previous one finishes. Block interactions are not expanded in this diagram.

Downloading Local Recording Files​

This section describes the flow in which the App downloads local recording files over the WebRTC DataChannel. The App first downloads the local recording index file, reads the timestamp values to fetch from the index file, and then queries the local recording file descriptors.

  • Command: the same LocalRecordQuery with QueryLocalRecordType=LocalRecordSegment; the parameters are in the member LocalRecordSegment, where Timestamps come from the index. It is exchanged via InvokeCommand on label aqara.control.
  • Response: the ComplexACK of this Command. The member LocalRecordSegment has the same length and order as Timestamps, and each entry is a FileDescriptorStructure.

On label aqara.download, only one FileDescriptor is transferred at a time; a new initRequest SHALL NOT be issued before the previous one finishes. When an entry has a fileSize of 0, skip that entry and do not issue an initRequest for it. Block interactions are not expanded in this diagram. When the list exceeds a single message, the App splits it into multiple requests. Retransmitting the same query after a timeout is safe; queries do not change device state.

Introduction​

Manages recording playback and history, including cloud clip type identification, local recording download capability, and the state and playback position of local playback sessions. Playback sessions are established by WebRTCProvideOffer (StreamUsage=LocalPlayback); pause, resume, seek, and speed are handled by LocalPlaybackControl. Local recording index and recording file descriptors are queried by LocalRecordQuery.

Function Identification​

Function IDCodeName
0x010APlaybackPlayback

Trait​

Trait IDCodeNameConformance
0x4FE9CloudClipRecordingTypeCloud clip recording typeO
0x4FC1SupportLocalVideoDownloadWhether local video download is supportedO
0x5243LocalPlaybackStatusLocal playback statusO

Command​

The Commands of this Function are exchanged via InvokeCommand on the aqara.control label of the playback session.

Command IDCodeConformance
0x9DB7LocalPlaybackControlO
0x9DB8LocalRecordQueryO

Data Types​

CloudClipRecordingTypeEnum8 Type​

This enumeration defines the valid values of the Present Value for the CloudClipRecordingType Trait.

ValueNameDescription
0x00DefaultDefault
0x01RecordingRecording
0x16AssociatedEventRelated event
0x1BSecurityAssociatedSecurity related event
LocalPlaybackStateEnum8 Type​
ValueNameDescription
0x00IdleNot playing
0x01PlayingPlaying
0x02PausedPaused; the PeerConnection is kept
0x03EofPlayed to the end of the file
0x04StoppedStopped by the device side
0x05StorageUnavailableSD card removed or unreadable
LocalPlaybackStatusStructure Type​
Struct Member IndexField NameTypeMandatoryDescription
0StateLocalPlaybackStateEnum8MCurrent state
1SessionIduint16OCarried when reporting or reading over COIP. Omitted in DataChannel reporting; the session is determined by that channel
LocalRecordTypeEnum Type​

This enumeration is the type of each record in the per-day sub-index file. The App reads it from the downloaded index file; query responses do not return it again.

ValueNameDescription
0FullRecordingFull-time recording
1EventTriggeredEvent triggered
2AlarmRecordAlarm record
LocalPlaybackControlOpEnum8 Type​
ValueNameDescription
0x00PausePause. Stops reading frames; the PeerConnection is kept
0x01PlayResume playback
0x02SeekSeek. Timestamp is valid
0x03SpeedSpeed. Speed is valid
LocalPlaybackControl Command Structure Type​

The request structure of LocalPlaybackControl.

Struct Member IndexField NameTypeMandatoryDescription
0OpLocalPlaybackControlOpEnum8MOperation
1Speeduint8CShall be 1 / 2 / 4 when Op=Speed; SHALL be omitted for other Op values
2Timestampuint32CThe target UTC timestamp (seconds) when Op=Seek, aligned with the timestamp in the index entry; SHALL be omitted for other Op values
3SessionIduint16OCarried over COIP to specify the playback session to control. Omitted on DataChannel; the session is determined by that channel
LocalPlaybackControlResponse Command Structure Type​

The response structure of LocalPlaybackControl.

Struct Member IndexField NameTypeMandatoryDescription
0StatusStatusCodeEnum8MCommand execution result; see the command definition for values
1CurrentTimestampuint32MThe current playback position (seconds) on the device side after execution
Recording Queries​

Queries only distinguish LocalRecordIndex and LocalRecordSegment. QueryLocalRecordType indicates which one it is, and only the member it points to appears in the request and response. File descriptors use FileDescriptorStructure, filled in by the device. The App SHALL write it into initRequest as-is and SHALL NOT construct fileDesignator by itself from dates or timestamps.

ContentType remains a business convention and is not carried in queries or file transfers.

LocalRecordIndex and LocalRecordSegment form two levels. The index lists which days exist; segment resolution is not responsible for listing segments.

AnswersWhat it corresponds to on the device
LocalRecordIndexWhich days have index files matching the query conditionsPer-day sub-index files. After download, each record in the file gives the timestamp, duration, and type of a recording segment
LocalRecordSegmentThe recording files corresponding to these timestamp valuesThe device locates recording files by timestamp and returns FileDescriptorStructure

Index entries additionally carry a UTC date outside FileDescriptorStructure, used only for display and not entering initRequest. The response of segment resolution is FileDescriptorStructure.

QueryLocalRecordTypeEnum8 Type​

LocalRecordQuery uses it to select the parameters and results of this query. It is not the same enumeration as LocalRecordTypeEnum inside the index file.

ValueNameDescription
0x00LocalRecordIndexQuery which days have index files. The parameters and results use the member LocalRecordIndex
0x01LocalRecordSegmentResolve the timestamp values in the index into recording file descriptors. The parameters and results use the member LocalRecordSegment
LocalRecordQuery Command Structure Type​

QueryLocalRecordType decides which condition member appears. If the appearing member is inconsistent with the value, or both condition members appear, or neither appears, the response Status is INVALID_COMMAND. Cursor and MaxCount appear only when QueryLocalRecordType=LocalRecordIndex.

Struct Member IndexField NameTypeMandatoryDescription
0TypeQueryLocalRecordTypeEnum8MKind of this query
1IndexLocalRecordIndexQueryParamsStructureCAppears when QueryLocalRecordType=LocalRecordIndex
2SegmentLocalRecordSegmentQueryParamsStructureCAppears when QueryLocalRecordType=LocalRecordSegment
3Cursoruint16OOnly for LocalRecordIndex. The entry index within the matching results, starting from 0. Taken from the NextCursor of the previous response; omitted or 0 means starting from the first entry
4MaxCountuint16OOnly for LocalRecordIndex. The desired maximum number of entries; omitted or 0 means decided by the device
LocalRecordIndexQueryParamsStructure Type​
Struct Member IndexField NameTypeMandatoryDescription
0StartTimestampuint32OStart of the range (UTC, seconds); omitted means no lower bound
1EndTimestampuint32OEnd of the range (UTC, seconds); omitted means no upper bound

Both fields are Unix second timestamps, synonymous with the global field name timestamp in this specification; the device is responsible for mapping them to the corresponding UTC day. To query a single day, pass [00:00 of that day, 00:00 of the next day). The date in the returned entries is YYYYMMDD; fetching the file uses the FileDescriptor in the same entry.

FileDescriptorStructure Type​

The file descriptor required by the file transfer business interaction protocol before initRequest. The field meanings follow the dependency section of that protocol.

Struct Member IndexField NameTypeMandatoryDescription
0fileDesignatorcharacterStringMFile reference. UTF-8, no more than 256 bytes, bound to the authorized identity and the fixed version, and SHALL NOT be a local absolute path. Written into member 0 of initRequest. Identifies a file in the results of LocalRecordIndex and LocalRecordSegment respectively
1fileSizeuint64MFull length in bytes. When it is 0, the entry may still be returned, but SHALL NOT issue an initRequest for it. When fetching the whole file, it is used as the length of initRequest
2fileVersionuint32MFile version, range 0..4294967295. Written into member 1 of initRequest
LocalRecordIndexEntryStructure Type​
Struct Member IndexField NameTypeMandatoryDescription
0FileDescriptorFileDescriptorStructureMPer-day index file; written to initRequest when fetching bytes
1DatecharacterStringMUTC date of this index in YYYYMMDD, e.g. &quot;20261013&quot;. For display only; it does not enter initRequest
LocalRecordSegmentQueryParamsStructure Type​

The input comes from the already downloaded index file, not a time window.

Struct Member IndexField NameTypeMandatoryDescription
0Timestampslist[uint32]MThe timestamp in the index entries, one or more. An empty list is an invalid parameter.

The response member LocalRecordSegment SHALL have the same length and order as the requested Timestamps. Each entry is a FileDescriptorStructure.

LocalRecordQuery Response Command Structure Type​

QueryLocalRecordType echoes the value in the request and decides which member the result list appears in.

Struct Member IndexField NameTypeMandatoryDescription
0StatusStatusCodeEnum8MSUCCESS means the query succeeded and the result list may be empty. INVALID_COMMAND means the parameters are invalid. INVALID_IN_STATE means the storage is unavailable. DYNAMIC_CONSTRAINT_ERROR means the cursor has been invalidated
1TypeQueryLocalRecordTypeEnum8MEchoes the value in the request
2Indexlist[LocalRecordIndexEntryStructure]CAppears when QueryLocalRecordType=LocalRecordIndex
3Segmentlist[FileDescriptorStructure]CAppears when QueryLocalRecordType=LocalRecordSegment. One-to-one with the Timestamps request
4NextCursoruint16OIndex query only. The entry index of the first entry of the next page; an omitted value means the query has finished
5TotalCountuint16MReturned by both queries. For the index query it is the number of matched entries in the time range, unaffected by Cursor and MaxCount; for the segment query it is the number of entries in this Timestamps request

Trait Definitions​

Trait IDNameConformance
0x4FE9CloudClipRecordingTypeO
0x4FC1SupportLocalVideoDownloadO
0x5243LocalPlaybackStatusO

CloudClipRecordingType Trait (Cloud Clip Recording Type)​

Indicates the recording type of the triggered cloud short video (clip). Value 0 = default (unspecified), 1 = recording (general event), 22 = related event (triggered by other sensors/devices), 27 = security related event (for example, home security alarm). This feature can be read, written, and proactively reported by the device.

Trait IDCode
0x4FE9CloudClipRecordingType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCloudClipRecordingTypeEnum80RVWO
0x0006Supported Valuelist[CloudClipRecordingTypeEnum8]RO
0x0007Default Valueuint80RWO

SupportLocalVideoDownload Trait (Local Video Download Support)​

Indicates whether the device supports downloading local videos from the SD card through the App.

Trait IDCode
0x4FC1SupportLocalVideoDownload
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

LocalPlaybackStatus Trait (Local Playback Status)​

Playback status and playback position.

Trait IDCode
0x5243LocalPlaybackStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLocalPlaybackStatusStructureRVM

Reporting timing: when the status changes. When reporting on aqara.control, SessionId is omitted; when reporting via COIP or reading, SessionId is included.

Command Definitions​

Command IDNameConformance
0x9DB7LocalPlaybackControlO
0x9DB8LocalRecordQueryO

LocalPlaybackControl Command (Local Playback Control)​

Playback control of the local SD card playback session (StreamUsage=LocalPlayback).

Parameters​

LocalPlaybackControl Command Structure

Response​

LocalPlaybackControlResponse Command Structure, with Status values:

StatusMeaning
SUCCESSThe command was accepted
INVALID_IN_STATEThe session is not a playback session
INVALID_COMMANDOp is invalid or a parameter is missing. When arriving from COIP without SessionId, this value is also taken
NOT_FOUNDSessionId is not an active session, or Timestamp cannot be mapped to a recording position. When the DataChannel carries a SessionId inconsistent with that channel, this value is also taken
Processing​
  • When arriving from aqara.control, SessionId is omitted and the session is the playback session to which that channel belongs. Carrying an inconsistent SessionId -> return NOT_FOUND. When arriving from COIP, SessionId SHALL be carried; if omitted -> return INVALID_COMMAND.
  • Pause and Play belong to one category, and only the last one of the same category is kept; Seek is one category; Speed is one category. Overwritten commands are no longer reported, but each command has its own response.
  • After Op=Seek takes effect, SHALL send a key frame from the new position.

LocalRecordQuery Command (Local Recording Query)​

Queries the local recording index and resolves the timestamp values in the index into recording file descriptors. This Command belongs to the Playback Function and is exchanged via InvokeCommand on the aqara.control of the playback session.

  • Request OpCode 0x008D. objectIdentifier carries the object hosting the Playback Function. propertyIdentifier is the Command ID of this Command. propertyValue is the LocalRecordQuery Command Structure. source is the same as other Commands.
  • Response OpCode 0x038D. propertyValue is the LocalRecordQuery Response Command Structure, and member 0 is Status. Invalid parameters, unavailable storage, and invalidated cursors all stay in this ComplexACK.

With QueryLocalRecordType=LocalRecordIndex, the member LocalRecordIndex is used, which is bounded (MaxCount + Cursor) and one-question-one-answer with no progress notifications. With QueryLocalRecordType=LocalRecordSegment, the member LocalRecordSegment is used, without a cursor: the request gives which timestamps, and the response returns the file descriptors in the same order. Both queries return TotalCount.

Parameters​

LocalRecordQuery Command Structure

Response​

LocalRecordQuery Response Command Structure

See Downloading the Local Recording Index File and Downloading Local Recording Files for the flows.

Pagination Rules​

Pagination applies only to LocalRecordIndex. The range of LocalRecordSegment is the Timestamps in the request.

DimensionParametersAnswer
RangeThe timestamp range of LocalRecordIndex (StartTimestamp / EndTimestamp)Which days to query the index for
PaginationMaxCount / CursorHow many index entries this response carries. TotalCount is the number of entries in the whole range
  • Cursor and NextCursor are entry indexes into the matched results, starting from 0, not time. The App SHALL only echo the NextCursor of the previous response, and SHALL NOT compute it from Date or timestamps by itself.
  • TotalCount is returned by both queries. For the index query it is the number of matched entries in the time range; for the segment query it is the number of entries in this Timestamps request. With circular overwrite, a later page of an index query can differ from the previous page. Whether the query is finished is determined by NextCursor.
  • One response SHALL NOT exceed the limit of a single carried message. Beyond the given MaxCount, the device SHALL keep converging according to this limit.
  • An omitted NextCursor means the query has finished; an empty LocalRecordIndex with a NextCursor is legal (that page was filtered out).
  • When the cursor is invalidated, SHALL return Status = DYNAMIC_CONSTRAINT_ERROR and the App restarts the query from the beginning.
  • During pagination, circular recording may have overwritten old data, and entries may be duplicated or missing. The device SHOULD keep the result consistent within the cursor lifetime; if it cannot, the App deduplicates by fileDesignator.
  • Repeated queries of the hole-refetching kind SHOULD follow a minimum interval (500 ms is used for index queries in production).

CloudRecording (Cloud Recording)​

Introduction​

Controls the master switch of cloud recording, determining whether video content is uploaded to cloud storage.

Function Identifier​

Function IDCodeName
0x010BCloudRecordingCloud recording

Trait​

Trait IDCodeNameConformance
0x5026CloudRecordingEnableCloud video recording master enableO

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x5026CloudRecordingEnableO

CloudRecordingEnable Trait (Cloud Video Recording Master Enable)​

The master switch to enable or disable event cloud recording.

Trait IDCode
0x5026CloudRecordingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain any Commands.

CameraSettings (More Settings)​

Introduction​

Provides extended camera configurations, such as periodic snapshot upload, RTSP streaming, and advanced feature switches.

Function Identifier​

Function IDCodeName
0x010CCameraSettingsMore settings

Trait​

Trait IDCodeNameConformance
0x5028PeriodicSnapshotUploadEnablePeriodic snapshot upload enableO
0x5249PeriodicSnapshotIntervalPeriodic snapshot intervalO
0x4F91CameraRTSPEnableCamera RTSP enableO
0x4F90CameraRTSPURLCamera RTSP URLO
0x5171ClientKeepAliveReqClient keep-alive requestO
0x5180VideoAutoBrightSupportVideo auto brightness supportO
0x5181IrcutThresholdIR-Cut switch thresholdO

Command​

This Function does not contain any Commands.

Data Types​

PeriodicSnapshotIntervalEnum8 Type​

This enumeration defines the valid values of the Present Value for the PeriodicSnapshotInterval Trait.

ValueNameDescription
0x00AutoAuto
0x01Minutes1010 minutes
0x02Minutes3030 minutes
0x03Minutes6060 minutes
0x04Minutes120120 minutes
0x05Minutes240240 minutes

ClientKeepAliveReqEnum8 Type​

This enumeration defines the valid values of the Present Value for the ClientKeepAliveReq Trait.

ValueKeyChinese NameDescription
0x01KeepAliveKeep-alive requestClient keep-alive request.

Trait Definitions​

Trait IDNameConformance
0x5028PeriodicSnapshotUploadEnableO
0x5249PeriodicSnapshotIntervalO
0x4F91CameraRTSPEnableO
0x4F90CameraRTSPURLO
0x5171ClientKeepAliveReqO
0x5180VideoAutoBrightSupportO
0x5181IrcutThresholdO

PeriodicSnapshotUploadEnable Trait (Periodic Snapshot Upload Enable)​

Enables or disables periodic snapshot upload to the cloud. When PeriodicSnapshotInterval is implemented, the capture interval is configured by that Trait; when it is not implemented, the behavior of uploading one frame every 10 minutes is maintained.

Trait IDCode
0x5028PeriodicSnapshotUploadEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

PeriodicSnapshotInterval Trait (Periodic Snapshot Interval)​

Device-side periodic snapshot capture interval. It can be configured and takes effect after PeriodicSnapshotUploadEnable is enabled, replacing the fixed interval of capturing one frame every 10 minutes. 0 means the device decides the interval automatically; non-zero values execute the interval specified by the enumeration. The default is 0, and it is readable, writable, and reportable.

Trait IDCode
0x5249PeriodicSnapshotInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePeriodicSnapshotIntervalEnum80RVWO
0x0006Supported Valuelist[PeriodicSnapshotIntervalEnum8]RO
0x0007Default ValuePeriodicSnapshotIntervalEnum80RWO

CameraRTSPEnable Trait (Camera RTSP Enable)​

Indicates the RTSP (Real Time Streaming Protocol) enable switch configuration of the camera. When enabled, the live video stream can be accessed through the RTSP protocol; when disabled, RTSP access is forbidden.

Trait IDCode
0x4F91CameraRTSPEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraRTSPURL Trait (Camera RTSP URL)​

Indicates the RTSP (Real Time Streaming Protocol) URL of the camera, used to access the live video stream through the RTSP protocol. This property returns a JSON object whose keys are resolution identifiers (such as "360p", "720p", "1080p", "4mp") and whose values are the corresponding complete RTSP URL strings. Example format: {"360p": "rtsp://192.168.1.109:8554/360p","720p": "rtsp://192.168.1.109:8554/720p","1080p": "rtsp://192.168.1.109:8554/1080p","4mp": "rtsp://192.168.1.109:8554/4mp"}

Trait IDCode
0x4F90CameraRTSPURL
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVO

ClientKeepAliveReq Trait (Client Keep-Alive Request)​

A keep-alive request sent by the client (APP) to a low-power device to prevent the device from sleeping during the setup process. Upon receiving it, the device should reset the sleep timer.

Trait IDCode
0x5171ClientKeepAliveReq
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueClientKeepAliveReqEnum8RVWO
0x0007Default ValueClientKeepAliveReqEnum81RWO

VideoAutoBrightSupport Trait (Video Auto Brightness Support)​

Video auto brightness support. Used to identify whether the device supports automatically adjusting video brightness. 0 = not supported, 1 = supported.

Trait IDCode
0x5180VideoAutoBrightSupport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVO
0x0007Default Valueboolean1RWO

IrcutThreshold Trait (IR-Cut Switch Threshold)​

IR-Cut switch threshold. Used to control the switching of the infrared filter.

Trait IDCode
0x5181IrcutThreshold
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint850RVWO
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint80RO
0x0007Default Valueuint850RWO

Command Definitions​

This Function does not contain any Commands.

AIDetection (AI Detection)​

Introduction​

Performs AI-driven image and audio analysis to achieve event detection, content recognition, and intelligent alerts.

Function Identifier​

Function IDCodeName
0x010DAIDetectionAI detection

Trait​

Trait IDCodeNameConformance
0x507CLensObstructionDetectedLens obstruction detection eventO
0x4FE0LensObstructionPushEnableLens obstruction push enableO
0x4FDFLensObstructionTimePeriodLens obstruction time periodO
0x4FDELensObstructionEnableLens obstruction enableO
0x4FFCLensObstructionRecordEnableLens obstruction record enableO
0x4FFDLensObstructionIntervalLens obstruction detection intervalO
0x4FFBLensObstructionSensitivityLens obstruction detection sensitivityO
0x5191LensObstructionBitmaskRegionLens obstruction region settingO
0x4FC3AIVideoSummaryEnableAI video summary enableO
0x4FC2AIVideoSearchEnableAI video search enableO

Command​

This Function does not contain any Commands.

Data Types​

LensObstructionDetectedEnum8 Type​

This enumeration defines the valid values of the Present Value for the LensObstructionDetected Trait.

ValueNameDescription
0x01DetectedLens obstruction detected
LensObstructionTimePeriodTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the LensObstructionTimePeriod Trait.

Structure Member IndexField NameTypeRequiredDescription
0starttimecharacterStringMStart time, in HH:MM format (24-hour).
1endtimecharacterStringMEnd time, in HH:MM format (24-hour).
2repeatarray[uint32]MA weekday repeat flag with a fixed length of 7, in order from Sunday to Saturday; 1 means active, 0 means inactive.
LensObstructionBitmaskRegionTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the LensObstructionBitmaskRegion Trait.

Structure Member IndexField NameTypeRequiredDescription
0detect_regioncharacterStringMA bitmask in hexadecimal string form, where each bit corresponds to a grid cell.
1effective_bitsint32MThe number of valid bits in the bitmask; bits beyond this number should be ignored.
LensObstructionSensitivityEnum8 Type​

This enumeration defines the valid values of the Present Value for the LensObstructionSensitivity Trait.

ValueNameDescription
0x00LowestMinimum
0x01LowLow
0x02MediumMedium
0x03HighHigh
0x04HighestMaximum

Trait Definitions​

Trait IDNameConformance
0x507CLensObstructionDetectedO
0x4FE0LensObstructionPushEnableO
0x4FDFLensObstructionTimePeriodO
0x4FDELensObstructionEnableO
0x4FFCLensObstructionRecordEnableO
0x4FFDLensObstructionIntervalO
0x4FFBLensObstructionSensitivityO
0x5191LensObstructionBitmaskRegionO
0x4FC3AIVideoSummaryEnableO
0x4FC2AIVideoSearchEnableO

LensObstructionDetected Trait (Lens Obstruction Detection Event)​

An event Trait indicating that the camera lens is obstructed (partially or completely). When the device detects lens obstruction, it reports this Trait with a value of 1.

Trait IDCode
0x507CLensObstructionDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLensObstructionDetectedEnum81VO
0x0006Supported Valuelist[LensObstructionDetectedEnum8]RO

LensObstructionPushEnable Trait (Lens Obstruction Push Enable)​

Enables or disables push notifications for lens obstruction events. When enabled, the user will receive an alert when the lens is obstructed.

Trait IDCode
0x4FE0LensObstructionPushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

LensObstructionTimePeriod Trait (Lens Obstruction Detection Time Period)​

Defines the time period during which lens obstruction detection is active. The schedule configuration structure contains three fields: starttime, endtime, and repeat. starttime and endtime are strings in "HH:MM" format (24-hour), ranging from "00:00" to "23:59", defining the start and end times of the active period. If they are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of unsigned 8-bit integers with a length of 7, whose index order corresponds to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. A value of 1 means the working day is active, and 0 means it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FDFLensObstructionTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLensObstructionTimePeriodTraitPresentValueStructureRVWO

LensObstructionEnable Trait (Lens Obstruction Enable)​

Enables or disables the lens obstruction detection function. When enabled, the camera monitors whether the lens is partially or completely obstructed and can trigger events, recordings, or notifications accordingly.

Trait IDCode
0x4FDELensObstructionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

LensObstructionRecordEnable Trait (Lens Obstruction Record Enable)​

Enables or disables local recording when lens obstruction is detected.

Trait IDCode
0x4FFCLensObstructionRecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

LensObstructionInterval Trait (Lens Obstruction Detection Interval)​

The time interval (in seconds) between consecutive lens obstruction detection triggers.

Trait IDCode
0x4FFDLensObstructionInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint16180RVWO
0x0002Maximum Valueuint1665535RO
0x0003Minimum Valueuint160RO
0x0005Step Valueuint321RO
0x0007Default Valueuint16180RWO

LensObstructionSensitivity Trait (Lens Obstruction Detection Sensitivity)​

This Trait is used to configure the sensitivity level of lens obstruction detection. The valid values are 0, 1, 2, 3, and 4, corresponding to minimum, low, medium, high, and maximum sensitivity, respectively. Higher sensitivity makes the function more responsive to trigger conditions (for example, detecting weak signals or small targets more easily); lower sensitivity requires more obvious triggers to respond.

Trait IDCode
0x4FFBLensObstructionSensitivity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLensObstructionSensitivityEnum81RVWO
0x0006Supported Valuelist[LensObstructionSensitivityEnum8]RO
0x0007Default Valueuint81RWO

LensObstructionBitmaskRegion Trait (Lens Obstruction Region Setting)​

Represents the configuration of the lens obstruction detection region. The region configuration is defined based on a grid mask. It contains two fields: detect_region (hexadecimal string) and effective_bits (integer). Each bit in the hexadecimal string corresponds to a grid cell (for example, dividing the picture into 24 cells). A bit value of 1 means detection or recognition is enabled for the corresponding cell, and 0 means it is disabled. The bit arrangement follows a predefined order (for example, from left to right or from the most significant bit to the least significant bit). The effective_bits field specifies the number of actually valid bits in the hexadecimal string, allowing the string to keep a fixed length while only the first N bits are meaningful. For example, "FF" means 8 consecutive bits are all 1. If effective_bits is 32, all 32 bits are valid; if it is 24, only the first 24 bits are valid.

Trait IDCode
0x5191LensObstructionBitmaskRegion
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLensObstructionBitmaskRegionTraitPresentValueStructureRVWO

AIVideoSummaryEnable Trait (AI Video Summary Enable)​

Enables or disables AI video summary generation. AI extracts key moments (events) and composites them into a short video summary.

Trait IDCode
0x4FC3AIVideoSummaryEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AIVideoSearchEnable Trait (AI Video Search Enable)​

Enables or disables the AI video search function. When enabled, the user can search recordings by object type (such as person, vehicle, package).

Trait IDCode
0x4FC2AIVideoSearchEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain any Commands.

VideoSettings (Video Settings)​

Introduction​

Manages image processing and picture presentation, including image quality, watermark, privacy masking, night vision, and fill light linkage.

Function Identifier​

Function IDCodeName
0x010EVideoSettingsVideo settings

Trait​

Trait IDCodeNameConformance
0x5019AIDetectionBoxEnableDisplay detection box enableO
0x5000HdrEnableHDR enableO
0x4FD0VideoCorrectionEnableVideo correction enableO
0x4FCEOSDTimeFormatSettingTime watermark format settingO
0x4FCFImageFlipModeImage flipO
0x4FCBOSDWatermarkEnableOSD time watermark enableO
0x4FCAInfraredNightVisionSettingNight vision settingO
0x5018PrivacyMaskRegionsPrivacy mask regionO
0x5017PowerFrequencyPower frequencyO
0x4FB0LogoWatermarkEnableLogo watermark enableO
0x4FDBWhiteLightDurationWhite light durationO
0x4FDAEventLightingModeEvent-triggered lighting modeO
0x4FBFLightingTimePeriodLighting time periodO
0x4FBELightUpWhenEventDetectedLight up when event detectedO
0x5014WhiteLightOnOffWhite light switchO
0x5016WhiteLightBrightnessWhite light brightness settingO
0x50E0VideoBrightnessRangeVideo brightness range settingO

Command​

Command IDCodeNameConformance
0x9D3EWhiteLightToggleWhite light status toggle controlO

Data Types​

ImageFlipModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the ImageFlipMode Trait.

ValueNameDescription
0x00NormalNormal
0x01HorizontalFlipHorizontal flip
0x02VerticalFlipVertical flip
0x03HorizontalVerticalFlipHorizontal and vertical flip
InfraredNightVisionSettingEnum8 Type​

This enumeration defines the valid values of the Present Value for the InfraredNightVisionSetting Trait.

ValueNameDescription
0x00AlwaysOffAlways off
0x01AlwaysOnAlways on
0x02AutoAuto switch
0x03WarmColorFullColorWarm light full color
PowerFrequencyEnum8 Type​

This enumeration defines the valid values of the Present Value for the PowerFrequency Trait.

ValueNameDescription
0x0050Hz50Hz
0x0160Hz60Hz
EventLightingModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the EventLightingMode Trait.

ValueNameDescription
0x00SteadySteady
0x01BlinkBlink
VideoBrightnessRangeTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the VideoBrightnessRange Trait.

Structure Member IndexField NameTypeRequiredDescription
0Modeuint8MBrightness adjustment mode: 0 = automatic, 1 = manual.
1ColorBrightnessuint16OColor video brightness percentage, range 1-100; should be provided in manual mode.
2MonoBrightnessuint16OBlack-and-white video brightness percentage, range 1-100; should be provided in manual mode.
WhiteLightToggle Command Structure Type​

Parameter structure of the WhiteLightToggle Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MCommand type.

Trait Definitions​

Trait IDNameConformance
0x5019AIDetectionBoxEnableO
0x5000HdrEnableO
0x4FD0VideoCorrectionEnableO
0x4FCEOSDTimeFormatSettingO
0x4FCFImageFlipModeO
0x4FCBOSDWatermarkEnableO
0x4FCAInfraredNightVisionSettingO
0x5018PrivacyMaskRegionsO
0x5017PowerFrequencyO
0x4FB0LogoWatermarkEnableO
0x4FDBWhiteLightDurationO
0x4FDAEventLightingModeO
0x4FBFLightingTimePeriodO
0x4FBELightUpWhenEventDetectedO
0x5014WhiteLightOnOffO
0x5016WhiteLightBrightnessO
0x50E0VideoBrightnessRangeO

AIDetectionBoxEnable Trait (Display Detection Box Enable)​

Enables or disables drawing AI detection bounding boxes (such as people, pets) in the live preview.

Trait IDCode
0x5019AIDetectionBoxEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

HdrEnable Trait (HDR Enable)​

Enables or disables the HDR (High Dynamic Range) function. When enabled, the device improves image quality in backlit or high-contrast scenes, preserving highlight and shadow details for a clearer and more natural picture.

Trait IDCode
0x5000HdrEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

VideoCorrectionEnable Trait (Video Correction Enable)​

Turns lens distortion correction on/off. When enabled, the device applies distortion correction to straighten the curved edges caused by the wide-angle lens (improving image geometry but possibly cropping the field of view).

Trait IDCode
0x4FD0VideoCorrectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

OSDTimeFormatSetting Trait (Time Watermark Format Setting)​

Specifies the format string for displaying the date and time in the OSD watermark. Uses strftime-compatible format specifiers (for example, %Y for year, %m for month, %d for day, %H for hour, %M for minute, %S for second).

Trait IDCode
0x4FCEOSDTimeFormatSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

ImageFlipMode Trait (Image Flip)​

Controls whether the video picture is vertically flipped (180 deg rotation). When set to Flip (1), the picture is upside down, suitable for ceiling-mounted or inverted installation scenarios; when set to Normal (0), the picture orientation is standard.

Trait IDCode
0x4FCFImageFlipMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueImageFlipModeEnum80RVWO
0x0006Supported Valuelist[ImageFlipModeEnum8]RO
0x0007Default Valueuint80RWO

OSDWatermarkEnable Trait (OSD Time Watermark Enable)​

Controls whether a timestamp is overlaid on the live preview and recordings. When enabled, the current date and time are displayed at the specified position of the video picture, helping viewers accurately identify when an event occurred.

Trait IDCode
0x4FCBOSDWatermarkEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

InfraredNightVisionSetting Trait (Night Vision Setting)​

Sets the night vision mode of the camera. AlwaysOff: IR cut and illuminator off; AlwaysOn: IR cut on (black-and-white) and IR LED on; Auto: switches according to ambient light; WarmColorFullColor: uses warm white light for full-color night vision.

Trait IDCode
0x4FCAInfraredNightVisionSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueInfraredNightVisionSettingEnum82RVWO
0x0006Supported Valuelist[InfraredNightVisionSettingEnum8]RO
0x0007Default Valueuint82RWO

PrivacyMaskRegions Trait (Privacy Mask Region)​

Defines the mask regions used to protect privacy in the video frame. Its value is a structure containing visible and regions fields. visible is a boolean or integer (0 or 1), indicating whether to display the outlines of the mask regions in the live preview (for debugging or confirmation; it does not affect the actual masking effect). regions is an array of up to 4 mask objects. Each mask object contains color and rect. color is an integer (decimal), representing the RGB color of the mask block (for example, the decimal form of 0xRRGGBB, with the high byte as red, the middle byte as green, and the low byte as blue). rect is an array of four integers specifying the bounding rectangle: left coordinate, top coordinate, width, and height. The coordinate origin is at the top-left corner of the image, with the X axis increasing to the right and the Y axis increasing downward. This configuration applies to both the live video and the recording stream, and the masking is executed on the device side to ensure that privacy-sensitive content cannot be restored.

Trait IDCode
0x5018PrivacyMaskRegions
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePrivacyMaskRegionsTraitPresentValueStructureRVWO

PowerFrequency Trait (Power Frequency)​

Sets the power line frequency to avoid flicker (50Hz or 60Hz).

Trait IDCode
0x5017PowerFrequency
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePowerFrequencyEnum80RVWO
0x0006Supported Valuelist[PowerFrequencyEnum8]RO
0x0007Default Valueuint80RWO

LogoWatermarkEnable Trait (Logo Watermark Enable)​

Enables or disables the video brand logo watermark overlay. When enabled, the device embeds a fixed logo image in the video files.

Trait IDCode
0x4FB0LogoWatermarkEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

WhiteLightDuration Trait (White Light Duration)​

Sets the duration that the white light (fill light) stays on after being triggered. A value of 0 means it stays on continuously (always on). Values from 1 to 1800 represent the number of seconds it stays on before automatically turning off.

Trait IDCode
0x4FDBWhiteLightDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWO
0x0002Maximum Valueuint321800RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint3230RWO

EventLightingMode Trait (Event-Triggered Lighting Mode)​

Defines the behavior of the indicator/illumination light when the device detects an event. Steady: the light stays steadily on; Blink: the light blinks repeatedly.

Trait IDCode
0x4FDAEventLightingMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueEventLightingModeEnum80RVWO
0x0006Supported Valuelist[EventLightingModeEnum8]RO
0x0007Default Valueuint80RWO

LightingTimePeriod Trait (Lighting Time Period)​

Defines the scheduled plan for the active period of the event-triggered lighting function. The schedule configuration structure contains three fields: starttime, endtime, and repeat. starttime and endtime are strings in "HH:MM" format (24-hour), ranging from "00:00" to "23:59", defining the start and end times of the active period. If they are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of unsigned 8-bit integers with a length of 7, whose index order corresponds to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. A value of 1 means the working day is active, and 0 means it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x4FBFLightingTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueLightingTimePeriodTraitPresentValueStructureRVWO
0x0007Default ValueLightingTimePeriodTraitPresentValueStructureIf the default value is expressed in JSON format, it is: {"0":"00:00","1":"23:59","2":[1,1,1,1,1,1,1]}RWO

LightUpWhenEventDetected Trait (Light Up When Event Detected)​

Turns on the white light for 20 seconds when an event (such as motion or person detection) is detected during the scheduled period. Used as a visual deterrent or for illumination.

Trait IDCode
0x4FBELightUpWhenEventDetected
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean0RWO

WhiteLightOnOff Trait (White Light Switch)​

Controls the master switch of the white fill light. Toggling changes the current state.

Trait IDCode
0x5014WhiteLightOnOff
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

WhiteLightBrightness Trait (White Light Brightness Setting)​

Sets the white light brightness level, ranging from 1% to 100%.

Trait IDCode
0x5016WhiteLightBrightness
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat1.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

VideoBrightnessRange Trait (Video Brightness Range Setting)​

Configures the brightness parameters of color (daytime) and black-and-white (nighttime) video, and supports both automatic and manual adjustment modes.

Trait IDCode
0x50E0VideoBrightnessRange
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVideoBrightnessRangeTraitPresentValueStructureRVWO

Command Definitions​

Command IDNameConformance
0x9D3EWhiteLightToggleO

WhiteLightToggle Command​

This Command is used to perform the "White Light Status Toggle Control" operation.

Parameters​

WhiteLightToggle Command Structure

CameraWorkMode (Camera Work Mode)​

Introduction​

Defines the camera power consumption strategy and work modes, adapting to different power supply types and usage scenarios.

Function Identifier​

Function IDCodeName
0x010FCameraWorkModeCamera work mode

Trait​

Trait IDCodeNameConformance
0x4FD9ActiveWakeupIntervalActive wake-up intervalO
0x4FD8CamWorkModeCamera work modeO
0x4FD6AOVRecordingEnableAOV recording enableO
0x4FD3RangeTestModeEnter ranging test modeO

Command​

This Function does not contain any Commands.

Data Types​

CamWorkModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the CamWorkMode Trait.

ValueNameDescription
0x00PowerSavingPower saving mode
0x01SuperPowerSavingSuper power saving mode
0x02MainsPowerMains power mode
0x03AOVSmart monitoring mode (AOV)

Trait Definitions​

Trait IDNameConformance
0x4FD9ActiveWakeupIntervalO
0x4FD8CamWorkModeO
0x4FD6AOVRecordingEnableO
0x4FD3RangeTestModeO

ActiveWakeupInterval Trait (Active Wake-Up Interval)​

Configures the active wake-up interval of the battery-powered camera when operating in AOV (Always-On Video) smart monitoring mode. The device wakes up periodically at this interval (in seconds) to capture frames for event detection. For example, setting it to 3 means the camera wakes up every 3 seconds to check for motion or events.

Trait IDCode
0x4FD9ActiveWakeupInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint323RVWO
0x0002Maximum Valueuint3265535RO
0x0003Minimum Valueuint321RO
0x0005Step Valueuint321RO
0x0007Default Valueuint323RWO

CamWorkMode Trait (Camera Work Mode)​

Defines the working mode of the camera in terms of power consumption and functionality. PowerSaving: reduces performance to extend battery life; SuperPowerSaving: maximum power saving with limited functionality; MainsPower: full performance operation under continuous power supply (AC/DC); AOV: Always-On Video low-power smart monitoring mode.

Trait IDCode
0x4FD8CamWorkMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCamWorkModeEnum80RVWO
0x0006Supported Valuelist[CamWorkModeEnum8]RO
0x0007Default Valueuint80RWO

AOVRecordingEnable Trait (AOV Recording Enable)​

Enables or disables the AOV (Always-On Video) recording function. When enabled, the device records continuously to ensure that key moments are not missed.

Trait IDCode
0x4FD6AOVRecordingEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

RangeTestMode Trait (Enter Ranging Test Mode)​

Enables the ranging test mode for configuring the camera detection distance. In this mode, the device emits a prompt (such as flashing the white light three times) when a target is detected, indicating the effective range of the current distance setting.

Trait IDCode
0x4FD3RangeTestMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain any Commands.

AudioSettings (Audio Settings)​

Introduction​

Controls audio capture and output, adjusting parameters such as recording mute and system prompt volume.

Function Identifier​

Function IDCodeName
0x0110AudioSettingsAudio settings

Trait​

Trait IDCodeNameConformance
0x4FD1RecordingMuteEnableSilent recording enableO
0x80C0VolumeVolumeO
0x5182QuickReplyTotalCapacityCustom quick reply total capacityO
0x5183QuickReplyPresetVoiceQuick reply preset voiceO

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x4FD1RecordingMuteEnableO
0x80C0VolumeO
0x5182QuickReplyTotalCapacityO
0x5183QuickReplyPresetVoiceO

RecordingMuteEnable Trait (Silent Recording Enable)​

Determines whether audio is recorded together with the video. When set to 1 (muted), the recording file does not save audio; when set to 0, audio is included.

Trait IDCode
0x4FD1RecordingMuteEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Volume Trait (Volume)​

Indicates or sets the speaker volume of the camera device (such as for two-way voice). The value is usually expressed as a percentage (0 to 100) or a device-defined numeric range.

Trait IDCode
0x80C0Volume
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

QuickReplyTotalCapacity Trait (Custom Quick Reply Total Capacity)​

Custom quick reply total capacity. Used to record the total capacity limit of all audio files saved by the user to the device among custom quick replies/custom ringtones, in MB.

Trait IDCode
0x5182QuickReplyTotalCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint86RVWO
0x0002Maximum Valueuint8100RO
0x0003Minimum Valueuint80RO
0x0007Default Valueuint86RWO

QuickReplyPresetVoice Trait (Quick Reply Preset Voice)​

Quick reply preset voice. Used to identify the language and index of the preset quick reply voice.

Trait IDCode
0x5183QuickReplyPresetVoice
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

Command Definitions​

This Function does not contain any Commands.

CameraPrivacySecurity (Camera Privacy and Security)​

Introduction​

Focuses on the camera privacy policy, including low-power security and privacy protection capabilities such as scheduled sleep.

Function Identifier​

Function IDCodeName
0x0111CameraPrivacySecurityCamera privacy and security

Trait​

Trait IDCodeNameConformance
0x501BScheduledSleepTimePeriodScheduled sleep time periodO
0x501AScheduledSleepEnableScheduled sleep enableO

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x501BScheduledSleepTimePeriodO
0x501AScheduledSleepEnableO

ScheduledSleepTimePeriod Trait (Scheduled Sleep Time Period)​

Defines the scheduled plan for the period during which the device should enter sleep mode. The schedule configuration structure contains three fields: starttime, endtime, and repeat. starttime and endtime are strings in "HH:MM" format (24-hour), ranging from "00:00" to "23:59", defining the start and end times of the active period. If they are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of unsigned 8-bit integers with a length of 7, whose index order corresponds to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. A value of 1 means the working day is active, and 0 means it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x501BScheduledSleepTimePeriod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueScheduledSleepTimePeriodTraitPresentValueStructureRVWO

ScheduledSleepEnable Trait (Scheduled Sleep Enable)​

Enables or disables the scheduled sleep mode.

Trait IDCode
0x501AScheduledSleepEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain any Commands.

CameraNotifications (Camera Notifications)​

Introduction​

Manages event notification policies, supporting notification types, scheduled periods, filtering rules, and importance level settings.

Function Identifier​

Function IDCodeName
0x0112CameraNotificationsCamera notifications

Trait​

Trait IDCodeNameConformance
0x4FC9CameraAdvancedEventNotificationSettingsCamera advanced event notification settingsO
0x5012CameraAdvancedEventNotificationEnableCamera advanced event notification enableO
0x5010CameraNotificationSchedulePeriodsCamera notification schedule - periodsO
0x5011CameraFilterUnimportantNotificationsCamera filter unimportant notifications enableO
0x500FCameraNotificationScheduleEnableCamera notification schedule enableO
0x500ECameraNotificationTypeCamera notification typeO
0x5013CameraEventImportanceLevelCamera event importance levelO
0x516APicturePushEnablePicture push enableO

Command​

This Function does not contain any Commands.

Data Types​

CameraNotificationTypeEnum8 Type​

This enumeration defines the valid values of the Present Value for the CameraNotificationType Trait.

ValueNameDescription
0x01EventNotificationEvent notification
0x02AIVideoSummaryAI video summary notification

Trait Definitions​

Trait IDNameConformance
0x4FC9CameraAdvancedEventNotificationSettingsO
0x5012CameraAdvancedEventNotificationEnableO
0x5010CameraNotificationSchedulePeriodsO
0x5011CameraFilterUnimportantNotificationsO
0x500FCameraNotificationScheduleEnableO
0x500ECameraNotificationTypeO
0x5013CameraEventImportanceLevelO
0x516APicturePushEnableO

CameraAdvancedEventNotificationSettings Trait (Camera Advanced Event Notification Settings)​

Configures the advanced event set for which the camera sends notifications. The value is a string composed of event type numbers separated by vertical bars (|), for example "39 | 40 | 111 | 108". Each number corresponds to a specific event type listed below. Only events whose numbers are included in the string trigger notifications. Value Event Description (English) 1 Motion detection 2 Human form 3 Cat or dog present 4 Human wandering 5 Doorbell pressed 6 Tampering alarm 7 Family member recognized 8 Stranger recognized 9 Abnormal crying 10 Crying 11 Coughing 12 Alarm sound 13 Dog barking 14 Lens blocked 15 Package detected 16 Package disappeared 17 Vehicle present 32 Baby crib 33 Baby stroller 38 Toy car 39 Mask/face covering 40 Mouth and nose covered 46 Holding a phone 48 Person fallen 50 Person climbing 53 Person smoking 56 Wearing a hat 58 Dog 59 Cat 60 Drinking water 61 Eating 62 Using the toilet 63 Animal 64 Pet 65 Bird 66 Bear 67 Brown bear 68 Squirrel 69 Rabbit 70 Deer 71 Reindeer

Trait IDCode
0x4FC9CameraAdvancedEventNotificationSettings
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

CameraAdvancedEventNotificationEnable Trait (Camera Advanced Event Notification Enable)​

Enables or disables advanced event notifications (such as detailed AI event alerts).

Trait IDCode
0x5012CameraAdvancedEventNotificationEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraNotificationSchedulePeriods Trait (Camera Notification Schedule - Periods)​

Defines the scheduled plan for the periods in which notifications are allowed. The schedule configuration structure contains three fields: starttime, endtime, and repeat. starttime and endtime are strings in "HH:MM" format (24-hour), ranging from "00:00" to "23:59", defining the start and end times of the active period. If they are equal, the period covers the whole day. When starttime is less than endtime, the period is within the same day; when starttime is greater than endtime, the period crosses midnight, starting from starttime on the active day and ending at endtime on the next day. repeat is an array of unsigned 8-bit integers with a length of 7, whose index order corresponds to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. A value of 1 means the working day is active, and 0 means it is inactive. All times are based on the device's current time zone.

Trait IDCode
0x5010CameraNotificationSchedulePeriods
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCameraNotificationSchedulePeriodsTraitPresentValueStructureRVWO

CameraFilterUnimportantNotifications Trait (Camera Filter Unimportant Notifications Enable)​

Enables or disables the filtering of unimportant notifications to reduce distractions.

Trait IDCode
0x5011CameraFilterUnimportantNotifications
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraNotificationScheduleEnable Trait (Camera Notification Schedule Enable)​

Enables or disables the notification schedule function.

Trait IDCode
0x500FCameraNotificationScheduleEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

CameraNotificationType Trait (Camera Notification Type)​

Specifies the type of notifications to receive: event notifications or AI video summary notifications.

Trait IDCode
0x500ECameraNotificationType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueCameraNotificationTypeEnum81RVWO
0x0006Supported Valuelist[CameraNotificationTypeEnum8]RO
0x0007Default ValueCameraNotificationTypeEnum81RWO

CameraEventImportanceLevel Trait (Camera Event Importance Level)​

Sets the minimum importance level for event notifications. Only events with level >= this value trigger notifications.

Trait IDCode
0x5013CameraEventImportanceLevel
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint82RVWO
0x0002Maximum Valueuint85RO
0x0003Minimum Valueuint81RO
0x0005Step Valueuint321RO
0x0007Default Valueuint82RWO

PicturePushEnable Trait (Picture Push Enable)​

Picture push enable. Controls whether a captured picture is attached to alarm messages for push. When set to 1 (on), the device pushes the current captured picture together with the alarm message to the user when an alarm is triggered; when set to 0 (off), the alarm message does not include a picture. The default value is 0.

Trait IDCode
0x516APicturePushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain any Commands.

NASStorage (NAS Storage)​

Introduction​

Integrates with Network Attached Storage (NAS), providing binding, policy configuration, transfer interval, and status management.

Function Identifier​

Function IDCodeName
0x0113NASStorageNAS storage

Trait​

Trait IDCodeNameConformance
0x507BNASServerBindingStatusNAS server binding statusO
0x4FE4NASLastWriteTimestampNAS last write timestampO
0x5025SetNASSharedFolderSet shared folderO
0x5024NASSharedFoldersListGet shared folder listO
0x5023NASServersListGet NAS server listO
0x502CNASStorageDurationNAS storage durationO
0x502BNASTransferIntervalNAS transfer intervalO
0x5021NASStorageEnableNAS storage enableO
0x5022NASWorkModeNAS work modeO
0x5020NASVerificationResultNAS verification resultO
0x501ESetNASServersSet NAS serverO
0x501FNASStatusNAS statusO

Command​

Command IDCodeNameConformance
0x9D45DeleteNASServerDelete NAS serverO
0x9D3CNASClearHistoryVideosClear NAS history videosO

Data Types​

NASServerBindingStatusEnum8 Type​

This enumeration defines the valid values of the Present Value for the NASServerBindingStatus Trait.

ValueNameDescription
0x00UnboundUnbound
0x01BoundBound successfully
NASWorkModeEnum8 Type​

This enumeration defines the valid values of the Present Value for the NASWorkMode Trait.

ValueNameDescription
0x00TranscodeFromSDTransfer from local storage card
0x01DirectUploadUpload directly to NAS
NASVerificationResultEnum8 Type​

This enumeration defines the valid values of the Present Value for the NASVerificationResult Trait.

ValueNameDescription
0x00FailedVerification failed
0x01SuccessVerification successful
NASStatusEnum8 Type​

This enumeration defines the valid values of the Present Value for the NASStatus Trait.

ValueNameDescription
0x00NormalNormal
0x01TransferringTransferring
0x02PausedTransfer paused
0x03ClearingClearing videos
0x04ErrorError
DeleteNASServer Command Structure Type​

Parameter structure of the DeleteNASServer Command.

Structure Member IndexField NameTypeRequiredDescription
0Statusenum8MStatus; default value is 0.
NASClearHistoryVideos Command Structure Type​

Parameter structure of the NASClearHistoryVideos Command.

Structure Member IndexField NameTypeRequiredDescription
0Typeenum8MCommand type.

Trait Definitions​

Trait IDNameConformance
0x507BNASServerBindingStatusO
0x4FE4NASLastWriteTimestampO
0x5025SetNASSharedFolderO
0x5024NASSharedFoldersListO
0x5023NASServersListO
0x502CNASStorageDurationO
0x502BNASTransferIntervalO
0x5021NASStorageEnableO
0x5022NASWorkModeO
0x5020NASVerificationResultO
0x501ESetNASServersO
0x501FNASStatusO

NASServerBindingStatus Trait (NAS Server Binding Status)​

Indicates the binding status between the device and the NAS server. Value 0 means unbound (not connected or not configured), value 1 means bound (successfully connected and authenticated).

Trait IDCode
0x507BNASServerBindingStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNASServerBindingStatusEnum80RVO
0x0006Supported Valuelist[NASServerBindingStatusEnum8]RO
0x0007Default Valueuint80RWO

NASLastWriteTimestamp Trait (NAS Last Write Timestamp)​

Indicates the Unix timestamp (in milliseconds, without time zone) of the last successful write to NAS storage. The device records this timestamp when it finishes writing video files or any data to the NAS.

Trait IDCode
0x4FE4NASLastWriteTimestamp
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640RVO
0x0002Maximum Valueuint6418446744073709551615RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint321RO
0x0007Default Valueuint640RWO

SetNASSharedFolder Trait (Set Shared Folder)​

Sets the shared folder path used for NAS storage.

Trait IDCode
0x5025SetNASSharedFolder
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringRVWO

NASSharedFoldersList Trait (Get Shared Folder List)​

Retrieves the list of shared folders on the NAS as a JSON array.

Trait IDCode
0x5024NASSharedFoldersList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuearrayRVO

NASServersList Trait (Get NAS Server List)​

Retrieves the list of configured NAS servers as an array.

Trait IDCode
0x5023NASServersList
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuearrayRVO

NASStorageDuration Trait (NAS Storage Duration)​

The retention duration of videos on the NAS (in seconds).

Trait IDCode
0x502CNASStorageDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint322592000RVWO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint322592000RWO

NASTransferInterval Trait (NAS Transfer Interval)​

The time interval for transferring videos to the NAS (in seconds).

Trait IDCode
0x502BNASTransferInterval
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint3286400RVWO
0x0002Maximum Valueuint3286400RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint3260RWO

NASStorageEnable Trait (NAS Storage Enable)​

Enables or disables NAS video storage.

Trait IDCode
0x5021NASStorageEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

NASWorkMode Trait (NAS Work Mode)​

Specifies the NAS storage mode: transfer from the SD card or direct upload.

Trait IDCode
0x5022NASWorkMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNASWorkModeEnum80RVWO
0x0006Supported Valuelist[NASWorkModeEnum8]RO
0x0007Default ValueNASWorkModeEnum80RWO

NASVerificationResult Trait (NAS Verification Result)​

The result of the last NAS connection verification.

Trait IDCode
0x5020NASVerificationResult
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNASVerificationResultEnum81RVO
0x0006Supported Valuelist[NASVerificationResultEnum8]RO

SetNASServers Trait (Set NAS Server)​

Configures the parameters required for the device to connect to a NAS server. It contains three parameters: host (characterString, the address of the NAS server, which can be an IP address, hostname, or UNC path), user (characterString, the username used for NAS authentication), and password (characterString, the password corresponding to the username). After receiving this command, the device attempts to connect to the specified NAS server using the provided credentials and returns the connection result (success or failure).

Trait IDCode
0x501ESetNASServers
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSetNASServersTraitPresentValueStructureRVWO

NASStatus Trait (NAS Status)​

The current status of NAS video storage.

Trait IDCode
0x501FNASStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueNASStatusEnum80RVO
0x0006Supported Valuelist[NASStatusEnum8]RO

Command Definitions​

Command IDNameConformance
0x9D45DeleteNASServerO
0x9D3CNASClearHistoryVideosO

DeleteNASServer Command​

Represents the operation of unbinding the NAS server.

Parameters​

DeleteNASServer Command Structure

NASClearHistoryVideos Command​

This Command is used to perform the "Clear NAS History Videos" operation.

Parameters​

NASClearHistoryVideos Command Structure

Repeater (Wi-Fi Repeater)​

Introduction​

Manages Wi-Fi repeater capabilities, including keep-alive, repeater link information, network diagnostics, and connection status with the gateway.

Function Identifier​

Function IDCodeName
0x0114RepeaterWi-Fi repeater

Trait​

Trait IDCodeNameConformance
0x5069KeepAliveRepeaterInfoKeep-alive and repeater link informationO
0x4F55SupportedHubCapabilitySupported hub capability setO

Command​

This Function does not contain any Commands.

Data Types​

KeepAliveRepeaterInfoTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value for the KeepAliveRepeaterInfo Trait.

Structure Member IndexField NameTypeRequiredDescription
0InfocharacterStringMJSON string containing information such as the alive host/port, hotspot credentials (SSID, passphrase), and link type.

Trait Definitions​

Trait IDNameConformance
0x5069KeepAliveRepeaterInfoO
0x4F55SupportedHubCapabilityO

KeepAliveRepeaterInfo Trait (Keep-Alive and Repeater Link Information)​

Provides keep-alive and repeater link information between low-power devices (such as battery cameras) and their base station/gateway. The value is a JSON string containing details such as the alive host and port, hotspot credentials (SSID and passphrase), and link type.

Trait IDCode
0x5069KeepAliveRepeaterInfo
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueKeepAliveRepeaterInfoTraitPresentValueStructureRVO

SupportedHubCapability Trait (Supported Hub Capability Set)​

This property reports, in bitmask form, the core functional features of the gateway as a smart home hub. Each bit represents a specific capability (such as local automation, data storage, AI support). Upper-layer applications use it to discover and adapt to advanced device features, enabling differentiated experiences. bit 0: Supports gateway basic functions (such as creating gateway clusters) bit 1: Has the local automation module ha_driven bit 2: Supports the gateway local data storage function NAS bit 3: Supports SAAS bit 4: Supports local AI bit 5: Supports LAN APP control bit 6: Supports running Aqara Studio bit 7: Supports Aqara Studio logic function blocks bit 8 to 31: Reserved

Trait IDCode
0x4F55SupportedHubCapability
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

Command Definitions​

This Function does not contain any Commands.

TamperProtection (Tamper Protection)​

Introduction​

Provides physical security protection, detecting and responding to tampering behaviors such as illegal removal and forced disassembly, with alarm and recording linkage support.

Function Identifier​

Function IDCodeName
0x0115TamperProtectionTamper protection

Trait​

Trait IDCodeNameConformance
0x50DAAntiTamperAlertEventForced disassembly alarm eventO
0x50DBAntiTamperAlertEnableForced disassembly alarm enableO
0x50DCAntiTamperAlertPushEnableForced disassembly alarm push enableO
0x50DDAntiTamperAlertRecordEnableForced disassembly alarm record enableO

Command​

This Function does not contain any Commands.

Data Types​

AntiTamperAlertEventEnum8 Type​

This enumeration defines the valid values of the Present Value for the AntiTamperAlertEvent Trait.

ValueNameDescription
0x01TamperDetectedRemoval alarm

Trait Definitions​

Trait IDNameConformance
0x50DAAntiTamperAlertEventO
0x50DBAntiTamperAlertEnableO
0x50DCAntiTamperAlertPushEnableO
0x50DDAntiTamperAlertRecordEnableO

AntiTamperAlertEvent Trait (Forced Disassembly Alarm Event)​

Reports this event when the device detects that it has been illegally disassembled or removed from its installation position.

Trait IDCode
0x50DAAntiTamperAlertEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAntiTamperAlertEventEnum8VO
0x0006Supported Valuelist[AntiTamperAlertEventEnum8]RO

AntiTamperAlertEnable Trait (Forced Disassembly Alarm Enable)​

Turns the anti-tamper alarm function on or off.

Trait IDCode
0x50DBAntiTamperAlertEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

AntiTamperAlertPushEnable Trait (Forced Disassembly Alarm Push Enable)​

Turns push notifications for the forced disassembly alarm on or off.

Trait IDCode
0x50DCAntiTamperAlertPushEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

AntiTamperAlertRecordEnable Trait (Forced Disassembly Alarm Record Enable)​

Turns automatic recording triggered by the forced disassembly alarm on or off.

Trait IDCode
0x50DDAntiTamperAlertRecordEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean1RVWO
0x0007Default Valueboolean1RWO

Command Definitions​

This Function does not contain any Commands.

SmileDetection (Smile Detection)​

Introduction​

Recognizes smiles in the picture and reports events, supporting enabling/disabling control of the smile recognition capability.

Function Identifier​

Function IDCodeName
0x0116SmileDetectionSmile detection

Trait​

Trait IDCodeNameConformance
0x50CDSmileDetectionEventSmile detection eventM
0x50CESmileDetectionEnableSmile detection enableO

Command​

This Function does not contain any Commands.

Data Types​

SmileDetectionEventEnum32 Type​

This enumeration defines the valid values of the Present Value for the SmileDetectionEvent Trait.

ValueNameDescription
0x01HappyMomentHappy moment detected

Trait Definitions​

Trait IDNameConformance
0x50CDSmileDetectionEventM
0x50CESmileDetectionEnableO

SmileDetectionEvent Trait (Smile Detection Event)​

Represents a smile event detected by the camera. When a smile is recognized, the device reports the corresponding event value.

Trait IDCode
0x50CDSmileDetectionEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSmileDetectionEventEnum32VM
0x0006Supported Valuelist[SmileDetectionEventEnum32]RO

SmileDetectionEnable Trait (Smile Detection Enable)​

Enables or disables the smile recognition capability of the camera. When enabled, the video stream is analyzed and smile events are reported.

Trait IDCode
0x50CESmileDetectionEnable
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueboolean0RVWO
0x0007Default Valueboolean0RWO

Command Definitions​

This Function does not contain any Commands.

CameraAVStreamManagement (Camera Audio/Video Stream Management)​

Introduction​

The Camera AV Stream Management Function defines the audio/video stream management capabilities of Aqara cameras, supporting stream allocation and capability queries required for WebRTC live streaming and local SD card recording playback.

Function Identifier​

Function IDCodeName
0x0126CameraAVStreamManagementCamera audio/video stream management

Trait​

Trait IDCodeNameConformance
0x511DCAVSMMaxConcurrentEncodersM
0x511ECAVSMMaxEncodedPixelRateM
0x511FCAVSMVideoSensorParamsM
0x5120CAVSMRateDistortionTradeOffPointsO
0x5121CAVSMMicrophoneCapabilitiesO
0x5122CAVSMTwoWayTalkSupportO
0x5123CAVSMMaxNetworkBandwidthO
0x5125CAVSMSupportedStreamUsagesM
0x5126CAVSMAllocatedVideoStreamsO
0x5127CAVSMAllocatedAudioStreamsO
0x5128CAVSMStreamUsagePrioritiesM

Command​

Command IDCodeNameConformance
0x9D8ACAVSMVideoStreamAllocateO
0x9D8BCAVSMVideoStreamDeallocateO
0x9D8CCAVSMAudioStreamAllocateO
0x9D8DCAVSMAudioStreamDeallocateO
0x9D8ECAVSMSetStreamPrioritiesO

Data Types​

VideoCodecEnum8 Type​

This enumeration defines the valid values of the video codec.

ValueNameDescription
0x00H264Advanced Video Coding (H.264)
0x01HEVCHigh Efficiency Video Coding (H.265)
0x02VVCVersatile Video Coding (H.266)
0x03AV1AOMedia Video 1
AudioCodecEnum8 Type​

This enumeration defines the valid values of the audio codec.

ValueNameDescription
0x00OPUSOpen source IETF standard codec
0x01AAC-LCAdvanced Audio Coding-Low Complexity
TwoWayTalkSupportTypeEnum8 Type​

This enumeration defines the valid values of the two-way intercom support type.

ValueNameDescription
0x00NotSupportedTwo-way intercom not supported
0x01HalfDuplexHalf duplex
0x02FullDuplexFull duplex
StreamUsageEnum8 Type​

This enumeration defines the valid values of the audio/video stream usage.

ValueNameDescription
0x00InternalInternal use, not available for WebRTC allocation
0x01RecordingRecording use (cloud clip / Push, etc., not SD card playback)
0x02AnalysisAnalysis use
0x03LiveViewLive streaming use
0xF0LocalPlaybackPlayback of the device's unique local SD card recording file

Note: 0x04-0xEF is reserved for future Matter standard extensions. LocalPlayback indicates the playback encoding channel usage; the device has only one local recording file, and the App does not need to specify the source clip.

StatusCodeEnum8 Type​

This enumeration defines the valid values of the Command response status codes of the CameraAVStreamManagement Function.

ValueNameDescription
0x00SUCCESSSuccess
0x01NOT_FOUNDNot found
0x02INVALID_IN_STATEInvalid state
0x03INVALID_COMMANDInvalid command
0x04DYNAMIC_CONSTRAINT_ERRORDynamic constraint error
0x05RESOURCE_EXHAUSTEDResource exhausted
0x06ALREADY_EXISTSAlready exists
VideoResolutionStructure Type​

This structure defines the field layout of the video resolution.

Structure Member IndexField NameTypeRequiredDescription
0Widthuint16MWidth (pixels).
1Heightuint16MHeight (pixels).
VideoSensorParamsStructure Type​

This structure defines the field layout of the video sensor parameters.

Structure Member IndexField NameTypeRequiredDescription
0SensorWidthuint16MSensor width (pixels).
1SensorHeightuint16MSensor height (pixels).
2MaxFPSuint16MMaximum frame rate (fps).
RateDistortionTradeOffPointsStructure Type​

This structure defines the field layout of the rate-distortion trade-off reference points.

Structure Member IndexField NameTypeRequiredDescription
0CodecVideoCodecEnum8MVideo codec.
1ResolutionVideoResolutionStructureMResolution.
2MinBitRateuint32MMinimum bit rate (bps) of this point.
AudioCapabilitiesStructure Type​

This structure defines the field layout of the microphone capabilities.

Structure Member IndexField NameTypeRequiredDescription
0MaxNumberOfChannelsuint8MMaximum number of channels.
1SupportedCodecslist[AudioCodecEnum8]MSupported audio codecs.
2SupportedSampleRateslist[uint32]MSample rate (Hz).
3SupportedBitDepthslist[uint8]MBit depth.
VideoStreamStructure Type​

This structure defines the field layout of an allocated video stream.

Structure Member IndexField NameTypeRequiredDescription
0VideoStreamIDuint16MVideo stream ID; referenced by WebRTC VideoStreams.
1StreamUsageStreamUsageEnum8MStream usage.
2VideoCodecVideoCodecEnum8MCodec.
3MinFrameRateuint16MMinimum frame rate (fps).
4MaxFrameRateuint16MMaximum frame rate (fps).
5MinResolutionVideoResolutionStructureMMinimum resolution.
6MaxResolutionVideoResolutionStructureMMaximum resolution.
7MinBitRateuint32MMinimum bit rate (bps).
8MaxBitRateuint32MMaximum bit rate (bps).
9KeyFrameIntervaluint16MKey frame interval (ms).
10ReferenceCountuint8MCurrent reference count; cannot be deallocated when >0.
AudioStreamStructure Type​

This structure defines the field layout of an allocated audio stream.

Structure Member IndexField NameTypeRequiredDescription
0AudioStreamIDuint16MAudio stream ID; referenced by WebRTC AudioStreams.
1StreamUsageStreamUsageEnum8MStream usage.
2AudioCodecAudioCodecEnum8MCodec.
3ChannelCountuint8MNumber of channels.
4SampleRateuint32MSample rate (Hz).
5BitRateuint32MBit rate (bps).
6BitDepthuint8M8/16/24/32.
7ReferenceCountuint8MCurrent reference count.
CAVSMVideoStreamAllocate Command Structure Type​

Request parameter structure of the CAVSMVideoStreamAllocate Command.

Structure Member IndexField NameTypeRequiredDescription
0StreamUsageStreamUsageEnum8MStream usage (Recording, Analysis, LiveView, LocalPlayback).
1VideoCodecVideoCodecEnum8MVideo codec.
2MinFrameRateuint16MMinimum frame rate (fps).
3MaxFrameRateuint16MMaximum frame rate (fps).
4MinResolutionVideoResolutionStructureMMinimum resolution.
5MaxResolutionVideoResolutionStructureMMaximum resolution.
6MinBitRateuint32MMinimum bit rate (bps).
7MaxBitRateuint32MMaximum bit rate (bps).
8KeyFrameIntervaluint16MKey frame interval (ms).
CAVSMVideoStreamAllocateResponse Command Structure Type​

Response parameter structure of the CAVSMVideoStreamAllocate Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusStatusCodeEnum8MProcessing status.
1VideoStreamIDuint16MAllocated video stream ID.
CAVSMVideoStreamDeallocate Command Structure Type​

Request parameter structure of the CAVSMVideoStreamDeallocate Command.

Structure Member IndexField NameTypeRequiredDescription
0VideoStreamIDuint16MVideo stream ID to be released.
CAVSMVideoStreamDeallocateResponse Command Structure Type​

Response parameter structure of the CAVSMVideoStreamDeallocate Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusStatusCodeEnum8MProcessing status.
CAVSMAudioStreamAllocate Command Structure Type​

Request parameter structure of the CAVSMAudioStreamAllocate Command.

Structure Member IndexField NameTypeRequiredDescription
0StreamUsageStreamUsageEnum8MStream usage (Recording, Analysis, LiveView, LocalPlayback).
1AudioCodecAudioCodecEnum8MAudio codec.
2ChannelCountuint8MNumber of channels.
3SampleRateuint32MSample rate (Hz).
4BitRateuint32MBit rate (bps).
5BitDepthuint8MBit depth (8/16/24/32).
CAVSMAudioStreamAllocateResponse Command Structure Type​

Response parameter structure of the CAVSMAudioStreamAllocate Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusStatusCodeEnum8MProcessing status.
1AudioStreamIDuint16MAllocated audio stream ID.
CAVSMAudioStreamDeallocate Command Structure Type​

Request parameter structure of the CAVSMAudioStreamDeallocate Command.

Structure Member IndexField NameTypeRequiredDescription
0AudioStreamIDuint16MAudio stream ID to be released.
CAVSMAudioStreamDeallocateResponse Command Structure Type​

Response parameter structure of the CAVSMAudioStreamDeallocate Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusStatusCodeEnum8MProcessing status.
CAVSMSetStreamPriorities Command Structure Type​

Request parameter structure of the CAVSMSetStreamPriorities Command.

Structure Member IndexField NameTypeRequiredDescription
0StreamPrioritieslist[StreamUsageEnum8]MPriority list in descending order; contains only values from CAVSMSupportedStreamUsages.
CAVSMSetStreamPrioritiesResponse Command Structure Type​

Response parameter structure of the CAVSMSetStreamPriorities Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusStatusCodeEnum8MProcessing status.

Trait Definitions​

CAVSMMaxConcurrentEncoders Trait​

Maximum number of concurrent hardware video encoders.

Trait IDCode
0x511DCAVSMMaxConcurrentEncoders
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint84RVM
0x0002Maximum Valueuint8255RO
0x0003Minimum Valueuint81RO

CAVSMMaxEncodedPixelRate Trait​

Maximum encoded pixel rate (pixels/second).

Trait IDCode
0x511ECAVSMMaxEncodedPixelRate
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint3260RVM
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint321RO
0x0005Step Valueuint321RO

CAVSMVideoSensorParams Trait​

Sensor size and frame rate capabilities.

Trait IDCode
0x511FCAVSMVideoSensorParams
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueVideoSensorParamsStructureRVM

CAVSMRateDistortionTradeOffPoints Trait​

Minimum bit rate reference points for each codec/resolution.

Trait IDCode
0x5120CAVSMRateDistortionTradeOffPoints
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[RateDistortionTradeOffPointsStructure]RVO

CAVSMMicrophoneCapabilities Trait​

Microphone capabilities.

Trait IDCode
0x5121CAVSMMicrophoneCapabilities
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueAudioCapabilitiesStructureRVO

CAVSMTwoWayTalkSupport Trait​

Two-way intercom mode.

Trait IDCode
0x5122CAVSMTwoWayTalkSupport
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueTwoWayTalkSupportTypeEnum80RVO

CAVSMMaxNetworkBandwidth Trait​

Maximum total network bandwidth for media streams (bps).

Trait IDCode
0x5123CAVSMMaxNetworkBandwidth
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint32100RVO
0x0002Maximum Valueuint324294967295RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

CAVSMSupportedStreamUsages Trait​

The list of Stream Usages supported by the device.

Trait IDCode
0x5125CAVSMSupportedStreamUsages
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[StreamUsageEnum8]RVM

CAVSMAllocatedVideoStreams Trait​

List of allocated video streams.

Trait IDCode
0x5126CAVSMAllocatedVideoStreams
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[VideoStreamStructure]RVO

CAVSMAllocatedAudioStreams Trait​

List of allocated audio streams.

Trait IDCode
0x5127CAVSMAllocatedAudioStreams
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[AudioStreamStructure]RVO

CAVSMStreamUsagePriorities Trait​

Stream Usage priorities (Index 0 is the highest).

Trait IDCode
0x5128CAVSMStreamUsagePriorities
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[StreamUsageEnum8]RVM

Command Definitions​

CAVSMVideoStreamAllocate Command​

Allocates a video encoding stream. On success, the device SHALL Report the updated CAVSMAllocatedVideoStreams.

Parameters​

CAVSMVideoStreamAllocate Command Structure

Response​

CAVSMVideoStreamAllocateResponse Command Structure

note

After receiving this Command, SHALL validate the request parameters and process them according to the following rules.

Parameter Validation

ParameterValidation RuleFailure Status
StreamUsageSHALL be Recording, Analysis, LiveView, or LocalPlayback; SHALL exist in CAVSMStreamUsagePriorities and CAVSMSupportedStreamUsagesINVALID_IN_STATE
VideoCodecSHALL be a codec supported by the deviceDYNAMIC_CONSTRAINT_ERROR
MinFrameRateSHALL satisfy 1 <= MinFrameRate <= MaxFrameRateDYNAMIC_CONSTRAINT_ERROR
MaxFrameRateSHALL >= 1; for LiveView/Recording/Analysis SHALL <= CAVSMVideoSensorParams.MaxFPS; for LocalPlayback MAY validate against the frame rate capability of the local recording fileDYNAMIC_CONSTRAINT_ERROR
MinResolutionWidth and Height SHALL >= 1; SHALL <= MaxResolution; SHALL not exceed sensor capabilitiesDYNAMIC_CONSTRAINT_ERROR
MaxResolutionWidth and Height SHALL >= 1; SHALL <= the width/height of CAVSMVideoSensorParamsDYNAMIC_CONSTRAINT_ERROR
MinBitRateSHALL satisfy 1 <= MinBitRate <= MaxBitRateDYNAMIC_CONSTRAINT_ERROR
MaxBitRateSHALL >= 1; MAY reference the minimum bit rate of the corresponding Codec/Resolution in CAVSMRateDistortionTradeOffPointsDYNAMIC_CONSTRAINT_ERROR
KeyFrameIntervalSHALL satisfy 0 <= KeyFrameInterval <= 65500DYNAMIC_CONSTRAINT_ERROR
  • StreamUsage not in CAVSMStreamUsagePriorities -> return INVALID_IN_STATE.
  • Any parameter exceeding the table above or device capabilities -> return DYNAMIC_CONSTRAINT_ERROR.
  • An exactly matching stream already exists in CAVSMAllocatedVideoStreams -> return the existing VideoStreamID (SUCCESS).
  • Insufficient resources such as encoder count, encoded pixel rate, or network bandwidth (refer to CAVSMMaxConcurrentEncoders, CAVSMMaxEncodedPixelRate, CAVSMMaxNetworkBandwidth) -> return RESOURCE_EXHAUSTED.
  • Validation passed -> allocate a new VideoStreamID, append it to CAVSMAllocatedVideoStreams, and Report.

CAVSMVideoStreamDeallocate Command​

Releases a video encoding stream. On success, the device SHALL Report the updated CAVSMAllocatedVideoStreams.

Parameters​

CAVSMVideoStreamDeallocate Command Structure

Response​

CAVSMVideoStreamDeallocateResponse Command Structure

note

After receiving this Command, SHALL validate the VideoStreamID and process it according to the following rules.

Parameter Validation

ParameterValidation RuleFailure Status
VideoStreamIDSHALL exist in CAVSMAllocatedVideoStreamsNOT_FOUND
VideoStreamIDThe ReferenceCount of the corresponding stream SHALL be 0INVALID_IN_STATE
VideoStreamIDThe StreamUsage of the corresponding stream SHALL not be InternalDYNAMIC_CONSTRAINT_ERROR
  • VideoStreamID does not exist -> return NOT_FOUND.
  • ReferenceCount > 0 (still referenced by WebRTC sessions, etc.) -> return INVALID_IN_STATE.
  • StreamUsage=Internal -> return DYNAMIC_CONSTRAINT_ERROR.
  • Validation passed -> release the video stream, remove it from CAVSMAllocatedVideoStreams, and Report.

CAVSMAudioStreamAllocate Command​

Allocates an audio encoding stream. On success, the device SHALL Report the updated CAVSMAllocatedAudioStreams.

Parameters​

CAVSMAudioStreamAllocate Command Structure

Response​

CAVSMAudioStreamAllocateResponse Command Structure

note

After receiving this Command, SHALL validate the request parameters and process them according to the following rules.

Parameter Validation

ParameterValidation RuleFailure Status
StreamUsageSHALL be Recording, Analysis, LiveView, or LocalPlayback; SHALL exist in CAVSMStreamUsagePriorities and CAVSMSupportedStreamUsagesINVALID_IN_STATE
AudioCodecFor LiveView/Recording/Analysis SHALL be a value in CAVSMMicrophoneCapabilities.SupportedCodecs; for LocalPlayback MAY validate against the encoding of the local recording fileDYNAMIC_CONSTRAINT_ERROR
ChannelCountSHALL satisfy 1 <= ChannelCount <= 8, and <= CAVSMMicrophoneCapabilities.MaxNumberOfChannelsDYNAMIC_CONSTRAINT_ERROR
SampleRateSHALL >= 1 and belong to CAVSMMicrophoneCapabilities.SupportedSampleRatesDYNAMIC_CONSTRAINT_ERROR
BitRateSHALL >= 1DYNAMIC_CONSTRAINT_ERROR
BitDepthSHALL be 8, 16, 24, or 32, and belong to CAVSMMicrophoneCapabilities.SupportedBitDepthsDYNAMIC_CONSTRAINT_ERROR
  • StreamUsage not in CAVSMStreamUsagePriorities -> return INVALID_IN_STATE.
  • Any audio parameter outside the supported range of CAVSMMicrophoneCapabilities -> return DYNAMIC_CONSTRAINT_ERROR.
  • An exactly matching stream already exists in CAVSMAllocatedAudioStreams -> return the existing AudioStreamID (SUCCESS).
  • Insufficient resources -> return RESOURCE_EXHAUSTED.
  • Validation passed -> allocate a new AudioStreamID, append it to CAVSMAllocatedAudioStreams, and Report.

CAVSMAudioStreamDeallocate Command​

Releases an audio encoding stream. On success, the device SHALL Report the updated CAVSMAllocatedAudioStreams.

Parameters​

CAVSMAudioStreamDeallocate Command Structure

Response​

CAVSMAudioStreamDeallocateResponse Command Structure

note

After receiving this Command, SHALL validate the AudioStreamID and process it according to the following rules.

Parameter Validation

ParameterValidation RuleFailure Status
AudioStreamIDSHALL exist in CAVSMAllocatedAudioStreamsNOT_FOUND
AudioStreamIDThe ReferenceCount of the corresponding stream SHALL be 0INVALID_IN_STATE
AudioStreamIDThe StreamUsage of the corresponding stream SHALL not be InternalDYNAMIC_CONSTRAINT_ERROR
  • AudioStreamID does not exist -> return NOT_FOUND.
  • ReferenceCount > 0 -> return INVALID_IN_STATE.
  • StreamUsage=Internal -> return DYNAMIC_CONSTRAINT_ERROR.
  • Validation passed -> release the audio stream, remove it from CAVSMAllocatedAudioStreams, and Report.

CAVSMSetStreamPriorities Command​

Sets the Stream Usage priorities. On success, the device SHALL Report CAVSMStreamUsagePriorities.

Parameters​

CAVSMSetStreamPriorities Command Structure

Response​

CAVSMSetStreamPrioritiesResponse Command Structure

note

After receiving this Command, SHALL validate the StreamPriorities and process them according to the following rules.

Parameter Validation

ParameterValidation RuleFailure Status
StreamPrioritiesCAVSMAllocatedVideoStreams and CAVSMAllocatedAudioStreams SHALL both be emptyINVALID_IN_STATE
StreamPrioritiesEvery value in the list SHALL exist in CAVSMSupportedStreamUsagesDYNAMIC_CONSTRAINT_ERROR
StreamPrioritiesThe list SHALL have no duplicates; Index 0 is the highest priorityALREADY_EXISTS
  • Any allocated audio/video stream exists -> return INVALID_IN_STATE.
  • The list contains values outside CAVSMSupportedStreamUsages -> return DYNAMIC_CONSTRAINT_ERROR.
  • The list contains duplicate StreamUsage -> return ALREADY_EXISTS.
  • Validation passed -> update CAVSMStreamUsagePriorities and Report.

WebRTC (WebRTC Transport)​

Introduction​

The WebRTC Transport Function defines the WebRTC signaling interface between the Client and the Server, covering live streaming (LiveView) and local SD card recording playback (LocalPlayback) sessions. The Client submits signaling to the Server via Aqara Spec Command, and the Server returns processing results and signaling events via Response and Report; both parties transmit bidirectional media over WebRTC (P2P/TURN). Local playback assumes the Server has only one local recording file, which can be played back directly without specifying a source clip ID.

WebRTC and CAVSM Dependencies​

WebRTC sessions depend on CameraAVStreamManagement to provide allocated audio/video streams. Before initiating WebRTCProvideOffer to create a new session or WebRTCSolicitOffer, the Client SHALL obtain the VideoStreamID and AudioStreamID required for this session; WebRTC signaling negotiation does not replace stream allocation.

  1. The Client SHALL query CAVSMMicrophoneCapabilities, CAVSMVideoSensorParams, CAVSMRateDistortionTradeOffPoints, CAVSMAllocatedAudioStreams and CAVSMAllocatedVideoStreams to obtain the audio/video capabilities and the list of allocated streams.
  2. The Client SHALL determine the audio/video stream parameters based on the above capabilities and the requirements of this session. Audio parameters include AudioCodec, ChannelCount, SampleRate, BitDepth, and BitRate; the codec, channel count, sample rate, and bit depth SHALL satisfy the microphone capability constraints. Video parameters include VideoCodec, frame rate, resolution range, bit rate range, and key frame interval; the resolution and frame rate SHALL satisfy the constraints of CAVSMVideoSensorParams, the VideoCodec and resolution tier SHALL be selected according to the Codec and Resolution of CAVSMRateDistortionTradeOffPoints, and the bit rate MAY reference the MinBitRate of the corresponding tier. For fixed resolution, both MinResolution and MaxResolution are set to the selected tier; when multi-tier switching is required, they are set to the lower and upper bounds of the required tier range, respectively.
  3. The Client SHALL determine, based on the StreamUsage of this session and the determined audio/video parameters, whether the list already contains a reusable audio stream and video stream; if a matching stream already exists, reuse its ID and skip the corresponding Allocate step.
  4. When no matching video stream exists, the Client SHALL call CAVSMVideoStreamAllocate with the determined video parameters; when no matching audio stream exists, the Client SHALL call CAVSMAudioStreamAllocate with the determined audio parameters.
  5. The Client SHALL wait for the allocation of all required streams to succeed and obtain the stream IDs from the responses, then initiate the WebRTC session; if any required stream allocation fails, it SHALL NOT continue connection establishment using the result of that failed allocation.
  6. The Client SHALL fill the obtained video stream IDs into VideoStreams and the audio stream IDs into AudioStreams. The referenced streams SHALL have been allocated on the Server, and their StreamUsage SHALL be consistent with this session; when only one medium is used, only the stream IDs of the corresponding type need to be prepared and carried.

The following pre-interactions apply to both LiveView and LocalPlayback; when only one medium is used, skip the capability query, parameter selection, list query, and matching and allocation steps for the other medium.

Interaction Flow​

Interaction Roles​

This section uniformly uses Client and Server to describe interactions without distinguishing specific access topologies.

  • Client: the side that requests and receives media and initiates control, collectively representing the App and the cloud.
  • Server: the side that provides media and handles requests, collectively representing the gateway and the camera.

The Client and Server complete signaling interactions through Aqara Spec Command / Response / Report and transmit bidirectional media over WebRTC (P2P/TURN). Internal forwarding and protocol conversion within each side are not expanded in the flow diagrams.

WebRTCProvideOffer Flow​

The Client first completes the CameraAVStreamManagement pre-interaction, then generates and submits the SDP Offer; the Server returns the Answer.

WebRTCSolicitOffer Flow​

The Client first completes the CameraAVStreamManagement pre-interaction. This flow applies to scenarios such as wake-up from standby; the Server delivers the Offer deferred, and the Client then submits the Answer.

Resolution Switching​

The Client SHALL use the WebRTCSetResolution Command to switch one VideoStreamID bound to this session to the target resolution.

Switching Conditions​
  • VideoStreamID SHALL be a StreamUsage=LiveView stream bound to this session, and the MinResolution of that stream SHALL be less than MaxResolution.
  • The target Resolution SHALL fall between the MinResolution and MaxResolution of that stream, and SHALL be one of the tiers in CAVSMRateDistortionTradeOffPoints.
  • Playback sessions with StreamUsage=LocalPlayback do not support resolution switching.
Switching Flow and Result​

This flow assumes a WebRTC session has been established with a video stream that supports resolution switching bound, and applies to both connection methods, the WebRTCProvideOffer Flow and the WebRTCSolicitOffer Flow.

Resolution switching:

  1. The Client sends WebRTCSetResolution, carrying VideoStreamID and the target Resolution.
  2. The Server validates the request per the WebRTCSetResolution Command definition and returns a success or failure response.
  3. After returning SUCCESS, the Server SHALL switch the target stream to the specified resolution, keeping VideoStreamID and SSRC unchanged; the new resolution starts from a new IDR, and the IDR carries the new SPS. After the new-tier IDR is sent, the current resolutions being sent for each video stream of this session SHALL be reported via WebRTCStreamResolution, and the target stream SHALL be at the specified resolution.
  4. When the request fails, the Server SHALL return the corresponding non-SUCCESS status and keep the original resolution; it SHALL NOT return SUCCESS and then keep the original tier on the grounds that the target-tier IDR was not observed.

If the target is the current resolution and no switching is in progress, the Server SHALL return SUCCESS and immediately report WebRTCStreamResolution once.

Each WebRTCStreamResolution report SHALL carry the complete video stream resolution list of this session, and the other unaffected streams keep their original values. The Client SHALL confirm the actual resolution based on the reported values.

Local SD Card Recording Playback​

This section only defines the establishment of playback sessions. The Server maintains only one local recording file; the Client initiates a LocalPlayback session to play back that file, without carrying a source clip identifier. Playback control and recording queries are in Playback.

Playback Session Establishment Flow​

Note: With StreamUsage=LocalPlayback, MetadataEnabled=true SHALL be set so that the DataChannel can be opened on this PeerConnection. Resolution, playback control, and recording queries within the session go through InvokeCommand on aqara.control; recording file bytes go through the file transfer business interaction protocol on aqara.download. Definitions of playback control, recording index, and recording file download are in Playback. Carriage is via DataChannel.

Function Identification​

Processing Logic

Function IDCodeName
0x001DWebRTCWebRTC transport

Trait​

The Server uses the following Traits for reporting.

Trait IDCodeNameConformance
0x5129WebRTCCurrentSessionsM
0x512AWebRTCSignalingEventM
0x512BWebRTCSessionStatusO
0x5244WebRTCStreamResolutionO

Command​

The Client uses the following Commands for requests.

Command IDCodeNameConformance
0x9D8FWebRTCSolicitOfferO
0x9D90WebRTCProvideOfferO
0x9D91WebRTCProvideAnswerO
0x9D92WebRTCProvideICECandidatesO
0x9D93WebRTCEndSessionO
0x9D94WebRTCLocalPlaybackSeekO
0x9DB9WebRTCSetResolutionO
0x9DBAWebRTCTalkO

Data Types​

WebRTCStatusCodeEnum8 Type​

This enumeration defines the valid response status code values for the Commands of the WebRTC Function; it is independent of the status code definitions of other Functions.

ValueNameDescription
0x00SUCCESSSuccess
0x01NOT_FOUNDNot found
0x02INVALID_IN_STATEInvalid state
0x03INVALID_COMMANDInvalid command
0x04DYNAMIC_CONSTRAINT_ERRORDynamic constraint error
0x05RESOURCE_EXHAUSTEDResources exhausted
0x06ALREADY_EXISTSAlready exists
SignalingEventTypeEnum8 Type​

This enumeration defines the valid values of the signaling event types in the WebRTCSignalingEvent Trait.

ValueNameDescription
0x00OfferAfter WebRTCSolicitOffer (especially DeferredOffer)
0x01AnswerAfter WebRTCProvideOffer
0x02ICETrickle ICE
0x03EndCamera ends the session
WebRTCEndReasonEnum8 Type​

This enumeration defines the valid values of the WebRTC session end reasons.

ValueNameDescription
0x00ICEFailedFailed to establish media connection
0x01ICETimeoutICE timeout
0x02UserHangupUser hang-up
0x03UserBusyRemote busy
0x04ReplacedReplaced
0x05NoUserMediaNo local media device
0x06InviteTimeoutOffer/Answer timeout
0x07AnsweredElsewhereAnswered by another device
0x08OutOfResourcesInsufficient resources
0x09MediaTimeoutMedia timeout
0x0ALowPowerLow battery
0x0BPrivacyModePrivacy mode
0x0CUnknownReasonUnknown
MediaTransportEnum8 Type​

This enumeration defines the valid values of the actual media transport methods.

ValueNameDescription
0x00UnknownUnknown or not determined
0x01P2PEnd-to-end direct connection
0x02TURNVia TURN relay
SessionStatusEventEnum8 Type​

This enumeration defines the valid values of the status event types in the WebRTCSessionStatus Trait.

ValueNameDescription
0x00MediaConnectedMedia channel established; reports the actual streaming method
0x01SessionEndedSession ended; reports streaming statistics and disconnect reason
ICEServerStructure Type​

This structure defines the field layout of the ICE server configuration.

Structure Member IndexField NameTypeRequiredDescription
0URLslist[characterString]MList of stun:/turn:/stuns:/turns: URLs.
1UsernamecharacterStringOTURN username.
2CredentialcharacterStringOTURN credential.
3CAIDuint16OTLS root certificate ID for turns/stuns.
ICECandidateStructure Type​

This structure defines the field layout of the ICE candidate.

Structure Member IndexField NameTypeRequiredDescription
0CandidatecharacterStringMRFC 8839 candidate-attribute.
1SDPMidcharacterStringMsdpMid.
2SDPMLineIndexuint16Mm= line index.
ExtensionOptionsStructure Type​

Extension options for configuring the timeout values of each WebRTC connection establishment phase and other extension parameters. The Struct as a whole and each field are optional; when a field is not carried, the gateway SHALL use implementation defaults. Options not supported by the downstream Matter WebRTC protocol are interpreted and executed by the gateway on the Aqara Spec side.

Structure Member IndexField NameTypeRequiredDescription
0ICECollectionTimeoutuint32OICE candidate collection timeout (ms).
1TLSConnectTimeoutuint32OTLS connection timeout (ms); applicable to TURN/TURNS.
2InviteTimeoutuint32OOffer/Answer signaling exchange timeout (ms).
3DeferredOfferTimeoutuint32ODeferred offer wait timeout (ms); applicable to WebRTCSolicitOffer.
4ICENegotiationTimeoutuint32OICE connectivity check timeout (ms).
5MediaTimeoutuint32OMedia channel establishment timeout (ms).
SessionStructure Type​

This structure defines the field layout of the WebRTC session.

Structure Member IndexField NameTypeRequiredDescription
0SessionIduint16MCorresponding WebRTC SessionID.
1StreamUsageStreamUsageEnum8MStream usage; definition see CameraAVStreamManagement.
2MetadataEnabledbooleanMMetadata DataChannel switch.
3VideoStreamslist[uint16]MList of VideoStreamIDs.
4AudioStreamslist[uint16]MList of AudioStreamIDs.
SignalingEventStructure Type​

This structure defines the field layout of the signaling event.

Structure Member IndexField NameTypeRequiredDescription
0SessionIduint16MWebRTC SessionID.
1EventTypeSignalingEventTypeEnum8MSignaling event type.
2SDPcharacterStringOOffer/Answer SDP.
3ICECandidateslist[ICECandidateStructure]OList of ICE candidates.
4ReasonWebRTCEndReasonEnum8OSession end reason.
SessionStatusStructure Type​

Session status report structure. The gateway Reports based on the route selection result of the WebRTC media stack and the session lifecycle; when the downstream Matter protocol has no corresponding capability, the gateway aggregates and reports it.

Structure Member IndexField NameTypeRequiredDescription
0SessionIduint16MWebRTC SessionID.
1EventTypeSessionStatusEventEnum8MStatus event type.
2MediaTransportMediaTransportEnum8MActual streaming method (P2P / TURN).
3DurationMsuint32OStreaming duration (ms).
4VideoFrameCountuint32OTotal number of received video frames.
5DisconnectReasonWebRTCEndReasonEnum8ODisconnect reason.
6SignalingDurationMsuint32OSignaling interaction duration (ms); from session initiation to media channel establishment.

Note: When EventType=MediaConnected, SHALL carry MediaTransport and SignalingDurationMs; when EventType=SessionEnded, SHALL carry DurationMs, MediaTransport, VideoFrameCount, and DisconnectReason, and MAY carry SignalingDurationMs.

WebRTCSolicitOffer Command Structure Type​

Request parameter structure of the WebRTCSolicitOffer Command.

Structure Member IndexField NameTypeRequiredDescription
0InitiatorDatacharacterStringOInitiator data; used to correlate requests and replies before the SessionId is generated; maximum 32 bytes.
1StreamUsageStreamUsageEnum8MStream usage.
2ICEServerslist[ICEServerStructure]OICE server list (up to 10).
3ICETransportPolicycharacterStringOICE policy (all or relay).
4MetadataEnabledbooleanOMetadata DataChannel switch.
5VideoStreamslist[uint16]OList of VideoStreamIDs (1 to 16); SHALL be carried when video is used and SHALL reference the streams allocated for this StreamUsage, see CameraAVStreamManagement pre-interaction.
6AudioStreamslist[uint16]OList of AudioStreamIDs (1 to 16); SHALL be carried when audio is used and SHALL reference the streams allocated for this StreamUsage, see CameraAVStreamManagement pre-interaction.
7ExtensionOptionsExtensionOptionsStructureOExtension options.
WebRTCSolicitOfferResponse Command Structure Type​

Response parameter structure of the WebRTCSolicitOffer Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusWebRTCStatusCodeEnum8MProcessing status; definition see WebRTCStatusCodeEnum8.
1InitiatorDatacharacterStringOEchoes the InitiatorData from the request.
2SessionIduint16OSHALL be carried with the allocated session ID when Status=SUCCESS; SHALL be omitted on failure.
3DeferredOfferbooleanOWhether the Offer is delivered with a delay; SHALL be carried when Status=SUCCESS; SHALL be omitted on failure.
WebRTCProvideOffer Command Structure Type​

Request parameter structure of the WebRTCProvideOffer Command.

Structure Member IndexField NameTypeRequiredDescription
0InitiatorDatacharacterStringOInitiator data; used to correlate requests and replies before the SessionId is generated; maximum 32 bytes.
1SessionIduint16OSession ID; absent means a new session, present means re-offer.
2SDPcharacterStringMSDP Offer.
3StreamUsageStreamUsageEnum8OStream usage; required when creating a new session.
4ICEServerslist[ICEServerStructure]OICE server list (up to 10).
5ICETransportPolicycharacterStringOICE policy.
6MetadataEnabledbooleanOMetadata DataChannel switch.
7VideoStreamslist[uint16]OList of VideoStreamIDs (1 to 16); SHALL be carried when video is used and SHALL reference the streams allocated for this StreamUsage, see CameraAVStreamManagement pre-interaction.
8AudioStreamslist[uint16]OList of AudioStreamIDs (1 to 16); SHALL be carried when audio is used and SHALL reference the streams allocated for this StreamUsage, see CameraAVStreamManagement pre-interaction.
9ExtensionOptionsExtensionOptionsStructureOExtension options.
WebRTCProvideOfferResponse Command Structure Type​

Response parameter structure of the WebRTCProvideOffer Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusWebRTCStatusCodeEnum8MProcessing status.
1InitiatorDatacharacterStringOEchoes the InitiatorData from the request.
2SessionIduint16OSHALL be carried with the new or updated session ID when Status=SUCCESS; SHALL be omitted on failure.
WebRTCProvideAnswer Command Structure Type​

Request parameter structure of the WebRTCProvideAnswer Command.

Structure Member IndexField NameTypeRequiredDescription
0SessionIduint16MSession ID.
1SDPcharacterStringMSDP Answer.
WebRTCProvideAnswerResponse Command Structure Type​

Response parameter structure of the WebRTCProvideAnswer Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusWebRTCStatusCodeEnum8MProcessing status.
1SessionIduint16MSession ID.
WebRTCProvideICECandidates Command Structure Type​

Request parameter structure of the WebRTCProvideICECandidates Command.

Structure Member IndexField NameTypeRequiredDescription
0SessionIduint16MSession ID.
1ICECandidateslist[ICECandidateStructure]MList of local ICE candidates.
WebRTCProvideICECandidatesResponse Command Structure Type​

Response parameter structure of the WebRTCProvideICECandidates Command.

Structure Member IndexField NameTypeRequiredDescription
0StatusWebRTCStatusCodeEnum8MProcessing status.
1SessionIduint16MSession ID.
WebRTCEndSession Command Structure Type​

Request parameter structure of the WebRTCEndSession Command.

Structure Member IndexField NameTypeRequiredDescription
0SessionIduint16MSession ID.
1ReasonWebRTCEndReasonEnum8MEnd reason.
WebRTCTalk Command Structure Type​

The request structure of WebRTCTalk.

Struct Member IndexField NameTypeMandatoryDescription
0EnabledbooleanMTurn talk on or off. true opens talk, false closes talk
1SessionIduint16OCarried over COIP to specify the session to open or close talk on. Omitted on DataChannel; the session is determined by that channel
WebRTCTalkResponse Command Structure Type​

The response structure of WebRTCTalk.

Struct Member IndexField NameTypeMandatoryDescription
0StatusWebRTCStatusCodeEnum8MCommand execution result; see the command definition for values
WebRTCSetResolution Command Structure Type​

The request structure of WebRTCSetResolution.

Struct Member IndexField NameTypeMandatoryDescription
0VideoStreamIDuint16MThe video stream ID to switch
1ResolutionVideoResolutionStructureMThe target resolution
2SessionIduint16OCarried over COIP to specify the session. Omitted on DataChannel; the session is determined by that channel
WebRTCSetResolutionResponse Command Structure Type​

The response structure of WebRTCSetResolution.

Struct Member IndexField NameTypeMandatoryDescription
0StatusWebRTCStatusCodeEnum8MCommand execution result; see the command definition for values
StreamResolutionStructure Type​

One record corresponds to one session; as many entries as VideoStreamID streams bound to the session appear in the list.

Struct Member IndexField NameTypeMandatoryDescription
0SessionIduint16MWebRTC session ID, see SessionStructure. When the same VideoStreamID is referenced by multiple sessions, each session reports it separately
1VideoStreamslist[VideoStreamResolutionStructure]MThe resolution currently being sent on each stream of this session, in the same order as the VideoStreams in WebRTCProvideOffer
VideoStreamResolutionStructure Type​
Struct Member IndexField NameTypeMandatoryDescription
0VideoStreamIDuint16MVideo stream ID
1ResolutionVideoResolutionStructureMThe resolution currently being sent on this stream

Trait Definitions​

WebRTCCurrentSessions Trait​

List of currently active WebRTC sessions.

Trait IDCode
0x5129WebRTCCurrentSessions
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[SessionStructure]RVM

WebRTCSignalingEvent Trait​

Signaling events generated by the camera.

Trait IDCode
0x512AWebRTCSignalingEvent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSignalingEventStructureRVM

WebRTCSessionStatus Trait​

Session status and streaming statistics.

Trait IDCode
0x512BWebRTCSessionStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueSessionStatusStructureRVO
note

The gateway SHALL Report this Trait at the following moments:

  • Media channel established and route selection completed (EventType=MediaConnected): report SessionId, the actual MediaTransport (P2P or TURN), and SignalingDurationMs.
  • Session ended (EventType=SessionEnded): report DurationMs, MediaTransport, VideoFrameCount, and DisconnectReason.

WebRTCStreamResolution Trait​

Reports the resolution currently being sent on each video stream of each session.

Trait IDCode
0x5244WebRTCStreamResolution
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[StreamResolutionStructure]RVM

Reporting timing: each report carries the whole list of that session, not only the stream that changed.

  • The IDR of a new resolution of one stream has been sent -> that stream appears in the new list with the new tier.
  • A request failed -> keep the original resolution; do not trigger a resolution change report because of that failed request.
  • The target is already the current resolution and there is no switch in progress -> return SUCCESS and report the current resolution immediately.
  • Other unaffected streams in the same session appear in the same list with their original values.

Path: the Server SHALL send it on the session's aqara.control with ProtocolID 0x00, OpCode 0x018A (UnconfirmedCOVNotificationMultiple); the Trait's Present Value SHALL be updated synchronously, and it MAY additionally be reported through the Report path.

Command Definitions​

WebRTCSolicitOffer Command​

The Client SHALL first complete the CameraAVStreamManagement pre-interaction, and then request the Server to initiate a WebRTC Offer. When DeferredOffer=true, the subsequent Offer is delivered via the Report WebRTCSignalingEvent, and the App then sends WebRTCProvideAnswer.

Parameters​

WebRTCSolicitOffer Command Structure

Response​

WebRTCSolicitOfferResponse Command Structure

WebRTCProvideOffer Command​

Submits an SDP Offer to establish or update a WebRTC session. Before creating a new session, the Client SHALL complete the CameraAVStreamManagement pre-interaction. On success, the camera sends an Answer through Matter, and the gateway Reports WebRTCSignalingEvent(Answer).

Parameters​

WebRTCProvideOffer Command Structure

Response​

WebRTCProvideOfferResponse Command Structure

note

When StreamUsage=LocalPlayback:

  • SHALL set MetadataEnabled=true.
  • VideoStreams / AudioStreams SHALL be CAVSM allocated stream IDs with StreamUsage=LocalPlayback.
  • The Server SHALL have a readable local recording file; otherwise return INVALID_IN_STATE or NOT_FOUND.
  • The Server SHALL play back the single local recording file, starting from the beginning of the file or a resume position defined by the implementation.

WebRTCProvideAnswer Command​

Submits an SDP Answer to complete the WebRTC signaling negotiation.

Parameters​

WebRTCProvideAnswer Command Structure

Response​

WebRTCProvideAnswerResponse Command Structure

WebRTCProvideICECandidates Command​

Submits local Trickle ICE candidates.

Parameters​

WebRTCProvideICECandidates Command Structure

Response​

WebRTCProvideICECandidatesResponse Command Structure

WebRTCEndSession Command​

Ends a WebRTC session.

Parameters​

WebRTCEndSession Command Structure

WebRTCTalk Command​

Session-level talk switch. The Server allows only one session to have talk open at a time. The InvokeCommand forwarded by COIP and the InvokeCommand on this session's aqara.control use the same WebRTCTalk Command Structure. Request OpCode 0x008D, response OpCode 0x038D.

Parameters​

WebRTCTalk Command Structure

Response​

WebRTCTalk Response Command Structure, where Status takes the following values:

StatusDescription
SUCCESSThe SessionId has been opened and occupied, or closed and released. It also succeeds when the session is already in the target state.
NOT_FOUNDSessionId is not an active session. When it arrives from the DataChannel, a mismatch with the session to which that channel belongs also takes this value.
INVALID_IN_STATEThe Server does not support talk, or the session is not LiveView.
INVALID_COMMANDEnabled is missing. When it arrives from COIP without SessionId, this value is also taken.
RESOURCE_EXHAUSTEDTalk is already occupied by another session, and the SessionId cannot be opened.
Processing​
  • When it arrives from aqara.control without SessionId, the session is the one to which that channel belongs. A carried inconsistent SessionId -> return NOT_FOUND. When it arrives from COIP, SessionId SHALL be carried; omission -> return INVALID_COMMAND.
  • Enabled=true and not yet occupied -> this session occupies, return SUCCESS.
  • Opening again when this session has already occupied -> return SUCCESS; it does not constitute a second occupation.
  • Opening when another session has already occupied -> return RESOURCE_EXHAUSTED. This session stays closed and does not preempt.
  • The occupant sends Enabled=false -> release, return SUCCESS.
  • A non-occupant sends Enabled=false -> return SUCCESS; the occupant is not released.
  • The occupant's WebRTCEndSession, its DataChannel closing, or the PeerConnection ending -> release the occupation.

WebRTCSetResolution Command​

Switches one VideoStreamID bound to this session to the target resolution. The switch does not change the SSRC; the new resolution starts from the new IDR of that stream, and the IDR carries the new SPS. After returning SUCCESS, the Server SHALL complete the switch to the specified resolution, and the actual resolution is reported by WebRTCStreamResolution; on request failure, a non-SUCCESS status is returned and the original resolution is kept.

Parameters​

WebRTCSetResolution Command Structure

Response​

WebRTCSetResolutionResponse Command Structure, where Status takes the following values:

StatusDescription
SUCCESSThe request succeeds; the Server SHALL switch to the specified resolution. When the target is already the current resolution, keep it and report immediately.
NOT_FOUNDSessionId is not an active session, or the target ID is not in this session. A SessionId carried on the DataChannel that is inconsistent with that channel also takes this value.
INVALID_IN_STATEThis stream cannot be switched (MinResolution = MaxResolution, non-LiveView, playback session).
INVALID_COMMANDThe target resolution exceeds the Min/Max of that ID, or is not a tier of the capability set. When it arrives from COIP without SessionId, this value is also taken.
RESOURCE_EXHAUSTEDThe command queue is full.
Validation and Processing​
  • When it arrives from aqara.control without SessionId, the session is the one to which that channel belongs. A carried inconsistent SessionId -> return NOT_FOUND. When it arrives from COIP, SessionId SHALL be carried; omission -> return INVALID_COMMAND.
  • VideoStreamID SHALL be a stream bound to this session with StreamUsage=LiveView; the MinResolution of that ID SHALL be less than MaxResolution.
  • The target resolution SHALL fall between the MinResolution and MaxResolution of that ID, and SHALL be a tier of CAVSMRateDistortionTradeOffPoints.
  • The target is already the current resolution and there is no switch in progress -> return SUCCESS and report WebRTCStreamResolution once immediately.
  • The request is executable -> return SUCCESS; the Server SHALL complete the switch and report WebRTCStreamResolution after the new IDR at the specified resolution is sent.
  • The request is not executable -> return the corresponding non-SUCCESS status and keep the original resolution.
  • Requests on the same stream SHALL be processed in order; SHALL NOT override a switch that has returned SUCCESS but has not yet completed. When the command queue is full, return RESOURCE_EXHAUSTED.

DataChannel​

The transport, channels, messages, and file transfer binding of the in-session DataChannel are described in DataChannel.

DataChannel​

Overview​

This section defines the Trait, Command, and carrier on the DataChannel within a WebRTC session. These Trait and Command still belong to the WebRTC Function, and Command IDs share the same table as cloud signaling. In-session commands and states are InvokeCommand and UnconfirmedCOVNotificationMultiple with ProtocolID 0x00, sent and received on aqara.control, without passing through the cloud. File bytes use the file transfer business interaction protocol (ProtocolID 0x02). Fields, OpCodes, and interactions follow that protocol; this section does not define another set.

Transport​

The transport stack of the WebRTC DataChannel (RFC 8831) is SCTP over DTLS over ICE. One m=application is one SCTP association. There are two Data Channels on this association. Each Data Channel is bidirectional, with one SCTP stream in each direction, and the two streams use the same stream id.

LayerRoleMeaning for this binding
ICEHole punching or relay (P2P / TURN)Shares one candidate pair and one connection with audio/video
DTLSEncryption and identityShares the same certificate as audio/video; a=setup decides active / passive
SCTPReliable, ordered, message-oriented (RFC 4960)This binding depends directly on it
DCEP (RFC 8832)Opens channels on the associationlabel, Channel Type, and Priority live here and do not enter the SDP

Reliability and ordering are guaranteed by SCTP. File transfer reuses this delivery and does not add its own acknowledgment, retransmission, or whole-file checksum. Integrity is borne by DTLS. CoAP Type and Message ID do not carry acknowledgment. The request order of blocks is described in blockRequest. Only the Requestor can cancel, as described in abortRequest.

Channels​

A WebRTC session has at most one m=application. This media description carries one SCTP association, and the association runs on the same DTLS. There are two Data Channels (RFC 8831) on the association. Each Data Channel is bidirectional, with one SCTP stream in each direction, the same stream id, and the name is the DCEP Label:

labelPurposeChannel TypePriorityContent-Format
aqara.controlBusiness commands and responses, device status notifications. Recording queries and tier switching, and playback are also on this Data Channel0x00 reliable ordered102450 (JSON)
aqara.downloadFetch file bytes according to the file transfer business interaction protocol0x00 reliable ordered12860 (CBOR)

The ProtocolID is selected by which allocated business protocol a message in the session belongs to, and no separate protocol is defined per Data Channel:

ProtocolIDBusiness protocol familyCarrier in this session
0x00Aqara data model business interaction protocolInvokeCommand (including recording queries) and UnconfirmedCOVNotificationMultiple
0x02File transfer business interaction protocolCarries file fetching only

The OpCodes of 0x00 follow the data model: the high byte is the PDU Type and the low byte is the Service Choice. This binding does not add such OpCodes.

OpCodePDU TypeService nameDescription
0x008DConfirmed-RequestInvokeCommandIn-session business command. propertyIdentifier is the Command ID and propertyValue is the command request parameters
0x038DComplexACKInvokeCommandCommand response. propertyValue is the command response structure, member 0 is Status
0x018AUnconfirmed-RequestUnconfirmedCOVNotificationMultipleDevice actively reports WebRTCStreamResolution and LocalPlaybackStatus

0x02 uses the function numbers of the file transfer protocol itself. Fields and interactions are described in the definitions linked in the table below; this section does not define another set.

OpCodeFunction nameDescription
0x0000 / 0x0001initRequest / initResponseEstablish the transfer
0x0002 / 0x0003blockRequest / blockResponsePull by range in batches; each block response carries blockCounter and data
0x0004 / 0x0005EOFRequest / EOFResponseThe requestor confirms that the last block has been processed
0x0006 / 0x0007abortRequest / abortResponseThe requestor cancels
0x0008errorResponseBusiness failure. The data model Error PDU is not used
labelCarrierOpCodeDirectionTypical messages
aqara.controlInvokeCommand (ProtocolID 0x00)0x008D / 0x038DApp -> Device / backWebRTCSetResolution, WebRTCTalk, LocalPlaybackControl, LocalRecordQuery
aqara.controlUnconfirmedCOVNotificationMultiple (ProtocolID 0x00)0x018ADevice -> AppWebRTCStreamResolution, LocalPlaybackStatus
aqara.downloadFile transfer (ProtocolID 0x02)0x0000-0x0008App requests, device respondsinit, block, EOF, abort, error

The table above specifies which type of message uses which label:

  • The same CoAP message SHALL NOT appear on two labels.
  • The two Data Channels are each ordered and do not queue on each other; control messages are not queued behind file blocks. They share this one SCTP association, the same DTLS / ICE, and the same congestion window, and SHALL NOT each open an m=.
  • The App creates labels after WebRTCProvideOffer (negotiated=false). The device collects them in onDataChannel by label; labels that do not match SHALL be ignored. Before DATA_CHANNEL_OPEN of a label completes, the App SHALL NOT send messages on that label.
  • When the App is the offerer, the stream id of label aqara.control is 0, and label aqara.download is 2.
  • The Channel Type of both Data Channels is 0x00 (DATA_CHANNEL_RELIABLE), and the Reliability Parameter SHALL be 0. Other Channel Types SHALL NOT be used.
  • The Content-Format of label aqara.control SHALL be 50. Label aqara.download SHALL be 60. File blocks are octetString and SHALL NOT be Base64-encoded into JSON.
  • Recording queries are LocalRecordQuery on label aqara.control. The bytes of the index file and recording files go over label aqara.download.

Messages​

One SCTP user message (PPID = 53) SHALL carry exactly one complete CoAP message. This binding fixes the CoAP header to Type=NON, Message ID=0. The message diagrams in the file transfer protocol body are written for reliable transport with Length; OpCode and Payload are the same, see the file transfer business interaction protocol.

SCTP User Message (PPID = 53)
└─ CoAP Message
├─ Version: 1
├─ Type: NON
├─ Code: 0.02 POST / allowed response Codes
├─ Message ID: 0
├─ Token
├─ Options
├─ Payload Marker: 0xFF
└─ Payload
  • Type SHALL be NON. CON, ACK, and RST SHALL NOT be used.
  • Message ID SHALL be 0. Both sides SHALL ignore it and SHALL NOT use it for deduplication or correlation.
  • Requests and responses SHALL be correlated through Token. The Token length SHALL be 1-8 bytes and SHALL NOT repeat on the same connection at the same time.
  • Messages that do not require a response SHALL use an empty Token.
  • One SCTP user message SHALL NOT carry multiple CoAP messages; one CoAP message SHALL NOT span multiple SCTP user messages.
NameOption IDAppearanceValue in this binding
Uri-Path11MTwo Options, values in order coip, interaction
Content-Format12Maqara.control is 50; aqara.download is 60
Accept17CRequests with a payload SHALL carry it. The value for aqara.download is described in the file transfer encoding rules
InteractionVersion2048M0
SourceDeviceID2052OSHALL be omitted
DestinationDeviceID2056OSHALL be omitted
ProtocolID2064M0x00 or 0x02
OpCode2072MSee the OpCode table of Channels; SHALL use the shortest uint encoding
PayloadEncryption2076M0
ScenarioSenderReceiver
Business commands (including recording queries)Code 0.02, non-empty Token2.04 Changed, echoing the same Token
File transferCode 0.02, non-empty Token2.04 Changed, echoing the same Token. Interactions follow the OpCode master table
Resolution and playback status reportsCode 0.02, empty Token, OpCode 0x018ANo CoAP response
Business failure of data model commands-Stays in the ComplexACK of InvokeCommand, member 0 is Status
Business failure of file transfer-errorResponse, not StatusCodeEnum8

The structure encoding of aqara.control is a JSON Object, with member keys being the decimal strings of member indices. The encoding of aqara.download is described in the file transfer encoding rules. Mandatory JSON members that are semantically nullable are encoded as null when empty and SHALL NOT omit the key. LocalRecordQuery's QueryLocalRecordType indicates the kind, and only the member it points to appears: LocalRecordIndex or LocalRecordSegment.

SDP and DCEP​

m=application has only the following lines in both the Offer and the Answer. ICE candidates, a=setup, and the fingerprint are shared with audio/video. The mid of this m= goes into the session-level a=group:BUNDLE.

Offer (App):

m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=mid:2
a=sctp-port:5000
a=setup:actpass
a=ice-ufrag:offerufrag
a=ice-pwd:offericepwd0123456789abcd
a=fingerprint:sha-256 AA:BB:CC:DD

Answer (Device):

m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=mid:2
a=sctp-port:5000
a=setup:passive
a=ice-ufrag:answerufrag
a=ice-pwd:answericepwd0123456789abcd
a=fingerprint:sha-256 EE:FF:00:11

When the device does not accept this m=, it writes port 0 and adds a=inactive. The session is still established normally, only without a DataChannel. Tier switching, queries, and file transfer are all unavailable, and media is still sent at the broadcast resolution.

label, Channel Type, and Priority are not written into the SDP; they are opened on the association by RFC 8832 (WebRTC Data Channel Establishment Protocol). When the App is the offerer, stream ids are even.

The format of DATA_CHANNEL_OPEN is in Section 5.1 of RFC 8832:

 0                   1                   2                   3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Message Type | Channel Type | Priority |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reliability Parameter |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label Length | Protocol Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
\ /
| Label |
/ \
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
\ /
| Protocol |
/ \
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

The format of DATA_CHANNEL_ACK is in Section 5.2 of RFC 8832:

 0                   1                   2                   3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Message Type |
+-+-+-+-+-+-+-+-+

The App sends one DATA_CHANNEL_OPEN for each Data Channel. The first column of the table is the value of the Label field:

labelPrioritystream idMessage (hex)
aqara.control1024003 00 04 00 00 00 00 00 00 0D 00 00 + 61 71 61 72 61 2E 63 6F 6E 74 72 6F 6C
aqara.download128203 00 00 80 00 00 00 00 00 0E 00 00 + 61 71 61 72 61 2E 64 6F 77 6E 6C 6F 61 64

Values in this binding: Message Type 0x03, Channel Type 0x00 (DATA_CHANNEL_RELIABLE), Reliability Parameter 0, Protocol Length 0, and Protocol empty. Priority, Label Length, and Label are in the table above. The Message Type of DATA_CHANNEL_ACK is 0x02. a=max-message-size is not written; the default single SCTP user message is 65536 bytes. The stream id is not in the OPEN message body. The App sends this OPEN on the stream id of that Data Channel, and both directions use the same stream id.

Only after the device receives DATA_CHANNEL_OPEN of a label and returns DATA_CHANNEL_ACK does it consider that label available. Before that, the App SHALL NOT send messages on that label. m=application, DTLS, and the SCTP association are not established again per label. Messages are isolated by label, see Channels.

Channel Reporting Trait​

Channel Command Command​

The Commands currently supported on label aqara.control. The specifications are in the DataChannel channel command table of WebRTC and the corresponding Command definitions.

File Transfer Binding​

The App is the Requestor and the device is the Provider. The entries of LocalRecordQuery give FileDescriptorStructure. The field meanings follow the dependency section of the file transfer business interaction protocol and are written into initRequest as-is. Encoding follows the file transfer encoding rules.

  • Label aqara.download carries only ProtocolID 0x02. The device does not proactively send bytes on that label; currently only the requestor pulls.
  • Only one unfinished transferId exists on that label at a time. A second initRequest returns Busy (errorResponse).
  • Block request order, last block, and cancellation follow blockRequest, EOFRequest, and abortRequest.
  • This binding defines the "secure session" as the DTLS session of this PeerConnection. transferId is unique and non-zero within that session. When WebRTCEndSession, the DataChannel closes, or DTLS ends, unfinished transfers are invalidated and both sides release resources.
  • Card removal, circular overwrite, or read failures are not separately cancelled by the device. The result is shown on the current batch or the next request via errorResponse.
  • Media types are not in the file transfer protocol. mp4 and the original index format are decided by the business object.
  • When negotiating maxBlockSize, reserve space for CoAP encapsulation and CBOR overhead, see the file block message of the file transfer protocol. The CBOR Map of blockResponse also carries the current block number blockCounter; the encapsulation overhead varies with the CBOR encoding width of the block number and data length, and is no longer calculated as a fixed 25 bytes. The example uses maxBlockSize of 32768.

SO2 (Sulfur Dioxide)​

Introduction​

Represents the monitoring functional domain for sulfur dioxide in the air, including but not limited to SO2 concentration measurement, whether SO2 is detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x0128SO2Sulfur dioxide

Trait​

Trait IDCodeNameConformance
0x519FSO2DensitySulfur dioxide concentrationM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x519FSO2DensityM

SO2Density Trait (Sulfur Dioxide Concentration)​

Represents the sulfur dioxide concentration in the air, used to evaluate irritant gas pollution levels and to assist in environmental safety monitoring and alarm determination. Unit: ug/m^3.

Trait IDCode
0x519FSO2Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

NO2 (Nitrogen Dioxide)​

Introduction​

Represents the monitoring functional domain for nitrogen dioxide in the air, including but not limited to NO2 concentration measurement, whether NO2 is detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x0129NO2Nitrogen dioxide

Trait​

Trait IDCodeNameConformance
0x51A0NO2DensityNitrogen dioxideM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51A0NO2DensityM

NO2Density Trait (Nitrogen Dioxide)​

Represents the nitrogen dioxide concentration in the air, which can be used to evaluate pollution levels related to combustion or exhaust, as well as air quality risks. Unit: ug/m^3.

Trait IDCode
0x51A0NO2Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

O3 (Ozone)​

Introduction​

Represents the monitoring functional domain for ozone in the air, including but not limited to O3 concentration measurement, whether O3 is detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x012AO3Ozone

Trait​

Trait IDCodeNameConformance
0x51A1O3DensityOzone concentrationM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51A1O3DensityM

O3Density Trait (Ozone Concentration)​

Represents the ozone concentration in the air, used to evaluate oxidative pollution levels and to assist in determining air exposure risks and purification needs. Unit: ug/m^3.

Trait IDCode
0x51A1O3Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

Formaldehyde​

Introduction​

Represents the monitoring functional domain for formaldehyde in the air, including but not limited to HCHO concentration measurement, whether formaldehyde is detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x012BFormaldehydeFormaldehyde

Trait​

Trait IDCodeNameConformance
0x51A3HCHODensityFormaldehyde concentrationM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51A3HCHODensityM

HCHODensity Trait (Formaldehyde Concentration)​

Represents the formaldehyde concentration in the air, used to monitor renovation pollution risks and to assist in determining whether continuous ventilation or purification treatment is needed. Unit: ug/m^3.

Trait IDCode
0x51A3HCHODensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

O2 (Oxygen)​

Introduction​

Represents the monitoring functional domain for oxygen in the environment, including but not limited to O2 concentration measurement, hypoxia/hyperoxia determination, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x012CO2Oxygen

Trait​

Trait IDCodeNameConformance
0x51A4O2DensityOxygenM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51A4O2DensityM

O2Density Trait (Oxygen)​

Represents the oxygen volume fraction in the air, used to determine the oxygen supply level of the environment and to assist in evaluating safety in enclosed spaces or special scenarios. Unit: %vol.

Trait IDCode
0x51A4O2Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat21RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat21RWO

Command Definitions​

This Function does not contain any Commands.

Chlorine (Chlorine Gas)​

Introduction​

Represents the monitoring functional domain for chlorine gas in the air, including but not limited to Cl2 concentration measurement, whether chlorine gas is detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x012DChlorineChlorine gas

Trait​

Trait IDCodeNameConformance
0x51A5Cl2DensityChlorine gas concentrationM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51A5Cl2DensityM

Cl2Density Trait (Chlorine Gas Concentration)​

Represents the chlorine gas concentration in the air, used to monitor the risk of leakage of highly irritant gas and to support safety alarms. Unit: mg/m^3.

Trait IDCode
0x51A5Cl2Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat1000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

HydrochloricAcid (Hydrochloric Acid)​

Introduction​

Represents the monitoring functional domain for hydrochloric acid gas in the air, including but not limited to HCl concentration measurement, whether hydrochloric acid gas is detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x012EHydrochloricAcidHydrochloric acid

Trait​

Trait IDCodeNameConformance
0x51A6HClDensityHydrochloric acid concentrationM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51A6HClDensityM

HClDensity Trait (Hydrochloric Acid Concentration)​

Represents the hydrochloric acid concentration in the air, which can be used to monitor acidic irritant gas pollution and environmental safety risks. Unit: mg/m^3.

Trait IDCode
0x51A6HClDensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat1000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

HydrogenSulfide (Hydrogen Sulfide)​

Introduction​

Represents the monitoring functional domain for hydrogen sulfide in the air, including but not limited to H2S concentration measurement, whether hydrogen sulfide is detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x012FHydrogenSulfideHydrogen sulfide

Trait​

Trait IDCodeNameConformance
0x51A7H2SDensityHydrogen sulfide concentrationM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51A7H2SDensityM

H2SDensity Trait (Hydrogen Sulfide Concentration)​

Represents the hydrogen sulfide concentration in the air, used to monitor toxic and harmful gas risks and to assist in ventilation and alarm linkage. Unit: ug/m^3.

Trait IDCode
0x51A7H2SDensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

Ammonia (Ammonia Gas)​

Introduction​

Represents the monitoring functional domain for ammonia gas in the air, including but not limited to NH3 concentration measurement, whether ammonia gas is detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x0130AmmoniaAmmonia gas

Trait​

Trait IDCodeNameConformance
0x51A8NH3DensityAmmonia gas concentrationM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51A8NH3DensityM

NH3Density Trait (Ammonia Gas Concentration)​

Represents the ammonia gas concentration in the air, used to evaluate irritant gas pollution levels and to assist in determining leaks or environmental anomalies. Unit: ug/m^3.

Trait IDCode
0x51A8NH3Density
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat9999.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

WaterQuality (Water Quality)​

Introduction​

Represents the monitoring functional domain for water quality, covering but not limited to the measurement and status determination of water quality parameters such as water hardness, turbidity, pH, TDS (total dissolved solids), residual chlorine, and dissolved oxygen, as well as sensor status and exceedance alarm capabilities.

Function Identifier​

Function IDCodeName
0x0131WaterQualityWater quality

Trait​

Trait IDCodeNameConformance
0x51ABWaterHardnessWater hardnessM
0x51ACWaterTurbidityWater turbidityM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51ABWaterHardnessM
0x51ACWaterTurbidityM

WaterHardness Trait (Water Hardness)​

Represents the water hardness level, usually reflecting the calcium and magnesium ion content in water, and can be used to determine scaling risks and water treatment needs. Unit: ppm.

Trait IDCode
0x51ABWaterHardness
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

WaterTurbidity Trait (Water Turbidity)​

Represents the degree of turbidity of the water body, which can be used to determine the level of suspended particle impurities and water cleanliness. Unit: NTU.

Trait IDCode
0x51ACWaterTurbidity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat4000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

NitrogenOxides (Nitrogen Oxides)​

Introduction​

Represents the monitoring functional domain for nitrogen oxides in the air, including but not limited to NOx concentration measurement, whether nitrogen oxides are detected, exceedance alarms, and sensor status capabilities.

Function Identifier​

Function IDCodeName
0x0132NitrogenOxidesNitrogen oxides

Trait​

Trait IDCodeNameConformance
0x51AFNOxDensityNitrogen oxides concentrationM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51AFNOxDensityM

NOxDensity Trait (Nitrogen Oxides Concentration)​

Represents the nitrogen oxides concentration in the air, used to evaluate combustion pollution levels and air quality risks. Unit: mg/m^3.

Trait IDCode
0x51AFNOxDensity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat1000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

LiquidLevel (Liquid Level)​

Introduction​

Represents the monitoring functional domain for the liquid level in containers or pipelines, including but not limited to liquid level height measurement, liquid storage volume determination, replenishment/drainage demand analysis, and high/low liquid level risk warning capabilities.

Function Identifier​

Function IDCodeName
0x0133LiquidLevelLiquid level

Trait​

Trait IDCodeNameConformance
0x51ECLiquidLevelHeightLiquid level heightM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51ECLiquidLevelHeightM

LiquidLevelHeight Trait (Liquid Level Height)​

Represents the actual height of the liquid surface in a container or pipeline, used to determine liquid storage volume, replenishment/drainage needs, and high/low liquid level risks. Unit: m.

Trait IDCode
0x51ECLiquidLevelHeight
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

Noise​

Introduction​

Represents the monitoring functional domain for environmental noise, including but not limited to noise level measurement, whether the noise exceeds the standard, peak noise, and average noise capabilities.

Function Identifier​

Function IDCodeName
0x0134NoiseNoise

Trait​

This Function does not contain any Traits.

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

This Function does not contain any Traits.

Command Definitions​

This Function does not contain any Commands.

HeatMeter (Heat Metering)​

Introduction​

Represents the comprehensive management of cooling/heating metering functions in heating/cooling supply systems, covering the measurement and reporting of parameters such as instantaneous heat flow, instantaneous cold flow, accumulated heat value, accumulated cold value and their fractional parts, for energy metering, energy efficiency analysis, and billing.

Function Identifier​

Function IDCodeName
0x0135HeatMeterHeat metering

Trait​

Trait IDCodeNameConformance
0x51BDInstantaneousColdFlowInstantaneous cold flowM
0x51C1InstantaneousHeatFlowInstantaneous heat flowM

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51BDInstantaneousColdFlowM
0x51C1InstantaneousHeatFlowM

InstantaneousColdFlow Trait (Instantaneous Cold Flow)​

Represents the rate of cooling energy transferred at the current moment, which can be used to determine the real-time cooling supply capacity and cold load changes of the system. Unit: m^3/s.

Trait IDCode
0x51BDInstantaneousColdFlow
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

InstantaneousHeatFlow Trait (Instantaneous Heat Flow)​

Represents the rate of heat energy transferred at the current moment, which can be used to determine the real-time heating intensity and load changes of the system. Unit: GJ/h.

Trait IDCode
0x51C1InstantaneousHeatFlow
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat100000000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

Command Definitions​

This Function does not contain any Commands.

Boiler​

Introduction​

Represents the monitoring and control functional domain for boiler equipment operation status, covering the measurement, setting, and reporting of parameters such as exhaust temperature, fire adjustment, load output, combustion timing, and ignition count, for boiler combustion control, energy efficiency analysis, and safety monitoring.

Function Identifier​

Function IDCodeName
0x0136BoilerBoiler

Trait​

Trait IDCodeNameConformance
0x51E1SupplyWaterPressureSupply water pressureM
0x51E2ReturnWaterPressureReturn water pressureM
0x51E3SupplyWaterTemperatureSupply water temperatureM
0x51E4ReturnWaterTemperatureReturn water temperatureM
0x51E5ExhaustTemperatureExhaust temperature valueM
0x51E6TargetTemperatureDifferentialTarget temperature differential valueO
0x51E7MinimumFireRateMinimum fire rateO
0x51E8MaximumFireRateMaximum fire rateO
0x51E9TimeToMaximumLoadSettingTime to maximum load settingO
0x51EAAccumulatedCombustionTimeAccumulated combustion timeO
0x51EBIgnitionCountIgnition countO

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51E1SupplyWaterPressureM
0x51E2ReturnWaterPressureM
0x51E3SupplyWaterTemperatureM
0x51E4ReturnWaterTemperatureM
0x51E5ExhaustTemperatureM
0x51E6TargetTemperatureDifferentialO
0x51E7MinimumFireRateO
0x51E8MaximumFireRateO
0x51E9TimeToMaximumLoadSettingO
0x51EAAccumulatedCombustionTimeO
0x51EBIgnitionCountO

SupplyWaterPressure Trait (Supply Water Pressure)​

Represents the pipeline pressure on the supply side of the boiler, used to determine whether the supply circuit is stable and whether there is abnormal pressure. Unit: MPa.

Trait IDCode
0x51E1SupplyWaterPressure
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat10.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

ReturnWaterPressure Trait (Return Water Pressure)​

Represents the pipeline pressure on the return side of the boiler, used to determine the operating status of the return circuit and changes in the system pressure differential. Unit: MPa.

Trait IDCode
0x51E2ReturnWaterPressure
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat10.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat0RWO

SupplyWaterTemperature Trait (Supply Water Temperature)​

Represents the temperature of the medium output by the boiler supply circuit, used to determine the heating output level and the current supply operating condition. Unit: degC.

Trait IDCode
0x51E3SupplyWaterTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

ReturnWaterTemperature Trait (Return Water Temperature)​

Represents the temperature of the medium returning through the boiler return circuit, used to analyze the return operating condition and the heat exchange effect of the system. Unit: degC.

Trait IDCode
0x51E4ReturnWaterTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

ExhaustTemperature Trait (Exhaust Temperature Value)​

Represents the boiler exhaust gas temperature, used to determine the combustion heat exchange effect, exhaust losses, and whether there is an abnormal thermal state. Unit: degC.

Trait IDCode
0x51E5ExhaustTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

TargetTemperatureDifferential Trait (Target Temperature Differential Value)​

Represents the supply/return temperature differential setpoint adopted by the boiler control target, used to guide load regulation and thermal balance control. Unit: degC.

Trait IDCode
0x51E6TargetTemperatureDifferential
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVWO
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

MinimumFireRate Trait (Minimum Fire Rate)​

Represents the minimum combustion output boundary allowed for boiler operation, used to limit the stable combustion range under low-load operation. Unit: %.

Trait IDCode
0x51E7MinimumFireRate
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

MaximumFireRate Trait (Maximum Fire Rate)​

Represents the maximum combustion output boundary allowed for boiler operation, used to limit the output ceiling under high-load operation. Unit: %.

Trait IDCode
0x51E8MaximumFireRate
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

TimeToMaximumLoadSetting Trait (Time to Maximum Load Setting)​

Represents the set time allowed for the boiler to rise from the current state to maximum load, used to control the load-up speed and thermal shock. Unit: h.

Trait IDCode
0x51E9TimeToMaximumLoadSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVWO
0x0002Maximum Valuefloat1000000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

AccumulatedCombustionTime Trait (Accumulated Combustion Time)​

Represents the accumulated combustion operating time of the boiler, which can be used for maintenance, life assessment, and operating statistics analysis. Unit: h.

Trait IDCode
0x51EAAccumulatedCombustionTime
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat240000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

IgnitionCount Trait (Ignition Count)​

Represents the cumulative ignition count of the boiler, used to analyze start/stop frequency, burner usage intensity, and maintenance needs.

Trait IDCode
0x51EBIgnitionCount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320RVO
0x0002Maximum Valueuint321000000RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO
0x0007Default Valueuint320RWO

Command Definitions​

This Function does not contain any Commands.

ControlCabinet (Control Cabinet)​

Introduction​

Represents the monitoring and control functional domain for control cabinet equipment, covering the measurement, setting, and reporting of parameters such as frequency feedback, cooling water temperature actual value and setpoint, temperature differential setting, and manual frequency setpoint, for cooling water system control, frequency adjustment, and operation monitoring.

Function Identifier​

Function IDCodeName
0x0137ControlCabinetControl cabinet

Trait​

Trait IDCodeNameConformance
0x51DAFrequencyFeedbackFrequency feedbackM
0x51DBCoolingWaterActualTemperatureCooling water temperature actual valueM
0x51DCCoolingWaterTemperatureSetpointCooling water temperature setpointO
0x51DDTemperatureDifferentialSettingTemperature differential settingO
0x51DEManualFrequencySetpointManual frequency setpointO

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51DAFrequencyFeedbackM
0x51DBCoolingWaterActualTemperatureM
0x51DCCoolingWaterTemperatureSetpointO
0x51DDTemperatureDifferentialSettingO
0x51DEManualFrequencySetpointO

FrequencyFeedback Trait (Frequency Feedback)​

Represents the variable-frequency operation feedback frequency collected by the device. Unit: Hz.

Trait IDCode
0x51DAFrequencyFeedback
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat50RWO

CoolingWaterActualTemperature Trait (Cooling Water Temperature Actual Value)​

Represents the actual cooling water temperature monitored by the control cabinet, used to determine the current operating condition and temperature control effect of the cooling circuit. Unit: degC.

Trait IDCode
0x51DBCoolingWaterActualTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

CoolingWaterTemperatureSetpoint Trait (Cooling Water Temperature Setpoint)​

Represents the target cooling water temperature used by the control cabinet for temperature control adjustment, used to determine the control target and start/stop strategy of the cooling circuit. Unit: degC.

Trait IDCode
0x51DCCoolingWaterTemperatureSetpoint
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat26RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat26RWO

TemperatureDifferentialSetting Trait (Temperature Differential Setting)​

Represents the temperature differential threshold used by the control cabinet temperature control strategy, used to determine when to perform adjustment, start/stop, or linkage actions after a certain differential is reached. Unit: degC.

Trait IDCode
0x51DDTemperatureDifferentialSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVWO
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

ManualFrequencySetpoint Trait (Manual Frequency Setpoint)​

Represents the target operating frequency sent to the control cabinet in manual mode, used to manually specify the variable-frequency output level. Unit: Hz.

Trait IDCode
0x51DEManualFrequencySetpoint
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat50RWO

Command Definitions​

This Function does not contain any Commands.

Compressor​

Introduction​

Represents the monitoring and control functional domain for compressor equipment operation status, covering the measurement, setting, and reporting of parameters such as temperature, pressure, current, voltage, power, humidity, speed, opening degree, operating time, and cooling capacity, for refrigeration system control, energy efficiency analysis, and safety monitoring.

Function Identifier​

Function IDCodeName
0x0138CompressorCompressor

Trait​

Trait IDCodeNameConformance
0x51C2CoolingCapacityPercentageCooling capacity percentageM
0x51C3AverageLineCurrentAverage line currentM
0x51C4ChilledWaterInletTemperatureChilled water inlet temperatureM
0x51C5ChilledWaterOutletTemperatureChilled water outlet temperatureM
0x51C6EvaporatorRefrigerantTemperatureEvaporator refrigerant temperatureM
0x51C7ChilledEvaporatorRefrigerantPressureChilled evaporator refrigerant pressureM
0x51C8CoolingWaterInletTemperatureCooling water inlet temperatureM
0x51C9CoolingWaterOutletTemperatureCooling water outlet temperatureM
0x51CACondenserRefrigerantTemperatureCondenser refrigerant temperatureM
0x51CBCondenserRefrigerantPressureCondenser refrigerant pressureM
0x51CCVFDCoolingRefrigerantFlowPercentageVFD cooling refrigerant flow percentageO
0x51CDVFDSpeedPercentageVFD speed percentageO
0x51CEGuideVaneOpeningPercentageGuide vane opening percentageO
0x51CFRectifierTemperatureRectifier temperatureO
0x51D0CompressorOilTemperatureCompressor oil temperatureO
0x51D1CompressorOilPressureCompressor oil pressureO
0x51D2DischargeTemperatureDischarge temperatureO
0x51D3CompressorBearingTemperatureCompressor bearing temperatureO
0x51D4MotorCoilTemperatureMotor coil temperatureO
0x51D5AverageLineVoltageAverage line voltageO
0x51D6LinePowerLine powerO
0x51D7VFDDeviceHumidityVFD device humidityO
0x51D8InverterTemperatureInverter temperatureO
0x51D9OutletWaterTemperatureSetpointOutlet temperature setpointO

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51C2CoolingCapacityPercentageM
0x51C3AverageLineCurrentM
0x51C4ChilledWaterInletTemperatureM
0x51C5ChilledWaterOutletTemperatureM
0x51C6EvaporatorRefrigerantTemperatureM
0x51C7ChilledEvaporatorRefrigerantPressureM
0x51C8CoolingWaterInletTemperatureM
0x51C9CoolingWaterOutletTemperatureM
0x51CACondenserRefrigerantTemperatureM
0x51CBCondenserRefrigerantPressureM
0x51CCVFDCoolingRefrigerantFlowPercentageO
0x51CDVFDSpeedPercentageO
0x51CEGuideVaneOpeningPercentageO
0x51CFRectifierTemperatureO
0x51D0CompressorOilTemperatureO
0x51D1CompressorOilPressureO
0x51D2DischargeTemperatureO
0x51D3CompressorBearingTemperatureO
0x51D4MotorCoilTemperatureO
0x51D5AverageLineVoltageO
0x51D6LinePowerO
0x51D7VFDDeviceHumidityO
0x51D8InverterTemperatureO
0x51D9OutletWaterTemperatureSetpointO

CoolingCapacityPercentage Trait (Cooling Capacity Percentage)​

Represents the current cooling output of the compressor as a percentage of the rated capacity, used to determine the device load level and capacity adjustment status.

Trait IDCode
0x51C2CoolingCapacityPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

AverageLineCurrent Trait (Average Line Current)​

Represents the average operating current of the three-phase lines of the compressor, used to evaluate the electrical load level and operating load changes. Unit: A.

Trait IDCode
0x51C3AverageLineCurrent
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat10000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.001RO
0x0007Default Valuefloat0RWO

ChilledWaterInletTemperature Trait (Chilled Water Inlet Temperature)​

Represents the water temperature entering the chilled water circuit of the compressor, used to determine the evaporator-side load and inlet operating condition. Unit: degC.

Trait IDCode
0x51C4ChilledWaterInletTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

ChilledWaterOutletTemperature Trait (Chilled Water Outlet Temperature)​

Represents the water temperature leaving the chilled water circuit of the compressor, used to determine the cooling output effect and outlet operating condition. Unit: degC.

Trait IDCode
0x51C5ChilledWaterOutletTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

EvaporatorRefrigerantTemperature Trait (Evaporator Refrigerant Temperature)​

Represents the refrigerant temperature inside the evaporator, used to determine the evaporation heat exchange state and the operating condition of the refrigeration cycle. Unit: degC.

Trait IDCode
0x51C6EvaporatorRefrigerantTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

ChilledEvaporatorRefrigerantPressure Trait (Chilled Evaporator Refrigerant Pressure)​

Represents the refrigerant pressure on the evaporator side, used to determine the evaporation operating condition, refrigerant state, and whether the system is running normally. Unit: kPa.

Trait IDCode
0x51C7ChilledEvaporatorRefrigerantPressure
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat5000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

CoolingWaterInletTemperature Trait (Cooling Water Inlet Temperature)​

Represents the water temperature entering the cooling water circuit of the compressor, used to determine the condenser-side heat dissipation conditions and inlet operating condition. Unit: degC.

Trait IDCode
0x51C8CoolingWaterInletTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

CoolingWaterOutletTemperature Trait (Cooling Water Outlet Temperature)​

Represents the water temperature leaving the cooling water circuit of the compressor, used to determine the condenser-side heat dissipation effect and outlet operating condition. Unit: degC.

Trait IDCode
0x51C9CoolingWaterOutletTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

CondenserRefrigerantTemperature Trait (Condenser Refrigerant Temperature)​

Represents the refrigerant temperature inside the condenser, used to determine the condensation heat exchange state and the efficiency of the refrigeration cycle. Unit: degC.

Trait IDCode
0x51CACondenserRefrigerantTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVM
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

CondenserRefrigerantPressure Trait (Condenser Refrigerant Pressure)​

Represents the refrigerant pressure on the condenser side, used to determine the high-pressure side operating condition, heat dissipation state, and operating risks. Unit: kPa.

Trait IDCode
0x51CBCondenserRefrigerantPressure
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVM
0x0002Maximum Valuefloat5000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

VFDCoolingRefrigerantFlowPercentage Trait (VFD Cooling Refrigerant Flow Percentage)​

Represents the ratio of the refrigerant flow in the VFD cooling circuit to the design value, used to determine whether the VFD cooling capacity is sufficient. Unit: %.

Trait IDCode
0x51CCVFDCoolingRefrigerantFlowPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

VFDSpeedPercentage Trait (VFD Speed Percentage)​

Represents the ratio of the current VFD speed to the rated speed, which can be used to determine the variable-speed output level of the compressor and the operating load state under frequency conversion. Unit: %.

Trait IDCode
0x51CDVFDSpeedPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

GuideVaneOpeningPercentage Trait (Guide Vane Opening Percentage)​

Represents the ratio of the current opening degree of the compressor guide vanes, which can be used to determine the capacity adjustment range and intake control state. Unit: %.

Trait IDCode
0x51CEGuideVaneOpeningPercentage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

RectifierTemperature Trait (Rectifier Temperature)​

Represents the operating temperature of the rectifier, used to monitor the thermal state of power electronic components and assist in determining whether heat dissipation is normal. Unit: degC.

Trait IDCode
0x51CFRectifierTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

CompressorOilTemperature Trait (Compressor Oil Temperature)​

Represents the current temperature of the compressor lubricating oil, used to determine the lubrication and heat dissipation condition; abnormal oil temperature may affect equipment life and operating safety. Unit: degC.

Trait IDCode
0x51D0CompressorOilTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVO
0x0002Maximum Valuefloat150.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

CompressorOilPressure Trait (Compressor Oil Pressure)​

Represents the lubricating oil pressure of the compressor, used to determine whether the lubrication system has properly established an oil film and maintains safe operation. Unit: kPa.

Trait IDCode
0x51D1CompressorOilPressure
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat5000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat0RWO

DischargeTemperature Trait (Discharge Temperature)​

Represents the gas temperature at the discharge end of the compressor, used to determine the thermal state of the compression process and whether there is an overheating risk. Unit: degC.

Trait IDCode
0x51D2DischargeTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

CompressorBearingTemperature Trait (Compressor Bearing Temperature)​

Represents the working temperature of the compressor bearing, used to monitor mechanical friction, lubrication effectiveness, and bearing health status. Unit: degC.

Trait IDCode
0x51D3CompressorBearingTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

MotorCoilTemperature Trait (Motor Coil Temperature)​

Represents the temperature of the compressor drive motor coil, used to determine the motor thermal load and insulation operating risks. Unit: degC.

Trait IDCode
0x51D4MotorCoilTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

AverageLineVoltage Trait (Average Line Voltage)​

Represents the average operating voltage of the three-phase lines of the compressor, used to evaluate power supply quality and voltage stability. Unit: V.

Trait IDCode
0x51D5AverageLineVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat220RVO
0x0002Maximum Valuefloat500.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.01RO
0x0007Default Valuefloat220RWO

LinePower Trait (Line Power)​

Represents the current line input power of the compressor, which can be used to evaluate the device power consumption level and operating load changes. Unit: W.

Trait IDCode
0x51D6LinePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0RVO
0x0002Maximum Valuefloat5000000.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat0RWO

VFDDeviceHumidity Trait (VFD Device Humidity)​

Represents the ambient humidity around the VFD device, used to determine whether the electrical environment has condensation, moisture, or insulation risks. Unit: %.

Trait IDCode
0x51D7VFDDeviceHumidity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat1.0RO
0x0007Default Valuefloat50RWO

InverterTemperature Trait (Inverter Temperature)​

Represents the operating temperature of the inverter, used to monitor the thermal state of power devices and assist in determining heat dissipation and load conditions. Unit: degC.

Trait IDCode
0x51D8InverterTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat25RVO
0x0002Maximum Valuefloat300.0RO
0x0003Minimum Valuefloat-50.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat25RWO

OutletWaterTemperatureSetpoint Trait (Outlet Temperature Setpoint)​

Represents the outlet water temperature setpoint given to the compressor, used to adjust the chilled water outlet control target and influence the cooling regulation strategy. Unit: degC.

Trait IDCode
0x51D9OutletWaterTemperatureSetpoint
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat26RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat26RWO

Command Definitions​

This Function does not contain any Commands.

CoolingPump (Cooling Pump)​

Introduction​

Represents the monitoring and control functional domain for cooling pump equipment, covering the measurement, setting, and reporting of parameters such as frequency feedback, manual frequency setpoint, frequency upper/lower limits, and operating time, for frequency adjustment, operation monitoring, and energy consumption management of the cooling water circulation system.

Function Identifier​

Function IDCodeName
0x0139CoolingPumpCooling pump

Trait​

Trait IDCodeNameConformance
0x51DAFrequencyFeedbackFrequency feedbackM
0x51E0ManualFrequencySettingManual frequency setpointO

Command​

This Function does not contain any Commands.

Data Types​

This Function has no custom data types.

Trait Definitions​

Trait IDNameConformance
0x51DAFrequencyFeedbackM
0x51E0ManualFrequencySettingO

FrequencyFeedback Trait (Frequency Feedback)​

Represents the variable-frequency operation feedback frequency collected by the device. Unit: Hz.

Trait IDCode
0x51DAFrequencyFeedback
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVM
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat50RWO

ManualFrequencySetting Trait (Manual Frequency Setpoint)​

Represents the target operating frequency set for the cooling pump in manual mode, used to manually specify the motor speed and flow level. Unit: Hz.

Trait IDCode
0x51E0ManualFrequencySetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat50RVWO
0x0002Maximum Valuefloat100.0RO
0x0003Minimum Valuefloat0.0RO
0x0005Step Valuefloat0.1RO
0x0007Default Valuefloat50RWO

Command Definitions​

This Function does not contain any Commands.

Buzzer​

Introduction​

Represents the control functional domain of the device buzzer, used to play or stop the buzzer sound, supporting the setting of playback volume and duration; applicable to scenarios such as doorbell notifications, alarm reminders, and operation feedback.

Function Identifier​

Function IDCodeName
0x013ABuzzerBuzzer

Trait​

Trait IDCodeConformance
0x5163BuzzerVolumeO

Command​

Command IDCodeConformance
0x9DB4PlayBuzzerM

Data Types​

BuzzerPlayStatusEnum8 Type​

This enumeration defines the playback states of the PlayBuzzer Command.

ValueNameDescription
0x00StoppedStopped
0x01PlayingPlaying
BuzzerPlayVolumeEnum8 Type​

This enumeration defines the playback volumes of the PlayBuzzer Command.

ValueNameDescription
0x01LowLow volume
0x02MediumMedium volume
0x03HighHigh volume
PlayBuzzer Command Structure Type​

Parameter structure of the PlayBuzzer Command.

Structure Member IndexField NameTypeRequiredDescription
0PlayStatusBuzzerPlayStatusEnum8MPlayback state; default value is 0. Stopped indicates stopping the currently playing buzzer sound; Playing indicates starting playback.
1PlayVolumeBuzzerPlayVolumeEnum8OPlayback volume; default value is 2.
2PlayDurationuint32OPlayback duration (seconds), in the range 1 to 4294967295 with a step of 1; default value is 5.

Trait Definitions​

Trait IDNameConformance
0x5163BuzzerVolumeO

Command Definitions​

Command IDNameConformance
0x9DB4PlayBuzzerM

PlayBuzzer Command​

Controls the device to play or stop the buzzer sound. PlayStatus is a required field that specifies the playback state: PLAYING (Playing) indicates starting playback, and STOPPED (Stopped) indicates stopping playback. During playback, PlayVolume can be used to set the volume and PlayDuration to set the playback duration; PlayDuration greater than 0 means playing for the specified number of seconds. When PlayStatus is STOPPED, PlayVolume, PlayDuration, and all other optional parameters SHALL be omitted, and the device will stop the currently playing buzzer sound.

Parameters​

PlayBuzzer Command Structure

GasMetering (Gas Metering)​

Introduction​

GasMetering provides gas metering-related capabilities, including the gas calorific value and the conversion coefficient from operating-condition volume to standard volume, to support energy conversion and standardized conversion of gas usage.

Function Identifier​

Function IDCodeName
0x013BGasMeteringGas metering

Trait​

Trait IDCodeConformance
0x51F5GasCalorificValueO
0x51F6GasVolumeFactorO

Command​

This Function does not contain any Commands.

Data Types​

GasCalorificValueTraitPresentValueStructure Type​

This structure defines the field layout of the Present Value of the GasCalorificValue Trait.

Member IndexField NameTypeRequiredMinimumMaximumStepDefaultDescription (Unit)
0CalorificValuefloatM01000.0138.5Calorific value of the standard-volume gas, configured by the gas source/server side. Unit: MJ/m^3 (megajoules per standard cubic meter).
1ReferenceTemperaturefloatO-50500.115.0Combustion reference temperature corresponding to the calorific value. Unit: deg C.
2ReferencePressurefloatO501500.001101.325Reference pressure corresponding to the calorific value. Unit: kPa.

Trait Definitions​

Trait IDNameConformance
0x51F5GasCalorificValueO
0x51F6GasVolumeFactorO

GasCalorificValue Trait​

The gas calorific value represents the heat (energy) contained in a unit volume of gas, used to convert the volume consumption of gas into energy consumption. It is usually provided in the form of a higher heating value, that is, the heat released by the complete combustion of a unit standard volume of gas under standard reference conditions. This value is a gas property parameter, affected by the gas source composition and the reference temperature/pressure, and is usually configured by the gas company or the cloud; the gas meter performs the volume-to-energy conversion accordingly.

Trait IDCode
0x51F5GasCalorificValue
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueGasCalorificValueTraitPresentValueStructure{&quot;0&quot;: 38.5, &quot;1&quot;: 15.0, &quot;2&quot;: 101.325}RVM

GasVolumeFactor Trait​

The gas volume conversion coefficient represents the coefficient (Volume Conversion Factor, VCF) for converting the gas volume measured by the gas meter under operating conditions (actual temperature, pressure) into the volume under standard reference conditions. It is defined as the volume under standard reference conditions divided by the volume under operating conditions. This coefficient integrates corrections for temperature, pressure, compressibility factor, and other factors, and is usually calculated by a volume corrector or the cloud and then delivered; the gas meter performs the standardized volume conversion accordingly.

Trait IDCode
0x51F6GasVolumeFactor
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat1.0RVM
0x0002Maximum Valuefloat2RO
0x0003Minimum Valuefloat0.5RO
0x0005Step Valuefloat0.00001RO

Command Definitions​

This Function does not contain any Commands.

EnergyStorage (Energy Storage)​

Introduction​

EnergyStorage is used to describe the dedicated state and energy metering capabilities of battery energy storage systems, including battery-side state of charge, capacity, charge/discharge power, cumulative charge/discharge energy, and battery health status. SOC (State of Charge) is measured or estimated by the BMS (Battery Management System). The backup battery used by the device itself to maintain controller operation does not belong to this Function; it SHALL use PowerSource.

The charge/discharge power and energy in this Function take the battery DC terminal as the metering boundary. The AC-side power/energy of the PCS (Power Conversion System) and the import/export data at the grid interconnection point belong to EnergyManagement or ElectricityMetering and, being affected by power conversion losses, SHALL not be directly equated with the battery-side metering values.

Rated capacity, usable capacity, SOC allowable range, maximum charge/discharge power, and SOH are all optional capabilities and are not required for every energy storage device. Consumers can estimate the currently available energy only when both a trustworthy, valid, and sufficiently fresh StateOfCharge and the current UsableEnergyCapacity exist; RatedEnergyCapacity, SOH, or power limits cannot replace either of them. The calculation rules are described in EnergyManagement.

Function Identifier​

Function IDCodeName
0x013CEnergyStorageEnergy storage

Trait​

Trait IDCodeConformance
0x51F9StateOfChargeM
0x51FARatedEnergyCapacityO
0x51FBUsableEnergyCapacityO
0x51FCCumulativeChargeEnergyO
0x51FDCumulativeDischargeEnergyO
0x51FEChargePowerO
0x51FFDischargePowerO
0x5200StateOfHealthO
0x520AStoredEnergyO
0x520BACChargeCapacityO
0x520CACDischargeCapacityO
0x520DACChargeableCapacityO
0x520EACDischargeableCapacityO
0x520FACChargeableEnergyO
0x5210ACDischargeableEnergyO
0x5211ACCumulativeChargeEnergyO
0x5212ACCumulativeDischargeEnergyO
0x5213ACRatedEnergyO
0x5214StorageRatedVoltageO
0x5215StorageChargeDischargePowerO
0x5216ACChargingAmountSettingO
0x5217ACDischargingAmountSettingO
0x5218BatteryTypeO
0x522EStorageOperationModeO
0x522FWorkingStorageOperationModeO

Command​

This Function does not contain any Commands.

Trait Definitions​

Trait IDNameConformance
0x51F9StateOfChargeM
0x51FARatedEnergyCapacityO
0x51FBUsableEnergyCapacityO
0x51FCCumulativeChargeEnergyO
0x51FDCumulativeDischargeEnergyO
0x51FEChargePowerO
0x51FFDischargePowerO
0x5200StateOfHealthO
0x520AStoredEnergyO
0x520BACChargeCapacityO
0x520CACDischargeCapacityO
0x520DACChargeableCapacityO
0x520EACDischargeableCapacityO
0x520FACChargeableEnergyO
0x5210ACDischargeableEnergyO
0x5211ACCumulativeChargeEnergyO
0x5212ACCumulativeDischargeEnergyO
0x5213ACRatedEnergyO
0x5214StorageRatedVoltageO
0x5215StorageChargeDischargePowerO
0x5216ACChargingAmountSettingO
0x5217ACDischargingAmountSettingO
0x5218BatteryTypeO
0x522EStorageOperationModeO
0x522FWorkingStorageOperationModeO
StorageOperationModeEnum8 Type​

This enumeration defines the operating modes of the energy storage device.

ValueNameDescription
0x00RapidChargingFast charge
0x01ChargingCharge
0x02DischargingDischarge
0x03StandbyStandby
0x04TestTest
0x05AutomaticAutomatic
0x06RestartRestart
0x07EffectiveCapacityRecalculationUsable capacity recalculation
0x08OtherOther

StateOfCharge Trait​

State of Charge (SOC) represents the percentage estimate of the currently available energy of the energy storage battery relative to the current available full charge capacity, measured or estimated by the BMS. SOC of 0% indicates reaching the BMS-configured discharge floor, and 100% indicates reaching the BMS-configured charge ceiling; it does not represent the absolute chemical empty/full state of the cells, nor does it directly represent the remaining kWh available to the load. The SOC reported by the device MUST conform to this definition; when its meaning, validity, or freshness cannot be confirmed, it MUST NOT be used as a trustworthy SOC for derivation. Unit %, accuracy 0.1%. Used for energy management interface display, charge/discharge strategies, and low-battery determination. When the device temporarily cannot determine SOC, the value SHALL be marked as unavailable rather than falsely reported as 0%.

Trait IDCode
0x51F9StateOfCharge
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-100 %No fixed default; report the current BMS valueRVM
0x0002Maximum ValuefloatNo fixed default; optionally report the device-allowed SOC ceilingRO
0x0003Minimum ValuefloatNo fixed default; optionally report the device-allowed SOC floorRO
0x0005Step Valuefloat0.1RO

StoredEnergy Trait​

The remaining stored energy represents the energy currently stored in the battery, in kWh; it is an absolute energy value, not a state-of-charge percentage or usable capacity. When reported directly by the device, the effective measured value of the device SHALL be used. Consumers may estimate it as UsableEnergyCapacity x StateOfCharge / 100 only when StateOfCharge is trustworthy and UsableEnergyCapacity is currently valid; the rated capacity SHALL NOT be used in place of the usable capacity, and missing or invalid inputs SHALL NOT be treated as 0.

Trait IDCode
0x520AStoredEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000 kWhNo fixed default; report the current valueRVO
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.001RO

ACChargeCapacity Trait​

The AC charge usable capacity represents the effective energy capacity available for charging under the device-defined AC-side metering boundary, in W·h; it SHALL NOT be confused with the battery DC-side rated capacity or usable capacity.

Trait IDCode
0x520BACChargeCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·hNo fixed default; report the device valueRVO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ACDischargeCapacity Trait​

The AC discharge usable capacity represents the effective energy capacity available for discharging under the device-defined AC-side metering boundary, in W·h; it is not equivalent to the battery-side usable capacity.

Trait IDCode
0x520CACDischargeCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·hNo fixed default; report the device valueRVO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ACChargeableCapacity Trait​

The AC chargeable capacity represents the energy that can still be charged under the current AC-side metering boundary, in W·h.

Trait IDCode
0x520DACChargeableCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·hNo fixed default; report the device valueRVO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ACDischargeableCapacity Trait​

The AC dischargeable capacity represents the energy that can still be discharged under the current AC-side metering boundary, in W·h.

Trait IDCode
0x520EACDischargeableCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·hNo fixed default; report the device valueRVO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ACChargeableEnergy Trait​

The AC chargeable energy represents the additional charging energy the device allows under the current conditions, in W·h.

Trait IDCode
0x520FACChargeableEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·hNo fixed default; report the device valueRVO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ACDischargeableEnergy Trait​

The AC dischargeable energy represents the additional discharging energy the device allows under the current conditions, in W·h.

Trait IDCode
0x5210ACDischargeableEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·hNo fixed default; report the device valueRVO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ACCumulativeChargeEnergy Trait​

The AC-side cumulative charge energy represents the non-negative cumulative value within the current counter generation, in W·h; the metering boundary of this quantity is defined by the energy storage device and SHALL NOT be confused with the battery DC-side CumulativeChargeEnergy. Counter generation rules are described in EnergyManagement.

Trait IDCode
0x5211ACCumulativeChargeEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·h0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ACCumulativeDischargeEnergy Trait​

The AC-side cumulative discharge energy represents the non-negative cumulative value within the current counter generation, in W·h; the metering boundary of this quantity is defined by the energy storage device and SHALL NOT be confused with the battery DC-side CumulativeDischargeEnergy. Counter generation rules are described in EnergyManagement.

Trait IDCode
0x5212ACCumulativeDischargeEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·h0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ACRatedEnergy Trait​

The AC rated energy represents the nominal energy capacity on the AC side of the device, in W·h; its conversion relationship with the battery DC-side rated capacity is determined by the product specification.

Trait IDCode
0x5213ACRatedEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·hNo fixed default; determined by the product specificationRVO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

StorageRatedVoltage Trait​

The energy storage rated voltage represents the nominal operating voltage of the energy storage device, in V.

Trait IDCode
0x5214StorageRatedVoltage
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000 VNo fixed default; determined by the product specificationRVO
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

StorageChargeDischargePower Trait​

The instantaneous charge/discharge power is expressed as a single signed value, in W; positive indicates charging, negative indicates discharging, and zero indicates no power flow. It SHALL NOT be metered redundantly on the same boundary together with the separately reported battery-side ChargePower and DischargePower.

Trait IDCode
0x5215StorageChargeDischargePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat-5000000-5000000 W0RVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat-5000000RO
0x0005Step Valuefloat0.1RO

ACChargingAmountSetting Trait​

The AC charge energy setting represents the target charge energy allowed on the AC side of the device, in W·h.

Trait IDCode
0x5216ACChargingAmountSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320-999999999 W·hNo fixed default; report the current settingRVWO
0x0002Maximum Valueuint32999999999RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

ACDischargingAmountSetting Trait​

The AC discharge energy setting represents the target discharge energy allowed on the AC side of the device, in W·h.

Trait IDCode
0x5217ACDischargingAmountSetting
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint320-999999999 W·hNo fixed default; report the current settingRVWO
0x0002Maximum Valueuint32999999999RO
0x0003Minimum Valueuint320RO
0x0005Step Valueuint321RO

BatteryType Trait​

The battery type represents the battery category identifier reported by the device, using a text value to preserve the category name given by the device; it is not used to indicate battery status.

Trait IDCode
0x5218BatteryType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuecharacterStringDevice-defined category nameNo fixed defaultRVO

StorageOperationMode Trait​

The energy storage operating mode represents the operating mode set on the device and is read-write.

Trait IDCode
0x522EStorageOperationMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStorageOperationModeEnum80-8No fixed defaultRVWO
0x0006Supported Valuelist[StorageOperationModeEnum8]RO

WorkingStorageOperationMode Trait​

The actual energy storage operating mode represents the operating mode currently being executed by the device; its enumeration values use the same definitions as the set mode.

Trait IDCode
0x522FWorkingStorageOperationMode
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueStorageOperationModeEnum80-8No fixed defaultRVO

RatedEnergyCapacity Trait​

The rated capacity represents the manufacturer-nominal battery energy capacity, in kWh. This value is a product specification parameter, usually given under the battery rated test conditions; it is not the remaining energy corresponding to the current SOC, nor does it equal the currently usable capacity after deducting the BMS protection range. It is used for product specification display and system capacity planning.

Trait IDCode
0x51FARatedEnergyCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0.001-1000000 kWhNo fixed default; determined by the product specificationRVM
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0.001RO
0x0005Step Valuefloat0.001RO

UsableEnergyCapacity Trait​

The usable capacity represents the energy capacity available for charging and discharging under the current BMS operating boundaries, in kWh. This value may vary with temperature, SOH, protection strategies, or operating conditions; implementations SHALL use the current estimated value of the device usable capacity and SHALL NOT confuse it with the manufacturer-nominal RatedEnergyCapacity. It is used for scheduling charge/discharge and estimating dispatchable energy.

Trait IDCode
0x51FBUsableEnergyCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000 kWhNo fixed default; report the current BMS valueRVO
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.001RO

CumulativeChargeEnergy Trait​

The cumulative charge energy represents the cumulative electrical energy flowing into the battery within the current counter generation, with the metering boundary at the battery DC terminal. This is a non-negative cumulative value, in W·h, and is not offset by the discharge energy. It is used to analyze the battery charging process and cyclic energy throughput; to calculate round-trip efficiency, ensure that the charge and discharge energy cover the same battery-side boundary and statistics period. Device restarts SHALL NOT clear readings or generations; resets, uncompensated rollbacks, and meter replacements MUST increment the Counter Generation.

Trait IDCode
0x51FCCumulativeChargeEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·h0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

CumulativeDischargeEnergy Trait​

The cumulative discharge energy represents the cumulative electrical energy flowing out of the battery within the current counter generation, with the metering boundary at the battery DC terminal. This is a non-negative cumulative value, in W·h, independent of the cumulative charge energy. It is used to analyze the battery discharge process, energy utilization, and cycle statistics; device restarts SHALL NOT clear readings or generations; resets, uncompensated rollbacks, and meter replacements MUST increment the Counter Generation.

Trait IDCode
0x51FDCumulativeDischargeEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·h0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

ChargePower Trait​

The charge power represents the active power currently flowing into the battery, with the metering boundary at the battery DC terminal, in W. This value is always non-negative; it reports 0 when there is no charging. It is reported separately from DischargePower to avoid the charge/discharge meaning varying by vendor when a single signed value is used. It is used for real-time monitoring and charge power scheduling.

Trait IDCode
0x51FEChargePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-5000000 W0RVO
0x0002Maximum ValuefloatNo fixed default; optionally report the maximum charge power supported by the deviceRO
0x0003Minimum ValuefloatNo fixed default; optionally report the minimum charge power supported by the deviceRO
0x0005Step Valuefloat0.1RO

DischargePower Trait​

The discharge power represents the active power currently flowing out of the battery, with the metering boundary at the battery DC terminal, in W. This value is always non-negative; it reports 0 when there is no discharging. It is reported separately from ChargePower. It is used for real-time monitoring and dispatchable discharge power calculation.

Trait IDCode
0x51FFDischargePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-5000000 W0RVO
0x0002Maximum ValuefloatNo fixed default; optionally report the maximum discharge power supported by the deviceRO
0x0003Minimum ValuefloatNo fixed default; optionally report the minimum discharge power supported by the deviceRO
0x0005Step Valuefloat0.1RO

StateOfHealth Trait​

The battery health (SOH) represents the battery health state, ranging from 0-100%. For interoperability, it is defined as the percentage of the current usable energy capacity relative to the initial usable energy capacity defined by the manufacturer; 100% indicates the same as that baseline, and a lower value indicates usable capacity degradation. If the device calculates it by another algorithm, the product documentation MUST explain this, and SOH values from different algorithms SHALL NOT be directly compared. It is used to evaluate battery degradation and maintenance status. Unit %, accuracy 0.1%.

Trait IDCode
0x5200StateOfHealth
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-100 %No fixed default; report the current BMS valueRVO
0x0002Maximum Valuefloat100RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

Command Definitions​

This Function does not contain any Commands.

ElectricityMetering (Electricity Metering)​

Introduction​

ElectricityMetering is used to describe the metering capabilities of electricity meters and the point of common coupling (PCC), including measurement points, directional real-time active power, demand, and time-of-use cumulative energy. This Function supplements the general electrical measurement capabilities of EnergyManagement; meters used for grid settlement or home energy management SHALL also implement EnergyManagement to report general electrical data such as imported/exported cumulative active energy.

This Function targets metering at the grid connection point (PCC). The import direction of the PCC is from the grid to the user side, and the export direction is from the user side to the grid. Power may use signed values to indicate direction, while imported and exported energy and time-of-use energy are accumulated separately with non-negative counters. The rate numbers of time-of-use registers are defined by the meter/rate plan; categories such as Peak and OffPeak serve only as general classifications and cannot replace a specific rate plan.

Function Identifier​

Function IDCodeName
0x013DElectricityMeteringElectricity metering

Trait​

Trait IDCodeConformance
0x51B3CurrentForwardTotalActiveEnergyM
0x51B4CurrentReverseTotalActiveEnergyO
0x5201GridActivePowerM
0x5202MeteringPointTypeM
0x5203DemandIntervalDurationO
0x5204CurrentDemandO
0x5205MaximumDemandO
0x5206MaximumDemandTimestampO
0x5207DemandPeriodStartTimestampO
0x5208TariffEnergyRegistersO
0x5209DemandCalculationMethodO
0x523FBranchCircuitMeasurementsO

If CurrentDemand or MaximumDemand exists, DemandIntervalDuration and DemandCalculationMethod MUST also exist; if MaximumDemand exists, MaximumDemandTimestamp and DemandPeriodStartTimestamp MUST exist. This allows consumers to determine the demand averaging window, the calculation method, and the billing period to which the maximum value belongs.

Command​

This Function does not contain any Commands. The maximum demand billing period is determined by the meter or its rate configuration; this Function provides the period start time and the end time of the maximum demand interval, and does not define a Command to remotely reset the demand counter.

Data Types​

MeteringPointTypeEnum8 Type​

This enumeration identifies the metering location of the electricity meter. PCC is currently defined to distinguish user-side import/export from generation-side metering.

ValueNameDescription
0x00UnknownUnknown or not configured
0x01GridConnectionPointPoint of common coupling (PCC) between the grid and the user energy system
TariffCategoryEnum8 Type​

This enumeration provides generic rate period classifications for time-of-use registers. The actual rate numbers and their applicable times are determined by the meter/rate plan; the enumeration categories are used only for display and coarse-grained aggregation.

ValueNameDescription
0x00UnspecifiedUnspecified category
0x01OffPeakOff-peak period or low rate period
0x02ShoulderShoulder period or intermediate rate period
0x03PeakPeak period or high rate period
0x04CriticalPeakCritical peak or special high rate period
DemandCalculationMethodEnum8 Type​

This enumeration identifies the calculation method of the demand integration interval. The device MUST provide this item when reporting demand, and MUST NOT report Unknown together with a valid demand result, to prevent consumers from mixing fixed-interval and sliding-interval results.

ValueNameDescription
0x00UnknownUnknown or not configured
0x01FixedBlockFixed block; average power calculated over consecutive non-overlapping intervals
0x02RollingWindowRolling window; average power calculated over a continuously moving time window
TariffEnergyRegisterStructure Type​

This structure describes the identity of a rate register and its imported/exported cumulative active energy. Directions not measured by the device may be omitted; the same rate register ID MUST be unique and stable within one meter endpoint.

Member IndexField NameTypeRequiredMinimumMaximumStepUnitDefaultDescription
0TariffRegisterIduint8M1161NoneNoneRate register identifier, unique within this meter endpoint. The specific time period semantics are determined by the meter rate plan.
1TariffCategoryTariffCategoryEnum8O041None0Generic rate category. Use Unspecified when no generic category corresponds.
2ImportedActiveEnergyfloatO010000000000000.1W·hNoneCumulative active energy imported from the grid under this rate register, a non-negative cumulative value; when the implementation cannot guarantee continuous logical accumulation and precise differences are required, it MUST be provided together with ImportedCounterGeneration.
3ExportedActiveEnergyfloatO010000000000000.1W·hNoneCumulative active energy exported to the grid under this rate register, a non-negative cumulative value; when the implementation cannot guarantee continuous logical accumulation and precise differences are required, it MUST be provided together with ExportedCounterGeneration.
4ImportedCounterGenerationuint32O042949672951None0When the implementation cannot guarantee continuous logical accumulation and precise differences are required, it MUST be provided if ImportedActiveEnergy exists; counter generation rules are described in EnergyManagement.
5ExportedCounterGenerationuint32O042949672951None0When the implementation cannot guarantee continuous logical accumulation and precise differences are required, it MUST be provided if ExportedActiveEnergy exists; counter generation rules are described in EnergyManagement.

Each structure SHALL contain at least one of ImportedActiveEnergy or ExportedActiveEnergy. The data type is a list of up to 16 TariffEnergyRegisterStructure; an empty list indicates that the device currently provides no time-of-use register data.

Trait Definitions​

Trait IDNameConformance
0x51B3CurrentForwardTotalActiveEnergyM
0x51B4CurrentReverseTotalActiveEnergyO
0x5201GridActivePowerM
0x5202MeteringPointTypeM
0x5203DemandIntervalDurationO
0x5204CurrentDemandO
0x5205MaximumDemandO
0x5206MaximumDemandTimestampO
0x5207DemandPeriodStartTimestampO
0x5208TariffEnergyRegistersO
0x5209DemandCalculationMethodO
0x523FBranchCircuitMeasurementsO

GridActivePower Trait​

The grid active power represents the current net active power at the PCC, in W, using a signed value: positive indicates importing from the grid (purchasing), negative indicates exporting to the grid (feeding), and zero indicates the current net power is near zero. This value is the net of the import power and the export power, and does not represent the instantaneous power of each direction separately; directional cumulative quantities SHALL use CurrentForwardTotalActiveEnergy and CurrentReverseTotalActiveEnergy in EnergyManagement. It is used for energy flow display, PV self-consumption/feed-in status determination, and energy management strategies.

Trait IDCode
0x5201GridActivePower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat-5000000-5000000 W0RVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat-5000000RO
0x0005Step Valuefloat0.1RO

MeteringPointType Trait​

The metering point type represents the measurement boundary of the electricity meter. When set to GridConnectionPoint, the import/export and active power signs of this Function are defined according to the PCC direction. When the metering location is unknown, report Unknown and do not infer the boundary from the device model. It is used to prevent incorrectly comparing grid connection point energy with generator or battery-side energy.

Trait IDCode
0x5202MeteringPointType
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueMeteringPointTypeEnum80-11RVO

DemandIntervalDuration Trait​

The demand interval represents the length of the integration interval used to calculate the current demand and the maximum demand, in seconds. Demand is the average imported active power within this interval; this field describes the averaging window length, not the reporting interval. 15 minutes (900 seconds) is a common default integration period, and meters may still configure other periods according to local billing rules. It is used to interpret demand data and perform cross-device comparisons.

Trait IDCode
0x5203DemandIntervalDuration
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint3260-3600 s900RVO
0x0002Maximum Valueuint323600RO
0x0003Minimum Valueuint3260RO
0x0005Step Valueuint321RO

CurrentDemand Trait​

The current demand represents the average imported active power within the current demand integration interval, in W, non-negative. When the interval is not yet complete, the device may report the interval average up to the current moment, but it MUST be calculated consistently; consumers SHALL understand its time window through DemandIntervalDuration. Export power is not included in the imported demand. It is used for real-time observation of billing demand growth trends and is not equivalent to the instantaneous net power of GridActivePower.

Trait IDCode
0x5204CurrentDemand
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-5000000 W0RVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

MaximumDemand Trait​

The maximum demand represents the maximum of the average imported active power over all demand integration intervals within the current billing period, in W, non-negative. It is not an instantaneous power peak and does not include export demand. The billing period is determined by the meter/rate plan, and its start time is reported through DemandPeriodStartTimestamp; the maximum is recalculated when a new billing period begins. The end time of the interval in which the maximum occurred is reported through MaximumDemandTimestamp. It is used for demand charge assessment and peak load analysis within the billing period.

Trait IDCode
0x5205MaximumDemand
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-5000000 W0RVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

MaximumDemandTimestamp Trait​

The maximum demand timestamp represents the end time of the demand interval in which the current recorded MaximumDemand occurred, as a UTC (Coordinated Universal Time) Unix epoch (from 1970-01-01T00:00:00Z) millisecond timestamp. A value of 0 indicates that the device has not yet recorded a valid maximum demand time. This timestamp, together with DemandIntervalDuration, identifies the complete integration interval that produced the maximum demand, and is used for bill verification and load event analysis.

Trait IDCode
0x5206MaximumDemandTimestamp
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640-253402300799999 ms0RVO
0x0002Maximum Valueuint64253402300799999RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint641RO

DemandPeriodStartTimestamp Trait​

The billing period start timestamp represents the start time of the billing period to which the current MaximumDemand belongs, as a UTC (Coordinated Universal Time) Unix epoch (from 1970-01-01T00:00:00Z) millisecond timestamp. The billing period boundary is determined by the meter billing calendar or rate plan; the maximum demand SHALL be recalculated when the period starts. A value of 0 indicates that the device has not provided a period start time. It is used to determine the statistics scope of the maximum demand and to avoid directly comparing values from different billing periods.

Trait IDCode
0x5207DemandPeriodStartTimestamp
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640-253402300799999 ms0RVO
0x0002Maximum Valueuint64253402300799999RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint641RO

TariffEnergyRegisters Trait​

The time-of-use energy register represents the imported and/or exported active energy accumulated separately by rate register in the meter. Each register has a stable and unique TariffRegisterId; the specific rate schedule, seasonal, and holiday rules of the register are configured by the meter or an external rate plan, and this Trait does not transmit the rate calendar. The category enumeration provides only coarse-grained labels and SHALL NOT be used to replace rate IDs or to calculate charges from it. Each energy value is a non-negative cumulative value, in W·h; device restarts SHALL NOT cause logical cumulative values to roll back. When the implementation cannot guarantee continuous logical accumulation and precise differences are required, a corresponding generation field MUST be provided for each direction. Counter generation rules are described in EnergyManagement. It is used for critical-peak/shoulder/off-peak statistics, time-of-use billing, and demand-side energy analysis.

Trait IDCode
0x5208TariffEnergyRegisters
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[TariffEnergyRegisterStructure]Up to 16 registers[]RVO

DemandCalculationMethod Trait​

The demand calculation method represents the window method used by the meter to calculate demand. FixedBlock divides continuous time into non-overlapping fixed intervals; RollingWindow uses a continuously sliding window. This method MUST be used together with DemandIntervalDuration to interpret CurrentDemand and MaximumDemand; units do not apply. It is used to ensure that the demand calculation basis of different meters is clear.

Trait IDCode
0x5209DemandCalculationMethod
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValueDemandCalculationMethodEnum80-20RVO
BranchCircuitMeasurementStructure Type​

This structure represents the metering data of one distribution circuit. The channel identifier is unique and stable within the device; metering directions or instantaneous power fields not provided by the device may be omitted.

Structure Member IndexField NameTypeRequiredDescription
0ChannelIduint16MDistribution circuit channel number, unique and stable within the same device.
1ImportedActiveEnergyfloatOCircuit forward cumulative energy, non-negative value, in W·h; provide it together with the field ImportedCounterGeneration when generation is needed.
2ExportedActiveEnergyfloatOCircuit reverse cumulative energy, non-negative value, in W·h; provide it together with the field ExportedCounterGeneration when generation is needed.
3ActivePowerfloatOCircuit instantaneous active power, in W; positive indicates import/consumption, negative indicates export/reverse power flow.
4ImportedCounterGenerationuint32OWhen continuous logical accumulation cannot be guaranteed and precise differences are required, it MUST be provided if ImportedActiveEnergy is provided. Rules are described in EnergyManagement.
5ExportedCounterGenerationuint32OWhen continuous logical accumulation cannot be guaranteed and precise differences are required, it MUST be provided if ExportedActiveEnergy is provided. Rules are described in EnergyManagement.

BranchCircuitMeasurements Trait​

The branch circuit measurement data represents the cumulative imported/exported energy and instantaneous active power of each circuit in the distribution panel. The Present Value is a list of BranchCircuitMeasurementStructure; channel numbers MUST be unique and stable within the device, and each list item SHALL contain at least one measurement value. If ECHONET Lite provides raw counts in device cumulative energy units, the conversion SHALL first convert to W·h by the device unit and then write to the corresponding structure field.

Trait IDCode
0x523FBranchCircuitMeasurements
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuelist[BranchCircuitMeasurementStructure]According to the number of circuits supported by the device[]RVO

Command Definitions​

This Function does not contain any Commands.

PowerGeneration (Power Generation)​

Introduction​

PowerGeneration is used to represent the rated output capability and generation operating state of power generation equipment, and provides gas consumption, load-side electricity usage, and heat recovery data for fuel cells and gas cogeneration equipment. The grid connection state is represented by EnergyManagement/SystemInterconnectionStatus. The instantaneous generation power and cumulative generation energy reuse EnergyManagement/GeneratedActivePower and EnergyManagement/CumulativeGeneratedActiveEnergy; this Function does not change their metering boundary conventions.

Function Identifier​

Function IDCodeName
0x013EPowerGenerationPower generation

Trait​

Trait IDCodeConformance
0x5230RatedGenerationPowerO
0x5231PowerGenerationStatusO
0x5233CumulativeGasConsumptionO
0x5236RecoveredWaterTemperatureO
0x5237RemainingHotWaterAmountO
0x5238HotWaterTankCapacityO
0x5239CumulativeSoldEnergyO
0x523EPowerGenerationRequestTimestampO

Command​

This Function does not contain any Commands. Until the value semantics of generation settings and scheduled generation states are clarified, no corresponding control interface is defined.

Data Types​

PowerGenerationStatusEnum8 Type​

This enumeration defines the current operating state of the power generation device.

ValueNameDescription
0x00StoppedStopped
0x01StartingStarting
0x02GeneratingGenerating
0x03StoppingStopping
0x04IdlingStandby

Trait Definitions​

Trait IDNameConformance
0x5230RatedGenerationPowerO
0x5231PowerGenerationStatusO
0x5233CumulativeGasConsumptionO
0x5236RecoveredWaterTemperatureO
0x5237RemainingHotWaterAmountO
0x5238HotWaterTankCapacityO
0x5239CumulativeSoldEnergyO
0x523EPowerGenerationRequestTimestampO

RatedGenerationPower Trait​

The rated generation power represents the nominal maximum output power of the power generation device, in W.

Trait IDCode
0x5230RatedGenerationPower
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-5000000 WNo fixed default; determined by the product specificationRVO
0x0002Maximum Valuefloat5000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

PowerGenerationStatus Trait​

The generation state represents the current operating stage of the power generation device.

Trait IDCode
0x5231PowerGenerationStatus
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present ValuePowerGenerationStatusEnum80-4No fixed defaultRVO

CumulativeGasConsumption Trait​

The cumulative gas consumption represents the volume of gas consumed within the current counter generation, in m^3; device restarts SHALL NOT clear readings or generations, and counter resets, uncompensated rollbacks, or meter replacements MUST increment the Counter Generation. Counter generation rules are described in EnergyManagement.

Trait IDCode
0x5233CumulativeGasConsumption
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 m^30RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.001RO

RecoveredWaterTemperature Trait​

The heat recovery water temperature represents the water temperature in the heat recovery system of the power generation device, in deg C.

Trait IDCode
0x5236RecoveredWaterTemperature
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat-50-150 deg CNo fixed default; report the current valueRVO
0x0002Maximum Valuefloat150RO
0x0003Minimum Valuefloat-50RO
0x0005Step Valuefloat0.1RO

RemainingHotWaterAmount Trait​

The remaining hot water volume represents the volume of hot water currently available in the hot water storage device, in L.

Trait IDCode
0x5237RemainingHotWaterAmount
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000 LNo fixed default; report the current valueRVO
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

HotWaterTankCapacity Trait​

The hot water tank capacity represents the nominal storage volume of the tank, in L.

Trait IDCode
0x5238HotWaterTankCapacity
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000 LNo fixed default; determined by the product specificationRVO
0x0002Maximum Valuefloat1000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO

PowerGenerationRequestTimestamp Trait​

The generation request time represents the generation request moment recorded by the power generation device, as a UTC Unix epoch millisecond timestamp; 0 indicates that the device has not provided a valid moment. When converting an external time representation to this format, its time zone semantics SHALL be followed; when the time or time zone cannot be determined, it MUST NOT be guessed.

Trait IDCode
0x523EPowerGenerationRequestTimestamp
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valueuint640-253402300799999 msNo fixed default; report the device-recorded valueRVO
0x0002Maximum Valueuint64253402300799999RO
0x0003Minimum Valueuint640RO
0x0005Step Valueuint641RO

CumulativeSoldEnergy Trait​

The cumulative sold energy represents the cumulative active energy sold externally by the power generation device, in W·h. Its metering boundary is determined by the selling metering point of the power generation device and is not equivalent to the total device generation; when the implementation cannot guarantee continuous logical accumulation and precise differences are required, the Counter Generation SHALL also be reported, with generation change rules described in EnergyManagement.

Trait IDCode
0x5239CumulativeSoldEnergy
Parameters​
Parameter IDNameTypeConstraintDefaultAccessConformance
0x0001Present Valuefloat0-1000000000000 W·h0RVO
0x0010Counter Generationuint320-42949672950RO
0x0002Maximum Valuefloat1000000000000RO
0x0003Minimum Valuefloat0RO
0x0005Step Valuefloat0.1RO