Smart power management system for home appliances and wellness based on wireless sensors network and mobile technology