Controlling a heat pump with Raspberry Pi and USB IR Toy

Posted on Friday, August 2nd, 2013 in how-to, Infrared toy by DP

Here’s a video from Chris LeBlanc  showing how to control a heat pump using a Raspberry Pi and USB Infrared Toy:

A quick demo showing how to control a heat pump (or any IR device) using a Raspberry Pi, an IR Toy* from Dangerous Prototypes, a Google Calendar, and a bit of Python code.

I’ve recorded a bunch of IR codes from my heat pump’s remote control and stored them in a file on the Raspberry Pi. I then added a simple cron job to poll a Google Calendar once every five minutes. When it gets an event it transmits the code (eg: 20) to the heat pump using the IR toy. All of these steps are described on the project’s wiki.

You can get IR Toy v2 for $22.05, including world wide shipping.

This entry was posted on Friday, August 2nd, 2013 at 9:01 pm and is filed under how-to, Infrared toy. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “Controlling a heat pump with Raspberry Pi and USB IR Toy”

  1. theyoungstone says:


    I am trying o do the same thing.
    I already have th Raspberry Pi and the USB Infrared Toy v2.
    You are saying that “All of these steps are described on the project’s wiki”. Can you please give the URL of the Wiki?
    Thank you.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Pekka Akselin: This is ridiculous!? :-) We are back at 256(!) byte EPROMs that needed multiple, a handful, of voltages to run! :-(
  • KH: Let's try a back-of-envelope calc balancing energies. From MCP1700 datasheet, there are graphs for a 200mA load step. Estimate the energy shortfall as 12uJ. Say...
  • Daniel: It's been a week and my comment is still awaiting moderation. Apparently the CIA doesn't want their involvement known?
  • KH: Agree, so okay, I guess he must have learned from somewhere. 100nF and 1000uF is so far apart, that was jarring; it's more magic incantation...
  • Max: I have a suspicion the hefty electrolytic cap might be some sort of cargo cult carry-over from other RF-based projects - for instance, I've seen...