-
Notifications
You must be signed in to change notification settings - Fork 167
11 INFRARED
Geo edited this page Sep 17, 2025
·
24 revisions
This mode allows communication using infrared signals to send and receive remote control commands.
It supports sending specific codes, learning signals from remotes, broadcasting Device-B-Gone codes, protocol selection, and configuration of TX/RX pins.
| Command | Description |
|---|---|
send <dev> <sub> <cmd> |
Send an IR command with current protocol, device, sub-device and command |
receive |
Listen for incoming IR signal and decode it |
setprotocol |
Choose from 83 supported IR protocols (NEC, Sony, RC5, etc.) |
devicebgone |
Send a sequence of IR commands to power off TVs, projectors, boxes... |
remote |
Launch an interactive shell to universal remote control features |
load |
Load and select remote .ir files from the LittleFS storage
|
replay [count] |
Records up to 64 frames and replay them with original delays in between |
config |
Configure IR TX and RX pins |
The load command uses infrared remote files from the Flipper IRD DB.
-
Upload the file(s)
In the Web UI, open Files → LittleFS and drop your.irfiles. -
Load from the device
In INFRARED mode, run:load
- Pick a
.irfrom the list. - You can send frames by selecting the index.
- Pick a
-
Send
Use the file’s metadata (frequency, preset, protocol) to send the command.
If multiple commands are present, you can iterate and replay as needed.
-
senduses the current protocol defined insetprotocoland repeats the command 3 times. -
receivecontinuously listens for IR signals and displays the protocol + data when valid. -
devicebgoneloops through a list of known "off" commands from 83 common IR protocols. -
remoteopens an interactive menu to blast common keys (VOL, MUTE, POWER...) across many protocols (200 commands per action). -
replayasks you to record frames, once it's done, press ENTER to replay them. Optional replay count. -
setprotocoldisplays a list of all available protocols and lets you choose one, it will be used withsend. -
configallows you to set which GPIOs are used for IR transmit (TX) and receive (RX). -
loadworks with.irfiles from https://github.com/Lucaslhm/Flipper-IRDB - See https://github.com/probonopd/irdb for a massive database of IR remotes (
devicesubdevicefunction) to use with thesendcommand
mode infrared
config # Set TX and RX pins
setprotocol # Select a protocol (e.g. NEC, Sony)
send 0 0 64 # Send command (device=0, sub=0, command=64)
receive # Wait for and decode IR signals
remote # Open an universal remote shell
replay # Records up to 64 IR signals and replay until ENTER is pressed
load # Load .ir remote files from the NVS and select the one you want
replay 10 # Records up to 64 IR signals and replay 10 times or until ENTER is pressed
devicebgone # Try turning off all nearby devices

⚠️ Voltage Warning: Devices should only operate at 3.3V or 5V.
Do not connect peripherals using other voltage levels — doing so may damage your ESP32.