mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
pi-gpiod: improved/fixed EN localisation and added DE help (#778)
This commit is contained in:
parent
57f552b7fc
commit
7186ee38ff
38
hardware/pigpiod/locales/de/pi-gpiod.html
Normal file
38
hardware/pigpiod/locales/de/pi-gpiod.html
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
|
||||||
|
<script type="text/html" data-help-name="pi-gpiod in">
|
||||||
|
<p>Raspberry-Pi-Eingangs-Node.
|
||||||
|
Generiert eine <code>msg.payload</code> mit einem Wert von 0 oder 1 in Abhängigkeit vom Status des Eingangspins.
|
||||||
|
<a href="http://abyz.me.uk/rpi/pigpio/index.html" target="_new">pi-gpiod</a>-Daemon erforderlich.</p>
|
||||||
|
<h3>Ausgangsdaten</h3>
|
||||||
|
<dl class="message-properties">
|
||||||
|
<dt>payload<span class="property-type">number</span></dt>
|
||||||
|
<dd>Pinstatus (0 or 1)</dd>
|
||||||
|
<dt>topic<span class="property-type">string</span></dt>
|
||||||
|
<dd>Pinnummer <code>pi/{the pin number}</code></dd>
|
||||||
|
</dl>
|
||||||
|
<h3>Details</h3>
|
||||||
|
<p>Es können auch die Pullup- (↑) oder Pulldown- (↓) Eingangs-Widerstände aktiviert werden.</p>
|
||||||
|
<p>Bei Benutzung mit Docker auf dem Pi sollte die Standard-Host-IP <code>172.17.0.1</code> sein.
|
||||||
|
Es muss ebenso <code>sudo pigpiod</code> auf dem Host gestartet werden.</p>
|
||||||
|
<p><b>Hinweis</b>: Die Pinnummern beziehen sich auf die physischen Pinnummern des Steckverbinders P1, wodurch sie einfacher zu lokalisieren sind.</p>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/html" data-help-name="pi-gpiod out">
|
||||||
|
<p>Raspberry-Pi-Ausgangs-Node.
|
||||||
|
Digital-, PWM- oder Servo-Modus unterstützt.
|
||||||
|
<a href="http://abyz.me.uk/rpi/pigpio/index.html" target="_new">pi-gpiod</a>-Daemon erforderlich.</p>
|
||||||
|
<h3>Eingangsdaten</h3>
|
||||||
|
<dl class="message-properties">
|
||||||
|
<dt>payload<span class="property-type">number | string</span></dt>
|
||||||
|
<dd>0,1 (Digital), 0-100 (PWM, Servo)</dd>
|
||||||
|
</dl>
|
||||||
|
<h3>Details</h3>
|
||||||
|
<p>Im digitalen Modus erwartet der Node eine <code>msg.payload</code> von entweder 0 oder 1 (oder false oder true)
|
||||||
|
und setzt den ausgewählten physischen Pin entsprechend dem übergebenen Wert entweder auf low oder high.</p>
|
||||||
|
<p>Der Anfangswert des Pins kann bei der Übernahme (Deploy) auf 0 oder 1 gesetzt werden.</p>
|
||||||
|
<p>Im PWM-Modus erwartet der Node einen Eingangszahlenwert von 0 bis 100. Es kann auch eine Gleitkommazahl sein.</p>
|
||||||
|
<p>Im Servo-Modus kann die Ausgabe gestoppt werden, indem ein <code>msg.payload</code> von <code>null</code> oder <code>""</code> übergeben wird.</p>
|
||||||
|
<p>Bei Benutzung mit Docker auf dem Pi sollte die Standard-Host-IP <code>172.17.0.1</code> sein.
|
||||||
|
Es muss ebenso <code>sudo pigpiod</code> auf dem Host gestartet werden.</p>
|
||||||
|
<p><b>Hinweis</b>: Die Pinnummern beziehen sich auf die physischen Pinnummern des Steckverbinders P1, wodurch sie einfacher zu lokalisieren sind.</p>
|
||||||
|
</script>
|
@ -30,7 +30,7 @@
|
|||||||
"initpin1": "Initalzustand high (1)",
|
"initpin1": "Initalzustand high (1)",
|
||||||
"pinname": "Pin",
|
"pinname": "Pin",
|
||||||
"tip": {
|
"tip": {
|
||||||
"pin": "<b>Pins in Verwendung:</b> ",
|
"pin": "<b>Pins in Verwendung</b>: ",
|
||||||
"in": "Nur digitaler Eingang unterstützt - Eingangszustand muss 0 oder 1 sein",
|
"in": "Nur digitaler Eingang unterstützt - Eingangszustand muss 0 oder 1 sein",
|
||||||
"dig": "Digitaler Ausgang - Node-Eingangswert muss 0 oder 1 sein",
|
"dig": "Digitaler Ausgang - Node-Eingangswert muss 0 oder 1 sein",
|
||||||
"pwm": "PWM-Ausgang - Node-Eingangswert muss zwischen 0 und 100 sein",
|
"pwm": "PWM-Ausgang - Node-Eingangswert muss zwischen 0 und 100 sein",
|
||||||
@ -53,7 +53,7 @@
|
|||||||
"errors": {
|
"errors": {
|
||||||
"invalidpin": "Ungültiger GPIO-Pin",
|
"invalidpin": "Ungültiger GPIO-Pin",
|
||||||
"invalidinput": "Ungültige Eingabe",
|
"invalidinput": "Ungültige Eingabe",
|
||||||
"error": "Fehler: __error__"
|
"error": "FEHLER: __error__"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,12 +4,14 @@
|
|||||||
0 or 1 depending on the state of the input pin.
|
0 or 1 depending on the state of the input pin.
|
||||||
Requires the <a href="http://abyz.me.uk/rpi/pigpio/index.html" target="_new">pi-gpiod</a>
|
Requires the <a href="http://abyz.me.uk/rpi/pigpio/index.html" target="_new">pi-gpiod</a>
|
||||||
daemon to be running on the host computer in order to work.</p>
|
daemon to be running on the host computer in order to work.</p>
|
||||||
<p><b>Outputs</b>
|
<h3>Outputs</h3>
|
||||||
<ul>
|
<dl class="message-properties">
|
||||||
<li><code>msg.payload</code> - <i>number</i> - the level of the pin (0 or 1).</li>
|
<dt>payload<span class="property-type">number</span></dt>
|
||||||
<li><code>msg.topic</code> - <i>string</i> - pi/{the pin number}</li>
|
<dd>the level of the pin (0 or 1)</dd>
|
||||||
</ul>
|
<dt>topic<span class="property-type">string</span></dt>
|
||||||
<p><b>Details</b></p>
|
<dd>pin number <code>pi/{the pin number}</code></dd>
|
||||||
|
</dl>
|
||||||
|
<h3>Details</h3>
|
||||||
<p>You may also enable the input pullup resistor ↑ or the pulldown resistor ↓.</p>
|
<p>You may also enable the input pullup resistor ↑ or the pulldown resistor ↓.</p>
|
||||||
<p>If using with Docker on Pi then the default Host IP should be <code>172.17.0.1</code>. You will also need to run <code>sudo pigpiod</code> on the host.</p>
|
<p>If using with Docker on Pi then the default Host IP should be <code>172.17.0.1</code>. You will also need to run <code>sudo pigpiod</code> on the host.</p>
|
||||||
<p><b>Note:</b> the pin numbers refer the physical pin numbers on connector P1 as they are easier to locate.</p>
|
<p><b>Note:</b> the pin numbers refer the physical pin numbers on connector P1 as they are easier to locate.</p>
|
||||||
@ -18,11 +20,12 @@
|
|||||||
<script type="text/html" data-help-name="pi-gpiod out">
|
<script type="text/html" data-help-name="pi-gpiod out">
|
||||||
<p>Raspberry Pi output node. Can be used in Digital, PWM or Servo modes. Requires the
|
<p>Raspberry Pi output node. Can be used in Digital, PWM or Servo modes. Requires the
|
||||||
<a href="http://abyz.me.uk/rpi/pigpio/index.html" target="_new">pi-gpiod</a> daemon to be running in order to work.</p>
|
<a href="http://abyz.me.uk/rpi/pigpio/index.html" target="_new">pi-gpiod</a> daemon to be running in order to work.</p>
|
||||||
<p><b>Inputs</b>
|
<h3>Inputs</h3>
|
||||||
<ul>
|
<dl class="message-properties">
|
||||||
<li><code>msg.payload</code> - <i>number | string</i> - 0,1 (Digital), 0-100 (PWM, Servo)</li>
|
<dt>payload<span class="property-type">number | string</span></dt>
|
||||||
</ul>
|
<dd>0,1 (Digital), 0-100 (PWM, Servo)</dd>
|
||||||
<p><b>Details</b></p>
|
</dl>
|
||||||
|
<h3>Details</h3>
|
||||||
<p>Digital mode expects a <code>msg.payload</code> with either a 0 or 1 (or true or false),
|
<p>Digital mode expects a <code>msg.payload</code> with either a 0 or 1 (or true or false),
|
||||||
and will set the selected physical pin high or low depending on the value passed in.</p>
|
and will set the selected physical pin high or low depending on the value passed in.</p>
|
||||||
<p>The initial value of the pin at deploy time can also be set to 0 or 1.</p>
|
<p>The initial value of the pin at deploy time can also be set to 0 or 1.</p>
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
"in": "Only Digital Input is supported - input must be 0 or 1.",
|
"in": "Only Digital Input is supported - input must be 0 or 1.",
|
||||||
"dig": "Digital output - input must be 0 or 1.",
|
"dig": "Digital output - input must be 0 or 1.",
|
||||||
"pwm": "PWM output - input must be between 0 to 100.",
|
"pwm": "PWM output - input must be between 0 to 100.",
|
||||||
"ser": "Servo output - input must be between 0 to 100. 50 is centre.<br/>min. must be 500 µs or more, max. must be 2500 µs or less.",
|
"ser": "Servo output - input must be between 0 to 100. 50 is centre.<br/>min. must be 500 us or more, max. must be 2500 us or less.",
|
||||||
"dual": "Pins marked in blue are dual use. Make sure they are not enabled for their other use before using as GPIO."
|
"dual": "Pins marked in blue are dual use. Make sure they are not enabled for their other use before using as GPIO."
|
||||||
},
|
},
|
||||||
"types": {
|
"types": {
|
||||||
|
Loading…
Reference in New Issue
Block a user