<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1540" Guid="{481DB988-E5C3-4BDD-915D-B4A75E4BFB79}" Time="1315564679.94">
    <Autostart Name="Autostart" Expanded="True">
        <Plugin Identifier="X10_CM15A" Guid="X10-CM15A" File="X10-CM15A">
            gAIpLg==
        </Plugin>
        <Plugin Identifier="Speech" Guid="{76A1638D-1D7D-4582-A726-A17B1A6FC723}" File="Speech">
            gAIpLg==
        </Plugin>
        <Plugin Identifier="Timer" Guid="{6149CA99-1FCD-4450-9160-7543BC20CFD3}" File="Timer">
            gAIpLg==
        </Plugin>
    </Autostart>
    <Folder Name="X10_CM15A" id="6" Expanded="True">
        <Macro Name="A2 motion" id="17" Expanded="True">
            <Event Name="X10_CM15A.Recv, RF, A2, On" />
            <Event Name="X10_CM15A.Recv, RF, A2, On, 0" />
            <Action Name="Speech: Speak: motion detect, front garage door">
                Speech.TextToSpeech(u'Microsoft Mary', 0, u'motion detect, frontt gaa-raahj door', 0, 100)
            </Action>
            <Action Enabled="False">
                X10_CM15A.TransmitX10(1, 2, 1, 0, 0)
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'Pump', 0.0)
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(17))
            </Action>
        </Macro>
        <Macro Name="A3 motion" id="24" Expanded="True">
            <Event Name="X10_CM15A.Recv, RF, A3, On" />
            <Event Name="X10_CM15A.Recv, RF, A3, On, 0" />
            <Action>
                Speech.TextToSpeech(u'Microsoft Sam', 0, u'motion detect, A3', 0, 100)
            </Action>
            <Action Enabled="False">
                X10_CM15A.TransmitX10(1, 2, 1, 0, 0)
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'Pump', 0.0)
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(24))
            </Action>
        </Macro>
        <Macro Name="A4 motion" id="31" Expanded="True">
            <Event Name="X10_CM15A.Recv, RF, A4, On" />
            <Event Name="X10_CM15A. Recv, RF, A4, On, 0" />
            <Action>
                Speech.TextToSpeech(u'Microsoft Mary', 0, u'motion detect, basement', 0, 100)
            </Action>
            <Action Enabled="False">
                X10_CM15A.TransmitX10(1, 2, 1, 0, 0)
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'Pump', 0.0)
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(31))
            </Action>
        </Macro>
        <Macro Name="A5 motion" id="38" Expanded="True">
            <Event Name="X10_CM15A.Recv, RF, A5, On" />
            <Event Name="X10_CM15A. Recv, RF, A5, On, 0" />
            <Action Name="Speech: Speak: motion detect, front door">
                Speech.TextToSpeech(u'Microsoft Sam', 0, u'motion detect, front door', 0, 100)
            </Action>
            <Action Enabled="False">
                X10_CM15A.TransmitX10(1, 2, 1, 0, 0)
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'Pump', 0.0)
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(38))
            </Action>
        </Macro>
        <Macro Name="A6 motion" id="45" Expanded="True">
            <Event Name="X10_CM15A.Recv, RF, A6, On" />
            <Event Name="X10_CM15A.Recv, RF, A6, On, 0" />
            <Action Name="Speech: Speak: motion detect, garage">
                Speech.TextToSpeech(u'Microsoft Mary', 0, u'motion detect, gaa-raahj', 0, 100)
            </Action>
            <Action Enabled="False">
                X10_CM15A.TransmitX10(1, 2, 1, 0, 0)
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'Pump', 0.0)
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(45))
            </Action>
        </Macro>
        <Macro Name="A7 motion" id="52" Expanded="True">
            <Event Name="X10_CM15A.Recv, RF, A7, On" />
            <Event Name="X10_CM15A.Recv, RF, A7, On, 0" />
            <Action Name="Speech: Speak: motion detect, deck">
                Speech.TextToSpeech(u'Microsoft Mary', -1, u'motion detect, deck', 0, 100)
            </Action>
            <Action Enabled="False">
                X10_CM15A.TransmitX10(1, 2, 1, 0, 0)
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'Pump', 0.0)
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(52))
            </Action>
        </Macro>
        <Macro Name="A8 motion" id="59" Expanded="True">
            <Event Name="X10_CM15A.Recv, RF, A8, On" />
            <Event Name="X10_CM15A.Recv, RF, A8, On, 0" />
            <Action Name="Speech: Speak: motion detect, patio">
                Speech.TextToSpeech(u'Microsoft Mary', 0, u'motion detect, pattee-oh', 0, 100)
            </Action>
            <Action Enabled="False">
                X10_CM15A.TransmitX10(1, 2, 1, 0, 0)
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'Pump', 0.0)
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(59))
            </Action>
        </Macro>
        <Macro Name="System active" Expanded="True">
            <Event Name="System.UnIdle" />
            <Event Name="Task.Activated.EventGhost" Enabled="False" />
            <Action Name="Speech: Speak: system active">
                Speech.TextToSpeech(u'Microsoft Mary', -1, u'system active {TIME}', 0, 50)
            </Action>
            <Action Name="Timer: Pump">
                Timer.TimerAction(u'PumpTimer', 0, 0, 300.0, u'Pump', False, False, 0, u'00:00:00')
            </Action>
        </Macro>
        <Macro Name="X10_CM15A: Pump Events" Expanded="True">
            <Event Name="Timer.Pump" />
            <Event Name="Pump" />
            <Action>
                X10_CM15A.PumpEvents()
            </Action>
            <Action Name="Timer: Clear">
                Timer.TimerAction(u'ClearTimer', 0, 1, 4.0, u'Clear', False, False, 1, u'00:00:00')
            </Action>
        </Macro>
        <Macro Name="X10_CM15A: Clear Events" Expanded="True">
            <Event Name="Timer.Clear" />
            <Action>
                EventGhost.FlushEvents()
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(6))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(17))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(24))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(31))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(38))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(45))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(52))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(59))
            </Action>
        </Macro>
    </Folder>
</EventGhost>
