Home network has become a mainstream in our society. HAC (Home Automation Controller) and HASP (Home Automation Service Platform) are developed to construct a home automation environment. HAC UPnP Device Generator dynamically generates UPnP devices to represent traditional home devices. HASP provides service integration, service composition and remote management. Moreover, HAC and HASP provide better compatibility for those who follow the open standards, UPnP and OSGi.