Index

X10

  1. Description
  2. Configuration
  3. Events
  4. Example

Interface to X10, control over mains.

Description

This event handler responds to events by issuing X10 commands to a CM X10 interface, it also monitors the CM interface for X10 commands issued elsewhere and turns them into events that can be processed.

Configuration

This event handler has the following parameters:

For each mapped event there can be one or more X10 commands, these are:

Each of the above has at least a house and device code attribute. The ChannelDim also has a level attribute and may have the up attribute to indicate a dim up instead of dim down

Events

The event interface also listens for X10 commands issued from elsewhere on the mains wiring and turns them into events for later processing. These events hve the event type of: http://id.webbrick.co.uk/events/X10 refer to event documentation for further details.

Example

<?xml version="1.0" encoding="utf-8"?>
<eventInterfaces>
    <eventInterface module='EventHandlers.X10' name='X10' serialPort='com9'>
        <eventtype type="">
            <eventsource source="time/second" >
                <event>
                    <params>
			<testEq name="second" value="0"/>
                    </params>
                    <channelOn house="A" device="1"/>
                </event>
                <event>
                    <params>
			<testEq name="second" value="30"/>
                    </params>
                    <channelOff house="A" device="1"/>
                </event>
                <event>
                    <params>
			<testEq name="second" value="15"/>
                    </params>
                    <channelDim house="A" device="2" level="22" up="yes"/>
                </event>
                <event>
                    <params>
			<testEq name="second" value="45"/>
                    </params>
                    <channelDim house="A" device="2" level="22"/>
                </event>
            </eventsource>
        </eventtype>
    </eventInterface>

</eventInterfaces>