ST has been adding a large number of new DTHs over the past year which is great as it usually means support for new hardware. However, due to the lack of a description it is becoming increasingly hard to know which DTH is the most appropriate one. ST really needs to improve the DTH selection method as a mere list of DTHs in the drop down is just not scalable and/or useful. You can’t tell for sure which DTHs in the list are official and which have been added by you (although they seem to appear at the bottom), and you can’t tell which one is correct given the poor naming convention (or lack thereof). Now we even have overlapping DTHs to make things more interesting.
An example… and I am seeking advice on which DTH is most appropriate:
All of my switches and dimmers are one of these two devices:
Dimmers - Leviton VRMX1-1LZ 1000W Vizia RF Z-Wave Universal Scene Capable Dimmer, White/Ivory/Light Almond
Switches - Leviton VRS15-1LZ Vizia RF + 15A Scene Capable Switch, White/Ivory/Light Almond
Both of these devices are part of the Vizia RF + line as I wanted to be sure I had the “instant update” feature.
At first, when adding them to ST, the DTH that was picked automatically was:
Dimmers - Dimmer Switch
Switches - Z-Wave Switch
However, more recently the default DTH has changed to:
Dimmers - Z-Wave Dimmer Switch Generic
Switches - Z-Wave Switch Generic
The source code of ST’s DTHs is found here:
SmartThings Github repository for DTHs
At a glance these are the DTHs that might apply to my switches and dimmers:
dimmer-switch.src DVCSMP-2221 - Replace display with displayed (#1457)
secure-dimmer.src Initial commit
zwave-dimmer-switch-generic.src [CHF-459] Health documentation include DTH execution location and exp…
zwave-switch-generic.src [CHF-459] Health documentation include DTH execution location and exp…
zwave-switch-secure.src Initial commit
zwave-switch.src DVCSMP-2221 - Replace display with displayed (#1457)
The read me of the DTH provides a list of which devices are officially supported but I doubt it is comprehensive. The read me also stated whether the DTH allowed for local execution or only cloud execution which I found surprising as I was under the impression all DTHs for switches and dimmers written by ST were automatically approved for local execution.
The most current DTHs seem to be the ones labeled as “generic” but the read me says they are for cloud execution (undesirable) I wonder if I am actually getting the “instant update” benefit of the specific dimmers/switches I purchased given the read me only references the (once) cheaper non Vizia RF + models.
Check out the read me documents:
zwave-dimmer-switch-generic.src
On the other hand, the older DTH called “Dimmer Switch” is marked as “Local Execution on V2 Hubs” but has absolutely no mention of Leviton dimmers and switches - only GE stuff.
So… which one is the correct one? Why do they have such a mess in their DTHs? Would be nice if someone from ST commented and cleared things up a bit