Wireless sensor network for electric energy consumption submetering