mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
bump wemo node
slight tidy of readme
This commit is contained in:
parent
d9ea55d3b2
commit
1ea7885b58
@ -19,18 +19,16 @@ The output node switches a socket, a light or group of lights on or off
|
||||
This should be backward compatible with the pervious version of this node but will benefit
|
||||
from opening the config dialog and selecting the node you want.
|
||||
|
||||
The node accepts the following `msg.payload` inputs
|
||||
The node accepts the following `msg.payload` as input
|
||||
|
||||
* A single value
|
||||
* Accepted values:
|
||||
* Strings `on`/`off`
|
||||
* Integers `1`/`0`
|
||||
* Boolean `true`/`false`
|
||||
* Example:
|
||||
```
|
||||
off
|
||||
```
|
||||
* A JSON Object like this (lights only & color control is still work in the progress)
|
||||
* String : `on`/`off`
|
||||
* Integer : `1`/`0`
|
||||
* Boolean : `true`/`false`
|
||||
|
||||
|
||||
* A JSON Object as below (lights only and color control is still work in the progress)
|
||||
|
||||
```
|
||||
{
|
||||
state: 1,
|
||||
@ -40,6 +38,8 @@ off
|
||||
}
|
||||
```
|
||||
|
||||
**Note**: Currently any invalid value is treated as an `off` command.
|
||||
|
||||
## Input Node
|
||||
|
||||
The new input node is now based on uPnP notifications instead of polling. This means messages
|
||||
@ -59,7 +59,7 @@ The output varies depending on the type of device but examples for sockets look
|
||||
}
|
||||
```
|
||||
|
||||
And a lightblub can look like this:
|
||||
And a lightbulb can look like this:
|
||||
|
||||
```
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-node-wemo",
|
||||
"version": "0.1.14",
|
||||
"version": "0.1.15",
|
||||
"description": "Input and Output nodes for Belkin WeMo devices",
|
||||
"repository": "https://github.com/node-red/node-red-nodes/tree/master/hardware",
|
||||
"main": "WeMoNG.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user