Skip to content

Umstieg auf SAE 2.0.1 - GPIO Zugriff funktioniert nicht obwohl pigpiod installiert #185

Answered by camueller
Lausbua asked this question in Q&A
Discussion options

You must be logged in to vote

Jetzt musste ich kurz nachdenken ...

Damit pigpiod verwendet wird, ist der neue Parameter -DPIGPIOD_HOST=localhost erforderlich. Dazu habe ich das File https://github.com/camueller/SmartApplianceEnabler/blob/2.0/run/etc/default/smartapplianceenabler entsprechend geändert. Bei der Installation wird diese Datei mitinstalliert, aber bei einer vorhandenen Installation fehlt dann natürlich der Parameter. Du kannst aber einfach an die Datei /etc/default/smartapplianceenabler folgende Zeilen dranhängen:

# Configure pigpioj to use pigpiod daemon in order to avoid forcing the Smart Appliance Enabler to run as root
JAVA_OPTS="${JAVA_OPTS} -DPIGPIOD_HOST=localhost"

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Lausbua
Comment options

Comment options

You must be logged in to vote
1 reply
@Lausbua
Comment options

Answer selected by Lausbua
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants