Here is an example XML file for plcd.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<configuration>
<server>
<thread type="net" port="1972" />
<thread type="powerline" host="xen-host" port="1973" proto="CM11A" transport="redir" />
</server>
<appliances>
<device address="00000027" name="(C9) RR501 - Unplugged"/>
<device address="00000062" name="(A3) KR19A - Top"/>
<device address="001206d1" name="Ana Maria's Dresser Lights"/>
<device address="00120c1f" name="Ana Maria's Bed Lights"/>
</appliances>
<macros>
<macro address="0000006a" name="(A4)Leave House">
<effect address="000000e5" command="allunitsoff" delay="0" />
<effect address="00000025" command="allunitsoff" delay="0" />
<effect address="000000a5" command="allunitsoff" delay="0" />
</macro>
<macro address="ff00006a" name="(Z4)Leave House">
<effect address="00000062" command="on" delay="0" />
<condition address="000000a6" state="on" />
</macro>
</macros>
</configuration>
