Re: [LHA-misc] Sample Commands (was Line parsing routine)
Status: Beta
Brought to you by:
ncherry
From: Neil C. <nc...@ho...> - 2000-11-29 03:11:05
|
Jay Hogg wrote: > > Ok, > This is from memory and reviewing code since I can't find > my paper copy of this and my HD died in March... > > I've included 2 things inline: > - Command/Response document > - Sample XML configuration for some of my devices. This is the > "Master" defintion that controls the what/where of all devices > that can be access by the control server. > - Currently called '/usr/local/ha/conf/interface.conf' > - Used by every agent. Start the agent with an 'id' code that is > xrefed in this file to get port/address/device/password/etc. > - The "id" is the prefix to addresses from the server application > (ie ADDR="napco9600:device.domain.point") > > Sorry it is so long... I considered it as an attachment but I > know how this group likes to debate inline. If you want it as > an attachment next time just say so. I think this is fine (but I have a cable modem). BTW, it is evident that you put a lot of thought into the entire doc. Good work! I have some questions (of course). > <interface > id="ocelot" > desc="Ocelot #1 - Main" > device="//1/dev/cti4" > address="localhost:2004" > /> I noted that the ADICON relay device is seperate from the Ocelot. Is the relay controller controled by the Ocelot or is it seperate? The reason I ask is that I was wondering about sub devices. Also I noticed that each device has a seperate port are these seperate agents (daemons)? I'm working on an XML definition for the HCS and I need to get this straight in my head (this while learning about Frame Relay/ATM switches, hand off through online docs :-). -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |