Thanks for replying. In photos below, the connector that doesn't plug into anything is shown (Bottom right in first image).
After removing, refitting and connecting everything up again last night it does work now, at least the motor assistance kicks in when you pedal. The lights do not work...