Turn on/off "all" the lights #8
Comments
Hi! What is the name of the light? |
It turns off individual lights when asked. For example "turn off the hallway light" and it does so. It's when I ask "turn off all the lights" it tells me "I could not find a light by that name" Any suggestions? Regards, On May 30, 2013, at 11:24 PM, Christoph Weil notifications@github.com wrote:
|
Have you tried "turn of all lights"? It may is a wrong in the readme file. |
Hey:) that worked ! Thanks bud. Might want to update the read me file so others aren't confused. I also have another quick question if you don't mind.. Regards, On May 31, 2013, at 1:00 AM, Christoph Weil notifications@github.com wrote:
|
Sure, just ask ;) |
How can I group the lights by the room and have Siri turn off a group of lights? For example, "Siri, turn off my bedroom lights" and she turns off only the lights in that said room. Seems tricky :( Regards, On May 31, 2013, at 8:07 AM, Christoph Weil notifications@github.com wrote:
|
You just need to set the state of a group you defined in the app or elsewhere: http://developers.meethue.com/2_groupsapi.html#25_set_group_state I had no time to try it, but it should be easy to implement. I hope I answered your questions ;-) |
Hmm seems simple, but.. where do I place the API requests? On Fri, May 31, 2013 at 10:42 AM, Christoph Weil
|
Creating groups is not a part of the current Hue API, but is slated to be added in the future: http://developers.meethue.com/2_groupsapi.html#22_create_group I'd like to keep the plugin inline with what the API offers instead of adding client-side implementations, so for now what you're trying to do isn't possible. In the future when the API is updated I would like to have this added to match, as it would definitely be useful. On 2013-05-31, at 2:13 PM, jasonsykoo notifications@github.com wrote:
|
Ah so that being said I would not be able to have siri turn off a number of On Fri, May 31, 2013 at 1:20 PM, Brandon Evans notifications@github.comwrote:
|
Naww.. Sorry I missed that first lines.. |
I've changed the matching patterns in the latest commit so that both "Turn on/off all lights" and "Turn on/off all the lights" will work, and doesn't require #9. Thanks @chr1s1 for changing the readme, but I thought that making the optional "the" work would be more ideal. As a note, Rubular was helpful in determining the correct pattern as it shows the captured matches. |
Siri recognizes that i am asking my my hue lights, but doesn't recognize that command by default. In return I get " Sorry, I could not find a light by that name". That command comes as a default command which i cannot seem to get to work. Any fix?
The text was updated successfully, but these errors were encountered: