How to see devices include in Edge Driver with CLI?

I tried the following command in CLI in order to find which devices include in Edge Driver:
smartthings edge:drivers 78da112c-9b9c-4359-b1b7-202a8a040157

when 78da112c-9b9c-4359-b1b7-202a8a040157 is Zigbee Button Remote Driver [YG] 1.2.4
developed by @ygerlovin

I got the following response:

C:\.....\smartthings-win> smartthings edge:drivers 78da112c-9b9c-4359-b1b7-202a8a040157
 Error: Request failed with status code 401:
 {"requestId":"CB92A649-085A-4D4F-BD4F-588CDEF222EA","error":{"code":"UnauthorizedError","message":"User doesn't own driver","details":[]}}

While @ygerlovin the developer and the owner of the driver got:

 Basic Information
 Driver Id    78da112c-9b9c-4359-b1b7-202a8a040157
 Name         Zigbee Button Remote Driver [YG] 1.2.4
 Version      2022-08-19T17:11:55.959039
 Package Key  yashik.zigbee-button
 Permissions  zigbee

Device Integration Profiles
 Id                                    Major Version
 50a66378-7ca2-375c-bbd6-4cbf9d7d3516  4
 64418e81-6355-30c8-a227-9c6313475596  1
 705a1cd9-7df6-38f7-9abf-2265164cba12  1
 db4b449a-a39b-3daa-bf92-835672b61c2c  1
 f9c0ea82-8c20-39eb-801c-84950e4c8a7f  3

 Id                                  Type                 Device Label
 Zemismart ZM-RM02 module            ZIGBEE_MANUFACTURER  6 button remote
 Aqara Opple WXCJKG13LM              ZIGBEE_MANUFACTURER  Aqara 6 button remote
 IKEA Tradfri Shortcut Button E1812  ZIGBEE_MANUFACTURER  IKEA button
 TS0041/_TZ3000_itb0omhv 1 button    ZIGBEE_MANUFACTURER  TS0041 remote
 TS0041/_TZ3000_tk3s5tyg 1 button    ZIGBEE_MANUFACTURER  TS0041 remote

@nayelyz , @Khoeye can you please comment .

Hi, there!

So, if I understand correctly, you’re looking for a way to get a list of devices that were paired to a certain driver, right?

To see which devices are connected to a driver, you can get the driver ID and, when you list the devices, search which entries have this ID on their properties

  • Using the CLI, you can use the command smartthings devices -j > deviceList.json.
    • Then, you can open the file deviceList.json and search for the driver ID to see which devices use it.
  • In a direct command to the ST API using a client like Postman, you can search directly in the result:

We cannot filter the devices based on the driver used. There’s already a feature request about that

Sorry @nayelyz ,
This is not what I’m trying to do. I’m not looking for paired devices to a certain driver.
I want to see which devices included in an Edge Driver, without pairing anything. Using the following command

I’m getting an error while the developer getting a list of devices as I showed above. Please comment

Interesting. If I did that I’d expect to get a 401 as it isn’t my driver. I can’t just expect to be able to query details of other users’ drivers. Even if I had installed it that wouldn’t change as who knows where I got my invitation from?

To me it is down to the driver owner to provide that information if they want to.

I can see how others might view things differently.

I’m seeing this differently.
Sometimes the developer chose not to publish github or post his supported devices in smartthings community .
As a user, I installed his driver and want to know which devices are supported.
This information should be available to all users… From my point of view

Aaah, ok.

The config in the fingerprints.yml file cannot be retrieved using that command, even the driver’s owner.

I’ve seen those that publish their drivers in the Community share a list of the supported devices.

There’s also a feature request to expose the supported devices in the channel invitation but there are no updates about that.

1 Like

The driver owner can retrieve the devices supported !!
I’ve shown in the example above.
Can you please give a link to the request you mention in order to trace and update ?

You’re right, sorry, I was checking with a LAN-type driver :face_exhaling:.

The post about the request is this one:

Thanks @nayelyz I’m WATCHING that post. two quick questions .
1 . Will this be available for Drivers (Zigbee , LAN and Z-Wave) that developed by community members ?
2. Will this information will be available also from CLI ?

I really appreciate your help and support, please keep on !!