Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Have a modelling best practices question - have a case where we need to manage/monitor devices within a process mfg setting that follow a standard thing template / thing shape hierarchy. The product family itself breaks down to 3 main product types. There is one additional aspect to consider - any specific device can have between 1-12 separate 'components' installed. Each device 'component' has it's own set of properties, and we need to store these component-specific property values and also maintain history of all component property values for all devices.
This to me seems a typical use case for 'componentization' - so we model each component as separate Things with their own template/shape, then relate these component things to their parent device thing.
So first question - is my above conclusion correct?
Second question - how best to relate the component things to their parent device? A few ideas spring to mind:
What I'd like to get to is a situation where we have scripted services written generically for managing component-specific properties on the devices that can be used via REST API, easily used in mashups etc. For example, a service that can take in a device id, a component id, and retrieve property history for that specific component.
Be interested in understanding past experiences.
Thanks in advance,
Roy
Since you are interested in tracking information on a component level, I would similar to you model the components as Templates and represent them as Things.
The easiest way to then hierarchically relate the components to the Main Asset would be a Network. Probably the most straightforward way to easily do parent/child/sibling type queries.
Many thanks for the input Pai - much appreciated. I agree a Network would seem the easiest way - I will suggest this approach.
Roy