-
-
Notifications
You must be signed in to change notification settings - Fork 568
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
Is the API Now Deprecated or Are the Help Docs Very Wrong or Out of Date? #1717
Comments
Hi, the repository is currently in flux and the release version differs quite a bit from the current git master, that's probably why you are seeing issues with the naming/locations of integrations. This should not be the problem you are encountering, though. For some reason, your Windows installation does not seem to have click installed, which is causing that error. Have you tried The code you gave above should work at least in the current git master (devicefactory should return a
|
Hi, Now my test works on Windows (my test machine) Your code that you suggested above works: I can now start playing around with sending commands (well, in the morning, it can wait now). |
Hi, |
Hi, here's the doc for the cloud interface, something like this would work:
The devs will contain a dictionary of information from the cloud, This reminded me, that it might be a good idea to extend the interface to allow constructing devices directly from those info objects to simplify creation :-) |
Hi, |
Sure thing! It's always interesting to hear that the lib is used also outside the homeassistant ecosystem :-) |
Hi,
I've got a couple of Xiaomi G1 vacuums, which I can connect to via the python-miio CLI, but I can't figure out how to use the API.
Even a basic bit of code from the docs:
Returns the following:
I've also had a look at #817, but that seems to be designed for HomeAssistant, so package names/locations don't match up.
UPDATE:
Actually persevered and can get the model returned with this:
Although that is on linux, Windows seems to still generate the errors above.
So, probably still need help/advice, but will also keep on prodding the code :)
Thanks,
Richie
The text was updated successfully, but these errors were encountered: