Thanks for that.
To clarify, by 'isolated from mains' you mean a power source that is not coming from the home AC? If I was using an AC to DC adapter to power the Arduino that would be undesirable? If I was using a phone USB AC adapter and powering it from the USB that would also be a problem?
I was considering powering it via a 9v battery so I could do that if a safer option.