An Automatic State Detection Algorithm for Non-intrusive Load Monitoring | IEEE Conference Publication | IEEE Xplore