-
-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
This guide walks through setting up the complete InfraFi system: the Linux daemon on your server, the Flipper Zero app, and (optionally) the Arduino transceiver.
| Item | Notes |
|---|---|
| Flipper Zero | Running firmware with external app support |
| Linux server | With IR receiver hardware (see Hardware Setup) |
| IR line of sight | Flipper to server IR window |
The daemon (infrafid) runs on the Linux server and handles receiving IR, parsing credentials, and connecting to WiFi.
Build and install:
cd daemon
make
sudo ./install.shinstall.sh will:
- Configure the IR receiver for RC-6 and NEC protocols (writes a udev rule so it survives reboots)
- Build the binary
- Install and enable the
infrafidsystemd service
Verify it's running:
systemctl status infrafid
journalctl -u infrafid -fSee Linux Daemon for full configuration options.
Build from source (requires ufbt):
# From the project root
ufbtThis produces a .fap file. Copy it to your Flipper via qFlipper or the SD card.
Install location on Flipper:
SD:/apps/Infrared/infrafi.fap
The app appears under Apps > Infrared on the Flipper menu.
If your server has no built-in CIR receiver, you can use an Arduino Pro Micro as a USB IR transceiver bridge. See Arduino Firmware for wiring and flashing instructions.
Once flashed and connected, start the daemon with the serial flag:
sudo infrafid -s /dev/ttyACM0 -f -v- Open InfraFi on your Flipper Zero.
- Select New Credentials from the main menu.
- Enter your WiFi SSID, password, and security type.
- Point the Flipper IR port at the server and press Transmit.
- Watch the daemon logs:
infrafid: received credentials: WIFI:T:WPA;S:MyNetwork;P:mypassword;H:false;;
infrafid: parsed: SSID=MyNetwork, security=1, hidden=0
infrafid: successfully connected to MyNetwork
The ACK feature sends a confirmation IR signal back from the server to the Flipper after a connection attempt. This requires IR TX hardware on the server side.
On the Flipper, go to Settings and set Wait for ACK to On.
On the server, if using a separate LIRC TX device:
sudo infrafid -d /dev/lirc0 -a /dev/lirc1 -f -vIf using the Arduino (which handles both RX and TX through the same serial connection):
sudo infrafid -s /dev/ttyACM0 -f -vThe Flipper will display the result: Connected: 192.168.1.x or Failed.
Intel NUC with ITE8708 CIR (no TX emitter):
sudo infrafid -f -v # RX only, ACK disabledIntel NUC + USB IR blaster for ACK TX:
sudo infrafid -d /dev/lirc0 -a /dev/lirc1 -f -vArduino Pro Micro (RX + TX via USB serial):
sudo infrafid -s /dev/ttyACM0 -f -vSqueezebox Touch or similar evdev device:
sudo infrafid -e /dev/input/event1 -f -vGetting Started
Components
Reference