Lirc remote via GPIO IR times out

I’m running OSMC October 2015.2015-10-1 with a generic infrared remote control using lirc and a GPIO infrared receiver.
The remote has been working up to now and it works fine just after OSMC boots. IF I leave the system alone for a while then the IR remote stops working (though OSMC continues to respond to the Kodi remote on my iPhone).

Any ideas why the remote just stops working?

Here is the content of my lirc conf file:

begin remote

name /home/osmc/lircd.conf
bits 16
eps 30
aeps 100

header 9105 4482
one 616 1647
zero 616 512
ptrail 623
repeat 9094 2213
pre_data_bits 16
pre_data 0xFF
gap 108419
toggle_bit_mask 0x0

  begin codes
      KEY_FASTFORWARD          0x02FD
      KEY_REWIND               0x22DD
      KEY_VOLUMEUP             0xA857
      KEY_VOLUMEDOWN           0xE01F
      KEY_PLAYPAUSE            0xC23D
      KEY_UP                   0x18E7
      KEY_DOWN                 0x4AB5
      KEY_RIGHT                0x5AA5
      KEY_LEFT                 0x10EF
      KEY_OK                   0x38C7
      KEY_STOP                 0x42BD
      KEY_BACK                 0x30CF
  end codes

end remote

Have the same problem. Did you ever get it to not fall asleep?

I found that my infrared receiver on my Raspberry Pi wasn’t working properly. I replaced it and added a capacitor on the power lines right by the sensor and it’s been working well ever since.