It worked just fine on my mailbox and did not have to try and plug it up since it was battery operated!