From 17614843da48d3db96e0a7d5050f207ec4c2f06b Mon Sep 17 00:00:00 2001
From: Dave Conway-Jones
Date: Thu, 15 Feb 2018 14:04:03 +0000
Subject: [PATCH] add note re docker to pigpiod node
---
hardware/pigpiod/package.json | 2 +-
hardware/pigpiod/pi-gpiod.html | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/hardware/pigpiod/package.json b/hardware/pigpiod/package.json
index c188c5c4..e54c5e4d 100644
--- a/hardware/pigpiod/package.json
+++ b/hardware/pigpiod/package.json
@@ -1,6 +1,6 @@
{
"name": "node-red-node-pi-gpiod",
- "version": "0.0.7",
+ "version": "0.0.8",
"description": "A node-red node for PiGPIOd",
"dependencies" : {
"js-pigpio": "*"
diff --git a/hardware/pigpiod/pi-gpiod.html b/hardware/pigpiod/pi-gpiod.html
index 507e63f6..82998623 100644
--- a/hardware/pigpiod/pi-gpiod.html
+++ b/hardware/pigpiod/pi-gpiod.html
@@ -180,6 +180,7 @@
Details
You may also enable the input pullup resistor ↑ or the pulldown resistor ↓.
+ If using with Docker on Pi then the default Host IP should be `172.17.0.1`. You will also need to run `sudo pigpiod` on the host.
Note: the pin numbers refer the physical pin numbers on connector P1 as they are easier to locate.
@@ -426,6 +427,7 @@
and will set the selected physical pin high or low depending on the value passed in.
The initial value of the pin at deploy time can also be set to 0 or 1.
When using PWM and Servo modes, the input value should be a number 0 - 100, and can be floating point.
+ If using with Docker on Pi then the default Host IP should be `172.17.0.1`. You will also need to run `sudo pigpiod` on the host.
Note: the pin numbers refer the physical pin numbers on connector P1 as they are easier to locate.