The reason for the motor not kicking in as you put it, is most likely the the PAS sensor or magnet is not aligned correctly. It is found on the bottom bracket and often behind the chain wheel.
Check the sensor fitting is firmly fitted and not loose, check the magnet disc is also firm on the...