Ikea Somrig - Only Adds as a Zigbee Thing

Ikea Somrig - can only add it as a Zigbee thing.
What I’m I doing wrong?

Same here.
Guess the device fingerprint needs to be added to some custom driver, but no idea which one…

1 Like

Tagging @Mariano_Colmenarejo – is this device appropriate for one of your drivers?

Sorry, I don’t have any driver that works with multiple zigbee buttons.

1 Like

This is funny, the SmartThings CLI tool to package drivers imposes a limit of 36 characters for the fingerprint ID and “IKEA of Sweden/SOMRIG shortcut button” has 37 :man_facepalming: :sweat_smile:

This is the error if you try to add the fingerprint to any driver:

    AxiosError: Request failed with status code 400: {"requestId":"6746491667340247678","error":{"code":"ConstraintViolationError","message":"The request is
    malformed.","details":[{"code":"PatternError","target":"fingerprints[0].fingerprintId","message":"fingerprints[0].fingerprintId does not match the pattern ^[a-zA-Z0-9

Found out by chance because was considering getting one and modify a driver for it but finally opted for the RODRET (which has 4 actions instead of 6). I understand why RODRET didn’t have much support either, it’s such a pain to test things because 80% of the times it won’t pair properly and sometimes it’s not even found when scanning.

I’m guessing that you don’t realise that you get to choose the ID. “IKEA/SOMRIG” would be a perfectly reasonable choice.


Thanks! So it’s not a fingerprint to match the device but an arbitrary ID :sweat_smile:

Alright, guess I’ve proved enough how noob I am at developing SmartThings drivers.

Yes, this is a just a unique identifier for the fingerprint. It only has to be unique within the fingerprints file. It so happens that for Zigbee devices Manufacturer/Model is a good starting place when trying to think of something unique.

Driver Components and Structure | Developer Documentation | SmartThings would be a good starting point had they not completely screwed up the display of the Fingerprints by putting them on one line. Still, could be worse, they could have written zigbeeManfacturer (no ‘u’) in the API. Oh they did …

The Edge reference documentation has nothing to say about fingerprints.

1 Like

I’ve just published the SOMRIG edge driver, the 6 actions work and the battery reporting too :smiley: