Skip to content
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

Question: How to make custom DTMI model private for ADU #539

Closed
oedze opened this issue Sep 26, 2023 · 2 comments
Closed

Question: How to make custom DTMI model private for ADU #539

oedze opened this issue Sep 26, 2023 · 2 comments

Comments

@oedze
Copy link

oedze commented Sep 26, 2023

Direct copy of the original post on Microsoft Learn, where it was asked to post the question here original question

We are using ADU to udpate our devices.

We currently have the modelId dtmi:azure:iot:deviceUpdateContractModel;1 set in DPS and our device. All the other ADU requirements are also met and we can see the device in the devices list in the "Update" section of the IoT Hub.

However, we want to define our own DTMI model for our device, something like:

dtmi:company:project:device;1 which extends the dtmi:azure:iot:deviceUpdateContractModel;1

This works fine in something like the Azure IoT Explorer, but now are devices won't get listed in the Groups& Deployments tab. I believe i need to make my device model public in the repository: https://github.com/Azure/iot-plugandplay-models/tree/main But i don't want to make it public

Is there a way to link a private repository to Azure Device Update so device can report some modelId other than dtmi:azure:iot:deviceUpdateContractModel;1

Device Information

  • OS/Microschip:ESP32S3
  • Provisioning Method: DPS using X509 Certificate attestation
    *DU Agent Version (run 'sudo -u adu /usr/bin/AducIotAgent -v'): FreeRTOS iot adu client

Logs

None

Additional Information

None

@eshashah-msft
Copy link
Contributor

eshashah-msft commented Sep 26, 2023

Hi @oedze, custom PnP models that extend the device update models can be created and used on the devices. This doc covers how to create custom models.

However, private models are not supported at this time. Please go to https://aka.ms/deviceupdateiot-feedback to upvote/ add this as a feature request/ suggestion.

@oedze
Copy link
Author

oedze commented Sep 28, 2023

The Idea is posted, thank you for your answer.
Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants