Skip to content

Commit

Permalink
add input description
Browse files Browse the repository at this point in the history
reflect information from #28
  • Loading branch information
mabunixda authored Jul 5, 2019
1 parent 48dd660 commit 3b21171
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@

[![Build Status](https://travis-ci.org/mabunixda/node-red-contrib-alexa-home.svg?branch=master)](https://travis-ci.org/mabunixda/node-red-contrib-alexa-home)

Rewrite of [node-red-contrib-alexa-local](https://github.com/originallyus/node-red-contrib-alexa-local) to use a defined port range and also minimize the number of open ports - just 1 bridge is used for every 25 devices

**No Alexa skill required**

**No cloud dependencies**

Just works wihtin your local network!
The node just works wihtin your local network - no extra cloud stuff is required.

## Installation
Install directory from your Node-RED Settings Pallete
Expand All @@ -29,7 +23,16 @@ the follow *msg* properties are generated within this node

**payload.bri:** brightness 0-255

**payload.xy** Color XY object

**alexa_ip:** \<ip of alexa device interacting with node-red\>

With version 1.x now also the input is processed within the node and updates the data to alexa. Within the alexa app you are now able to get the current state of your nodes.


At the moment you can input as payload objects:
* [brightness](https://github.com/mabunixda/node-red-contrib-alexa-home/blob/master/alexa/alexa-home.js#L85)
* [color](https://github.com/mabunixda/node-red-contrib-alexa-home/blob/master/alexa/alexa-home.js#L79)
* [on/off](https://github.com/mabunixda/node-red-contrib-alexa-home/blob/master/alexa/alexa-home.js#L95)

With version 1.x now also the input is processed within the node and updates the data to alexa. Within the alexa app you are now able to get the current state of your nodes.
Normal an input is not routed as output because this would possibly cause endless update loops. But if you want this and know what you are doing, you can set the [output param on the msg](https://github.com/mabunixda/node-red-contrib-alexa-home/blob/master/alexa/alexa-home.js#L133) to let the input passthrough.

0 comments on commit 3b21171

Please sign in to comment.