codersaur / SmartThings

Samsung SmartThings SmartApps and Device Handlers
Apache License 2.0
301 stars 540 forks source link

Dimmer 2 Device Handler Issue #34

Closed adeparker closed 6 years ago

adeparker commented 6 years ago

Have been using this amazing code for several months. It has worked really well until about a couple of weeks ago. I noticed that there were no message being shown on the “Recent” tab of the device from within the app. I tried to exclude it but this failed so had to forcibly remove it from ST via the IDE. I was then unable to re-add it so had to perform a factory reset via the B-button on the unit. This then allowed me to re-add the FGD-212 back into ST. If I revert back to the default ST DH it works fine (although I obviously loose the customisations and ability to control the S2 button/scene control (which is pretty crucial to my setup)) so I know the communication is occurring between hub and dimmer.

I have re-copied the code from Codersaur GitHub repository but no change - as soon as I change the DH to this I loose all ability to control from ST. The physical momentary button still works fine though. Device shows as “Sync Pending” and no matter how long I wait, or mask the button, it doesn’t show Synced as it used to. Have also amended the property to perform a full sync but no change.

There are a couple of error messages shown in the IDE, one in particular shows “ZW secure inclusion failed” which to me sounds very much like to root cause of the issue.

image

image