Skip to content

Commit

Permalink
added readme
Browse files Browse the repository at this point in the history
Signed-off-by: Sushil Singh <[email protected]>
  • Loading branch information
sushilks committed Oct 28, 2018
1 parent 7211573 commit fd4f599
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# node-red-contrib-lutron
Node for Lutron devices on node-red

# Configuraiton
During configuration of the lutron node you have to provide the ip address of the Lutron Caseta Pro HUB. This module does not work with the basic version of the HUB as telnet connection is diabled on it.

The 2nd part of the configuration is to enter the switch ID and map it to a name.
I did not find any clean way to query the device ID to name mapping form the HUB so it's a manual step.

To identify the device ID to name mapping you can create a status node with DEVICE set to "ALL", connect the output of this node to a debug node and it will show you all the devices as they change status.
After this you can flip any of the device on this hub and it will show you ID for the device.

3 changes: 1 addition & 2 deletions lutron-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
value: ""
},
deviceMap: {
"Living Room Light": 34,
"Master Bedroom Light": 32
"ALL": 0,
},
},
label: function () {
Expand Down
19 changes: 15 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-lutron",
"version": "1.0.0",
"version": "1.0.1",
"description": "A node for communicating with Lutron Caseta Pro Hub",
"main": "index.js",
"scripts": {
Expand All @@ -14,6 +14,11 @@
"lutron-control": "lutron-control.js"
}
},
"repository": {
"type": "git",
"url": "[email protected]:sushilks/node-red-contrib-lutron.git"

},
"keywords": [
"lutron",
"caseta",
Expand All @@ -23,10 +28,16 @@
"node-red",
"node"
],
"author": "Sushil Singh <[email protected]> (http://sushilks.blogspot.com)",
"license": "ISC",
"author": "Sushil Singh <[email protected]>",
"license": "Apache 2.0",
"dependencies": {
"events": "^3.0.0",
"telnet-client": "^0.16.1"
}
},
"maintainers": [
{
"name": "Sushil Singh",
"email": "[email protected]"
}
]
}

0 comments on commit fd4f599

Please sign in to comment.