Ok, so, considering your comment here as well:
What you created isn’t a driver (Lua-based program), it is a DTH or device handler (Groovy-based program) which is part of the legacy platform (take a look at this announcement).
So, I suggest you start with drivers rather sooner than later.
But, to use it in a DTH, you need to do the following:
- Start creating a new Z-Wave DTH as you mentioned.
Note: I forgot to mention that we need to create a new one because the presentation used in each DTH is cached, so, if we use the same one, it won’t take into consideration the new VID - Before saving it, edit its metadata properties and add “vid” and “mnmn” there. For example:
Note: Remember to change the DTH’s name - Save the DTH, and use it for your device. It might work if you only change the device type selected and clear the app’s cache, but sometimes you will need to reinstall the device.
Note: To clear the app’s cache (for Android only), first, close the ST app, then, go to your phone’s settings > apps > find the ST app > storage > clear the app’s cache (do not press clear the app’s data)