restored index.erb
restored index.erb
added js to make light icons turn off and on, need to work on it some more to build the string for the serial output.