Integration with xpl/home automation

Has anyone tied their FreePBX into Misterhouse or some other home automation program? If so, can you post your ideas - what you’ve done, how, (why) etc?