mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	tidy and republish WOL node
This commit is contained in:
		| @@ -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"> | ||||
|         <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"> | ||||
|     </div> | ||||
|     <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"> | ||||
|     </div> | ||||
|     <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"> | ||||
|     </div> | ||||
|     <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"> | ||||
|     </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 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>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> | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|     "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", | ||||
|     "dependencies"  : { | ||||
|         "wake_on_lan"   : "1.0.0" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user