I am currently working with Edge Drivers and was wondering if there’s a way to fetch the physical location of a device or hub as a variable within the driver.
Is there any built-in API, capability, or class in the SmartThings ecosystem that allows this? Alternatively, are there any third-party APIs or integrations that can help retrieve this information?
Any guidance or suggestions would be greatly appreciated.
Hi, @Dhrupad
That information isn’t included in the device or driver object and Edge drivers cannot access Internet, so, it is not possible to get that value within a Driver.
That information is only available through the API. In the device’s details, you’ll find a property with the locationId where the device is installed.