Hi,
I am using nrfMesh2.2 SDK. I want to add models other than GenericOnOff and configurationclient to the interactive_pyaci. How do we proceed with this?
Hi,
I am using nrfMesh2.2 SDK. I want to add models other than GenericOnOff and configurationclient to the interactive_pyaci. How do we proceed with this?
If you have not already taken a look at the extensive documentation, I would recommend starting there. I can also recommend taking a look at the "creating new models" documentation.
To make things easier, I would recommend using the nRF Mesh app first & provisioning/configuring a few nodes using the light switch example. This Youtube video should be helpful.
Have you already tried to provision & configure nodes with the interactive pyaci script? If not, I urge you to start with that & fully understand how the provisioning & configuration process works.
Have you already done all of the steps above?
If you have not already taken a look at the extensive documentation, I would recommend starting there. I can also recommend taking a look at the "creating new models" documentation.
To make things easier, I would recommend using the nRF Mesh app first & provisioning/configuring a few nodes using the light switch example. This Youtube video should be helpful.
Have you already tried to provision & configure nodes with the interactive pyaci script? If not, I urge you to start with that & fully understand how the provisioning & configuration process works.
Have you already done all of the steps above?
Hi Bjorn,
I've already worked with provisioning using interactive_pyaci. I want to add the time and health models into interactive_pyaci itself. Please correct me if I'm wrong. My understanding is we need to add those models like python files within the scripts/models directory of mesh2.2.
Yes, I would do a very similar process to how the configuration client & generic on off models are configured in the interactive pyaci script. Like you said, I would create a new file inside the models folder with the name of the model you want to add.
I also recommend taking a look at the config.py file, which shows how the models are configured in their respective nodes. This example documentation should also be useful if you have not seen it already.
Hi Bjorn,
I understand, but how do we implement the health model using the interactive_pyaci script. Is there any documentation for this?
We have this interactive pyaci documentation here. I would try to add the health model in a similar fashion to how the generic on off model is added (see application keys section, specifically this command:)
cc.model_app_bind(db.nodes[0].unicast_address, 0, mt.ModelId(0x1000))It may also be helpful to see how the light switch provisioner example binds the health model to the client & server.