I accidently removed power supply cables from my pool pump
Advise please on what terminals to connect to. Red, Black , Earth-
Any help greatly appreciated
I think that whoever wired that in the first place was either colour blind or was running short on cable as he seems to have used whatever has come to hand!
I think you will need to get an electrician in to trace the circuit out and re-wire that little control box properly.
And without getting 'holier than though'. That is a special location in the electrical regulations, also getting it wrong could have catastrophic results.
Best take the advice above , for the sake of the users.
That SWA also needs terminating properly. The earth terminal doesn't look like it's screwed to the DIN rail properly. Just a couple of issues I have seen at a glance.
I recommend getting an electrician in to go over this and correct issues found. I imagine if it has been installed like that, it has never had any proper testing done on it and it may well be unsafe.