added bad2 and phplot2.php to reflect state var
Merge branch 'master' of github.com:hjgode/homewatch