Home AMX User Forum AMXForums Archive Threads Tips and Tricks

Cheap Lighting Controller

JoeJoe Junior MemberPosts: 99
Here's an idea for those customers who do not have/will not buy a controllable lighting system. The lights to be controlled should be wired to an AMX UPC-20, so having an electrican present might come in handy. Other than that, it's pretty simple:

Use an ordinary 2-pole light switch and tie it to an I/O port on a Netlinx master. Put a button on the touchpanel to turn on/off the lights.
Use a relay to control the AMX UPC-20.

First, the touchpanel button:
BUTTON_EVENT[PANEL,BUTTON]
  {
   PUSH:
     {
      [RELAY,1]=![RELAY,1]
     }
  }
This toggles the relay state each push. Next, use
Channel Events on the IO port to toggle the relay as
well:
CHANNEL_EVENT[IO,1]
  {
   ON:
     {
      [RELAY,1]=![RELAY,1]
     }
   OFF:
     {
      [RELAY,1]=![RELAY,1]
     }
  }
So, each push of the panel button or each flip of the
wall switch will toggle the relay tied to the UPC-20+
to the opposite state. You can even use the relay
state for button feedback. The only drawback, if you
want to call it one, is that sometimes the wallswitch
will be in the 'UP' position and the lights will be
off. Not really a big deal. We have used this to
control several zones of lighting where the customer
did not want to spring for an entirely new lighting
system. It works great.

Comments

  • matt95gsrmatt95gsr Junior Member Posts: 164
    I had never thought about that, but it seems to be a cheap, reasonable solution. Thanks for the idea!
  • bobbob Independent Programmer Posts: 296
    Joe wrote:
    The only drawback, if you
    want to call it one, is that sometimes the wallswitch
    will be in the 'UP' position and the lights will be
    off. Not really a big deal. We have used this to
    control several zones of lighting where the customer
    did not want to spring for an entirely new lighting
    system. It works great.
    Why not using a simple contact closure wallswitch (connected in parallel with the UPC20) instead of a regular switch which stays either up or down?

    Greetings,
    Bob.
  • Chip MoodyChip Moody Junior Member Posts: 727
    bob wrote:
    Why not using a simple contact closure wallswitch (connected in parallel with the UPC20) instead of a regular switch which stays either up or down?

    I'm about as far from a resi person as you can get, but that sounds like it would be a far more desirable solution than turning a regular up/down switch into an old-fashioned 3-way switch type operation...

    - Chip
Sign In or Register to comment.