I used to be a electrician in a forma life but now a software engineer but you will find that the earth is common with the neutral so for your electronics to work you can connect the earth to the neutral you should find that this will work. So just take a wire from your earth connection to the neutral in the unit (https://en.wikipedia.org/wiki/Ground_and_neutral)