mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	Slight tidy of readme
This commit is contained in:
		| @@ -7,9 +7,11 @@ simple timeswitch node to schedule daily on/off events. | ||||
| Install | ||||
| ------- | ||||
|  | ||||
| Run the following command in your Node-RED user directory - typically `~/.node-red` | ||||
| You can install by using the `Menu - Manage Palette` option, or running the following command in your | ||||
| Node-RED user directory - typically `~/.node-red` | ||||
|  | ||||
|         npm install node-red-node-timeswitch | ||||
|         cd ~/.node-red | ||||
|         npm i node-red-node-timeswitch | ||||
|  | ||||
| Usage | ||||
| ----- | ||||
| @@ -24,9 +26,11 @@ or dusk, and negatively (-ve) for minutes before dawn or dusk.. | ||||
| The output emits a `msg.payload` of *1* or *0* every minute depending on | ||||
| whether the current time is during the selected on time or off time. | ||||
|  | ||||
| If you just need the transitions from 0->1 or 1->0 then follow this node with an RBE node. | ||||
| If you just need the transitions from 0->1 or 1->0 then follow this node with a `filter (RBE)` node. | ||||
|  | ||||
| You may also optionally specify a `msg.topic` if required. | ||||
|  | ||||
| **Note**: For a more complex version with more built-in options see Pete Scargill's | ||||
| [node-red-contrib-bigtimer](http://flows.nodered.org/node/node-red-contrib-bigtimer) node. | ||||
| **Note**: For a more complex version with more built-in options see  | ||||
| [node-red-contrib-bigtimer](http://flows.nodered.org/node/node-red-contrib-bigtimer) node, or  | ||||
| for multiple schedules and a nice visual interface to cron then use Steve's  | ||||
| [node-red-contrib-cron-plus](https://flows.nodered.org/node/node-red-contrib-cron-plus) node. | ||||
|   | ||||
| @@ -7,6 +7,6 @@ | ||||
|     or negatively (-ve) for minutes earlier.</p> | ||||
|     <p>The output emits a <code>msg.payload</code> of <i>1</i> or <i>0</i> every minute depending on | ||||
|     whether the current time is during the selected on time or off time.</p> | ||||
|     <p>If you just need the transitions from 0->1 or 1->0 then follow this node with an RBE node.</p> | ||||
|     <p>If you just need the transitions from 0->1 or 1->0 then follow this node with a filter (RBE) node.</p> | ||||
|     <p>You may also optionally specify a <code>msg.topic</code> if required.</p> | ||||
| </script> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user