SmartThings hub V3 choosing generic (ST) driver over custom EDGE driver for some time since the installation

Hi.

I think I found another bug, and I’m curious to know if anyone else experienced such behavior.

My observation is that when I install a custom EDGE driver from the channel invitation, and right after that I add the device that the driver is for, my hub will still add the device using a generic driver instead.

Of course, later I can change the driver to use in settings, but here’s another problem - with some devices, it won’t work, as they’ve already been configured using the wrong, generic driver.

Restarting the hub doesn’t help, however adding the device again after around an hour since the new driver has been installed - the hub correctly picks up the desired driver.

Unfortunately, I don’t see a place where I could somehow tell ST which drivers to prioritize (neither in the app nor in advanced web UI).

This is a silly observation but it can be really frustrating.

Has anyone else noticed it or is it something with my hardware?

I already tried factory resetting the hub and going through the entire process from the beginning.

Gabriel.

I’ve noticed related behaviours messing with drivers while learning how to develop one, there must be a cache of drivers that sometimes take a few minutes to catch up.

1 Like

Custom drivers are supposed to always have priority, but it sounds like you might just not be waiting long enough for the custom edge driver to be downloaded to your hub.

Are you verifying that the custom driver is on your hub before adding the device? Although it usually happens within a few minutes, there have been some reports of it taking longer in some cases.

1 Like

Yeah. I did a test during which I was deleting and adding a single device numerous times before SmartThings finally used a custom driver when initiating the device.

It actually took more than two hours this time.

No clue if my old hub just had enough, or if it’s something new, however, it hasn’t been like that before, definitely.

Hi, @Gabriel_Frost. I think this is related to an issue reported here: Edge Zigbee Device Fingerprint Matching - #24 by MartynWendon
So, I would like to include your case in the same report to verify they are similar, to do so, I have a couple of questions:

  1. In your tests, did you only install the driver from the invitation link or the CLI as well (I mean using the code to upload it directly to your hub)
  2. By “generic driver”, do you mean it’s connected as Zigbee or Z-Wave thing? If not, which driver was getting matched to the device?
    This is important because the Zigbee and Z-Wave generic fingerprints are in the last step of the fingerprint match logic which means that your device couldn’t match any of the generic fingerprints that use its supported Clusters (Zibgee) or Command-Classes (Z-Wave) as a reference to match the device.

Could you help us replicate the issue and share the following info to include in the report, please?

  1. Provide the Hub logs (after replicating the issue) by following these steps:
  1. In the Advanced Users app, enter the “Hubs” section
  2. Enter the corresponding Hub and click on “Dump Hub logs”
  3. Confirm the process by clicking on “Dump Hub logs” again in the pop-up.
  4. You’ll get a green box at the top confirming the Hub logs were requested
  1. Take note of the time when you replicate the issue and share it with us to find the corresponding logs. For example: 2024/03/07 14:55 CST
  2. Confirm the email account registered in the forum is the same one you use for SmartThings. If not, please share it with me over DM
  3. Enable support access to your account:
  1. Go to the SmartThings Web (my.smartthings.com)
  2. Log in to your Samsung Account
  3. Select Menu (⋮) and choose Settings
  4. Toggle on Account Data Access
  5. Select the time period and confirm - In this step, please select “Until turned off”, once the team finishes, we’ll let you know so you can disable it again.
1 Like

Hi.

  1. In your tests, did you only install the driver from the invitation link or the CLI as well (I mean using the code to upload it directly to your hub)

I installed the driver from the invitation link, however, I used CLI to create this invitation link, and channel, and to upload the driver.

  1. By “generic driver”, do you mean it’s connected as Zigbee or Z-Wave thing? If not, which driver was getting matched to the device?
    This is important because the Zigbee and Z-Wave generic fingerprints are in the last step of the fingerprint match logic which means that your device couldn’t match any of the generic fingerprints that use its supported Clusters (Zibgee) or Command-Classes (Z-Wave) as a reference to match the device.

I mean the “Zigbee Switch” driver. The custom driver, however, also has a “Switch” profile.

Could you help us replicate the issue and share the following info to include in the report, please?

Yes, I can do that later today, or during the weekend. I would appreciate it if I could reach out to you via e-mail - I can also provide you with the custom driver code - I think it’s worth mentioning that it also happens with other drivers from different channels, so the issue is not limited to a single driver.

FYI, the account is different than the one here on the forum.

Best regards,

Gabriel.

1 Like

Hi, @Gabriel_Frost

The engineering team deployed a fix for this issue, please let us know if you see it again.

3 Likes