Home automation with LAMP stack and ZigBee devices