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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow AutoDiscovery to generate Device Profile #4422

Open
cloudxxx8 opened this issue Mar 8, 2023 · 2 comments
Open

Allow AutoDiscovery to generate Device Profile #4422

cloudxxx8 opened this issue Mar 8, 2023 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@cloudxxx8
Copy link
Member

馃殌 Feature Request

Relevant Package [REQUIRED]

This feature request is for core-metadata

Description [REQUIRED]

Some Device protocols support the profile generation, such as BACnet and OPC-UA. There might be thousands for Device Resources in those Device Profile, so the auto generation would be helpful.
However, the Profile auto discovery is protocol specific, and we should just support the general usage and allow the Device Service to implement their auto discovery logic. The current ProvisionWatcher has a mandatory field profileName and requires the Profile exists in advance.

Describe the solution you'd like

profileName in ProvisionWatch can be an empty string, and it means the Device Profile should be auto discovered.
Also, the following query parameters can be defined when triggering the auto discovery.

  • use_pw - use the provision watcher mechanism - default true - if false, add all discovered devices
  • discover_profiles - default false - if true, discover profiles automatically - if false, only add devices which we can match to an existing profile
  • activate_devices - default false - initial value of adminstate for new devices. this is for use_pw = false
  • query_only - default false - if true, don't actually add any devices or profiles, just return them in the reply (could result in very large replies)
@cloudxxx8 cloudxxx8 added the enhancement New feature or request label Mar 8, 2023
@cloudxxx8
Copy link
Member Author

@iain-anderson for awareness. could you please include this topic in the next Device WG meeting?

@cloudxxx8
Copy link
Member Author

@iain-anderson have we decided to implement this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Release Backlog
Development

No branches or pull requests

2 participants