A Low Cost and Flexible Power Line Communication Sensory System for Home Automation