Plumbing – How to get a wrench into this location to remove this nut

plumbing

How do I remove the nut from this vertical motorised valve in the following picture:

enter image description here

The valve itself is a few mm next to the pipe and I have tried quite a few tools to remove this and nothing works. I also can't get any tools behind it either so I'm out of ideas.

They somehow built this thing so someone tightened those nuts so they must be able to loosen it's just I can't see how.

The valve here is making a screeching noise at times when opening so I want to replace it.

Best Answer

Remove the valve motor (and housing), then you have access to the fitting.

enter image description here

Possibly you won't need to remove the valve itself, and the noise comes from the motor.