Getting the Wemo app to work with UI7

What I did was make sure it detects them in the “Configure” section then Add Static them detected items. Not sure anymore if that this point I did a reload, but afterwards I go to the “Advanced” section for the Wemo Plugin and selects the “Variables” tab. In there I set the “ChildCount” to 2 (i.e. number of devices I’m adding) and the “UnknownDeviceCount” to 0. After that I did a reload and the devices appeared.

Note: It took me multiple attempts to do and I only got it to work once I loaded all the files with a modified date of 6months or less from Github into Apps → Develop Apps → Luup files. I may even have missed a step in the above description as I tried many different things to try to get it to work.

I’ve read through the thread several times and can make much sense as to get this plugin working on UI7. i see the files on the linked github repository (GitHub - futzle/MiOS-WeMo: Plugin for MiOS home automation gateways to communicate with Belkin WeMo sensors and switches). Are those what i need to install (overwriting or after deleting the original plugin files)? and how would i do that?

I apologize, i am not familiar with luup code/files. i appreciate everyone’s hard work and input.

Yes these are the files you need, no need to delete current plugin/files new files will overwrite.

[ol][li]Download zip [url=https://github.com/futzle/MiOS-WeMo/archive/master.zip]https://github.com/futzle/MiOS-WeMo/archive/master.zip[/url][/li]
[li]Unzip to a directory[/li]
[li]In APPS section, open Develop Apps >> Luup Files and upload all the files from zip to Vera except README.md and LICENSE[/li]
[li]In APPS section go to serial setup and hit the restart button[/li][/ol]

Please note that wording is not 100% accurate as I don’t have UI7 running.

Yes these are the files you need, no need to delete current plugin/files new files will overwrite.

[ol][li]Download zip [url=https://github.com/futzle/MiOS-WeMo/archive/master.zip]https://github.com/futzle/MiOS-WeMo/archive/master.zip[/url][/li]
[li]Unzip to a directory[/li]
[li]In APPS section, open Develop Apps >> Luup Files and upload all the files from zip to Vera except README.md and LICENSE[/li]
[li]In APPS section go to serial setup and hit the restart button[/li][/ol]

Please note that wording is not 100% accurate as I don’t have UI7 running.[/quote]
That worked! Thank you for the link and detailed instructions.

Sent from my SAMSUNG-SM-G900A using Tapatalk

Yes these are the files you need, no need to delete current plugin/files new files will overwrite.

[ol][li]Download zip [url=https://github.com/futzle/MiOS-WeMo/archive/master.zip]https://github.com/futzle/MiOS-WeMo/archive/master.zip[/url][/li]
[li]Unzip to a directory[/li]
[li]In APPS section, open Develop Apps >> Luup Files and upload all the files from zip to Vera except README.md and LICENSE[/li]
[li]In APPS section go to serial setup and hit the restart button[/li][/ol]

Please note that wording is not 100% accurate as I don’t have UI7 running.[/quote]

Serial Setup? Do you mean “Serial Port Configuration > Save”?

@lotsaplots
Yes, doing it from memory as I don’t run UI7 currently.

Okay… I’ve followed this thread to a freaking “T,” but I can’t get my Vera to recognize my WeMo switch for the life of me. I have even assigned a static IP address to my WeMo device, and it’s still not recognized. I tried adding manually, but there is no way to “Save” your work (I can’t even figure out where to “Restart Luup Engine”… and it’s not in "Serial port configuration).

This is extremely frustrating. What am I missing?

@lotsaplots
I will have a look but my UI7 box is in storage so might take a couple of days. Once I have had a look I will update.

@lotsaplots
Two questions, what UI are you using and what type of switch is it?

Hi, I have been able to add the WEMO device in Ui7 but the option to turn on or off is not functional. This is the report from the log when I trigger. As I am still learning about input configuration I am imagining it may be a simple fix in parameters and/or variables. I would appreciate any advice

luaupnp.log states: LuaInterface::CallFunction_Job device 56 function SSwitchPower1_SwitchPower1_SetTarget_run failed [string “–…”]:1050: attempt to concatenate local ‘replyServiceType’ (a nil value)

I thought I would update the instructions based on my experience with UI7.

These instructions must be done AFTER you’ve installed your wemo devices via the wemo app. If you haven’t done that, do that first. I would also HIGHLY recommend assigning a permanent IP to each device via your router, using your routers DHCP settings. This will prevent the IP of your wemo device from changing and being lost from the vera.
I also recommend installing the Upnp Event Proxy app before starting the Wemo setup process on your Vera.

  1. Download zip https://github.com/futzle/MiOS-WeMo/archive/master.zip
  2. Unzip to a local directory on your computer
  3. IMPORTANT - Login to your vera locally by IP. Logging in through getvera.com site may prevent you from being able to add devices. If you cannot login by IP, login via getvera.com, click Users & Account Info → Unit Settings, and then uncheck Secure your Vera, once that’s done, close out, and login via IP (ie: http://192.168.1.XX/cmh/#dashboard)
  4. Select Apps → Install Apps then search for Wemo and install the existing app
  5. Once installed, Select Apps → My Apps → Wemo, then Update App (seems redundant, but it made it work)
  6. After update/luup restart, Select Apps → Develop Apps → Luup Files → Then Drag and drop all Luup Files (EXCEPT readme and licence) from your saved folder on computer to the Upload box in your browser.
  7. Select Apps → Develop apps → Serial Port Configuration and click save.
  8. Select Devices → Wemo (arrow) → Configure
  9. (Again, this it is important that you’re connected to your Vera locally for this step to work. Going through getvera.com portal may work, but it’s slower.) Ignore Enable Scan, or dynamic add, and manually add a name and the IP of the Wemo device on your network, click Add Static. You can repeat this step for each device you have.
  10. After adding a device, a Reload Luup button will appear in the top green bar, click the button (this doesn’t always show if you are remotely connected).
  11. You’re done, after the luup reload and final setup, your switches will now show in your devices and can be used as any other z-wave device in your network.
  12. If you don’t want your vera accessible via the network, remember to reverse what you did in Step 3.

[quote=“wallfly, post:31, topic:184446”]I thought I would update the instructions based on my experience with UI7.

These instructions must be done AFTER you’ve installed your wemo devices via the wemo app. If you haven’t done that, do that first. I would also HIGHLY recommend assigning a permanent IP to each device via your router, using your routers DHCP settings. This will prevent the IP of your wemo device from changing and being lost from the vera.
I also recommend installing the Upnp Event Proxy app before starting the Wemo setup process on your Vera.

  1. Download zip https://github.com/futzle/MiOS-WeMo/archive/master.zip
  2. Unzip to a local directory on your computer
  3. IMPORTANT - Login to your vera locally by IP. Logging in through getvera.com site may prevent you from being able to add devices. If you cannot login by IP, login via getvera.com, click Users & Account Info → Unit Settings, and then uncheck Secure your Vera, once that’s done, close out, and login via IP (ie: http://192.168.1.XX/cmh/#dashboard)
  4. Select Apps → Install Apps then search for Wemo and install the existing app
  5. Once installed, Select Apps → My Apps → Wemo, then Update App (seems redundant, but it made it work)
  6. After update/luup restart, Select Apps → Develop Apps → Luup Files → Then Drag and drop all Luup Files (EXCEPT readme and licence) from your saved folder on computer to the Upload box in your browser.
  7. Select Apps → Develop apps → Serial Port Configuration and click save.
  8. Select Devices → Wemo (arrow) → Configure
  9. (Again, this it is important that you’re connected to your Vera locally for this step to work. Going through getvera.com portal may work, but it’s slower.) Ignore Enable Scan, or dynamic add, and manually add a name and the IP of the Wemo device on your network, click Add Static. You can repeat this step for each device you have.
  10. After adding a device, a Reload Luup button will appear in the top green bar, click the button (this doesn’t always show if you are remotely connected).
  11. You’re done, after the luup reload and final setup, your switches will now show in your devices and can be used as any other z-wave device in your network.
  12. If you don’t want your vera accessible via the network, remember to reverse what you did in Step 3.[/quote]

I have been trying to figure out a way to get my WeMo switches working on Vera for a while now. Your instructions worked perfectly! Thanks for taking the time to write out detailed steps like you did!

Awesome, glad it helped.

I need some help, I followed the instructions to the letter and I was able to configure my devices but I get the following error message: Belkin WeMo[159] : Startup Lua Failed

Can anyone help?

I am using a Vera Plus.

Thank you

Please contact our Customer Care Team, support@getvera.com. There is something they can do to fix this for you until we rework the Wemo integration. Feel free to CC me.

[quote=“wallfly”]I thought I would update the instructions based on my experience with UI7.

These instructions must be done AFTER you’ve installed your wemo devices via the wemo app. If you haven’t done that, do that first. I would also HIGHLY recommend assigning a permanent IP to each device via your router, using your routers DHCP settings. This will prevent the IP of your wemo device from changing and being lost from the vera.
I also recommend installing the Upnp Event Proxy app before starting the Wemo setup process on your Vera.

  1. Download zip https://github.com/futzle/MiOS-WeMo/archive/master.zip
  2. Unzip to a local directory on your computer
  3. IMPORTANT - Login to your vera locally by IP. Logging in through getvera.com site may prevent you from being able to add devices. If you cannot login by IP, login via getvera.com, click Users & Account Info → Unit Settings, and then uncheck Secure your Vera, once that’s done, close out, and login via IP (ie: http://192.168.1.XX/cmh/#dashboard)
  4. Select Apps → Install Apps then search for Wemo and install the existing app
  5. Once installed, Select Apps → My Apps → Wemo, then Update App (seems redundant, but it made it work)
  6. After update/luup restart, Select Apps → Develop Apps → Luup Files → Then Drag and drop all Luup Files (EXCEPT readme and licence) from your saved folder on computer to the Upload box in your browser.
  7. Select Apps → Develop apps → Serial Port Configuration and click save.
  8. Select Devices → Wemo (arrow) → Configure
  9. (Again, this it is important that you’re connected to your Vera locally for this step to work. Going through getvera.com portal may work, but it’s slower.) Ignore Enable Scan, or dynamic add, and manually add a name and the IP of the Wemo device on your network, click Add Static. You can repeat this step for each device you have.
  10. After adding a device, a Reload Luup button will appear in the top green bar, click the button (this doesn’t always show if you are remotely connected).
  11. You’re done, after the luup reload and final setup, your switches will now show in your devices and can be used as any other z-wave device in your network.
  12. If you don’t want your vera accessible via the network, remember to reverse what you did in Step 3.[/quote]
    Thanks, worked perfectly

Sent from my VS995 using Tapatalk

I got the same problem with my Vera Plus. Does anyone successfully got Wemo plugin work with VeraPlus?

[quote=“campana, post:34, topic:184446”]I need some help, I followed the instructions to the letter and I was able to configure my devices but I get the following error message: Belkin WeMo[159] : Startup Lua Failed

Can anyone help?

I am using a Vera Plus.

Thank you[/quote]

Thank you for these instructions. While the process didn’t quite work as expected when following the instructions, a reboot at the end of my steps seemed to get it working with my Vera Edge device. As recommended, I had to add the devices manually because the scan never seemed to initiate, even when using the local network UI.

@Advansys
Try the latest update in futzles git repository [url=https://github.com/futzle/MiOS-WeMo/archive/master.zip]https://github.com/futzle/MiOS-WeMo/archive/master.zip[/url] it has been updated in the last week. No promises though :frowning:

I just got my Wemo’s running :slight_smile: I experienced a problem that I didnt see anyone else mention…not sure if it has to do with the updated repository or not. However, in case it happens to help anyone, here is the steps I had to take.

Step 1) Follow instructions mentioned in posts above (Very helpful - THANK YOU)
Step 2) Go to newly created device(s) and select “Advanced”
Step 3) Scroll to the bottom field “local_udn” - This is where I found the problem. All of my wemo devices had the same incorrect uuid. Once updated with correct uuid, devices worked great.
Step 4) Enter correct uuid

The correct uuid format is as follows:

LightSwitch:
uuid:Lightswitch-1_0-[You Device Serial Number]
Appliance Switch:
uuid:Socket-1_0-[You Device Serial Number]

Example: uuid:Socket-1_0-123456A123456

If you are unsure of your device serial number or have any problems go to your wemo device setup page at http://[Device IP Address]:49153/setup.xml

You should see something similar to this:


1
0


urn:Belkin:device:controllee:1
Nightlight
Belkin International Inc.
http://www.belkin.com
Belkin Plugin Socket 1.0
Socket
1.0
http://www.belkin.com/plugin/
123456A123456
uuid:Socket-1_0-123456A123456

Copy and paste the uuid shown into the “local_udn” field and select “back” and “save”.

These steps got all of my devices working great. Hope it helps.