tag:blogger.com,1999:blog-8427412129779288317.post6028687958917753939..comments2024-01-31T02:41:38.165-05:00Comments on Concision and Concinnity: ouimeaux: Command line and Python API for WeMo hackingIan McCrackenhttp://www.blogger.com/profile/11153934961249932934noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-8427412129779288317.post-80033449024661102182015-04-30T02:55:43.624-04:002015-04-30T02:55:43.624-04:00Really well created post i have got,Really well created post i have got,High School Diploma Programhttp://www.stanleyhighschool.com/counselor/noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-36578255618543760872015-02-19T17:12:39.110-05:002015-02-19T17:12:39.110-05:00Check out the ongoing issue: https://github.com/ia...Check out the ongoing issue: https://github.com/iancmcc/ouimeaux/issues/51Ian McCrackenhttps://www.blogger.com/profile/11153934961249932934noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-59408943251305729702015-02-19T14:18:26.637-05:002015-02-19T14:18:26.637-05:00Hi there,
I'm very new to code & rpi, but...Hi there,<br /><br />I'm very new to code & rpi, but I have had some wemo devices for a while now. I have just managed to get things running and can turn devices on / off etc from the command prompt on my rpi.<br />My question is though, is there a way to get ouimeaux to recognise my Wemo LED light bulbs?Anonymoushttps://www.blogger.com/profile/07911315596069485690noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-72345435014352541062015-01-30T05:09:59.920-05:002015-01-30T05:09:59.920-05:00Extraordinary post! Also mind boggling website! Ex...Extraordinary post! Also mind boggling website! Extremely accommodating post! I must say. Basic & intriguing Wonderful work! <br /><br /><b>Visit :</b> <a href="http://www.stanleyhighschool.com/" rel="nofollow"><b>Online High School Diploma</b></a><br /><br />Online Schoolshttp://www.stanleyhighschool.com/noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-38179119676994569822015-01-05T04:44:58.975-05:002015-01-05T04:44:58.975-05:00Nice information, valuable and excellent design, a...Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here.Canada’s Premier Web Marketing /SEO /SMM /SEM Company!http://poweredby247.com/noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-25273604766633415692015-01-05T04:43:24.362-05:002015-01-05T04:43:24.362-05:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/15135553658734295551noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-5141561298725985832014-04-20T21:54:03.119-04:002014-04-20T21:54:03.119-04:00@Melissa: The latest firmware indeed broke that ca...@Melissa: The latest firmware indeed broke that call; indeed, several of the Insight calls don't work. However, GetInsightParams() has the info you want. I've got an open ticket to rewrite the exposed calls to use that: https://github.com/iancmcc/ouimeaux/issues/29Ian McCrackenhttps://www.blogger.com/profile/11153934961249932934noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-77893207094940771092014-04-19T17:13:49.913-04:002014-04-19T17:13:49.913-04:00@I'm An Astronomer - Thank you. I have ouimeau...@I'm An Astronomer - Thank you. I have ouimeaux installed now. <br /><br />Now here is another question... I was able to have the computer recognize the devices through the Environment part of the API. However, when I type into the python shell:<br />macbook.current_power <br /><br />where I named my insight switch macbook, it gives the following output:<br />{'faultcode': 's:Melissanoreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-33129535012503200262014-04-17T23:16:52.511-04:002014-04-17T23:16:52.511-04:00Yeah, if the VM is NATed, it won't work. The W...Yeah, if the VM is NATed, it won't work. The WeMo devices have to be able to contact the box running ouimeaux directly in order to respond to broadcasts and send events. Set up your VM to bridge to your interface, so it's on the same network as your host box (and, presumably, the WeMos).I'm An Astronomerhttps://www.blogger.com/profile/08850913557898984278noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-77314405068167567672014-04-17T23:06:37.584-04:002014-04-17T23:06:37.584-04:00I could not get this to work on Mac OS X, so I tri...I could not get this to work on Mac OS X, so I tried running Ubuntu on VM and installing ouimeaux there. However, once I get to env.discover(seconds=5), it does not return anything. env.list_switches() also returns an empty list. Any idea why I cannot detect my Insight Switch? Could it be that I am running it from a VM?Melissanoreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-42947423038541973062013-10-18T17:48:35.577-04:002013-10-18T17:48:35.577-04:00I stumbled across the WeMo devices quite by accide...I stumbled across the WeMo devices quite by accident and was really annoyed that they only had facilities for Apple. Then, they had a beta, and finally a released Android app. The problem is the Android app is terrible. Then I stumbled across your work.<br /><br />Wow!<br /><br />I only have one switch so far, but it's working just fine from my Raspberry Pi. Sure, I had to borrow a phone davehttps://www.blogger.com/profile/11608589214882334649noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-13322810557886955802013-09-23T13:12:37.430-04:002013-09-23T13:12:37.430-04:00It works on a Mac now. System Python will work fin...It works on a Mac now. System Python will work fine. You'd need to install it with sudo if you don't use a virtualenv. Alternatively you could use Homebrew to install an updated Python and install ouimeaux into that.<br /><br />But let's go with system Python. Like any normal Python package in PyPI, just do:<br /><br />sudo easy_install ouimeauxIan McCrackenhttps://www.blogger.com/profile/11153934961249932934noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-81270112713526669372013-09-23T04:43:43.170-04:002013-09-23T04:43:43.170-04:00Hello,
Great job ! Is there a way to make this wor...Hello,<br />Great job ! Is there a way to make this work on a Mac ?<br />Best,<br /><br />FranckAnonymoushttps://www.blogger.com/profile/09181935413678283642noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-78678742391020493882013-05-29T16:32:06.931-04:002013-05-29T16:32:06.931-04:00This comment has been removed by the author.Riley MacDonaldhttps://www.blogger.com/profile/15271014866041735824noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-54397894100585652122013-05-29T16:31:10.872-04:002013-05-29T16:31:10.872-04:00Hi Guys,
I was wondering if anyone out there has ...Hi Guys,<br /><br />I was wondering if anyone out there has been able to use these findings to allow us to control these switches with Android and the app tasker? Riley MacDonaldhttps://www.blogger.com/profile/15271014866041735824noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-84152773579850289662013-04-21T19:40:03.844-04:002013-04-21T19:40:03.844-04:00Jayson: Check out the 0.2 release, which allows yo...Jayson: Check out the 0.2 release, which allows you to subscribe to motion events (as well as switch events).Ian McCrackenhttps://www.blogger.com/profile/11153934961249932934noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-52410758700785385642013-04-03T15:27:38.470-04:002013-04-03T15:27:38.470-04:00This comment has been removed by the author.Unknownhttps://www.blogger.com/profile/02134408769500048212noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-42050230551674780252013-04-03T15:27:04.432-04:002013-04-03T15:27:04.432-04:00Hey,
I've made an REST API base on issackell...Hey,<br /><br />I've made an REST API base on issackelly's job.<br /><br />With that you can request your wemo easily via http GET command.<br /><br />Feel free to contribute here :<br /><br />https://github.com/canvin/wemo<br /><br />Unknownhttps://www.blogger.com/profile/02134408769500048212noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-13260346615522793782013-03-19T02:53:56.945-04:002013-03-19T02:53:56.945-04:00Hey - been playing around with ouimeaux... being a...Hey - been playing around with ouimeaux... being able to turn these switches on and off with a real computer is awesome -- almost like we're living in the future!<br /><br />There's just one thing that's buggin' the crap out of me, and that's how to get any information out of the Wemo Motion device... any insight you may have on this would be greatly appreciated!<br /><br />(Jayson Larosehttps://www.blogger.com/profile/15292712122913469632noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-77121529883657964702013-02-25T08:03:51.262-05:002013-02-25T08:03:51.262-05:00Problem solved - for those facing the same problem...Problem solved - for those facing the same problem - the SOAP request can be found here (in the discussion): http://www.mgalisa.com/?p=91<br /><br />Hope this helps. T.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-5678401423561391652013-02-22T02:42:39.058-05:002013-02-22T02:42:39.058-05:00Hi Ian,
I have read your blog about hacking wem...Hi Ian, <br /><br /><br />I have read your blog about hacking wemo switch. I am a Java developer, not knowing Python, so my plan was to communicate with device via upnp library (cling). But as always - there is some problem (in this particular case cling is too strict when it comes to specification, but at least it is opensource and I can use discovery mechanism which works pretty well and I haveAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-11800521667512527712013-02-09T11:06:36.866-05:002013-02-09T11:06:36.866-05:00That would also be my assumption :) My plan is to...That would also be my assumption :) My plan is to fire up Wireshark at my next opportunity and try to fill out my knowledge about argument values.Ian McCrackenhttps://www.blogger.com/profile/11153934961249932934noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-23999680515526280372013-02-09T11:04:20.648-05:002013-02-09T11:04:20.648-05:00Thats the one I'm trying to sort out. Figurin...Thats the one I'm trying to sort out. Figuring out exactly what to pass to the ConnectHomeNetwork function. What I assume is:<br />Password - the password as a string<br />encrypt - "AES", "TKIP"<br />ssid - name of the network<br />auth - "Shared", "WPA2-Personal", etc. I'm less sure on this one.<br />channel - channel as a string "11"timdinehttps://www.blogger.com/profile/05150128898782815417noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-40599874804775375222013-02-07T21:02:42.165-05:002013-02-07T21:02:42.165-05:00There's a WiFiSetup service, looks like this:
...There's a WiFiSetup service, looks like this:<br /><br />WiFiSetup<br />---------<br /> StopPair()<br /> ConnectHomeNetwork(password, encrypt, ssid, auth, channel)<br /> GetApList(ApList)<br /> GetNetworkStatus(NetworkStatus)<br /> CloseSetup()<br /><br />I haven't gotten too deep in it yet, just done a scan with GetApList, which returns what you'd expect. What do you mean Ian McCrackenhttps://www.blogger.com/profile/11153934961249932934noreply@blogger.comtag:blogger.com,1999:blog-8427412129779288317.post-24978220127892360192013-02-07T11:04:06.712-05:002013-02-07T11:04:06.712-05:00I've been able to get Isaac's sample to wo...I've been able to get Isaac's sample to work and looking through your code I'm looking forward to trying it as well. It looks great!<br /><br />Have you been able to sort out the SOAP requests to get the WEMO onto another wireless network rather than having to access it through it's default 10.something address? timdinehttps://www.blogger.com/profile/05150128898782815417noreply@blogger.com