IR receiver problem

For my project I have an IR receiver that turns a relay on and off and the relay is conected to a 220v lamp. Everything works correctly when I point the tv controller at the receiver from close but when I do it from about 2 m it doesnt work.

I assume you have good batteries?


And the receiver has the same center frequency as the remote... Leo..