-
Notifications
You must be signed in to change notification settings - Fork 165
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
How to add product_appearance attribute to the basic information cluster (CON-1248) #1002
Comments
@FMistrorigo , thanks for reporting the issue. The product appearance attribute can be set by creating a factory_partiton using |
@FMistrorigo ,the change is now present in connectedhomeip here.
You can try out the factory script present here with the changes in the above PR for generating the factory partition.
For more information on factory data, you can refer this link. |
@FMistrorigo , any updates on the issue. |
Hi @shripad621git, I didn't want to create a Factory partition only for these attributes, for the Device Instance Info Provider I use a custom one and I tried to implement the two functions in this way, so when the get functions were called the output was what I wanted, but it didn't work. I decided to go back to the function create_product_appearance and did this: Everything in the chip tool was working so I left it like this. Tell me if ther's any problem in what I did. |
@FMistrorigo , the above changes looks good to me if you don't want to use factory partition. |
Hi,
I wanted to add to my product the informations about color and finish, I found out this is possible in the attribute "product_appearance" of the cluster "basic information".
In my case the root node is created with the cluster basic information but the only attributes are node_label and cluster_revision, I know that using the function create_product_appearance it's possible to create the attribute.
I couldn't fins an example where this function is used, and in the documentation is not clear what parameters I have to provide in "value", "length" and "count".
What parameters do I have to provide if I want to display color: white and finish: satin when in the chip tool i use the command "./chip_tool basicinformation read product-appearance 1 0"?
Thanks
The text was updated successfully, but these errors were encountered: