PhilipsHue / PhilipsHueSDK-iOS-OSX

The Software Development Kit for Philips Hue on iOS and OS X (beta)
579 stars 169 forks source link

API rate limiting in the SDK #12

Closed renssies closed 10 years ago

renssies commented 11 years ago

Because the groups API is not functioning yet we have to send 1 request per lamp to change the brightness for a whole group. When sending a lot of requests the bridge seems to give back an internal error. This can be fixed by having a 0.10 second delay between the request but this is not in the SDK and requires extra checks in your code. It would be easier if the SDK did the delay for us when sending the request or maybe even something better.

jhvdb87 commented 10 years ago

Duplicate of https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX/issues/5