-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Update xiaomi (miio) retrieve token documentation #3872
Conversation
Add easier way to retrieve miio token by using nodejs
Those instructions are not working...can you please double check:
|
Looks like the installation command should be |
What about using python-miio (the underlying library of the component) and the provided tools of the upstream: https://github.com/rytilahti/python-miio#miio-extract-tokens |
Add easier way to retrieve miio token by using nodejs
@arsaboo is this pull-request acceptable? or i need to create using |
The described method of using the automatic discovery (which is what The python-miio documentation is currently being reworked in this incomplete PR rytilahti/python-miio#93 which I hope can be used as a reference for an easy obtaining tokens: https://github.com/rytilahti/python-miio/pull/93/files#diff-3b734457dc9f0169aa39ce25f6b0c89aR36 . Unfortunately I do not have access to iOS devices, but I would happily accept contributions. Considering homeassistant is using python-miio for supporting those devices (and its therefore installed for those users), it may make sense to avoid pointing users to install nodejs-based miio, which is to my experience not a simple feat to do e.g. on raspbian. Just my 0.05€ :-) |
Thank you for the explanation @rytilahti. Yah based on your explenation, I think it's more make sense using |
Ok! I will try to get the documentation ready and to be shipped hopefully this weekend, then we can modify the documentation to point to that :-) |
Description:
Add easier way to retrieve miio token by using nodejs and miio package
Pull request in home-assistant (if applicable): home-assistant/home-assistant#