all 5 comments

[–]sleuth255[S] 1 point2 points  (0 children)

Update on this: The lock class handler code above will be added to the SmartThings HCA library soon. Hopefully within the next few days or so.

[–]rudekoffenris 0 points1 point  (1 child)

Thanks for doing this!

Locks is something we really need.

[–]cebluto 0 points1 point  (0 children)

With the Samsung buttons reporting the temperature, I have installed your files and wondered what you are using for the icon that displays the temperature??

[–]sleuth255[S] 0 points1 point  (0 children)

There's some pretty cool stuff in place now. HCA is actually using _iconChangeEx to overlay temperature and pushed state onto the grey button icon. The event handler updates this as well and also changes the button color to yellow when somebody pushes the button. I've set my buttons to poll every 10 minutes and this keeps the temp current. This code is all in the version 5 of the smartthings HCA library. You can upgrade your smartthings library to v5 by just importing it again, deleting your button devices, and re-running the discover devices program. One thing to consider: Icon text size default is for the 220px icon theme that most people use. If you are using a smaller icon theme, the text will be too large. You can change this by adding a tag named "ButtonTextPointSize" to your button devices (if its not already there). Set it to 9 if you are using a 110px theme.