Wemo switch and insight smart plug


#81

Thanks! I'll update my source.


#82

Thank You Very Much @jason0x43! I have a basic WeMo switch and your driver and app found and loaded it straight out of the gate! Too Cool Man!!


#83

@jason0x43

Suggestion for code change on all DHs for correct polling.

def poll() {
    log.debug 'poll()'
    if (device.currentValue('switch') != 'offline') {
        runIn(3, setOffline)
    }
    parent.childGetBinaryState(device)
}

Original was 30 which turns out to poll every 30 minutes. At least with the Insight you need more polling for energy state so I placed this as 3 so I wouldn’t have to make a RM to refresh every 3 min.

Just a suggestion.


Outlet to replace wemo insight switch
#84

How to connect a Wemo Switch, Insight or motion in Hubitat with the @jason0x43 App and Drivers

1- Add your Wemo object in the official Wemo App and give it a name. This part MUST work before going to step 2.

1b- Not required but highly recommended : In your router, reserve the ip address of your Wemo device.

2- Select the driver for your device in this page and copy is code : hubitat/drivers at master · jason0x43/hubitat · GitHub
Use the Raw button to copy only the code.

3- In Hubitat, Drivers Code, Click New Driver

4- Paste the Drivers code

5- Copy the App code at this link : hubitat/jason0x43-wemo_connect.groovy at master · jason0x43/hubitat · GitHub
Use the Raw button to copy only the code.

6- Paste it in Hubitat in, Apps Code, New App, Save

7- In Hubitat, Apps, click Add User App

8- Select the WeMo Connect App

9- WAIT WAIT It can take 50 secondes or more for all your device to show. The 0 found will change…

10- Now you need to be fast to select the device you want to add and hit Done. Auto-Refresh every 30 secondes

11- Your Wemo device must now be visible in the Devices menu

You can now use Hubitat or the Wemo App to control your device. Working with Hubitat V2.0.0.104 or more recent
I wanted to share with you what i just did.


#85

FYI that I made sure all my WEMO devices had permanent IP addresses in my router table so that the need to rediscover will be limited. I did this when I first found many issues on ST that were related to ghost WEMOs and incorrect IPs.


#86

I have WEMO smartplugs (from Costco) and although the app finds the plugs, it never creates a device for them. Any help?

I got it. You really do have to be fast enough to keep the device populated in the app discovery.


#87

Yeahhhh...that was an amusing process for me as well. DO NOT BLINK!! Haaaaaa :sunglasses:


#88

Do you mean that devices are disappearing from the dropdown (or the dropdown is being closed) before you have a chance to select anything?


#89

For me it's this scenario. Just gotta be quicky nimble finger to check the box in time.


#90

Ah, I see what happened there. I just pushed an update to the app that increases the refresh time for the device selector to 30 seconds (it was initially set to refresh every 5 seconds).


#91

thanks @ jason0x43 it was too fast 5 seconds!! Great work man


#92

@lehighkid, you mentioned that you had some success with getting your Wemo Maker to work. Which app and drivers were you using? I'm trying to get my Maker working using the code posted by @jason0x43 but it doesn't seem to be discovering my Maker.


#93

I just installed @jason0x43's Wemo and it works great except it doesn't recognize my Wemo dimmer. I noticed a post from @lehighkid last year about a version of the app that did.
Should I install @lehighkid's app too?
Is there a chance the ability to work the Wemo dimmer will be added to @jason0x43's?
On a side note, how do I know when Discovery is done?
TIA,
Jim


#94

I can add dimmer and Maker drivers, but I can't test them since I don't have a dimmer or a Maker.

Discovery is a never-ending process. When the connect app is open, it broadcasts a request every 25 seconds and waits for devices to respond.


#95

I would be happy to test the dimmer driver. Just give me the driver and tell me what logs you want and I'm on it.
Thanks.


#96

I have 2 WEMO switches:


and

I have installed the drivers, and the app, but neither one can be found. I actually let the discovery run for over an hour.
I have rebooted the hub, and tried again, but no joy.
Any idea what else I can try?


#97

Try opening the Hubitat logs, then open the WeMo Connect app in a new tab. What does the log show from the app? Also, are the Hubitat and the WeMo devices on the same subnet?


#98

HE and Wemo devices are on the same subnet, and all have fixed ip addresses.
Here is a screen shot of log. This just keeps repeating over and over. I gave up after about 1.5 hours.


#99

I'd be happy to test out the Maker drivers. Just let me know what you need from me.


#100

I have been searching and reading, but cannot find whether WEMO Dimmer drivers, etc. was ever made available for integration. I have @jason0x43 stuff installed and working. All other WEMO switches and plugs are working, just no dimmers.

Right now this is all I need to complete my project.