If you're interested in discussing how to do things from scratch, would really appreciate your feedback, notes or comments on your experiences on OpenRemote website.
Our goal is to build an open system for home automation with the ability to go from do-it-yourself model to pre-built or professionally installed setup. While waiting for open specifications (802.15.4, 6LoWPAN, etc.) to emerge, we are trying to integrate as many legacy HA systems as possible, placing an Open Source OpenRemote system as an integration layer between proprietary protocols. Currently focusing on X10, Insteon, KNX, UPnP, GC, ZigBee and Z-Wave protocols, would be interested in knowing if you have others you'd consider important to work with.
Our goal is to enable commodity hardware to be used with home automation wherever possible to reduce some high-cost points in usual installations such as buying vendor-specific wall panels. We work with iPhone, and Android-based smartphones as control devices to create integrated control panels that allow single point of control on heterogeneous systems. This is often the most highly prized and fattest margin for the existing industry players as they know that integrating HVAC, lights, A/V with all proprietary protocols leaves customers and users with little or no options.