Foreign investors pull back from Indian markets; How smart homes might become more mainstream in the years ahead