How do I check if a zigbee device is connected to the hub or to the extender?

I have Aeotec Hub, one Aeotec zigbee range extender and one Ikea range extender.
I’d like to check if a specific zigbee device is connected to the hub or to one of the extenders (which one?)

Thanks
Lech

Hi, @Lech_Jonczyk

Have you checked the property parentDeviceId in the device details in the API?
As I don’t have an extender, the ID I see is the hub ID but it’s a good starting point.
This property is found when you query the device’s details, so, you can list all the devices using: API | Developer Documentation | SmartThings
And then, look for the desired device there.

Please let me know if you have any questions so we can go step by step.

3 Likes