Hi.
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
Description
Permissions zigbee
lan
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
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
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Fingerprints
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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
IKEA STYRBAR remote control N2 ZIGBEE_MANUFACTURER IKEA STYRBAR remote
TS0041/_TZ3000_itb0omhv 1 button ZIGBEE_MANUFACTURER TS0041 remote
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TS0041/_TZ3000_tk3s5tyg 1 button ZIGBEE_MANUFACTURER TS0041 remote
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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:
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
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 ?
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 !!
I know I am digging up an old thread here. I just wanted to comment that, although the CLI doesnβt do it, it is certainly possible to use the API to read the fingerprints of the drivers in any channel that you are subscribed to. Doing it in a useful way is the slightly trickier part as there can be rather a lot of them. I am only using four drivers from the ST beta channel and there are currently 524 fingerprints in them.
Here is a fingerprint picked at random from a random driver in Marianoβs channel:
The deviceLabel here is an example of a useful one. As a contrast there are number of fingerprints using the label βIKEA Lightβ in the Zigbee Switch driver. I lost count but there are around about 34 of them.
Somewhat incongruously, a limitation seems to be that you canβt see this information for drivers that you own under another account name. I havenβt got my head around that yet.
I donβt know why I havenβt noticed it before actually as it is used by the smartthings edge:channels:drivers command in the CLI to get some info.
Anyway, what you need is a channelId and the driverId and that command above will do nicely to give you both. Then you just need to do the usual bearer authenticated GET on the API on
And before anyone else says it, yes they have left a u out of zigbeeManfacturer.
Iβd imagine itβll end up in the CLI sooner or later though I guess the API might also be tweaked as it seems a bit inconsistent that you can access the information via the channels API but not directly from the drivers API.
Works GREAT !! I was looking for that for very long time⦠Can the meta file format can be a little bit more useable with LF (LineFeed) and CR (Carriage Return) ?