RatRanch wrote:Swancoat wrote:But if you're maintaining a list of requested features, here's mine: I'd like to see the keypad device basically send commands as buttons, but reflect the STATE of the corresponding LED..
Got it. That's pretty much the way the plugin handles phantom button/LED pairs. When I added support for keypads I decided to decouple buttons/LEDs as pairs because they could be operated independently. Buttons can be pressed or released (although I've yet to encounter a situation where sending a button release from Indigo would be useful for anything). LEDs can be turned on or off. So I made the design decision to define keypad buttons and LEDs separately. It looks a bit odd in Indigo's home window GUI, but most of us use that for setup and troubleshooting only, relying on control pages or keypads/remotes/touchscreens to handle user interaction. The current method also works fine with Indigo triggers, schedules and action groups but I will look into providing an option to set button state to it's corresponding LED state (although I must again repeat that
RadioRA 2 button cannot actually be "on" or "off", only "pressed" or "released").
Swancoat wrote:Of course at some point I'd like to figure out a way to just set LED state on its own, maybe as a seperate device type (thinking ahead to integrating garage door activation and status via VCRX, with button acting as a toggle, and LED state being set by different set of contacts. Sounds like I'm rambling now.
Easy one! Just define an LED on the VCRX the same way you would on a keypad and you can turn it on or off from Indigo.
Ah, ok. I'm getting smarter on this bit by bit. The fact that RadioRA2 only understands a 'press' is more interesting than anything.
I guess what I REALLY would like then (and again, let me just say I'm happy to have what we have right now!) is the option to set up a button/led in three ways:
1) Combo LED, Button. This basically reflects the state of the LED, and any action on it sends a button PRESS. I think this would basically replicate the keypad functionality (I use Indigo Touch a lot, and not much control pages, so this would be cool for that).
2) LED Only. I think this is the functionality you already have. Basically, reflects LED state (and I assume you can turn the LED on or off - haven't tried yet).
3) Button Press. Basically just a button. Sends a Press.
The more I think about it, the more I think only the first option is necessary. (Again, thinking back to Garage Door setup). I'll have a contact closure to a VCRX, and Indigo will use that to set the LED state of a button. And whenever that button is pressed, it uses the open/close of the garage door. Should totally work. The only question is... if I actually define the button press to contact closure action in RadioRA2 software, does the plugin still have the ability to control that LED, or does that action need to be defined in Indigo.
Regardless, This plugin is great, and now that I'm up and running on it, I'm convinced to go ahead on rolling our RadioRA2 to the rest of the house. Thanks!