Optical Sensors on MQ Automation