If you have a windows PC available then the Broadlink Manager is normally the easiest way to capture codes: