-
Notifications
You must be signed in to change notification settings - Fork 37
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
Device Discovery should use EndpointReference for uniqueness #2
Comments
@ajcasagrande
|
@ajcasagrande do you agree with Bruce's solution? |
I can get the EndpointReference from probe message as below two cameras: TAPO C200
HIKVISION
So we need to extract the uuid value The PRs opened, could you help verify that? |
Replace the serial number with EndpointReference Address UUID as the part of device name Close edgexfoundry#2 Signed-off-by: bruce <weichou1229@gmail.com>
Replace the serial number with EndpointReference Address UUID as the part of device name Close edgexfoundry#2 Signed-off-by: bruce <weichou1229@gmail.com>
Replace the serial number with EndpointReference Address as the part of device name Close edgexfoundry#2 Signed-off-by: bruce <weichou1229@gmail.com>
Replace the serial number with EndpointReference Address as the part of device name Close edgexfoundry#2 Signed-off-by: bruce <weichou1229@gmail.com>
Replace the serial number with EndpointReference Address as the part of device name Close edgexfoundry#2 Signed-off-by: bruce <weichou1229@gmail.com>
Observation
We have discovered that our
Tapo C200
cameras all return the same serial number when queried viaGetDeviceInformation
.We have also learned that the
happytime-multi-onvif-server
sets all camera serial numbers to123456
by default.Problem
Only 1 device of each type
Tapo C200
andhappytime
can be added to EdgeX due to name conflicts.Proposed Solution
Use the
Endpoint Reference
as specified in the ONVIF spec. This is available during WS-Discovery:Source
We have indeed confirmed that even when the device IP address changes, the
EndpointReference
stays the same, and is unique to all of our cameras.The text was updated successfully, but these errors were encountered: