App to control Phillips Hue Lighting with tweets.
Set up a config file that looks like:
{
"user": {
"id_str": "your_userid", // account to track eg "17461978"
},
"twitter_api": {
"consumer_key": "XXXX",
"consumer_secret": "XXX",
"access_token_key": "XXX",
"access_token_secret": "XXX"
},
"hue_api": {
"base": "XXXX", // hue ip eg 10.0.0.2
"api_key": "XXX" // hue api key eg "3231313xx12313981231"
}
}
then run node app
@username lights on
@username lights off
@username chartreuse
@username coral salmon papaya whip crimson
[
"white",
"red",
"green",
"blue",
"brown",
"chartreuse",
"chocolate",
"coral",
"cyan",
"fuschia",
"gold",
"hot pink",
"indigo",
"lime",
"magenta",
"navy",
"orchid",
"olive",
"orange",
"papaya whip",
"pink",
"plum",
"purple",
"salmon",
"teal",
"tomato",
"yellow"
]
- Add a white list so only certain users can control
- Break concerns up + make into a self contained class
- Integrate scenes
- Add public mode that sets lights based on twitter streams