I've just moved the power jumper to use external 5V, powered up with the 24V supply and USB and everything seems to work ok! I'll find a 5V supply and a relay and hook them up so i can control the 24V from the web interface.

There's obviously something damaged with the VIn to 5V circuitry but I'm happy enough with this workaround.

Thanks for all your help