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

  • T.O.: For $29 I can get 10 STM32F1 mini boards plus external debugger, free shipping. $0.99 would get me bare microcontroller if I need own board....
  • KH: However innocent it may be, I'm not impressed by the choice made by the creator of the image. Now, I'm not the most politically correct...
  • cyk: A simple google search for "free arm ide" lists CooCox on the first page: Supports a ton of different ARM M0/3/4 micros and all...
  • Stennly: Despite the popularity of STM32s, it may not be the best place to start. As mentioned already, the Silicon Labs gecko family is cheap to...
  • Pete Juliano: Since this posting on my blog I have received an excellent suggestion on how to quickly disconnect the 48 VDC from the amp so you...