Thanks for the suggestion. However, the current Comcast Xfinity boxes
and remotes communicate by RF at 315 MHz in the U.S., not by infra-red.
There is no "sensor" on any surface of the box (except for some sort of
antenna inside). The function of the infra-red window on the front of
the remote is to communicate with peripheral devices, e.g. TV, home
theater receiver, DVD, etc. that you may choose to pair with the remote.
I just proved this to myself by fully obstructing the infra-red window
by pressing the remote firmly against my shirt and turning my back on
the box. All key press commands for the box worked just fine but I
couldn't turn the TV off unless I provided an unobstructed line of sight
path between the front of the remote and the sensor on my TV.