Added Digital and Analog Inputs for measuring on/off and voltage.