mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
@@ -22,6 +22,10 @@
|
||||
<div class="form-row">
|
||||
<label for="node-input-priority"><i class="fa fa-star"></i> Priority</label>
|
||||
<input type="text" id="node-input-priority" placeholder="0">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-url"><i class="fa fa-globe"></i> URL</label>
|
||||
<input type="text" id="node-input-url" placeholder="optional web page url">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-pushkey"><i class="fa fa-key"></i> API Key</label>
|
||||
@@ -37,9 +41,7 @@
|
||||
<script type="text/x-red" data-help-name="prowl">
|
||||
<p>Uses Prowl to push the <b>msg.payload</b> to an Apple device that has the prowl app installed.</p>
|
||||
<p>Optionally uses <b>msg.topic</b> to set the title. You can also set <b>msg.priority</b> to confgure the urgency from -2 (low), through 0 (normal) to 2 (urgent).</p>
|
||||
<p>The API Key is stored in a separate credentials file.</p>
|
||||
<p>The old method of storing your Prowl API key in the pushkey.js file in the directory <b>above</b> node-red has been deprecated.</p>
|
||||
<!-- <p><pre>module.exports = { prowlkey:'My-API-KEY' }</pre></p> -->
|
||||
<p>You may use <b>msg.url</b> to set a url to redirect the user to on receipt of the message.</p>
|
||||
<p>Uses Prowl. See <i><a href="https://www.prowlapp.com" target="_new">this link</a></i> for more details.</p>
|
||||
</script>
|
||||
|
||||
@@ -49,6 +51,7 @@
|
||||
defaults: {
|
||||
title: {value:""},
|
||||
priority: {value:0,required:true,validate:RED.validators.number()},
|
||||
url: {value:""},
|
||||
name: {value:""}
|
||||
},
|
||||
credentials: {
|
||||
|
Reference in New Issue
Block a user