Skip to content

Using the location of the buttons on a multi-button switch device / TagList attribute and Position Semantic Tag #1168

@lboue

Description

@lboue

Hello,

Some device like Aqara Climate Sensor W100 has TagList attribute in Descriptor Cluster.
This allow the controller to rename entities using the location of the buttons on a multi-button switch device.

Button 1: [{"0":null,"1":7,"2":1},{"0":null,"1":8,"2":2}] = 1, Top
Button 2: [{"0":null,"1":7,"2":2},{"0":null,"1":8,"2":4}] = 2, Middle
Button 3: [{"0":null,"1":7,"2":3},{"0":null,"1":8,"2":3}] = 3, Bottom

From the specs: 24-31936-004_Matter-1.4.1-Standard-Namespace-Specification.pdf

Common Number Semantic Tag (7)
 Namespace
 This section contains the Common Number semantic tag namespace as part of the semantic tag feature.
 The tags contained in this namespace MAY be used in any domain or context, to indicate an association with a certain numeric feature of a device (e.g. a numeric input button).


Common Position Semantic Tag (8)
 Namespace
 This section contains the Common Position semantic tag namespace as part of the semantic tag feature.
 The tags contained in this namespace MAY be used in any domain or context, to indicate an association with a position relative to the device (e.g. the temperature sensor in the top drawer of a refrigerator, or location of the buttons on a multi-button switch device).

Is it possible to implement this in Home Assistant when endpoints are discovered?

Current

Image

Using Number Semantic Tag and Position Semantic Tag

We can combine Number Semantic Tag and Position Semantic Tag:

Image

Regards

Diag file

matter-01J7VHBAZ27J6PW7C6FVS4TNJS-Climate Sensor W100-b5685a6a2720a6b0255258a3345f7e9c.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions