-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[mcp23017] Added hint to the wiringPi library #4806
Conversation
Without this dependency the pi4j library did not work on my Raspberry Pi Model 3 B+. Unfortunately there is another issue Pi4J/pi4j#319 which can be resolved by updating to pi4j release 1.2 (not yet released)
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.
Hey @mrumpf thanks for the improvement.
Looks good so far, just one small comment below.
@openhab/2-x-add-ons-maintainers can this get merged under small patch exception os is a sign-off mandatory?
|
||
On Raspberry PI user on which openHAB is running (default user name is "openhab") needs to be added to groups "i2c" and "gpio". | ||
|
||
## Dependencies | ||
|
||
Make sure that the [wiringPi](http://wiringpi.com/) library has been installed and that the `gpio` command line tool is available to OpenHAB. The shared library `libwiringPi.so` is required by the pi4j Java library to access the GPIO ports. Without satisfying this dependency you will see strange `NoClassDefFoundError: Could not initialize class ...` errors in the OpenHAB logs. |
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.
Please break down to one line per sentence.
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.
|
||
On Raspberry PI user on which openHAB is running (default user name is "openhab") needs to be added to groups "i2c" and "gpio". | ||
|
||
## Dependencies | ||
|
||
Make sure that the [wiringPi](http://wiringpi.com/) library has been installed and that the `gpio` command line tool is available to OpenHAB. The shared library `libwiringPi.so` is required by the pi4j Java library to access the GPIO ports. Without satisfying this dependency you will see strange `NoClassDefFoundError: Could not initialize class ...` errors in the OpenHAB logs. |
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.
Fix spelling of openHAB. Please check the whole documentation.
It looks like the original branch was removed and a pull request with the changes was created against the repository of the original pr and not this repository. I don't know if it works to create a branch with the original name in the repository this PR was created, otherwise a new PR should be created. |
Superseded by #5000 . |
Without this dependency the pi4j library did not work on my Raspberry Pi Model 3 B+.
Unfortunately there is another issue Pi4J/pi4j#319 which can be resolved by updating to pi4j release 1.2 (not yet released)