I just bought a new doorbell transformer (24V 40VA), to replace for current one (10V 5VA) because I bought a video doorbell.
I'm don't have any experience with electricity but I'm willing to learn (please bear with me). So I was hoping it was going to be an easy swap old for new.
Unfortunately what I see is a transformer going through an electrical outlet and no wire colors.
My concern is the wiring the new transformer properly. The new transformer new transformer has the Hot(black), Neutral(White), Ground(Green) wiring. When I disconnect the disconnect the old transformer from the sides of the outlet, how can I tell where to connect the Black and White wires? In the picture of the old transformer, they are both black!
Any advice would be appreciated!
-M
=====================================
UPDATE:
Thanks all for your prompt feedback!
Just so I am being clear... I was just hoping to replace the old one with this new one.
I hope this new diagram better illustrates what I'm thinking:
I was thinking of running the the White wire from the new transformer to the silver screw on the outlet.
Running the the Black wire from the new transformer to the brass screw on the outlet.
Lastly running the Green wire from the new transformer to the ground screw on the outlet (pigtail it?).
Do you see any issue(s) with my setup? Thanks again!