If I wanted to automate my house the last things I would use is PHP or COM or even mIRC sockets or mIRC anything. I'd use the right tool for the right job, a PLC unit such as Clipsal C-Bus, etc. I don't know why you maintain this fixation with mIRC becoming a conglomerate of computer management technologies when you know as well as I do that it's a mere pipedream and always will be.