Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to get argument name for OpenInstaAP and CloseInstaAP #9

Open
lucasfeijo opened this issue Nov 13, 2014 · 2 comments
Open

Failed to get argument name for OpenInstaAP and CloseInstaAP #9

lucasfeijo opened this issue Nov 13, 2014 · 2 comments

Comments

@lucasfeijo
Copy link

I cd'd into the folder, opened up python and ran

from wemo import on, off, get

and it responded

Entering discovery mode for 'upnp:rootdevice', Ctl+C to stop...

Error updating command completer structure; some command completion features might not work...
****************************************************************
SSDP reply message from 10.0.1.7:49153
XML file is located at http://10.0.1.7:49153/setup.xml
Device is running Unspecified, UPnP/1.0, Unspecified
****************************************************************

Error updating command completer structure; some command completion features might not work...
****************************************************************
SSDP reply message from 10.0.1.7:49153
XML file is located at http://10.0.1.7:49153/setup.xml
Device is running Unspecified, UPnP/1.0, Unspecified
****************************************************************

Discover mode halted...
Failed to get argument name for OpenInstaAP
Failed to get argument name for CloseInstaAP
Failed to get argument name for OpenInstaAP
Failed to get argument name for CloseInstaAP
>>>

I tried, then, calling on() and the other functions but all of them returned many errors, such as

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "wemo.py", line 59, in on resp = _send('SetBinaryState', {'BinaryState': (1, 'Boolean')}) File "wemo.py", line 27, in _send host_info = conn.ENUM_HOSTS[SWITCHES[0]] IndexError: list index out of range

What's happening?

@issackelly
Copy link
Owner

I have no idea. I haven't used this code in a long time, you should probably check out ouiemax, which really ran with this code, mine is mostly just a proof of concept:

https://github.com/iancmcc/ouimeaux

@lucasfeijo
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants