<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124654/matter-cluster-editor-not-saving-struct-definitions-and-cannot-create-array-arguments</link><description>I am working on a custom Cluster Definition Using Matter Cluster Editor 0.1.0 I have created a couple of structures on the structure tab and they are not being saved to the output xml file 
 it does load them if i add manually, but not save them if i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Oct 2025 15:36:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124654/matter-cluster-editor-not-saving-struct-definitions-and-cannot-create-array-arguments" /><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/550517?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 15:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:420e06da-06f6-4a9c-ae3a-22d826e90f71</guid><dc:creator>ctyerman</dc:creator><description>&lt;p&gt;thanks, i think I&amp;#39;ve worked around everything i need to, I&amp;#39;ll look at next version when its released&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/550424?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 07:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7ac81e3-4761-4f67-a1ae-5e2e79009b86</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The device type saving issue will also be fixed in the next release of the Matter Cluster Editor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/550370?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 13:27:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a928f698-13ca-4bdf-b00a-4d0cf32bd2a7</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did some testing on this as well, and I found that when loading your test .xml into the Matter Cluster Editor and directly saving to file, the device type was not saved (like you describe). However, when I selected edit and save (without editing anyting) on one of the assigned clusters, saving to file included the device type. Still, I have reported this saving issue internally so the behaviour can be improved. I hope that the workaround to &amp;quot;edit&amp;quot; one assigned cluster works for you in the mean time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again for reporting your issues with the tool, we appreciate your feedback!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please also let me know if there is an issue which I haven&amp;#39;t adressed properly yet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/550268?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 22:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a7baf52-f4f8-4cab-bf86-c3b933c3c97d</guid><dc:creator>ctyerman</dc:creator><description>[quote userid="116814" url="~/f/nordic-q-a/124654/matter-cluster-editor-not-saving-struct-definitions-and-cannot-create-array-arguments/550180"]Regarding the device type not saving: Make sure that you are using the correct format in each field (like I also mentioned above). For example, I am able to consistently reproduce that the device type does not save when there is a space in the Name field for the device type.&amp;nbsp;[/quote]
&lt;p&gt;ok I have isolated one problem with saving device type, it appears not to save if you specify a cluster name not present in the editor, I assume this should be possible as different clusters are defined in separate files&lt;br /&gt;and you many need a device with more than one cluster&lt;/p&gt;
&lt;p&gt;e.g&lt;br /&gt;MA-control-bridge (deviceId 0x0840)&lt;/p&gt;
&lt;p&gt;in matter-devices.xml&lt;/p&gt;
&lt;p&gt;This example wont save&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;yes&amp;quot;?&amp;gt;
&amp;lt;configurator&amp;gt;
  &amp;lt;cluster&amp;gt;
    &amp;lt;domain&amp;gt;Lighting&amp;lt;/domain&amp;gt;
    &amp;lt;name&amp;gt;Test Cluster&amp;lt;/name&amp;gt;
    &amp;lt;code&amp;gt;0xff1fc00&amp;lt;/code&amp;gt;
    &amp;lt;define&amp;gt;test_cluster&amp;lt;/define&amp;gt;

  &amp;lt;/cluster&amp;gt;
    &amp;lt;deviceType&amp;gt;
        &amp;lt;name&amp;gt;test&amp;lt;/name&amp;gt;
        &amp;lt;domain&amp;gt;Lighting&amp;lt;/domain&amp;gt;
        &amp;lt;typeName&amp;gt;Test&amp;lt;/typeName&amp;gt;
        &amp;lt;profileId editable=&amp;quot;false&amp;quot;&amp;gt;0x0104&amp;lt;/profileId&amp;gt;
        &amp;lt;deviceId editable=&amp;quot;false&amp;quot;&amp;gt;0xFFF100F1&amp;lt;/deviceId&amp;gt;
        &amp;lt;clusters lockOthers=&amp;quot;false&amp;quot;&amp;gt;
            &amp;lt;include cluster=&amp;quot;Test Cluster&amp;quot; client=&amp;quot;false&amp;quot; server=&amp;quot;true&amp;quot; clientLocked=&amp;quot;false&amp;quot; serverLocked=&amp;quot;false&amp;quot;/&amp;gt;
            &amp;lt;include cluster=&amp;quot;Test Cluster2&amp;quot; client=&amp;quot;false&amp;quot; server=&amp;quot;true&amp;quot; clientLocked=&amp;quot;false&amp;quot; serverLocked=&amp;quot;false&amp;quot;/&amp;gt;
        &amp;lt;/clusters&amp;gt;
    &amp;lt;/deviceType&amp;gt;
