Matter Cluster Editor not saving struct definitions and cannot create array arguments

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 save again 




secondly 

i cannot set command arguments as arrays, though i can by manually editing xml file and it is recognized if i reload 


thx










  • 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. 

    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
    and you many need a device with more than one cluster

    e.g
    MA-control-bridge (deviceId 0x0840)

    in matter-devices.xml

    This example wont save 

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <configurator>
      <cluster>
        <domain>Lighting</domain>
        <name>Test Cluster</name>
        <code>0xff1fc00</code>
        <define>test_cluster</define>
    
      </cluster>
        <deviceType>
            <name>test</name>
            <domain>Lighting</domain>
            <typeName>Test</typeName>
            <profileId editable="false">0x0104</profileId>
            <deviceId editable="false">0xFFF100F1</deviceId>
            <clusters lockOthers="false">
                <include cluster="Test Cluster" client="false" server="true" clientLocked="false" serverLocked="false"/>
                <include cluster="Test Cluster2" client="false" server="true" clientLocked="false" serverLocked="false"/>
            </clusters>
        </deviceType>
    </configurator>


    If you load this it will load but removes the Device type on save, but if you remove the second cluster it will save

  • Hello, 

    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 "edit" one assigned cluster works for you in the mean time. 

    Thanks again for reporting your issues with the tool, we appreciate your feedback! 

    Please also let me know if there is an issue which I haven't adressed properly yet. 

    Best regards,

    Maria

  • Hello again, 

    The device type saving issue will also be fixed in the next release of the Matter Cluster Editor. 

    Best regards,

    Maria

  • thanks, i think I've worked around everything i need to, I'll look at next version when its released

Related