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

Implement fetching device tokens from the cloud #1460

Merged
merged 3 commits into from Jul 15, 2022

Conversation

rytilahti
Copy link
Owner

This PR adds an optional dependency to allow obtaining the tokens using miiocli (from console) or miio.CloudInterface (programmatically) using @Squachen's great micloud package.

The docs are updated accordingly to use this new feature, the other known ways to get tokens are moved into their own, separate page to clean-up the documentation.

Fixes #810

The cloud support is optional, and requires installing micloud package to function.
This commit adds a a simple interface for accessing device list from the cloud,
which can also be accessed using new `miiocli cloud` command.
@rytilahti rytilahti changed the title Add fetching device tokens from the cloud Implement fetching device tokens from the cloud Jul 15, 2022
@rytilahti rytilahti merged commit 8b77481 into master Jul 15, 2022
@rytilahti rytilahti deleted the feat/tokens_from_cloud branch July 15, 2022 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retrieval of tokens from cloud
1 participant