&amp;lt;/configurator&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;If you load this it will load but removes the Device type on save, but if you remove the second cluster it will save&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/550180?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 12:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2aede09-295f-4647-b478-eccdc2378ac8</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="ctyerman"]I was trying to create a new cluster &amp;amp; device type how would you use this in that situation?[/quote]
&lt;p&gt;I see. You should be able to populate everything you need in the GUI to generate a functioning .xml. I did a trial with the Scenes Management Cluster and the .xml was populated nicely. It could be that you have some fields with an unsupported format. Take the hints into account when you populate the fields with the details for your new cluster and device type, and let me know if there is something unclear about the hints.&amp;nbsp;&lt;/p&gt;
[quote user="ctyerman"]&lt;strong&gt;&amp;quot;Save cluster type to file&amp;quot;&lt;/strong&gt;&amp;nbsp;button doesn&amp;#39;t seem to exist, typo?, and the &amp;quot;Save cluster to File&amp;quot; doesn&amp;#39;t save the device type[/quote]
&lt;p&gt;&amp;quot;Save cluster type to file&amp;quot; is a typo, yes. It should be &amp;quot;Save cluster to file&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the device type not saving: Make sure that you are using the correct format in each field (like I also mentioned above). For example, I am able to consistently reproduce that the device type does not save when there is a space in the Name field for the device type.&amp;nbsp;&lt;/p&gt;
[quote user="ctyerman"]however there is currently no way to set this for a new argument that i can find, other than manually editing the xml file[/quote]
&lt;p&gt;This is not supported by the Matter Cluster Editor v0.1.0. You will need to manually add this to the .xml file. Apologies for the inconvenience.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/550055?ContentTypeID=1</link><pubDate>Mon, 29 Sep 2025 15:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a76fd51-42bb-40ff-a896-c8a0adbc45b6</guid><dc:creator>ctyerman</dc:creator><description>[quote userid="116814" url="~/f/nordic-q-a/124654/matter-cluster-editor-not-saving-struct-definitions-and-cannot-create-array-arguments/550025"]I was able to reproduce this. It is the expected outcome when you don&amp;#39;t load a .xml cluster file to base your editing on. Make sure to select a file with &amp;quot;Load from file&amp;quot; before adding to or editing the cluster.&amp;nbsp;[/quote]
&lt;p&gt;I was trying to create a new cluster &amp;amp; device type how would you use this in that situation?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-matter-cluster-editor/page/creating_new_cluster.html"&gt;https://docs.nordicsemi.com/bundle/nrf-connect-matter-cluster-editor/page/creating_new_cluster.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/nrf-connect-matter-cluster-editor/page/creating_device_type.html"&gt;https://docs.nordicsemi.com/bundle/nrf-connect-matter-cluster-editor/page/creating_device_type.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Last step of second Page&lt;/p&gt;
&lt;p&gt;&amp;quot;6.&amp;nbsp;Click the &lt;strong&gt;Save extension to file&lt;/strong&gt; or &lt;strong&gt;Save cluster type to file&lt;/strong&gt; button depending on the purpose of the file.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;Save cluster type to file&amp;quot;&lt;/strong&gt;&amp;nbsp;button doesn&amp;#39;t seem to exist, typo?, and the &amp;quot;Save cluster to File&amp;quot; doesn&amp;#39;t save the device type&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="116814" url="~/f/nordic-q-a/124654/matter-cluster-editor-not-saving-struct-definitions-and-cannot-create-array-arguments/550025"]&lt;p&gt;I was not able to reproduce this. That is, selecting array as the argument type was successfully added to the generated .xml:&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;cursor:zoom-in;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759150253420v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Could you please share some more details? I.e. are you not able to choose array from the type menu, or are you expecting there to be an &amp;quot;array&amp;quot; toggle for your argument? As far as I can tell there are no way to implement the array toggle feature in the current version of the Matter Cluster Editor.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;br /&gt;to be more clear I am talking about arrays of struct&lt;br /&gt;&lt;br /&gt;I know these are possible as they are used in the spec&lt;/p&gt;
&lt;p&gt;e.g Scenes Management Cluster(external/modules/lib/matter/src/app/zap-templates/zcl/data-model/chip/scene.xml)&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    &amp;lt;command source=&amp;quot;client&amp;quot; code=&amp;quot;0x00&amp;quot; name=&amp;quot;AddScene&amp;quot; response=&amp;quot;AddSceneResponse&amp;quot; isFabricScoped=&amp;quot;true&amp;quot; optional=&amp;quot;false&amp;quot; cli=&amp;quot;chip scenes add&amp;quot;&amp;gt;
      &amp;lt;description&amp;gt;Add a scene to the scene table. Extension field sets are input as &amp;#39;{&amp;quot;ClusterID&amp;quot;: VALUE, &amp;quot;AttributeValueList&amp;quot;:[{&amp;quot;AttributeID&amp;quot;: VALUE, &amp;quot;Value*&amp;quot;: VALUE}]}&amp;#39;.&amp;lt;/description&amp;gt;
      &amp;lt;arg id=&amp;quot;0&amp;quot; name=&amp;quot;GroupID&amp;quot; type=&amp;quot;group_id&amp;quot;/&amp;gt;
      &amp;lt;arg id=&amp;quot;1&amp;quot; name=&amp;quot;SceneID&amp;quot; type=&amp;quot;int8u&amp;quot; max=&amp;quot;254&amp;quot;/&amp;gt;
      &amp;lt;arg id=&amp;quot;2&amp;quot; name=&amp;quot;TransitionTime&amp;quot; type=&amp;quot;int32u&amp;quot; max=&amp;quot;60000000&amp;quot;/&amp;gt;
      &amp;lt;arg id=&amp;quot;3&amp;quot; name=&amp;quot;SceneName&amp;quot; type=&amp;quot;char_string&amp;quot; length=&amp;quot;16&amp;quot;/&amp;gt;
      &amp;lt;arg id=&amp;quot;4&amp;quot; name=&amp;quot;ExtensionFieldSetStructs&amp;quot; type=&amp;quot;ExtensionFieldSetStruct&amp;quot; array=&amp;quot;true&amp;quot;/&amp;gt;
      &amp;lt;access op=&amp;quot;invoke&amp;quot; role=&amp;quot;manage&amp;quot;/&amp;gt;
    &amp;lt;/command&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if i load this cluster into Matter Cluster Editor&amp;nbsp; 0.1.0&amp;nbsp; it is shown&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759158388230v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;however there is currently no way to set this for a new argument that i can find, other than manually editing the xml file&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/550025?ContentTypeID=1</link><pubDate>Mon, 29 Sep 2025 12:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c96957cc-392e-46c2-9eae-a6a66891b537</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
