Topics...

X-10

Purpose

Provide a xAP interface to a CM12U X-10 controller. There are significant subtleties in writing a generic X-10 schema which are not addressed here - this is very quick and dirty.

Target Schema

Device On


xap-header
{
v=12
hop=1
uid=FF123400
class=xap-x10.request
source=acme.my.controller
target=rocket.cm12u.home
}
xap-x10.request
{
command=on
device=L1
}

Device Off


xap-header
{
v=12
hop=1
uid=FF123400
class=xap-x10.request
source=acme.my.controller
target=rocket.cm12u.home
}
xap-x10.request
{
command=off
device=L1
}

Device Dim


xap-header
{
v=12
hop=1
uid=FF123400
class=xap-x10.request
source=acme.my.controller
target=rocket.cm12u.home
}
xap-x10.request
{
command=DIM
device=L1
count=100
}

Device Bright


xap-header
{
v=12
hop=1
uid=FF123400
class=xap-x10.request
source=acme.my.controller
target=rocket.cm12u.home
}
xap-x10.request
{
command=bright
device=L1
count=50
}

Notification Schema


xap-header
{
v=12
hop=1
uid=
class=xap-x10.event
source=
}

xap-x10.event
{
event=on|off|dim|bright|all_lights_on|all_lights_off
|all_units_off
device=L1
count=nn (only for dim/bright events)
}

Related...

 

 

Copyright (c) 2002-2006 Patrick Lidstone unless otherwise stated.
All rights reserved.