Sending remote control commands

Some months ago I got an IR blaster working for me which I described in detail here. Maybe it gives you some hints that are helpful.