<protocol>dlestx</protocol>

I got my Vera 2 last week as an early Christmas present from the wife.

I’m new to Vera, XML, lua, UPnP, Luup, etc… The end goal is to write a plugin to control my swimming pool controller. It is Goldline Controls (Hayward) AQ-CO-SERIAL Home Automation Interface Module for Aqua Logic controllers that need to communicate with Vera. As the name suggests, the module uses RS-232 to communicate. The message package begins with DLE (10H)|STX (02H) and ends with the same two characters.

After reading about Luup and searching the forum I can’t find any details on ???. Is there a dlestx for a device?

The Somfy Blind plugin uses “raw” as the protocol for the device. The commands from the I_… file appear to only be outgoing from Vera with no feedback. Also, I’m not sure what the ‘/r’ is at the end of each command. The DSC Panel plugin uses “crlf” as the protocol for the device. The Panasonic TV plugin uses “stxetx” as the protocol for the device. Is there such an animal as “dlestx” protocol for a device?

If there is NOT such an animal as stxetx protocol, what is my best option. Should I use the “raw” protocol and write functions in the I_… file to handle my unique package start/ending characters?

Any help would be much appreciated!

You’ll need to use [tt]raw[/tt], and then manage the input chars yourself.

The Onkyo does this:
http://code.mios.com/trac/mios_onkyo-media-control/browser/trunk

REF: http://wiki.micasaverde.com/index.php/Luup_Plugins_ByHand#settings