Vantage Integration
rolo
Posts: 51
I am doing my first Vantage/AMX integration. What is the easiest way to do this, wit specific attention to which is better to use IP or rs-232, how to keep up with dynamic status (nothing with binary I hope), and whether or not it is better to use the amx module, or just stick directly to v command.
What is the best way to integrate the these two?
Thanks Ahead Of Time
Rolo
What is the best way to integrate the these two?
Thanks Ahead Of Time
Rolo
0
Comments
My rule of thumb is always use TCP instead of RS-232 when available, just as I'll always use RS-232 in favor of IR when available. But if the implementation is flawed, you may find RS-232 is more reliable. A good example is the Escient line of products - when they first came out, the TCP connection was horribly slow and continuously falling offline. RS-232 was the only reliable way to ontrol them. In the past year, they improved it so much I won't even thing of using RS-232 with them anymore.
My other rule of thumb is to use the AMX comm module, but write my own UI module. There are some UI modules that are just so complex, it's not worth re-inventing the wheel (like for a MAX server), but mostly you can get away with rolling your own. I tend to only write my own comm modules when I have no other choice. Ironically, it's the aspect of NetLinx programming I enjoy the most, but it's also the hardest to justify to the billing department. "What do you mean, you need 30 hours to write a module to talk to a receiver? We can't bill them for that!! There's got to be something out there you can use..."
Are you doing a wired, hybrid or RadioLink solution? I've integrated AMX and Vantage once, and I'll tell you - it wasn't fun. When I did that one, I used V-Commands only and parsed directly from the C-Box. I had to rely completely on the V-Commands because I was integrating a complete RadioLink hook-up, and the V-Commands were different from commands being sent from the AMX module.
Mind you - this was all back maybe two months into my AMX programming experience with no official training at Visitec or AMX. I never got the thing really working that great, but I think if challenged again - I could get it working pretty slick without the AMX module.
Hope this helps.
Is this the type of feedback you are looking for or is there some other data you?re interested in?
no, I needed to get state of internal vantage variables which require a different command than the one AMX uses. Also polling for current settings on internal Vantage thermostats. That is the beauty of Passthru commands, however, I wish it would "pass" me back the response. Of course that would mean it had to pass everything back, which is essentially the same as parsing the buffer manually.
Does anyone know if, when the keypads AMX is controlling are programmed in the vantage program as virtual keypads (aka phantoms) can you use the level commands to adjust lighting (L:[1:2:3:4]:75:5)
The other problem I seem to have is that the system I am interfacing to is all RF keypads, so there is only a 2 digit address (master and station, no enclosure and I'm not sure if the button is considered a load)
I also tried the module passthru and used qseries protocol
VLC <master> <station> <load> <level> {<fade>}[CR], but still no luck.
I can control regular press and release without a problem, but the light level commands don't seem to work. Even if I only load the AMX module test file.
Can someone help?
Thanks
You can either write your own module, use the pass-trough commands, or have a bunch of virtual keypads doing what you want and just hitting the button through AMX.
As far as the VLC command, I believe there's a different one for keypad loads.
Kevin D.
Thanks
Kevin D.
'VLC 1 9 6 50',$0D
1 is my master 9 is my station 6 is my button on my phantom keypad. Does any of this seem not right?
You also don't need the [CR] when sending a pass-through command, but do need the pass-through initiator:
Try:
SEND_COMMAND VANTAGE, " '>:VLC 1 9 1 50' "
Kevin D.
Thanks Kevin D
One last question...I hope. Does it matter that the keypad I am trying to control is a phantom. In otherwords the phantom dimmer I control is only in the Vantage program and not a physical keypad or dimmer. So my button 6 on station 1 controls the light connected to an RF dimmer at station 98. So...I though I could just control the phantom keypad and set a level to that button and then that would set the level of the load on station 98. But maybe that is not possible. Hope my intentions are clear enough. Thanks again.
You have to separate buttons from loads. A button on a keypad can control any load, and you can control any load from AMX. But, if you control a button from AMX you're only going to do what that button can do.
Controlling a button from AMX is emulating someone physically pushing that button. While you can have phantom dimmers, that load doesn't exist. All your phantoms should really be just keypads anyway.
So if you want to have full control of the load, you have to talk to the load. So the commands for load 1 on RF dimmer 98 would be:
SEND_COMMAND VANTAGE, " '>:VLC 1 98 1 50' "
You're really only going to use that when you need to do something explicit to that load.
For most things (light on/off, standard dimmer, all offs, etc) you can just create a phantom keypad and point to a button.
Kevin D.
If I am using the duet module, does anyone know how to force AMX to poll for the status of a lighting load. I see in the help doc AMX sends a command of "STATUS ALL" every 5 seconds. However that does not seem like it really gets the load status.
When I turn on a light from the AMX module, I get the correct feedback. However when I turn off that same load from a vantage lighting keypad, the AMX module still thinks the light is on...even if I query for the light status it still says the light is on.
I am guessing when I send a ?LIGHTSYSTEMSTATE-407 is queres the module...not vantage. Can anyone confirm this or point me in the right direction?
Anyone got their hands on the new Infusion Module yet? Looks like AMX finally figured it out if this bullet point is true.
Added LED and button status command feedback
This has been missing for 2.5 years now. I just tried to download and link is broken. When going to the inConcert center, it still seems to be the older module.
I look forward to hearing results on this one.
Thanks.
testing this is a test message to see if its working
This is a bit of what I did....
The ADDSTATUS host command for the vantage needs all the VID's of each light load that you wish to monitor by the amx. I have the cLOADVID variable for this. the LISTSTATUS is just there for confirmation.
after geting the ADDSTATUS command, the vantage sends out a string every time those loads or any other VID added changes states. I add every load on the system and send them to sliders with the same level code as the VID.
The TASK 919 part is at task i created in the vantage system that ramps all the loads down to 0 over 15 seconds then restores the loads to there previous state. it triggers and resets so quickly with that 15 second ramp that no one can see a change.
I also wrote a simple API so the vantage can send commands to the AMX so I can get simple AV control (volume up, down, zone off, zone on Ect.) from vantage wall KP's. This API requires a second IP server connection to a different IP port number. I'm not confident that this is second connection is the best way but I couldn't get the vantage to send the commands over the same port as it process its host commands.
Ok, I have rambled enough but I'm happy to ramble more if anyone wants me to