A related thread Dimmer - prestage value went in a direction of the OP wanting to have two dim values only, which is already well described in two FAQs, one based on virtual relays and another based on the sensor channels and locks.
However, what I would like to achieve is slightly different. I want a curve, rather than two distinct values. In particular the room is quite well lit by the windows, so any automated lighting during the day is unnecessary. But at around sunset I want the light level to ease-in towards 100%, rather than immediately going to 100%.
My installation is roughly as follows:
VMB4RYLD ----> +------------------+ | LED power supply | -> Lights VMB4DC ------> +------------------+
So far this is what I’ve been doing:
- Use Programs on one of the panels to implement time awareness based on sunset and sunrise;
- When it is “day”, lock the PIR channel used to control lighting, this way the light does not turn on at all;
- Before the sunset unlock the sensor and trigger
Atmospheric dimvalueon the VMB4DC channel over a long period of time (hours) to DIM from 0 towards some percentage;
- Before the bedtime trigger
Atmospheric dimvalueto gradually reduce dim level to a lower percentage;
- Before the sunrise trigger
Atmospheric dimvalueon the VMB4DC channel over the a long period of time to DIM towards 0.
- Whenever PIR sensor detects movement turn on and off the VMB4RYLD channel as if this was an usual on/off lamp.
This achieves roughly the intended effect, but in order to do so I need to keep the dimmer channel running constantly.
Does anybody know of a better way to achieve something like this without keeping a dimmer on all the time? I feel that ideally I would use one of the actions that involve memory and have this whole dim curve thing happen in the “memory” instead. Restrictions for alternatives would be:
- I would rather not rely on OpenHAB et al. for this.
- I do not have spare dimming channels to use as master for a master-slave setup, nor do I see any virtual dim channels in my system.
I feel like an ideal solution would somehow be able to dim in accordance to the light levels as seen by some of the sensors, but that’s probably a stretch (and hard to implement correctly anyhow)…