Shelly wifi device integration

Hi!

I was able to do it and use Shelly as a normal switch (on/off).

  1. go to this ide page and sign in: https://graph.api.smartthings.com/
  2. choose your location
  3. go to the My device handler
  4. go to +Create a new Device Handler
  5. Choose from Code
  6. copy this Device Handler from this page (from the raw): https://github.com/dgasparri/SmartThingsPublic/blob/master/devicetypes/shelly/shelly2.src/shelly-as-switch.groovy
  7. Push Create
  8. Push Publish/For Me
  9. Go to My device/New device
  10. Give it a name and id (whatever you want)
  11. As Type choose the Shelly as switch (probably last one)
  12. Select Location/Hub
  13. Push Create
  14. After that you chose Edit in the Preferences section (define the IP of the given Shelly device -> you can find it in the Shelly app at Settings/Device information, you should give a fix ip in your router to the Shelly, and choose channel 0 in case you have Shelly1).
  15. That’s it, after that you can see the device in you Smartthin app and click on/off
2 Likes