If you were going to purchase a controller to do this, the Adicom 2500 may be one to look at. It is only 159.00 and can do all this:
Receive IR codes like the IR543 (16 more and any code will work)
Turn that IR into X-10 signals (all 256), X-10 macros, IR commands and IR macros (learns up to 512 IR codes).
Turn X-10 into X-10 macros and into IR macros!
It has as PCS programmed dimming built into it
It has time, date, season, sunrise sunset knowledge
Available are several upgrades to allow 16 IR outs, relay expanders and input status for IF, THEN, ELSE logic
Much, much more
Check it out at www.smarthomeinc.com
(note the INC)