Skip to content

HAA Infra Red

David Dix edited this page Feb 23, 2020 · 15 revisions

Since version 1.5.0 HAA has been able to control infra-red (IR) devices. In order to do this the HAA accessory must have an infra-red transmitter.

Examples of devices that have infra-red transmitters are:

Put some examples here

Alternatively look at some examples of the Web of how to add an IR transmitter to an accessory.

Put some web links here

To understand more about infra-red transmissions and how they are used to control devices around the home refer to the following sites for more information:

How HAA supports infra-red control

IR commands consist of groups of infra-red light pulses sent sequentially. These pulses are split into marks and spaces. With marks being the period where infra-red light is transmitted and spaces being the period where no infra-red light is transmitted. A mark consists of an alternating burst of infra-red light where the light is pulsed on & off at a particular frequency. The most common frequency used by IR transmitters is 38KHz.

Manufacturers often define an IR protocol for their equipment. This protocol defines what a mark consists of and the duration of marks & spaces. Sony TV remotes use the Sony Control-S protocol for instance. For more details on IR data formats checkout this Vishay document or this IR Remote Control Theory document.

HAA supports IR control by enabling the specification of either RAW or Protocol formats for the data to be transmitted. A RAW format defines the code to send as an exact replica of a captured signal. An HAA IR Capture Tool is provided for enabling the capture of remote control codes using an IR receiver hooked up to an HAA accessory. A Protocol format defines the infra-red sequence exactly how the manufacturer intended the codes to be sent.

RAW Mode

In RAW mode the code is sent exactly as captured using the HAA IR Capture Tool. Transmitting the raw captured data is not recommended because you are using a copy of the signal and the quality of the captured signal may be degraded. Use it only if you are unable to decipher the protocol being used by the equipment. RAW mode also uses a lot more flash storage to hold the definition of the codes as you require 2 characters for each mark or space sequence.

Protocol Mode

TBD

Clone this wiki locally