Detection of washer's completion with IR sensor?

There is probably no IR. Use an LDR ? Or go inside to read the wires?