ESP32 Bit Pirate home
  • Infrared
  • Intermediate
  • 3 min
  • Serial CLI

Recipe · Intermediate · Infrared

How to load a Flipper IR file

If you already have a Flipper-style .ir file, Bit Pirate can load it from LittleFS and use the saved frames from the infrared mode.

Infrared remote file workflow.
Use saved .ir files as reusable remote profiles instead of manually entering every command.

Wiring View

IR TX BP TX GPIOIR LED driverVCCcorrect supplyGNDBP GND
Generated from the wiring summary: IR TX to BP.
Step 1

Commands

Run the typed commands first. If the command opens an interactive shell, select the named action from the shell menu instead of treating it as another CLI command.

Result

What success looks like

The file metadata controls protocol/frequency details. Pick one command at a time and verify the target reacts before blasting many frames.

Troubleshooting

  • Uploading the file to the wrong storage path.
  • Driving an IR LED directly without checking current limits.
  • Assuming every .ir file has only one command.
  • Forgetting to configure the TX GPIO when using a custom board.

Next steps

  • Use the Web UI or file tools to upload .ir files to LittleFS.
  • Run load in Infrared mode.
  • Use capture/receive first if you do not have a known file.

Flipper IR file FAQ

Where should I put the .ir file before loading it?

Upload the file to the device filesystem path expected by the Infrared mode and LittleFS workflow, then run load and select the saved profile from the firmware menu.

What information does a Flipper .ir file contribute?

A .ir file provides protocol or raw timing data captured elsewhere. Bit Pirate uses that stored signal description as an input for replay-oriented infrared tests.

Can I edit a .ir file manually?

Yes, but keep the format intact. A small formatting error can make the file fail to load or send the wrong signal, so keep an original copy before editing.

Go deeper