This page lists the groovy code and installation instructions to install a custom device handler over your SmartThings hub and form part of the larger Smart Dimmer 6 user guide.

For users using SmartThings Hub, Smart Dimmer 6 may require custom device type support until SmartThings adds native compatibility with the sensor. 

Developer Robert Vandervoort has created a custom device type for Smart Dimmer 6 and published it to Github for the public to use it. (https://github.com/robertvandervoort/SmartThings)


SmartThings Hub Instructions for creating your own Device Handler:

http://docs.smartthings.com/en/latest/device-type-developers-guide/quick-start.html


Smart Dimmer 6 Github code by Robert Vandervoort


Follow the steps below:

  1. Login to Web IDE (https://graph.api.smartthings.com/) and click on the "My Device Types" link on the top menu
  2. Click on "My Locations"
  3. Then click on the name of your SmartThings hub located under column "Name" (This would have been a name you've chosen, the default naming is "Home")
  4. Click on "My Device Handlers" 
  5. Create a new Device Handler by clicking on "+ Create New Device Handler" button in the upper-right corner.
  6. Click on "From Code."
  7. Copy Robert's code from Github, and paste it into the code section.
  8. Install it on your Smart Dimmer 6 by going to "My Devices" page in the IDE
  9. Find your Smart Dimmer 6 and click on it.
  10. Go to the bottom of the page for the current Smart Dimmer 6 and click on "Edit."
  11. Find the "Type" field and select your device handler.
  12. Click on "Update"
  13. Save Changes