Relay wiring help/confirmation?

The small terminals connect as you stated; the relay should be powered with 5V.

The middle screw terminal is your "hot" 240V line. For the remaining screw terminals, one is normally open when the relay is off and one is normally closed. The white printing near those terminals shows that (going by the picture) the terminal closest to the camera is normally closed ("on") and the farthest one is normally open ("off").