Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] Allow customisation of name attributes in BasicInformation Cluster #46

Open
lboue opened this issue May 7, 2024 · 3 comments
Labels
featurerequest Feature request

Comments

@lboue
Copy link

lboue commented May 7, 2024

Summary

Hello,

Would it be possible to allow customising the following values as shown in the screenshot below?

image

These attributes are part on the BasicInformation Cluster (ClusterId 40 0x0028) on Endpoint 0

Best regards
Ludovic

@lboue lboue added the featurerequest Feature request label May 7, 2024
@lboue
Copy link
Author

lboue commented May 8, 2024

I found this:

image
Does this change the values for the bridge or the endpoint attached to the Matter bridge?

I will check the docs for the Matter library here to try and find the information.

@lboue
Copy link
Author

lboue commented May 8, 2024

I found this example in the repo: matter_lightbulb_custom_name.ino:

  // Initial display name that can be changed by the user in the client apps
  matter_bulb.set_device_name("Chell's bulb");
  // Vendor/manufacturer name - cannot be changed by users
  matter_bulb.set_vendor_name("Aperture Science");
  // Product/model name - cannot be changed by users
  matter_bulb.set_product_name("Weighted Storage Bulb");
  // Serial number - cannot be changed by users
  // Set the serial number to the chip's unique ID
  matter_bulb.set_serial_number(getDeviceUniqueIdStr().c_str());

Matter.cpp#L115
void ArduinoMatterAppliance::set_device_name(const char* device_name)

It seems to be related with BridgedDeviceBasicInformation cluster attributes but not BasicInformation Cluster (ClusterId 40 0x0028) on Endpoint 0.

@lboue
Copy link
Author

lboue commented May 9, 2024

It seems to be related with BridgedDeviceBasicInformation cluster attributes but not BasicInformation Cluster (ClusterId 40 0x0028) on Endpoint 0.

I did the test with matter_lightbulb_custom_name.ino and That's exactly it.
The Matter bridge attributes do not change, only those of the endpoint:

IMG_0682
IMG_0681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
featurerequest Feature request
Projects
None yet
Development

No branches or pull requests

1 participant