It's standard practice to use a motor contactor 'K1', with a thermal overload relay 'F2', to control such a motor.
Here's the schematic.
'F1' is a miniature circuit breaker for short circuit protection.
The contactor coil is energised by the 'NO' contact of the WiFi switch 'K11'.
Should there beIn the event of an overload, the 'NC' contact of 'F2' trips the motor.