pfissure Posted October 11, 2017 Share Posted October 11, 2017 I have a push notification that tells me when a lighting scene is deactivated. The lighting scene tracks certain lights and when one of them goes off the lighting scene is deactivated. At the time the scene deactivates I would like to be able to tell which light it was that triggered the deactivation and put that in my push notification. Is there a way to do this? Link to comment Share on other sites More sharing options...
VINCELdUB Posted October 12, 2017 Share Posted October 12, 2017 One thought I have is for you to "listen" to each switch. Then, when the scene becomes inactive, check a variable to see what switch's value has changed. Then using that variable, push the corresponding notification. Happy Automating!! Link to comment Share on other sites More sharing options...
VINCELdUB Posted October 12, 2017 Share Posted October 12, 2017 For example;Ten dimmers In a scene. 1-10Scene tracks all 10 and if any one is not equal to scene final, it becomes inactive. In programming; when scene becomes inactive; ? Dimmer1 —>push Dimmer 1 deactivated scene. ? Dimmer2 —>push Dimmer 2 deactivated scene. Happy Automating!! Link to comment Share on other sites More sharing options...
VINCELdUB Posted October 12, 2017 Share Posted October 12, 2017 when scene become inactive;If dimmer1 less than 100%Then push notification "dimmer1 deactivated scene"If dimmer2 less than 100%Then push notification "dimmer2 deactivated scene"ETC...Happy Automating!! Link to comment Share on other sites More sharing options...
VINCELdUB Posted October 12, 2017 Share Posted October 12, 2017 Having a hard time placing the wording. Hope this makes sense. Happy Automating!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.