Controlling a Fujitsu heat pump/air conditioner with Home Assistant over IR

I have some of those mini-split Fujitsu heat pumps in my house that have infrared (IR) remote controls. This post explains how I set up my smart house to be able to automate the heat and air conditioning with a raspberry pi and Home Assistant.

The Home Assistant control panel

In a past residence, I had done something similar with a portable floor-unit A/C, and that post really is a prerequisite to this one. See: Adding IR send and receive capabilities to my home-assistant based smart home

Given that exact IR LED setup (the receive circuit is not necessary), I had to find the lirc configuration for the air conditioner. This time, one already existed. I loaded up the config from that repo into my /etc/lirc/lirc.config.d/ directory and renamed it to fujitsu.conf and restarted the lirc daemon.

Then I tested it out while pointing the IR led at the wall unit:

“Beep beep!” Nice. It totally works.

So then I hopped into Home Assistant configuration and made some input_selects and an input slider to specify the operation mode, fan mode, and target temperature:

Then we need some templated shell commands to package up the values of the input selects/sliders and send them off to the raspberry pi and then to lirc.

And then I just added those new entities to Lovelace using the GUI, as shown at the top of the post.

Finally I just made sure the LED from the raspberry pi was in a place where it had good line of sight with the unit, and that was that!

I’ll add some automations to turn the temperature up and down at night later on, but so far I’m pretty happy with this.

Leave a Reply

Your email address will not be published. Required fields are marked *