You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
馃殌 Feature Request
Relevant Package [REQUIRED]
This feature request is for core-metadataDescription [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.
The text was updated successfully, but these errors were encountered: