I’ve just installed the latest DTH from Jasonxh for my Leviton DZ6HD (question - how do you ‘confirm’ this is the latest - I don’t see any version info in the code itself, just the header info within github saying “Add support for firmware 1.20” and a date of Dec 16 2018. Once you install the code in your own instance, I don’t see any way to know what actual version you are running).
Everything seems to be working pretty well and I appreciate the advanced features. However, I’ve recently built a Smart Lighting routine to turn the light on / off, and it works ‘most of the time’; but I can observe numerous failures. It seems the failures correspond to the following entries in the Live Log within the API:
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:57:46 PM: **debug** Parsed BasicReport(value: 255) to null
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:57:46 PM: **debug** Bad dimming level 255
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:57:45 PM: **debug** Parsed SwitchMultilevelReport(value: 61) to [[name:level, value:61, unit:%, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer level is 61%], 2502]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:57:40 PM: **debug** Parsed BasicReport(value: 255) to null
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:57:40 PM: **debug** Bad dimming level 255
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:57:39 PM: **debug** Parsed BasicReport(value: 61) to [[name:level, value:61, unit:%, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer level is 61%], 2502]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:57:39 PM: **debug** Parsed Hail() to [[name:hail, value:hail, descriptionText:Switch button was pressed, displayed:false, isStateChange:false, linkText:Lights - Kitchen Dimmer], [physicalgraph.device.HubMultiAction@6ae87630](mailto:physicalgraph.device.HubMultiAction@6ae87630)]
The key elements of the log data above are ‘bad dimming level 255’
I also see:
[1013e6e4-5365-4190-b5b0-47993e730f41](https://graph-na04-useast2.api.smartthings.com/ide/logs#1013e6e4-5365-4190-b5b0-47993e730f41) 12:57:38 PM: **debug** Unhandled zwaveEvent: SwitchMultilevelSet(dimmingDuration: 255, value: 0)
(the latter may not be relevant)
A ‘good’ execution of the same button press reveals this in the live log:
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 1:00:31 PM: **debug** Parsed SwitchMultilevelReport(value: 0) to [[name:level, value:0, unit:%, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer level is 0%], [name:switch, value:off, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer switch is off]]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 1:00:25 PM: **debug** Parsed SwitchMultilevelReport(value: 0) to [[name:level, value:0, unit:%, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer level is 0%], [name:switch, value:off, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer switch is off]]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 1:00:25 PM: **debug** Parsed SwitchBinaryReport(value: 0) to [name:switch, value:off, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer switch is off]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 1:00:25 PM: **debug** Parsed SwitchBinaryReport(value: 0) to [name:switch, value:off, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer switch is off]
[871a7aa9-c8fc-4e06-b844-9d7591aee0a5](https://graph-na04-useast2.api.smartthings.com/ide/logs#871a7aa9-c8fc-4e06-b844-9d7591aee0a5) 1:00:25 PM: **debug** sending data to AT
[871a7aa9-c8fc-4e06-b844-9d7591aee0a5](https://graph-na04-useast2.api.smartthings.com/ide/logs#871a7aa9-c8fc-4e06-b844-9d7591aee0a5) 1:00:25 PM: **debug** A sensor event occurred: [name:level, deviceId:ce4481cf-149a-475d-a4c6-7d7a31d4685d, isoDate:2019-05-03T20:00:25.224Z, unit:%, value:0]
[871a7aa9-c8fc-4e06-b844-9d7591aee0a5](https://graph-na04-useast2.api.smartthings.com/ide/logs#871a7aa9-c8fc-4e06-b844-9d7591aee0a5) 1:00:25 PM: **debug** sending data to AT
[871a7aa9-c8fc-4e06-b844-9d7591aee0a5](https://graph-na04-useast2.api.smartthings.com/ide/logs#871a7aa9-c8fc-4e06-b844-9d7591aee0a5) 1:00:25 PM: **debug** A sensor event occurred: [name:switch, deviceId:ce4481cf-149a-475d-a4c6-7d7a31d4685d, isoDate:2019-05-03T20:00:25.224Z, unit:null, value:off]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 1:00:25 PM: **debug** Parsed BasicReport(value: 0) to [[name:level, value:0, unit:%, isStateChange:true, displayed:true, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer level is 0%], [name:switch, value:off, isStateChange:true, displayed:true, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer switch is off]]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 1:00:25 PM: **debug** Parsed Hail() to [[name:hail, value:hail, descriptionText:Switch button was pressed, displayed:false, isStateChange:false, linkText:Lights - Kitchen Dimmer], [physicalgraph.device.HubMultiAction@422346a9](mailto:physicalgraph.device.HubMultiAction@422346a9)]
And here is another ‘bad’ execution of the off command:
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:56:55 PM: **debug** Parsed BasicReport(value: 255) to null
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:56:55 PM: **debug** Bad dimming level 255
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:56:53 PM: **debug** Parsed SwitchMultilevelReport(value: 61) to [[name:level, value:61, unit:%, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer level is 61%], 2502]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:56:49 PM: **debug** Parsed BasicReport(value: 255) to null
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:56:49 PM: **debug** Bad dimming level 255
[1013e6e4-5365-4190-b5b0-47993e730f41](https://graph-na04-useast2.api.smartthings.com/ide/logs#1013e6e4-5365-4190-b5b0-47993e730f41) 12:56:48 PM: **debug** Unhandled zwaveEvent: SwitchMultilevelSet(dimmingDuration: 255, value: 255)
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:56:48 PM: **debug** Parsed BasicReport(value: 61) to [[name:level, value:61, unit:%, isStateChange:false, displayed:false, linkText:Lights - Kitchen Dimmer, descriptionText:Lights - Kitchen Dimmer level is 61%], 2502]
[ce4481cf-149a-475d-a4c6-7d7a31d4685d](https://graph-na04-useast2.api.smartthings.com/ide/logs#ce4481cf-149a-475d-a4c6-7d7a31d4685d) 12:56:47 PM: **debug** Parsed Hail() to [[name:hail, value:hail, descriptionText:Switch button was pressed, displayed:false, isStateChange:false, linkText:Lights - Kitchen Dimmer], [physicalgraph.device.HubMultiAction@58e69453](mailto:physicalgraph.device.HubMultiAction@58e69453)]
Several ‘bad dimming level’ messages. Note the value 61 corresponds to (I believe) the current lighting level, and the reference to ‘dimming duration’ of 255 relates to the setting to keep the dimmer level lights on indefinitely (I tried reducing this to 253 for grins, no change to the problem).
Note that I never seem to have an issue with an ‘on’ command, only the off command.
I can toggle the light maybe 20 times, and it will work 15 times but fail 5 times. I always wait a while between presses, too.
I see that my dimmer firmware version is 1.17, and that 1.20 is available. I’m going to separately pursue the updating of the firmware to see if that helps, but I wondered if this problem has any specific resolution?