We have been listening for a long time to the wide functionality that home automation technologies can offer for improving our lives and adding security to our houses. However the price and an unstable domotics market have restricted the deployment of such systems. Nowadays, companies offer too technology-dependent solutions which do not cover user demands completely. Meanwhile, works in the literature focus on small innovations on specific parts of home automation systems, which do not consider integration and deployment issues in order to present practical designs. The system presented in this work considers user requirements, including novel advances, all in an integral home automation solution suitable for many services. The modular nature of the architecture allows direct adaptation to specific cases using standard domotic technologies, for managing in-house devices, and a proposal of an IP-based network for connecting the main home automation module with the rest of platform elements. A remote security system has been developed and managing tasks are enabled by in-home control panels and an advanced 3D application for local/remote homeowner access. The system has been deployed on a prototype house, where a wide set of domotic services have been tested. Moreover, the range of indoor pervasive applications has also been extended to eHealth, elderly adaptation, greenhouse automation and energy efficiency.