Giter Club home page Giter Club logo

Comments (5)

brdandu avatar brdandu commented on June 23, 2024

@hicklin this is by design. ZAP generally stores all the configurations made by the user into the .zap file in order to retrieve user settings back easily if they want to go back to all the edits made. For eg. user edits a cluster for attributes, commands, etc then by mistake disables the cluster then the user can enable the cluster back and retrieve the changes made. In this case updating the device type on an endpoint does not disable the existing clusters which have been enabled previously since the user may want all those changes. I believe that before you updated the device type to Matter Robotic Vacuum Cleaner, the previous device type had Groups and scenes enabled. I recommend that you delete the endpoint to loose all the configuration on that endpoint and recreate the endpoint with Matter Robotic Vacuum Cleaner device type.

from zap.

bzbarsky-apple avatar bzbarsky-apple commented on June 23, 2024

@brdandu But should the invalid config not at least be flagged as a warning?

from zap.

brdandu avatar brdandu commented on June 23, 2024

@brdandu But should the invalid config not at least be flagged as a warning?

I do not see this to be an invalid config for every use case. I always thought a user can select a device type as a baseline and then add on to the list of clusters coming from the device type for their specific purpose but I see how one could be warned with having a cluster that does not come from your selected device types on that endpoint.

from zap.

bzbarsky-apple avatar bzbarsky-apple commented on June 23, 2024

I always thought a user can select a device type as a baseline and then add on to the list of clusters coming from the device type for their specific purpose

Matter is moving away from that, because that's not very interoperable. So in general, anything that's not allowed by the device type should be flagged (though perhaps not prevented for now).

from zap.

jvmahon avatar jvmahon commented on June 23, 2024

Matter is moving away from that, because that's not very interoperable. So in general, anything that's not allowed by the device type should be flagged (though perhaps not prevented for now).

Just noticed this thread. This is related to the Feature Request I posted here: #1150 though I have a stronger view that there should be an enforced conformance to the specs.

My view is that there should be no cluster that are not either Mandatory or Optional for the device type. If this isn't the case, then "Optional" in the standard has no meaning as everything becomes Optional and, as prior post pointed out, its an interoperability nightmare that is best avoided. Until Matter controllers have the basics 100% right, less choice can be a benefit.

from zap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.