rontalley
(Ron Talley)
May 25, 2017, 9:14pm
873
The stock DTH for dimmers does not report the physical/digital interaction to ST. This DTH fixes that and allows dimmers that use the stock dimmer DTH to report whether or not the dimmer was changed physically or programatically.
I have fixed the previous bugs and provide the full code below, hope everyone enjoys. This is my first device handler, so I’m sure a proficient developer could clean the code up but its working as designed.
/* Dimmer-Switch-Levels.device.groovy
*
* Variation of the stock SmartThings "Dimmer-Switch"
* Variation of the twack "Better-Dimmer-Switch"
* Variation of the ChadCK "Z-Wave Smart Fan Control"
*
* Device type adds set levels low, medium, and High for preset values (Moods).
* Adds increment up and down buttons with ability to set value.
*
* pmjoen@yahoo.com
* 20160517
*
* v1.3 - Improvement select stepper value up/down shows adjusting in multiAttributeTile
* v1.2 - Bug fix modify icon for current state in multiAttributeTile
* v1.1 - Bug fix showing speed in multiAttrib…
I’m a Happy Happy Happy Man right now!!!
2 Likes