mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
tidy and republish WOL node
This commit is contained in:
parent
dfddf0645a
commit
649ec33b80
@ -1,25 +1,25 @@
|
|||||||
|
|
||||||
<script type="text/x-red" data-template-name="wake on lan">
|
<script type="text/html" data-template-name="wake on lan">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-mac"><i class="fa fa-globe"></i> MAC Address</label>
|
<label for="node-input-mac" style="width:120px;"><i class="fa fa-address-card-o"></i> MAC Address</label>
|
||||||
<input type="text" id="node-input-mac" placeholder="e.g. DE:AD:BE:EF:FE:ED">
|
<input type="text" id="node-input-mac" placeholder="e.g. DE:AD:BE:EF:FE:ED">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-host"><i class="fa fa-globe"></i> Target Address</label>
|
<label for="node-input-host" style="width:120px;"><i class="fa fa-globe"></i> Target Address</label>
|
||||||
<input type="text" id="node-input-host" placeholder="e.g. 192.168.1.255 or 10.255.255.255">
|
<input type="text" id="node-input-host" placeholder="e.g. 192.168.1.255 or 10.255.255.255">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-udpport"><i class="fa fa-globe"></i> Target UDP Port</label>
|
<label for="node-input-udpport" style="width:120px;"><i class="fa fa-random"></i> Target UDP Port</label>
|
||||||
<input type="number" id="node-input-udpport" placeholder="9">
|
<input type="number" id="node-input-udpport" placeholder="9">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
<label for="node-input-name" style="width:120px;"><i class="fa fa-tag"></i> Name</label>
|
||||||
<input type="text" id="node-input-name" placeholder="Name">
|
<input type="text" id="node-input-name" placeholder="Name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips">Tip: leave blank if you want to use <code>msg.mac</code>, <code>msg.host</code> or <code>msg.udpport</code> to dynamically set target information.</div>
|
<div class="form-tips">Tip: leave blank if you want to use <code>msg.mac</code> or <code>msg.host</code> to dynamically set target information.</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="wake on lan">
|
<script type="text/html" data-help-name="wake on lan">
|
||||||
<p>Sends a Wake-On-LAN magic packet to the mac address specified.</p>
|
<p>Sends a Wake-On-LAN magic packet to the mac address specified.</p>
|
||||||
<p>You may instead set <code>msg.mac</code> to dynamically set the target device mac to wake up.</p>
|
<p>You may instead set <code>msg.mac</code> to dynamically set the target device mac to wake up.</p>
|
||||||
<p>The address of the target machine can optionally be set using <code>msg.host</code></p>
|
<p>The address of the target machine can optionally be set using <code>msg.host</code></p>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-wol",
|
"name" : "node-red-node-wol",
|
||||||
"version" : "0.0.13",
|
"version" : "0.1.0",
|
||||||
"description" : "A Node-RED node to send Wake-On-LAN (WOL) magic packets",
|
"description" : "A Node-RED node to send Wake-On-LAN (WOL) magic packets",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"wake_on_lan" : "1.0.0"
|
"wake_on_lan" : "1.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user