Device type handler - Z-wave - identical fingerprint for two different devices

devicetype

(Alutun) #1

Hi fellow smarthings dev

I 'm currently writing two devices type handler for z-wave product.

one of my device is a wall switch and the other one is a remote. (so on the user point of view , two different devices).

My problem is that when i check the raw description of this two devices, they have the exact same fingerprint.:unamused:

first device : Raw Description 0 0 0x0101 0 0 0 14 0x5E 0x85 0x59 0x80 0x5B 0x70 0x5A 0x72 0x73 0x86 0x84 0xEF 0x5E 0x5B 0x2B 0x27 0x22 0x20 0x26 0x84
second device Raw Description 0 0 0x0101 0 0 0 14 0x5E 0x85 0x59 0x80 0x5B 0x70 0x5A 0x72 0x73 0x86 0x84 0xEF 0x5E 0x5B 0x2B 0x27 0x22 0x20 0x26 0x84

so my first device type handler that i wrote for my first device works well with both of my devices, however for user experience (graphic content on the user smartphone) i wish to be able to make the difference between theses two devices that are from the same manufacturer but their model is different.

so in the documentation it says here in the documentation :

Include Manufacturer and Model
Try and include the manufacturer and model name to your fingerprint (only supported for ZigBee devices right now - you can add them to Z-Wave devices as well, but they won’t be used yet)::cry:

So i cannot use for z-wave device these two informations in the fingerprint to make the difference between my two devices.

So is there any way or trick for me to be able to make the difference between my two devices ?

here is one solution that i tought about
-write only one device type handler and then manually ask the model of the device and then change my tile information according to what devices i found. Is there anyway to do that ?

thanks for your help