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

  • Paul Campbell: I'm old enough that I started programming with punched cards .... each card had a sequence number in the last few characters. A friend once...
  • Ian: test comment on /blog/ page
  • ian: No, that's exactly how it should be :) Sorry about missing names on comments, the theme is being reworked as we speak.
  • J. Peterson: Nice writeup. It looks like some of the formatting for your command examples needs some missing newlines?
  • Geert Jordaens: I'm not sure what kind of licensing I have to add since it is a fairly straight forward implementation of the adaptive Huffman Decoding. For...