Release WeMo Light Switch - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152) +---- Thread: Release WeMo Light Switch (/showthread.php?tid=200194) |
WeMo Light Switch - Sylv - 2014-07-19 Hi, I managed to build this add-on for XBMC/Kodi to control my Belkin WeMo Light Switch. (Thanks to ouimeaux) It will automatically turn the lights off when a video starts playing, and turn them back on when playback is paused or completed. Also you can map a keyboard key to toggle the lights on/off. Only the name of your WeMo device is required. This is my first XBMC/Kodi add-on, and it may have imperfections, but it works for me. Download: v0.1.4 Gotham: service.wemo.lightswitch.0.1.4.Gotham.zip Frodo: service.wemo.lightswitch.0.1.4.Frodo.zip Known Issues:
Alternative Choices:
Installation:
Release notes: Code: Version 0.1.4 RE: WeMo Light Switch - bragg2012 - 2014-09-30 Hi, This sounds great but I have a few questions. Just say I start watching a movie at noon so is no need for my lights to be on, and then pause the movie.. will the lights come on? If not is there anyway to add additional rules or incorporate existing rules? (if pause & sun==set then lights on) etc? RE: WeMo Light Switch - Sylv - 2014-09-30 (2014-09-30, 14:31)bragg2012 Wrote: Hi, Yes, the lights still will come on. Because I watch movies in the basement, I always need the light on. I didn't consider the situation like yours. I could add an option to disable switchings during a period of time daily (e.g. from 6am to 6pm), if that's what you need. RE: WeMo Light Switch - bragg2012 - 2014-09-30 yeah that would be awesome! I guess the 'on' switch only needs to be suppressed in the custom time frame so the 'off' would still override if the light had been turned on manually... if that makes sense! Would it be possible to have a toggle for tv/movies too? So the plugin could be turned off for TV shows but used when watching movies for example? One final request! - a quick option to disable the plugin during playback say on the menu bar (wemo logo where subtitles/settings are etc) so it can be manually toggled on/off quickly if needed. Sorry for all the requests! RE: WeMo Light Switch - Sylv - 2014-10-01 (2014-09-30, 23:14)bragg2012 Wrote: yeah that would be awesome! New version 0.1.4 available for your first request. Check add-on settings after installing. As for your other two requests, they are beyond my ability, or even wouldn't be possible for an add-on. RE: WeMo Light Switch - Verderer - 2014-10-15 Getting the following notice when I try installing this. "Addon does not have the correct structure." Running OpenElec 4.2.1. RE: WeMo Light Switch - Sylv - 2014-10-15 (2014-10-15, 20:37)Verderer Wrote: Getting the following notice when I try installing this. Hi Verderer, Unfortunately, this add-on now can only work on Windows system. OpenElec is a Linux system. Because some dependencies this add-on used are for Windows only. In order to let it work on Linux system, these dependencies should be replaced to specific Linux versions. I don't use OpenElec. So I cannot build the right dependencies for you. But if you have some basic Linux knowledge, you can try to build these dependencies by yourself. Ask me if you need details. RE: WeMo Light Switch - Verderer - 2014-10-18 Unfortunatly I don't realy have any basic linux knowledge, so I wouldn't know what to do But thx anyways RE: WeMo Light Switch - illiac4 - 2014-10-21 Did somone tried those China devices? http://www.ebay.com/itm/Wireless-WIFI-Smart-Plug-Repaeter-Remote-Control-Phone-Socket-US-Plug-EN24H-/400766461459?pt=LH_DefaultDomain_15&hash=item5d4f8ae613 RE: WeMo Light Switch - Sylv - 2014-10-21 (2014-10-21, 06:02)illiac4 Wrote: Did somone tried those China devices? If you want to know whether this addon can work with those devices, the answer is no. RE: WeMo Light Switch - mosesvii - 2014-12-05 Nice work Sylv, loving the addon. One thing to mention though is when you pause playback the lights turn back on (which is fine and expected), when you unease however the lights do not turn back off. Is there any way to fix this? e.g. Pause toggles lights on/off. thanks in advance RE: WeMo Light Switch - Sylv - 2014-12-05 (2014-12-05, 06:10)mosesvii Wrote: Nice work Sylv, loving the addon. Sorry mosesvii, english is not my native language. I don't understand what you mean by "when you unease". Could you please explain that to me.Thank you. RE: WeMo Light Switch - mosesvii - 2014-12-05 sorry, spelling mistake. When you un-pause the lights do not turn off again. eg. 1) You play something and the lights turn off 2) You pause (using spacebar) and the lights go on 3) You un pause / play (using spacebar again) and the lights stay on... they don't turn off. hope this makes sense. RE: WeMo Light Switch - Sylv - 2014-12-05 (2014-12-05, 07:09)mosesvii Wrote: sorry, spelling mistake. The lights should turn off when you un-pause. I just tested it on my XBMC, the lights turned off successfully. I'm not sure what's causing your problem. Please check this add-on's settings, the option "Turn off when playback resumes" should be turned on. If it doesn't work, try to reopen XBMC, play a video, pause it and un-pause it several times. Then send me your xbmc.log file (C:\Users\USER\AppData\Roaming\XBMC\xbmc.log), so that I can check where the problem is. RE: WeMo Light Switch - mosesvii - 2014-12-05 Ok that's embarrassing, I didn't have it turned on in the settings. Thanks so much. Great add-on. |