Created
July 1, 2014 01:10
-
-
Save 2fast2fourier/0b01cd20bec10738f0fc to your computer and use it in GitHub Desktop.
turnon bug example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Insteon = require('home-controller').Insteon; | |
gateway = new Insteon(); | |
var ip = "x.x.x.x"; | |
gateway.connect(ip, 9761, function(info){ | |
console.log("CONNECTED", ip); | |
gateway.light('AABBCC').turnOn().then(function(info){ | |
console.log("LIGHT ON", info); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment