benknight / hue-alfred-workflow

An Alfred workflow for controlling Philips Hue lights.
367 stars 34 forks source link

Use full state API to get light info in a single request on initial "hue" command #8

Closed benknight closed 10 years ago

benknight commented 10 years ago

Currently when typing "hue" the first time into Alfred, a request is made to get a list of lights, and then an additional request per light. This can be slow sometimes and gets in the way when using the script filter to do multiple tasks in a row.

http://developers.meethue.com/4_configurationapi.html#45_get_full_state_datastore