I have a v1 Hue Hub, but there’s nothing about that functionality in the Philips Hue API documentation.
UPDATE: there’s also nothing like that in the scene data from a v2 scene created in the CLIP API Debugger. Buuuuut - v2 scenes have an “appdata” parameter in which I could store on/off state. Bottom line is that I will do it, but after the functions I’m working on now.
Ok…I run off mostly from my Android phone. I just tested removing / adding a bulb on my iPad and…lo and behold it didn’t update like it does on my Android - which indicates that its an iOS app bug. I’ll see if there’s a workaround.
Removing a bulb:
f51c1aa4-58d8-4839-9aed-040a97fb0ce8 11:59:58 AM: error groovy.lang.MissingPropertyException: No such property: errorText for class: script1477229938612131361950 @ line 431
Removing a scene:
f51c1aa4-58d8-4839-9aed-040a97fb0ce8 11:54:55 AM: debug Does scene [id:N9ZR38uvdhwepB6, lights:[1, 3, 6, 7, 8], name:Test, type:scene] have a schedule using it? scheduleId = null
f51c1aa4-58d8-4839-9aed-040a97fb0ce8 11:54:55 AM: debug adding scene [id:N9ZR38uvdhwepB6, lights:[1, 3, 6, 7, 8], name:Test, type:scene]. Are lights assigned? lights = [1, 3, 6, 7, 8]
f51c1aa4-58d8-4839-9aed-040a97fb0ce8 11:54:55 AM: debug Adding N9ZR38uvdhwepB6
Both logs are the same as @Michael_D. I am also running this on a iOS device. When I try it on an Android emulator on my PC it works fine. Both hubs are V2
Quick Fixes - it’s my attempt to integrate schedules from the Hue Hub. I use a Hue Hub schedule to restore the light state (color/hue/saturation/level) of a scene after a physical switch off–>on within 1 second. It offloads the processing to the Hue Hub and it Restores the light state faster than ST can. Haven’t released the DTH yet.
Install yesterday and all seems good so far. Only issue I have run into was trying to setup a core piston with 2 x hue White Ambiance and a ST Motion sensor which didn’t work, started off only turning one light on and would not turn them off after a wait time. But this could be a Core issue rather than Hue B Smart.
Keep up the good work! And let me know your thoughts on the Core issue.
Cheers
I’ve not installed this yet and will probably wait until V1.1 just because it’s a PITA re-configuring bulbs… but looking forward to using it!
I do have a question though and suspect it’s not possible… but is there any way to pass a scene change from Hue to ST or does your app do this already?
Basically I have a Hue Tap and Remote and I’m writing a HA app from the ground up to do very many things, but ideally I’d like to stop some of the automatons if it detects that a scene has been set by the Hue Tap or dimmer… Even with latency from Hue this would be better than nothing!
Thanks for the app. Love the way the scenes/groups work, but I do have 2 questions:
after setting a scene to group(2) I have to follow it with a “using group “Bathroom” Refresh” to show the true status of “bathroom” is there a better way for now?
Can you not set multiple parameters to have a scene turn on multiple groups? I figured applytogroup(2, 3) would work, but I have to apply to 2, wait one second, then apply to 3. Is there a more elegant way?