There is an AVR-5800 excel spreadsheet/ccf in the Classic Pronto Files section that contains the IR code for Dimmer. I don't recall off the top of my head what it is and am not at a machine where I can find the code but I know where I originally got the code.