there is an X10 wiki somewhere out there...but its pretty much exactly like programming an msxxa motion sensor if you have those...you hold down the top button and it flashes at you and then you start to press it and then it confirms. I think on is house code and off is unit code.