Relays are used to allow a lower amp control circuit to switch a high amp load depending on what your motor pulls and what your Pv switch can handle amp wise you could potentially do without the relay. Also sensitivity of the switch may be an issue would
A dark cloud cause it to close?