I do similair thing with the control panles on my routers but it just checks Mach led's and turns on/off outputs accordingly to whats active. I use 24V led's which the Outputs turn on/off directly.

Click image for larger version. 

Name:	IMAG1020.jpg 
Views:	282 
Size:	160.7 KB 
ID:	18900