PhilipsHue / PhilipsHueSDK-iOS-OSX

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

Can's set a transitiontime when creating a schedule #84

Open danielreiser opened 9 years ago

danielreiser commented 9 years ago

I was wondering why I can't set a transitiontime for an alert I schedule myself, but the official hue app can. The bridge always responds with:

[{
    "error": {
        "type": 7,
        "address": "/schedules/command/body",
        "description": "invalid value, too big, for parameter, body"
    }
}]

So actually the body is just too big, 'cause i am sending a hsb value and the transition time, which is too much to handle for the bridge I guess. Any way around this?

samuelclay commented 9 years ago

I'm also having this issue, although I'm just trying to modify an existing PHScene object and setting its transitionTime. The error I get when I use bridgeSendAPI saveSceneWithCurrentLightStates:completionHandler: is resource, /scenes/8da4794f0-on-1-transition, not available.

samuelclay commented 9 years ago

Well, I resolved my issue by figuring out that the scene identifier can't be as long as 8da4794f0-on-1-transition.

danielreiser commented 9 years ago

thanks for letting me know. In my case I only wanted to set the transition time for one individual lamp.....