Clientside code for the home power tracking software