-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Add user to gpio group #873
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,10 +39,13 @@ Configuration variables: | |
|
||
For more details about the GPIO layout, visit the Wikipedia [article](https://en.wikipedia.org/wiki/Raspberry_Pi#GPIO_connector) about the Raspberry Pi. | ||
|
||
<p class='note warning'> | ||
If you are not running Raspbian Jessie, you will need to run Home Assistant as root. | ||
</p> | ||
Ensure that the user who is running Home Assistant is in the gpio group. Eg. for the user `hass`: | ||
|
||
<p class='note warning'> | ||
To avoid having to run Home Assistant as root when using this component, run a Raspbian version released at or after September 29, 2015. | ||
</p> | ||
```bash | ||
$ Ensure that the user who is running Home Assistant is in the gpio group. Eg. for the user `hass`: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duplicate content. Looks like a copy-&-paste error. |
||
|
||
```bash | ||
$ sudo adduser hass gpio | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are you removing this warning? Was the fix backported to older Rabian and made available? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix is not made for older versions of raspbian and cant be patched with just a package upgrade. |
||
``` | ||
|
||
``` |
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.
Did you test RPi.GPIO on other operating systems?
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.
No. I've only tested it on Raspbian GNU/Linux 8 (jessie)