We could differentiate this with the firmware version, yours is 1.1.
The question is if SPECIFIC_TYPE_CLASS_C_MOTOR_CONTROL is backword compatible with SPECIFIC_TYPE_CLASS_B_MOTOR_CONTROL so we could just add your device type and id and change the existing database entry to SPECIFIC_TYPE_CLASS_C_MOTOR_CONTROL (like you already did) @chris, do you know it those classes are backward compatible?
The classes don’t really matter too much - they aren’t used in the database, so, if that was the only change, then we can use the existing database entry.
The binding doesn’t tend to use device classes at all - what matters is the command classes, and the versions of the command classes that are supported.
Anyway, if there is new functionality, and new channels, or different parameters, then that’s a different story. However, just changing the database isn’t going to add features like “position awareness” - if this isn’t supported in the binding already, then it will need to be added.
Thanks @chris, @sihui. There are some additional classes, which this device supports, like COMMAND_CLASS_ALARM or COMMAND_CLASS_ASSOCIATION. It does provide 3 association groups as well, which are not specified in current definition. I think I’ll go with a separate device in that case.
Yesterday I was trying to modify the existing `arz_0_0.xml file by changing device ID. I rebuilt the project and swapped z-wave Binding JAR. This, however did not update the thing index as I saw the old numbers was still used when I checked in debug mode. What do I need to do to refresh these definitions?
Last question, I’ve just created new device, but I was not sure what should I use for the reference. I couldn’t find any convention and I went with arz2.
One more thing… as I was copy & pasting some parameters from Mobilus EZRS as it seems it’s a bit of a standard for shutters, I’ve encountered weird application error. It seems it is highly inadvisable to open 2 devices for editing as it seems session seems to carry information on what’s being edited and I accidentally added 2 parameters to Mobilus EZRS. I can’t remove params so I would appreciate if you can help.