on.off:
Read in on/off log and Identify on/off Times in Second-by-Second AP Events File
Description
This function reads in on/off log and marks on/off time in sec-by-second file. On/off log must be in correct format. A column named "off" will be added to the second-by-second file. 1 indicates the device is off and 0 indicates the device is on.