PhilipsHue / PhilipsHueSDK-iOS-OSX

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

Whitespace removal before sending a command #94

Open danielreiser opened 9 years ago

danielreiser commented 9 years ago

Dear hue team,

why don't you, as suggested in the docs, remove whitespaces to prevent errors like the one exceeding the bodysize while creating an alarm?

jfhamel commented 7 years ago

Hi, I face the exact same issue. Schedule body generated by framework is 120 characters long with whitespace which is more that the allowed 90 characters. Without whitespaces it would only be 62 character long.

Any plan to correct it?

Any workaround?