Get notified when light switch is turned on/off by automation

Hi,

Is there a way to know when the light switch is turned on/off by an automation?

Thanks

Depends on driver for the light switch. Some do make a distinction between digital and physical. But there are limitations. For instance if the switch is turned on by automation outside of HE it may view the change as physical rather than digital.

3 Likes

Thanks for your reply.

The automation is done by the at home simulator.

I wanted to know if the light is turned on by the app.

So you're trying to test whether the at home simulator app turned on or off the lifx switch vs someone physically doing it? It depends on the driver for the lifx switch. I don't have any of them installed so I can't tell whether it does or not. But you could test it with RM and see. There are triggers for both physical and digital switch activation. I'd just set up a simple rule and see if the lifx driver knows the difference.

1 Like

Thanks for your responses,

At the end, I use the "Digital Switch" IF statement and works as expected.

1 Like