[quote user="ctyerman"]&lt;p&gt;Additionally It does not appear to save Device Type&lt;br /&gt;&lt;br /&gt;e.g Open&amp;nbsp;editor&lt;/p&gt;
&lt;p&gt;fill in entries on device page&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;and save, get no errors, and all get in file is&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;I was able to reproduce this. It is the expected outcome when you don&amp;#39;t load a .xml cluster file to base your editing on. Make sure to select a file with &amp;quot;Load from file&amp;quot; before adding to or editing the cluster.&amp;nbsp;&lt;/p&gt;
[quote user=""]i cannot set command arguments as arrays, though i can by manually editing xml file and it is recognized if i reload&amp;nbsp;[/quote]
&lt;p&gt;I was not able to reproduce this. That is, selecting array as the argument type was successfully added to the generated .xml:&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759150253420v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Could you please share some more details? I.e. are you not able to choose array from the type menu, or are you expecting there to be an &amp;quot;array&amp;quot; toggle for your argument? As far as I can tell there are no way to implement the array toggle feature in the current version of the Matter Cluster Editor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/549957?ContentTypeID=1</link><pubDate>Mon, 29 Sep 2025 06:37:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0d33f17-e903-49b0-b79c-8ae4432f694f</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for reporting this. We are still in early days of the Matter Cluster Editor, so we appreciate that you are using the tool and reporting issues you come across.&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;I have created a couple of structures on the structure tab and they are not being saved to the output xml file&lt;/p&gt;
&lt;p&gt;it does load them if i add manually, but not save them if i save again&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;This is a known issue which will be fixed in the next release of the tool. Keep an eye out for updates!&lt;/p&gt;
[quote user=""]i cannot set command arguments as arrays, though i can by manually editing xml file and it is recognized if i reload&amp;nbsp;[/quote][quote user="ctyerman"]&lt;p&gt;Additionally It does not appear to save Device Type&lt;br /&gt;&lt;br /&gt;e.g Open&amp;nbsp;editor&lt;/p&gt;
&lt;p&gt;fill in entries on device page&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;and save, get no errors, and all get in file is&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;I will try to confim these issues and report it internally if I successfully reproduce them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Cluster Editor not saving struct definitions and cannot create array arguments</title><link>https://devzone.nordicsemi.com/thread/549948?ContentTypeID=1</link><pubDate>Sun, 28 Sep 2025 15:44:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d83469a5-e29b-4c52-9be8-e151723703e1</guid><dc:creator>ctyerman</dc:creator><description>&lt;p&gt;Additionally It does not appear to save Device Type&lt;br /&gt;&lt;br /&gt;e.g Open&amp;nbsp;editor&lt;/p&gt;
&lt;p&gt;fill in entries on device page&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;and save, get no errors, and all get in file is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;yes&amp;quot;?&amp;gt;
&amp;lt;configurator&amp;gt;
  &amp;lt;deviceType/&amp;gt;
&amp;lt;/configurator&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>