I need help to merge IR and serial both

Hi @J-M-L i need little help in my new project, can you please help? Link: I need littlehelp for my project