Jump to content
C4 Forums | Control4

Which light just came on?


pfissure

Recommended Posts

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


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

For example;

Ten dimmers In a scene.

1-10

Scene 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...