#Step Dimmer Automation

1 messages · Page 1 of 1 (latest)

dusty oxide
#

Hi there. Does anyone know a blueprint or other easy way to control a lamp with integrated step dimmer via HA?

I’ve got such a lamp connected to HA via a switch controller in the socket. The dimmer is set by toggling the switch, i.e. turning it off and immediately on again selects the next dimmer setting.

Ideally I’d. like to control it just as a real dimmer entity via the UI.

Thanks

thick canopy
#

since there is no way to know the current state of the dimmer, all you could reasonably do is have an automated on/off to cycle to the next state

dusty oxide
#

Feedback is actually the easiest part. I already created a template sensor that reads back the current energy usage of the switch. I then compare that to thresholds to determine one of the three dimmer states.

thick canopy
#

Ah, then a state template helper is what you need

dusty oxide
#

For anyone interested, I managed to create a template light that uses the template sensor to display current brightness and calls a script to toggle through the values if one uses the brightness slider. Works pretty well. The only unfortunate thing is that the lamp seems to reset the brigthness level to 100% if it's switched off again after some time. But that's not related to HA and I can't change, so I don't bother:-)

violet trail
#

it probably would be possible to make your 'turn on' script turn on the light, figure out if it reset, and then switch it to the desired brightness if needed :)

burnt edge
#

Have you considered using a switch such as a zooz zen77 where multi-taps trigger different zwave scenes, and these can be used to automate different levels of dimming?