Jump to content
C4 Forums | Control4

LED Tracking Help


Recommended Posts

I have having a problem or can't figure out how to do it correctly.

The problem I am having is the following.

I have 3 6 button keypads in a house. One in the family room, one in the library and one in the Living room.

What I am trying to do is the following.

The family room keypad has the following buttons.

Button 1: TV

Button 2: Vol -

Button 3: Rear lights

Button 4: DVD

Button 5: Vol +

Button 6: Room Off

Buttons 2, 3 & 5 are working correctly with the LED's

What I would like to happen is when the TV is turned on by the remote or the keypad I want the LED on button 1 to go to Blue and the LED's on Button 4 & 6 go to black.

I would also like when the DVD is pressed (button 4) then that LED go to blue and Button 1 & 6 go to black and when the room turns off I would like the button 1 & 4 go to Black and button 6 go to Red.

With the two other keypads (living room and library) These keypads are just for music.

Button 1: Join Kitchen

Button 2: Vol -

Button 3: Mute

Button 4: Join Dining

Button 5: Vol +

Button 6: Room Off

I would like the same thing to happen here. When the join kitchen is pressed, for Button 4 & 6 to turn to black and when the select join Dining button 1&6 go to black and the button that is selected to go to Red.

The last problem I am having is when these rooms are off the mute button keeps flashing. I only want the mute to flash when the Mute is actually pressed.

Cross post at C4 Forum

Thanks

Link to comment
Share on other sites


Are you using a variable to track which physical button was pressed to perform each action? I would utilize variables to track which button was used (since you want LED's to act differently based on whether they used the keypad or the remote) and execute the LED's color changing from the remote.

You could post your project so everyone could see what you have done.

Link to comment
Share on other sites

In Programming under the room name is a C4 variable called Current Selected Device, select this and you should see the command "When Current Selected Device Changes".

"When the variable Room->Current_Selected_Device changes"

-Button 1 Set LED to Black

-Button 4 DVD Set LED to Black

-Button 6 OFF Set LED to Black

? If Room selected Video Device IS TV

-> Button 1 Set Blue

? If Room selected Video Device IS DVD

-> Button 4 Set Blue

? If Room is OFF

-> Button 6 Set Blue

For the other two music rooms, you might be able to use similar programming but not sure what commands are being sent by the Join Room buttons. Is it just Digital Media with Zones or Media Scene?

For the mute to work correctly it has to be in sync with your button press on a toggle mute. The best way to do this is discrete mute with two commands mute on and mute off. I have never tried this.

Link to comment
Share on other sites

Sbutter,

Thanks for the help. What you told me to do worked perfect.

As for the Two Music Zones. the way its programmed right now is as follows.

When Library or Living Room Button 1 is pressed

-> Add Rooms 'Library' to Dining Session

-> Set LED: 1Current color to Blue on Library->Library 6 Button

-> Set LED:4 Current color to Black on Library->Library 6 Button

-> Set LED:6 Current color to Black on Library->Library 6 Button

When Library or Living Room Button 4 is pressed

-> Add Rooms 'Library' to Kitchen Session

-> Set LED:1 Current color to Black on Library->Library 6 Button

-> Set LED:4 Current color to Red on Library->Library 6 Button

-> Set LED:6 Current color to Black on Library->Library 6 Button

When Library or Living Room Button 6 is pressed

-> Turn off Library

-> Set LED:1 Current color to Black on Library->Library 6 Button

-> Set LED:4 Current color to Black on Library->Library 6 Button

-> Set LED:6 Current color to Red on Library->Library 6 Button

The Other 6 button is programmed the exact same way.

Buttons 1, 4 & 6 are set as not Managed

TIA

Link to comment
Share on other sites

I have not done a lot of programming for Sessions, but I think the following will work.

Go to each room and start with the Current Selected Device Variable.

"When the variable Room->Current_Selected_Device changes"

-Button 1 Set LED to Black

-Button 4 Set LED to Black

-Button 6 Set LED to Black

? If Room is NOT in Session with Kitchen

-> Button 1 Set Black

? If Room is NOT in Session with Dining

-> Button 4 Set Black

? If Room is in Session with Kitchen

-> Button 1 Set Blue

? If Room is in Session with Dining

-> Button 4 Set Blue

? If Room is OFF

-> Button 6 Set Blue

There may be a better way with variables but I think the above will work.

Link to comment
Share on other sites

The better variable would be under Digital Audio Events and Actions.

"When a room enters a session"

-Button 1 Set LED to Black

-Button 4 Set LED to Black

-Button 6 Set LED to Black

? If Room is NOT in Session with Kitchen

-> Button 1 Set Black

? If Room is NOT in Session with Dining

-> Button 4 Set Black

? If Room is in Session with Kitchen

-> Button 1 Set Blue

? If Room is in Session with Dining

-> Button 4 Set Blue

"When a room leaves a session"

-Button 1 Set LED to Black

-Button 4 Set LED to Black

-Button 6 Set LED to Black

? If Room is OFF

-> Button 6 LED to Red

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.