Skip to main content

Emulate Signal

CapibaraZero is able to emulate many protocols but also RAW signal that cannot be decoded by the capibaraZero.

Upload the signals that you want to emulate in your SD under /IR/signals

Requirements

  • ESP32-S3
  • IR trasmitter
  • SD card

Signal file format

{
"protocol": 8,
"address": 32989,
"command": 151,
"number_of_bits": 32,
"extra": 0
"decoded_raw_data": 1754759389,
"raw_len": 3,
"raw_data": [
181,
44,
11
]
}

Protocol number:

KeywordProtocol Number
NEC8
NEC29
Onkyo10
Apple
Denon4
Sharp22
Panasonic11
Kaseikyo12
Kaseikyo Denon13
Kaseikyo JVC15
Kaseikyo Mitsubishi16
Kaseikyo Sharp14
Kaseikyo12
JVC5
LG6
LG27
RC517
RC618
Samsung19
Samsung4821
SamsungLG20
Sony23
Pulse Distance2
Pulse Width1
BoseWave25
Bang & Olufsen24
Lego26
FAST29
Whynter30
MagiQuest

Address and Command

Address and command is required for the following protocols: NEC, NEC2, Onkyo, Denon, Kaseikyo(all vendors), LG, LG2, Panasonic, RC5, Samsung(all), Sharp and Sony

Number of bits

Number of bits is required for the following protocols: Bang & Olufsen, JVC, Lego, RC6 and Whynter

Extra

Extra is required only for Kaseikyo

Decoded Raw Data

Decoded raw data is required for the following protocols: Bang & Olufsen, JVC, Lego, RC6 and Whynter

Raw length

Raw length is required by Pulse Width, Pulse Distance and RAW signals.

Raw data

Raw data is required by Pulse Width, Pulse Distance and RAW signals.

Signals list

[
{
"protocol": 8,
"address": 32989,
"command": 151,
"number_of_bits": 32,
"extra": 0
"decoded_raw_data": 1754759389,
"raw_len": 3,
"raw_data": [
181,
44,
11
]
},
{
"protocol": 9,
"address": 32989,
"command": 159,
"number_of_bits": 32,
"extra": 0
"decoded_raw_data": 1754759312,
"raw_len": 3,
"raw_data": [
181,
44,
15
]
}
]

CapibaraZero's signal emulator supports also array of signals like the one above. It will sends all the signals in the array consecutively.

Notes

IR signals captured by the capibaraZero have all of this property even though they are not used.

Protocols that doesn't support one or more properties like RAW or Pulse Width/Distance have unused property set to 0.

If you are creating a signal it's better to not include unused properties.

IRDB

You can find capibaraZero's IRDB at the following link

Contributions are welcome! If you capture a signal that are not available in capibaraZero's IRDB, you can upload it under the IRDB github repository by opening a pull request after forked the repo and uploaded the IR file under the right category.

How to emulate an IR signal?

  • Go to the IR section
  • Select Emulate Signal
  • Select file that you want to emulate
  • The capibaraZero will transmit the signal through the IR emitter

If you have a list of signals the operation can take some times