Oh, thanks for that, I want to do something similar and that's filled in blank spot.
I had performed some very quick experimentation with IR and discovered a truly massive sequence that my Panasonic aircon remote kicks out when pressing buttons. It seems that the state of fans, temperature, mode, angle of louvres etc (which is displayed on the LCD of the remote) is actually sent every time you change one little thing. I had a quick look for an arduino library but seemed to miss the one you're using. The guy who made it also discusses arbitrary IR commands in this blog post I see:
App inventor is an interesting idea, I hadn't paid much attention to it. I've been using a combination of Tasker and SL4A (with Python again) to do things like that to reasonable effect. I made an RGBW wireless alert/ambience light which I can control from my phone (and the phone tells the light when I've got texts, IM, emails etc, if it's running low on battery etc) but selecting an ambient colour is a bit of a hack. I use a stand alone app that has a colour wheel and will copy a hex value to the clipboard, then I press a widget on my phone which sends that to the server.
I really want to be able to knock up some simple native apps to do this sort of thing directly so Java is on my list of things to do after exams... can you do that sort of thing in app inventor?
--