WeMo Insight Switches

From the original code of WeMo/Smartthings (which is horrible by the way) I was able to build a new App/Device just for WeMo Insight. At first I modified the original code, but I couldn’t release this with my name on it.
Anyhow here the new app: https://github.com/zzarbi/smartthings/blob/master/wemo/wemo-insight-connect.groovy
And here the device: https://github.com/zzarbi/smartthings/blob/master/wemo/wemo-insight-switch.groovy
This only handle the WeMo Insight, since it’s the only one I have.

The steps are:

  1. Setup your Insight switch we the WeMo App
  2. Add the device script to your list of device type (need to be a developer)
  3. Add the app to you list of app, set it to your home location (need to be a developer)
  4. Using the Smartthings App, go to “Smartthings Smart Labs” and run the WeMo app

The device does capture, the Power usage although I’m not sure what does SmartThings do with it.

PS: There was a bug in the original code, where after an hour if you turn your switch manually it wouldn’t update SmartThings which is fix here. RunIn() didn’t work I had to use Schedule().

2 Likes