Optical wireless data transfer for rotor detection and diagnostics