[ST Edge] Device not found with fingerprint defaults to standard DTH

I am not able to get a fingerprint to find the device when adding a 4 switch zigbee device it defaults to “Z-wave Controller”. Noting it is not a z-wave device.

I am using the “Zigbee Multi Switch and Childs Mc” driver with the following fingerprints in the yaml file:

zigbeeManufacturer:

  • id: “FeiBit/ZSW1JKJ2.7a”
    deviceLabel: 3A 4 Switch
    manufacturer: Feibit Inc co.
    model: FB56+ZSW1JKJ2.7
    deviceProfileName: four-switch

As an alternative I have also tried in the fingerprints.yaml:

zigbeeGeneric:

  • id: “FeiBit/ZSW1JKJ2.7”
    deviceLabel: 3A 4 Switch
    zigbeeProfiles:
    • 0x0104
      clusters:
      server:
      • 0x0006
      • 0x0008
      • 0x0000
        client:
      • 0x0000
      • 0x0004
      • 0x0002
      • 0x0006
      • 0x0005
      • 0x1000
      • 0x0008
        deviceProfileName: four-switch

The groovy DTH worked with the following fingerprint, which works perfectly fine:

fingerprint profileId: "0104", inClusters: "0000, 0004, 0002, 0006, 0005, 1000, 0008", outClusters: "0006, 0008, 0000", manufacturer: "Feibit Inc co.", model: "FB56+ZSW1JKJ2.7", deviceJoinName: "Nue 4 Gang Switch"

After installing the wrong device I check the details and get running
smartthings devices :

deviceId: xxx
name: Z-Wave Controller
label: Z-Wave Controller
deviceManufacturerCode: Feibit Inc co.
manufacturerName: SmartThings
deviceModel: FB56+ZSW1JKJ2.7
presentationId: SmartThings-smartthings-Z-Wave_Controller
locationId: xxx

I dont seem to have a way to avoid it picking up the Z-Wave Controller.

Appreciate any suggestion.

To solve my own issue I was able to get this to work by more carefully understand the zigbee generic, and looking at the RAW content, it indicates the features of the device. By changing it to align more to the device features it worked (Great news). Below is the fingerprint.yaml I used, but still not easy to explain why it did not pick it up by the model, as it is the model that is shown in the code when I test it “device.model”.

zigbeeGeneric:

  • id: “FeiBit/ZSW1JKJ2.7”
    deviceLabel: 3A 4 Switch
    zigbeeProfiles:
    • 0x0104
      clusters:
      server:
      • 0x0000
      • 0x0003
      • 0x0004
      • 0x0005
      • 0x0006
        deviceProfileName: four-switch