GPIO IR remote not working

I am very new to raspberry pi. I am attempting to setup an ir remote. I have been able to make a configuration file for the remote and it appears in my osmc however it does not work. When I run mode2 -d /dev/lirc0, it receives information. When I run irw there is nothing. Anyone have an idea of what I am doing wrong. This is on an rpi1.