Rotate threaded nut counterclockwise. It may be necessary to hold the infrared sensor from the back. 

Image
Remove nut on infrared sensor