Wemo Dimmer Switch

Nevermind, i got it to work finally. I removed both handler and smartapp and re-installed them making sure i used Kris repo as master.

Weird thing is Google home still don’t take the vocal commands to open/close lights for some odd reason.

I’ve tried updating from GitHub repo and I can create the device handlers and updated the my smart app. When I go to the smart things app on my phone, it doesn’t find anything.
Do I need to create a device and then search or will it create the device once it’s found?

I’m using Kris2k repo, so not sure what step I’m missing.

I’ve got to say that I’ve used Wemo Dimmer successfully for a couple of months using this repo. Thank you very much for that. But it was only until very recently, must be after October 2018, when these dimmers got a firmware update from Wemo. It was supposed to add Apple Homekit functionality. However after that update, this device handler+smartapp is unable to find any dimmers. The already established links were forever showing the devices as offline, so I deleted them and tried scanning for them and adding them again, but no luck. This repo does not work anymore. I am not a developer, but I urge the original publishers to take another look at the wemo dimmer with the new firmware and see if they can make this repo functional again.

I’m having problems with using the repo for the dimmers … watching the logs it detects the dimmer but it never updates the dropdown for me to select the dimmer and install the device in ST. Tried messing with the code a bit to see if I could figure out what was going on, but haven’t had any luck yet. @meatheadmike or @kris2k2 … any thoughts? I’ve tried using both of your versions of the code and I have the same problem with both.

Here are the logs I was talking about … essentially it gets the device and then continously gets the event notifications with what looks like encoded data over and over again, with the refresh count going up, until you exit … the dropdown in the page never updates to be able to select the device, it just sits there saying discovery started. I’ve let it go for a long time and nothing changes.

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:17 AM: debug getChildDevices(false), children=0

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:17 AM: debug Uninstalling, removing child devices…

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:17 AM: debug Uninstalling, removing child devices…

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:14 AM: debug ParsedEvent: [mac:24F5A245F369, headers:SFRUUC8xLjEgNTAwIEludGVybmFsIFNlcnZlciBFcnJvcg0KU0VSVkVSOiBVbnNwZWNpZmllZCwgVVBuUC8xLjAsIFVuc3BlY2lmaWVkDQpDT05ORUNUSU9OOiBjbG9zZQ0KQ09OVEVOVC1MRU5HVEg6IDYwDQpDT05URU5ULVRZUEU6IHRleHQvaHRtbA==, body:PGh0bWw+PGJvZHk+PGgxPjUwMCBJbnRlcm5hbCBTZXJ2ZXIgRXJyb3I8L2gxPjwvYm9keT48L2h0bWw+, hub:421a7132-90cf-456a-882f-ec2e285ae87e]

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:14 AM: debug Raw: physicalgraph.app.EventWrapper@174ad581

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:14 AM: debug Raw: physicalgraph.app.EventWrapper@174ad581

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:14 AM: debug Dicovered dimmer switches

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:14 AM: debug REFRESH COUNT :: 1

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:09 AM: debug [uuid:Dimmer-1_0-241829K1501549::urn:Belkin:device:dimmer:1:[devicetype:04, mac:24F5A245F369, ip:C0A80229, port:C001, ssdpPath:/setup.xml, ssdpUSN:uuid:Dimmer-1_0-241829K1501549::urn:Belkin:device:dimmer:1, ssdpTerm:urn:Belkin:device:dimmer:1, hub:421a7132-90cf-456a-882f-ec2e285ae87e]]

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:09 AM: debug New device discovered

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:09 AM: debug ParsedEvent: [devicetype:04, mac:24F5A245F369, ip:C0A80229, port:C001, ssdpPath:/setup.xml, ssdpUSN:uuid:Dimmer-1_0-241829K1501549::urn:Belkin:device:dimmer:1, ssdpTerm:urn:Belkin:device:dimmer:1, hub:421a7132-90cf-456a-882f-ec2e285ae87e]

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:09 AM: debug Raw: physicalgraph.app.EventWrapper@43093266

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:09 AM: debug Raw: physicalgraph.app.EventWrapper@43093266

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:09 AM: debug Dicovered dimmer switches

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:08 AM: debug Send discover command

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:08 AM: debug Subscribe to location

602ed324-2de0-4d97-914a-42b95ff15d66 10:02:08 AM: debug REFRESH COUNT :: 0

I had everything working and last month my SmartThings Hub got reset for some reason so I had to redo everything.
I’ve tried using Kris2k2 and meatheadmike repos and neither will detect my Wemo Dimmers.
Any of the devs can take a look?

I have tried following the instructions to use GitHub integration but keep getting blocked. I have already been using github integration with other smartapps, but everytime i try and add new repository for either Kris2k2 or meatheadmike i get an error that says "you don’t have access to **/SmartThingsPublic. I know i have done this before but clearly I’m missing a step somewhere.

I’m also having problems. Tried to update / delete and re-add the SmartApps / Device Handlers. Overall, I’m really unhappy with the Wemo line in general. There’s no way you could get me to buy another Wemo for myself or anyone else. I can’t even get my Wemo Dimmer to work with my Amazon Echo!

1 Like

OK … not sure if the two other devs who had worked on this are active anymore and I got tired of waiting, so I forked the code and have made several changes, including fixing the detection of the dimmers.

You can use Github integration (owner: sirtwist, name: smartthings, branch: master) to get the latest version.

SmartApp:

Device Handler:

Please let me know if you have any issues with it.

1 Like

I’m getting the same thing with yours. “You don’t have access to sirtwist/smartthings” I know im missing something really simple because I’ve never had this problem before, but its been a while since I added anything with integration.

do you login to IDE at https://account.smartthings.com ?

Where are you getting that message at? Can you grab a screenshot?

Yes, i get in, i get to the my smartapps section. Go to settings button on right. Click Add new repository, then add the information: owner, name, branch and click save. It returns me to the smartapps page with my other smartapps listed, but has a red banner across the top saying "you don’t have access to sirtwist/smartthings.

I’m seeing recommendations from others reporting the same error message to disconnect from Github integration in the IDE and re-connect.

1 Like

That was it. Once i disconnected and reconnected i was able to complete the steps. Thank you guys so much!

Finally got my switch connected… thank you. I was pulling my hair out.

Wemo skill to Alexa was the solution. No more IFTT. Never could get it to connect using the handler.

Did you try using my handler?

yes no luck

I’m not sure if this is obvious for others but after i cloned the repo in the IDE here are the steps to make the code by SirTwist work. btw thanks for the update SirTwist

  • Clone the repo in the IDE using the instructions above.
  • Make sure to publish it.
  • On android open up the Smart Things CLASSIC application.
  • Go to Marketplace then click on the SmartApps tab at the top of the screen.
  • At the bottom of the list select “My Apps”
  • Now you should be able to run the dimmer app to locate your devices.
  • Wait for the dimmers to be found, select them and then click on save.
  • Now you can close the classic app and use the new app and all the dimmers will show up.

EDIT: I now see the dimmer app in the new smartthings application, but i have no idea how to add it from within that app. is there a way to all of this without the classic app?