I’ve ordered all the parts to build a DIY universal remote following the directions at opensourceuniversalremote.com.

Universal Remote HW Universal Remote SW

Source for images: alexba.in