Skip to content

[Request] Allow setting Matter TagList attribute #11515

@lboue

Description

@lboue

Related area

Matter

Hardware specification

ESP32C6-Dev

Is your feature request related to a problem?

Allow setting Matter TagList attribute:

  • Taglist Feature of Descriptor Cluster : used to disambiguate sibling endpoints where two or more sibling endpoints have an overlap in the supported device types with each such endpoint having a unique TagList.

I would use it with number and position tags.

Describe the solution you'd like

Allow setting Matter TagList attribute from Arduino code:

tagList1 = [
          { mfgCode: null, namespaceId: NumberTag.One.namespaceId, tag: NumberTag.One.tag, label: null},
          { mfgCode: null, namespaceId: PositionTag.Top.namespaceId, tag: PositionTag.Top.tag, label: null},
        ]
tagList2: [
          { mfgCode: null, namespaceId: NumberTag.Two.namespaceId, tag: NumberTag.Two.tag, label: null},
          { mfgCode: null, namespaceId: PositionTag.Middle.namespaceId, tag: PositionTag.Middle.tag, label: null},
        ]
tagList3: [
          { mfgCode: null, namespaceId: NumberTag.Three.namespaceId, tag: NumberTag.Three.tag, label: null},
          { mfgCode: null, namespaceId: PositionTag.Bottom.namespaceId, tag: PositionTag.Bottom.tag, label: null},
        ]
        
SmartButton1.setTagList(tagList1);
SmartButton2.setTagList(tagList2);
SmartButton3.setTagList(tagList3);

Describe alternatives you've considered

No response

Additional context

Testing this feature with HomeAssistant now only with esp-matter:
https://github.com/espressif/esp-matter/blob/main/examples/generic_switch/main/app_main.cpp

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.

Metadata

Metadata

Assignees

Labels

Area: MatterIssues and Feature Request about Matter ProtocolType: Feature requestFeature request for Arduino ESP32

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions