I've just built a zigbee bedside wake-up light from some RGB LED strip & a Gledopto controller, then created an uber-simple rulemachine rule to ramp up brightness over 30 minutes at 7.30am. I've got a zigbee 4-endpoint switch for control - currently only set up as a basic button controller to turn the strip on and off as a bedside lamp. Next step is to make things a bit slicker - hence the request for advice here. I'm a relative novice, having only used 'simple' rules before and never any virtual devices, variables or rulemachine.
so:
- It'd be great to set the alarm time more easily - I'm guessing create a hub variable for wake-up time, stick it on a dashboard for easy editing and then trigger the ramp-up rule from that? If so, how's that done? - a virtual device of some sort?
- Currently, the off switch doesn't work during the 30-minute ramp-up (I assume the rule to ramp brightness is always active during that time so the light-off command is immediately overridden) - do I have to somehow disable the rule first? Is there a way to extend the rulemachine rule to cancel the ramp-up on button press? It's not obvious if the 'conditions' section of rulemachine can be used in this case, when the rule has already triggered at e.g. 7.30am
- slickly enable/disable the alarm via a button press or phone and provide some ideally visual feedback - I've attempted to set the strip to e.g. red or green for 1s but that appears to be hopelessly unreliable. The best I can think of is to use a new rulemachine rule to enable/disable the alarm rule on button press and send a notification to my phone & tablet - is there a good way to single-flash RGB strip?
- Lastly, am I missing anything obvious, such as an app that already does some or all of this?