Using a switch sequence on off on to switch off other devices

Hello!

I am trying to make an automation to control some lights.

I have a light, which I turn on and off with a wall switch. In the same room, I have an auxiliary light, which I control with Alexa and a nearby zigbee button.

I would like to know if there is any option to turn off that auxiliary light from the door switch?

The original idea would be to be able to make an “ON-OFF-ON-OFF” sequence with the wall switch or similar. This sequence would turn the light off.

I could also use it to control the colour of a CCT LED downlight. Some of the ones that are sold, change temperature and brightness by turning the device on and off quickly from the wall switch.

Thanks!

If you are interested, I used a similar sequence as a signal to manually override a motion-activated light. The same principle can be used as a signal to control another light. It’s easily implemented with a timer and explained here:

NOTE

I no longer use that technique because, in practice, toggling the wall switch in that manner was found to be unintuitive. It works but it’s awkward.

Great! Thanks for sharing