Forum Discussion
mlenart
Aug 20, 2022Copper Contributor
Cloud Property vs. Device Property
I am trying to understand when something should be a Cloud Property vs. a Device Property.
I had certain properties as Cloud Properties (Device S/N, Client ID as examples).
The challenge I have is I have to use the IoT Central APIs to update the Cloud Properties and I use the SDK for updating the Device Properties.
I was wondering if there was any documented guidance on when something should be a Cloud Property vs. Device Property?
1 Reply
- OlivierBlochIron ContributorI think a good way of differentiating is by considering the following:
- Cloud properties are only visible on the Cloud side (these are never sent to the device)
- Device properties are accessible on both sides (Cloud and device)
Transferring data between device and Cloud costs, so you should always consider how you can reduce that data transfer when and where possible. If a device doesn't need to know about information about itself (like the room or floor or building it is in), then you can use Cloud properties for these, while if the device needs that information for operating, you will want to use device properties.