An innovative cost-effective smart meter with embedded non intrusive load monitoring