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 Nano Dimmer user guide.


Special thanks to dioblodale for providing the custom device handler which can be found here: https://github.com/diablodale/nanodimmer


SmartThings Hub Instructions for creating your own Device Handler:

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


Follow the steps below:

  1. Login to Web IDE (login here: https://graph.api.smartthings.com/)
  2. Click on "Locations"
  3. Select your SmartThings Home Automation gateway that you want to put the device handler in
  4. You may need to login again, if not, continue to step 5.
  5. Create a new Device Handler by  clicking on "New Device Handler" button in the upper-right  corner. (Green Button)
  6. Click on "From Code."
  7. Copy diablodale code from text file in this link (https://raw.githubusercontent.com/diablodale/nanodimmer/master/nano-dimmer.groovy), and paste it into the code section.
  8. Click on "Save", then wait for the spinning wheel to disappear before continuing.
  9. Click on "Publish" -> "Publish for me"
  10. Install it on your Nano Dimmer by going to "My Devices" page in the IDE
  11. Find your Nano Dimmer.
  12. Go to the bottom of the page for the current Nano Dimmer and click on "Edit."
  13. Find the "Type" field and select your device handler. (should be located at the bottom of the list as Aeotec Inc Nano Dimmer).
  14. Click on "Update"
  15. Save Changes