Here's a photo of wires coming out of my ceiling (grey, yellow/green and black) and the wires going into a ceiling lamp (brown and blue).
So in Australia the general colouring codes go like this:
Brown: Active / hot
Green/Yellow: Earth (ground)
I didn't do the wiring in the picture, it was there when I bought the house, but when putting up new lights I want to make sure it's done right.
Obviously this is a sloppy job with the ground wire missing!
My question is: The grey and black coming out of the ceiling, which is active/hot and which is neutral?
For obvious reasons I don't want to invert the phase by switching around hot and neutral.