Comments (6)
If I'm understanding your question correctly, you're asking what the DU service behavior is if a device changes its modelId?
Group membership is based on tag, so as long as changing the ADUGroup tag doesn't change its value even if the modelId changes the device would remain in the same group.
Deployments are based on group, compatibility properties, and DeviceUpdate PnP interfaceId. If you switch to a new modelId (which references the PnP interfaceId), as long as none of those change, you would continue to receive the same deployments. If your new modelId references a different supported interfaceId (for example your old modelId could reference one of the preview DeviceUpdate interfaceIds, and then the new modelId could reference the general availability release interfaceId) then it's possible you would stop receiving the previous deployment and receive a new deployment (or no deployment if there is no existing deployment compatible with that new interfaceId).
Hopefully that answers your question.
from iot-hub-device-update.
@josephmsft the new modelId we used was in our private repository and didn't reference any DU pnp interfaces.
from iot-hub-device-update.
Ok so you're saying that your custom modelId that doesn't implement any DU PnP interfaces (presumably it includes only your own interfaces) is still being imported as a DU device? That's not expected, I will follow up.
from iot-hub-device-update.
Yes and the device is imported as a DU compatible device only when it uses a DU compatible model but subsequently uses a custom model. So want to understand what is the expected behaviour here, should the imported device be removed from DU or will it continue be part of DU despite using a custom model?
from iot-hub-device-update.
After following up, the fix for this issue should have been deployed around middle of November. Is the issue still reproducible?
from iot-hub-device-update.
@sourabhkrishna , closing this as the fix is deployed. Please reopen or create a new issue if you are seeing the bug again.
from iot-hub-device-update.
Related Issues (20)
- Device update total number of updates per instance count mismatch HOT 6
- Ability to support custom model Id instead of dtmi:azure:iot:deviceUpdateModel;1 HOT 1
- Ability to perform updates at individual device level instead of group level
- Mismatch between message routes in the IoT hub and routes shown in the device update instance details HOT 5
- Invalid steps workflow collection HOT 4
- Unable to locate package HOT 2
- The swupdate_handler_v2 README create custom content handler link is dead/404 HOT 1
- Unable to delete deployment group HOT 12
- segfault with 1.0.0 HOT 3
- [v1.0] First D2C message, "return to idle state" is lost at startup by the AduIotAgent after successful updates. (blocker issue) HOT 5
- Device compatibility supporting upper case only of custom field HOT 4
- Howto: Block updates until user confirmation HOT 2
- Automatic insertion of ADUGroup HOT 2
- AducIotAgent: error while loading shared libraries: libdeliveryoptimization.so.0 during installation HOT 16
- compile error with iot-hub-device-update 1.0.1: 'IOTHUB_CLIENT_CONNECTION_QUOTA_EXCEEDED' not handled in switch HOT 3
- iot-hub-device-update v1.0.1: swupdate handler v2 don't use custom script handling in CancelApply and Apply step HOT 1
- DU Agent Receives Incorrect workflow version during new deployment HOT 3
- DU Agent does not update Twin when credentials are refreshed HOT 1
- Device Never Appears Under "Groups and Deployments" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iot-hub-device-update.