]> git.basschouten.com Git - openhab-addons.git/commitdiff
[gpio] Added instructions in case raspi-config is not available (#9899)
authorSeb Boulet <SebBoulet@users.noreply.github.com>
Wed, 17 Feb 2021 10:47:42 +0000 (10:47 +0000)
committerGitHub <noreply@github.com>
Wed, 17 Feb 2021 10:47:42 +0000 (11:47 +0100)
Signed-off-by: Seb Boulet <SebBoulet@users.noreply.github.com>
bundles/org.openhab.binding.gpio/README.md

index e935a735f753e4845c6aa11c5883a8425b6430ac..622cf483582bd92abe3aa4145c17d2444d4405bf 100644 (file)
@@ -22,12 +22,25 @@ sudo raspi-config
 
 -> Interfacing Options --> Remote GPIO --> YES --> OK --> Finish
 
+Note: if you are setting this up on a Raspberry Pi without `raspi-config` you can create the service config file manually:
+
+```
+sudo mkdir -p /etc/systemd/system/pigpiod.service.d/
+sudo nano /etc/systemd/system/pigpiod.service.d/public.conf
+```
+      [Service]
+      ExecStart=
+      ExecStart=/usr/bin/pigpiod
+```
+sudo systemctl daemon-reload
+```
+Now that Remote GPIO is enabled, get the daemon going:
 ```
 sudo systemctl enable pigpiod 
 sudo systemctl start pigpiod
 ```
 
-Set `host` to the address of the pi and the `port` to the port of pigpio (default: 8888).
+In openHAB, set `host` to the address of the pi and the `port` to the port of pigpio (default: 8888).
 
 ## Channels