getOnOffData() now gets real data from server.
Merge branch 'master' of https://github.com/mkni1408/PowerViz
Merge branch 'master' of https://github.com/mkni1408/PowerViz