-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Add information to install libffi-dev, needed for python-mirobo #3172
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't know about that dependency, thanks for your contribution, @olskar.
A minimal formatting change, please
@@ -20,6 +20,11 @@ Current supported features are `turn_on`, `pause`, `stop`, `return_to_home`, `tu | |||
|
|||
Follow the pairing process using your phone and Mi-Home app. From here you will be able to retrieve the token from a SQLite file inside your phone. | |||
|
|||
Before you begin you need to install libffi-dev by running the command below. This is needed for python-mirobi to be installed correctly. | |||
```bash | |||
$ apt-get install libffi-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the $
and it's good to go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and if you encapsulate libffi-dev
and python-mirobi
to proper formatting, it would be perfect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you both 🍪
Added in requested changes before merge.
👍 |
@syssi Thanks for updating the information on the component page, however I can't understand the instructions or for some reason they don't work for me. I'm running HASSBIAN so my HASS instance is running VirtualEnv. When logged into my Raspbery Pi:
And i still get the error as below. HELP??? [homeassistant.util.package] Unable to install package python-mirobo==0.1.2 |
There is another dependency which must be fulfilled (libssl-dev): https://community.home-assistant.io/t/issue-config-xiaomi-vacuum-by-v0-51-1/24304/7 |
Description:
libffi-dev is needed for home assistant to install python-mirobo.
Pull request in home-assistant (if applicable): home-assistant/core#8938