Virtual task to turn on light and set color temperature and/or level


#1

@ady624: … as one task in webcore.

seems more and more users are using zigbee lights. usually the way these lights seem to get used is by putting them in an outlet thats controlled by a dumb switch.

its likely that there will more users that will try to solve for turning on the dumb switch to turn on the lights with the right color temperature and level so it does not bother the baby or even their better halfs beauty sleep. so, the usual solution in a piston is to turn on the light, set level and/or set color temperature.

while that works, it does have certain latency while the light is at high brightness for 1 or 2 seconds.

hoping, if we can get a single emulated task that does this in one step, the latency will go from seconds to milliseconds which may be much less distracting.

thank you.


Connecting hue bulbs to ST hub directly?
#2

I really doubt it the issue is multiple tasks - ST has no clue that the bulb is off and is coming on at various default settings - it all relies on the bulb reporting its status and ST realizing something changed to allow your piston to run - once it runs, it sends two zigbee commands that fit in a window of a few milliseconds, not half a second. You won’t be able to bring that reaction to anything near 0s. Why use a zigbee bulb for a dumb switch though? Just to get color control on the light but still manual on/off control?


#3

what is the command path … is the cloud in the path between those two zigbee commands finally getting issued by the hub to the bulb?

getting it down to 100ms or less would probably make a perceptible difference for users.

i am seeing a lot of users on the forums ask questions that suggest they are using it that way. probably for the level and color temperature control along with time of day.

EDIT: having tried a small experiment wanted to note that this may also be a local processing difference. when the dumb switch turns the light on if i use a ST lighting app to set the level vs using a piston to set the level there is a perceptible difference between the transition time to new level.