Jump to content
C4 Forums | Control4

How to program a conditional button?


Recommended Posts

Hi, is it possible to create conditional button? I created a custom menu named "Confirm" with items: Yes and No.  The point is I want this acts as a safety measure when open doors.  So you tap on the door, and have to tap Yes on this to open.  Otherwise, it stays closed.  Problem is I cant seem to create an if statement with a custom button.  It only allows you to create a statement: "Press the Yes button from Confirm menu".

Link to comment
Share on other sites

It's complicated.

You can do it with multi state experience buttons if you're creative. Using a timer countdown type scenario. Press door, then button switches to a press to confirm for several seconds and if you don't press by end of timer, button reverts and door stays closed.

Or have a basic red/green precheck "allow" button to govern them all. Press to green, starts timer, reverts to red at expires.
When press door, check if allow is green then open.

Link to comment
Share on other sites

What is the reasoning here.

If it's just to prevent a quick accidental press after putting the door as a favourite on the main screen, simple don't use the favourite and just use the custom button - that already makes it a two step process.


Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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