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

[FEATURE] Support time-bound update of augmented properties #14

Open
samubura opened this issue Nov 15, 2023 · 0 comments
Open

[FEATURE] Support time-bound update of augmented properties #14

samubura opened this issue Nov 15, 2023 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@samubura
Copy link
Member

In many situations when creating a Digital Twin one may need to store data that has a relationship with the time that has passed in the lifecycle of the DT.
One classical example would be to compute and store the total power consumption of a device or the total time of operation since its activation...

This goes towards the topic of (basic) augmentation.

How to support the definition and management of such properties?
What does that mean for the Digital Twin State? Are they part of it or should they be separated from it?
Maybe the library should support some patterns to handle this properly avoiding developers coming up with original solutions.

Some ideas:

  • scheduled fake "time" events could come from the custom physical adapter to update the value of some properties (or from a dedicated adapter that handles only this fake time related events)
  • jobs can be scheduled within the shadowing function to compute and update the value of some properties
  • reading a special kind of property from a Digital Adapter could trigger an update mechanism to compute the most up-to-date value
@samubura samubura added enhancement New feature or request question Further information is requested labels Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant