1) Give a description of the problem
Cannot determine when the Lifx bulb first powers up.
2) What is the expected behaviour?
I would like to be able to trigger a routine when the bulb powers up
3) What is happening/not happening?
I have tried:
When the bulb comes online, active using $status
When the bulb switch state is ON (not good per requirements below)
bulb level is below a threshold (will not work per below, given voice control conflicts)
4) Post a Green Snapshot of the piston
I have tried several approaches and would have to copy in multiple pistons.
5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)
N/A
I have a standard (non-smart) light switch that controls my ceiling fan light and the spot light over the fireplace. Since the fireplace light is blinding when I watch TV, I want to change the level to 30% or possibly off right after the Lifx bulb gets powered up. Later, if I want to adjust the light with Google Home or Alexa, I do not want my routine interfering and setting it back to the power-up level I set. The next time the switch is turned on, I want the routine to run again and turn the light on to X% (30% or off depending on where I land).
As mentioned above, I have tried several things, and the only thing close is when the level stays below a constant level for a time, change the brightness to what I want. This will not work if I change the brightness to 20% with Google Home, given it would set it back to 30%.
As a bonus, it would be really helpful to have $status, DeviceWatch-DeviceStatus, DeviceWatch-Enroll, and healthStatus explained. A manual link that explains this and more would be awesome!