GithubHelp home page GithubHelp logo

sanchezjjose / fujitsu_ir Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattjm/fujitsu_ir

0.0 1.0 0.0 30 KB

LIRC configuration file to allow infrared remote control of Fujitsu ductless (mini-split) units.

License: MIT License

fujitsu_ir's Introduction

#Fujitsu Ductless LIRC Remote

##Overview

This LIRC configuration file implements most of the functionality of many of the infrared remotes for Fujitsu ductless (mini-split) heat pumps and air conditioners. I've confirmed by testing codes transmitted by the following remotes:

  • Fujitsu AR-REG1U

I've tested the codes against the following Fujitsu indoor units:

  • ASU7RLF1

##Supported Commands

The following functions are implemented:

  • Heat mode. Auto, quiet, low, medium, and high fan speeds. Temperatures 60F through 76F, in two degree increments.
  • Cool mode. Auto, quiet, low, medium, and high fan speeds. Temperatures 64F through 88F, in two degree increments.
  • Dry mode. Auto, quiet, low, medium, and high fan speeds. Temperatures 64F through 88F, in two degree increments.
  • Fan only mode. Auto, quiet, low, medium, and high fan speeds.
  • Minimum heat.
  • Off.

##Installation

This will run under a vanilla LIRC install. I've been using it on a Raspberry Pi with a homebuilt transmitter running off the GPIO pins, but any off the shelf transmitter that's LIRC compatible should work (I don't know if any of these transmitters choke on codes longer than 128 bits--if they do they won't work with these codes). Once LIRC is running, install the lircd.conf file (or copy contents over if you need other remotes). Don't forget to restart lircd after changing the config file.

I have my Raspberry Pi sitting under the indoor unit and use cron to schedule irsend commands. My transmitter is very similar to this one:

http://alexba.in/blog/2013/03/09/raspberrypi-ir-schematic-for-lirc/

Except I only have one LED.

##Usage

Use irsend to send the appropriate commands. The general command form is:

mode-fan_speed-temp

e.g.

heat-auto-68F

So the typical irsend command would be:

irsend send_once fujitsu_heat_ac heat-auto-68F

IMPORTANT: For any of the heat mode commands you can send them if the unit is on or off. For any of the other modes, the unit must be on before you can send commands for that mode. For convenience, I've provided "cool-on", "dry-on", and "fan-on" commands So you can start in the appropriate mode before selecting the temp and fan speed you want. cool-on and dry-on turn on the unit with auto fan speed and 88F temp. fan-on starts the unit with auto fan speed. Example usage:

irsend send_once fujitsu_heat_ac cool-on
sleep 2
irsend send_once fujitsu_heat_ac cool-high-70F

(sleep puts a two second delay between the commands)

##Metric

You can use the Celcius commands by using lircd_celcius.conf file instead of lircd.conf.

List all available commands with:

irsend LIST fujitsu_heat_ac ""

Example usage:

irsend send_once fujitsu_heat_ac cool-high-21C

##Commands

Details on which commands and parameters are available.

###Special Commands:

Name Description
dry-on Sends command to turn on unit in dry mode
cool-on Sends command to turn on unit in cool mode
fan-on Sends command to turn on unit in fan mode
turn-off Sends command to turn off unit
min-heat Sends command for minimum heat mode (works if unit is on or off)

###Normal Commands:

In all commands below, fan speed is to be replaced with one of the following values:

  • auto
  • high
  • medium
  • low
  • quiet

and temp is to be replaced with one of the following range of values, depending on mode:

Mode Temp
dry 64F to 88F
heat 60F to 76F
cool 64F to 88F
fan NA

example: cool-high-72F

Name Description
heat-fan speed-temp Sends command to turn on unit in heat mode with the specified fan speed and temp (works if unit is on or off--if unit is on the command will just change the fan speed and temp as specified)
cool-fan speed-temp Sends command to enable cool mode with specified fan speed and temp (unit must already be on)
dry-fan speed-temp Sends command to enable dry mode with specified fan speed and temp (unit must already be on)
fan-fan speed Sends command to enable cool mode with specified fan speed (unit must already be on)

##Errata

  • Note that in heat mode the units will heat up to 88F, but I've only included commands up to 76F. Auto fan speed in heat mode supports up to 80F.
  • Temperature doesn't matter in fan mode but we send a value of 64F since we have to send something.
  • I have no plans to implement "auto" mode or swing at the moment.

##Acknowledgements:

Thanks to the good folks on the LIRC mailing list for advice on how to approach this (particularly Alec Leamas and Bengt Martensson). I have liberally used AnalysIR and IrScrutinizer to figure this stuff out and/or generate the appropriate codes. This document from dabrams on remotecentral.com was also invaluable:

http://old.ercoupe.com/audio/FujitsuIR.pdf

fujitsu_ir's People

Contributors

mattjm avatar funkyremi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.