Sections
MD

Binding a camera to a station

Forpilotsfield integrators

A bind turns one camera and one ground station into a kit. It is not a list of settings you match by hand: it is one link property with two copies, and the station writes the camera's copy in a single act. Until they match nothing crosses the radio, because every packet is encrypted.

For a WiFi kit you need the WiFi path and, if the camera is paired to another station, Getting a camera back. The rest of the page is for when a bind breaks, and the integrator sections can be skipped on a first kit.

Bind from the screen you fly on. On a kit with a pilot's laptop running Sokil (Sokil on the pilot's laptop), that is http://127.0.0.1/: an Ethernet or Starlink aircraft binds straight to the laptop, and a WiFi camera's bind at the radio head is driven from the same screen, so the pilot's seat does not move mid-bench. Which box a camera may pair with is not a preference, though - a station binds only what it can receive, which is what the next sections are about. A camera behind a radio head, or behind a repeater that head reaches, binds and unbinds from the laptop as on that station's own page: against that station's link, and an Unbind there is undone with that station's own Bind WiFi.

What a bind copies

The station publishes the link half of the set itself - the key, the transport, the width, the channel plan and its address list - so both paths below and a setup run (on the station: Setup) write the same values there. The ownership half is chosen by the app doing the bind: the camera's Ground station IP (parameter gs_ip), and on a ZeroTier bind the network switch, list and roots. The table marks those rows.

What the camera receives Where it comes from What it decides
VTX encryption key (parameter vtx_key) the station's Matching VTX key (parameter vrx_key_tx) the link key - without it nothing decodes
the Radio mode (UFEC or WFB) (parameter vtx_ufec_wifi) and the Over IP switch (parameter vtx_ufec_udp) the station's own transport - Over IP off from a station that receives over WiFi only which transport the camera speaks
Channel width (parameter vtx_wifi_bw) the station's Channel width (parameter vrx_wifi_bw) channel width, which must match end to end
the live channel (parameter vtx_wifi_channel) and the WiFi channel (parameter vtx_wifi_nchannel) the station's WiFi channel (parameter vrx_wifi_nchannel) the flight channel, and the one the switch returns to
VTX WiFi channel switch (parameter rc_act_vtx_channel_sw) and its 16 presets the station's channel plan which handset switch retunes the link, and to what
Ground station addresses (parameter gs_ips) every address the station answers on - none from a station that receives over WiFi only where the camera sends
Ground station IP (parameter gs_ip) (ownership) the bind's pick - its address on the network it hears the camera on, or its own end of the radio tunnel (parameter vrx_tuna_ip) when it receives over WiFi only whose orders the camera obeys
the ZeroTier switch (parameter zt_enabled), ZeroTier networks (parameter zt_networks), Custom planet (roots) (parameter zt_planet) and Custom moons (parameter zt_moons) (ownership) the bind's pick, from this station's overlay - never written by a station that receives over WiFi only, so the camera keeps its own which ZeroTier network the camera joins

Bound and synced differ. The key, the transport pair, the width and the address list are the pairing; the frequency plan and the presets can drift while the key still matches. There is no separate Sync button for that: a drifted WiFi pairing reads as unbound and offers Bind and fly (or Bind, where the station has nothing to switch), which writes the plan too - one verb, whatever the transport.

The binding channel path and the network path

Diagram: The binding channel path and the network path - img/binding.svg (vector: img/binding.svg)

Over the air: the WiFi path

The primary path for a WiFi kit, and the only one for a camera with no IP route to the station. Both ends move to a shared binding channel, swap keys, and move back.

  1. Put the camera in binding mode. An unbound camera boots there by itself - a factory-fresh one, or one a setup run left unbound. A camera still paired to another station needs one of the ways in Getting a camera back.
  2. Press Bind WiFi once, in the header of the ground station's Status page (on the station: Status) or in the Active vehicle picker on the flight screen. There is no band or mode to pick first - one press drives the whole rendezvous.
  3. It sweeps 5 GHz then 2.4 GHz, 15 s per band, and only the bands the station's WiFi card is set to receive on - the Card model preset, or Bands (parameter vrx_wifi_bands) on the WiFi reception card (default 5 GHz only).
  4. It stops on the first camera it finds and asks you to confirm, showing its name, board and ZeroTier ID: the channel is shared, so a neighbor's camera in binding mode can answer your sweep. Bind only if it is yours.
  5. It writes the set and returns to flight by itself, whatever happened.

The write times out even when it worked: pushing the key (parameter vtx_key) rekeys the camera at once, tearing down the link the reply would have come back on. The station confirms on the normal link instead, or by its video coming back: when the camera's video arrives and its settings cannot be read back in time, the dialog says the camera is bound and its video is arriving. That counts only when no video was arriving before you pressed Bind WiFi, with the station a few seconds out of binding mode.

Bound, but in standby. When the camera also sends something over Ethernet or ZeroTier (its video, or only its MAVLink), the station reaches it there, and another vehicle is the active one - or none is - the freshly bound camera goes to standby at once, radio included (Switching vehicles and cameras). A camera that sends nothing over Ethernet or ZeroTier never goes to standby: it streams over the radio whichever vehicle is active. When the camera does go to standby, the dialog says it is bound and in standby, and names the active one. Press Take control to fly it: it is the Active vehicle picker's own switch, and asks first when the vehicle you would leave is armed. Nothing switches by itself. Only a camera that is not back holding the new key, with no new video either, reads Binding failed.

Never fly in binding mode. Binding mode is not a private link - anyone nearby can watch it or take it over. Bind on the ground, and confirm both ends are back in flight before takeoff.

The station never stays there: a binding timeout (parameter vrx_binding_timeout) (60 s by default, no control in the UI - an expert can change it on the parameters page) returns it to flight even if your browser dies mid-sweep. While the question is on screen the station keeps re-asserting the channel so the pairing cannot expire under you, for a few minutes; unanswered past that, the run answers no and returns to flight. Keep the first pairing within a few meters of the antenna - binding broadcasts do not carry far.

Over IP: Ethernet and ZeroTier

An IP drone has no binding channel, so Bind writes the same set straight onto the camera over the network. It has to be reachable at that moment - a shared router, Starlink WiFi, Ethernet, or an overlay both boxes are on. Select the camera in the device selector and press Bind and fly in its status header - one press binds it and hands it control, as a tap in the Active vehicle picker on the flight screen does. It asks first only when something is at risk: the aircraft flying now is armed, the bind would de-sync the RC channels, the station's address is a DHCP lease, or the camera's address is off every network this station receives over. Where the station has nothing to switch (a WiFi-only station, or the camera already in control) the button is plain Bind. Any camera answering an IP probe can be bound this way - also the backup for a WiFi kit you can still reach.

Where the station could not receive the result - its Over IP switch (parameter vrx_ufec_udp) off, or no Ethernet or ZeroTier reception - the button is replaced by Cannot receive here: turn those on in VRX settings (on the station) > Connection, or bind a WiFi camera over the air.

A course camera - one wired to a repeater or another box that sends its video on - shows Course camera there instead: it is never bound, that box carries its picture.

Binding from setup

The last question on setup's Review page is the switch Also bind this device to this ground station, and it is off by default. On WiFi, Off deletes the previous pairing and leaves the device ready to bind on the binding channel at 20 MHz. Ethernet and ZeroTier have no binding mode, so Off sends no unbind command: the station address the device sends to goes back to its default, but the key stays, so Off is not a guaranteed unpair on an IP link. Review the planned address changes.

Turned on, the station's key, plan and presets ride the same write - writing them is the bind, and every value is a row in the diff you accept.

What breaks a bind

A bind warns you when RC is dead on one end - on a WiFi pair with a channel switch assigned, which is the only case it can bite: each end retunes off its own reading of the handset switch, so an end that never hops de-syncs and the link is lost. With no RC at the camera there is also no radio combo to get it back (below): fix RC on both ends first.

  • Manually entering binding mode deletes the camera's key. Binding mode (parameter vtx_binding) - the Unbind button on the camera's Status page and VTX settings, offered for any WiFi camera whatever station it is bound to - is an unbind, not a mode: the pairing is gone for good, it survives power cycles, and only a completed bind gets the camera out again (leaving binding mode is refused while the camera holds no key). Record the VTX encryption key (parameter vtx_key) first. Automatic temporary binding and magic bind preserve the old key until a new bind completes; see below.
  • A params file can unbind too. Import configuration, and the restore on setup's Start page, write the binding mode (parameter vtx_binding) like any other setting - so a preset, or a backup taken while the camera was unbound, unbinds the camera you load it onto. The row is in the list of changes before you accept it: read it, and expect to bind again afterwards.
  • Reset parameters (parameter reset_params) wipes that end's key, and Generate (parameter vrx_key_gen) under Encryption keys replaces the station's pair, stranding every camera bound to the old one.
  • Channel or width drift. Keys can match while the camera's live channel (parameter vtx_wifi_channel) and the station's (parameter vrx_wifi_channel) do not, and the silence looks identical. The pairing then reads as unbound - bind again, which re-applies the plan.
  • Two stations, or two cameras, binding at once - the camera can take the wrong key - and a dead radio: nothing pairs while the VTX (parameter vtx_wifi_alive) or VRX (parameter vrx_wifi_alive) chip in the status strip shows the radio down.
  • A WiFi card name with no card behind it. A camera whose WiFi card, picked in the WiFi transmission card's header (parameter vtx_wifi_wlan), names an interface the board does not have counts as a radio that never came alive, and a camera on firmware older than 2026-09-07 then unbinds itself again and again - a bind over Ethernet or ZeroTier reads back correct and is gone about half a minute later. Newer firmware keeps a network bind once it has heard the station, and diagnostics (on the station) name the fault under WiFi as wifi_card_absent_vtx: clear the card on the camera's Connection tab if it has none.
  • A transmitter module beside the station's antennas. A handset module at full power deafens the station's receive card; the sweep finds the camera once the module is out or at 100 mW. Bind at the lowest module power that holds RC, and keep the module's antenna away from the station's.
  • An older station after the bind. Before the 20260903 release a bind that found the key already set could leave the station's receiver muted - video gone, control kept, a reboot the only way back. Update the station.

Rebind when a camera moves to another station, after a key wipe, or when diagnostics (on the station) report a key mismatch under Connection.

Getting a camera back

  1. Power it fresh and press Bind WiFi. With Magic bind (parameter vtx_magic_bind) on (the default), a camera that has heard nothing from a ground station since power-on, and has never been armed, accepts a bind for its first two minutes - one offer per power cycle. Switch its old station off, power the camera, wait about ten seconds, press Bind WiFi. This entry keeps the old key until the bind completes.
  2. The radio combo, in the first 2 minutes of uptime and before the flight controller has been armed (a camera that gets no MAVLink from the flight controller cannot see arming and allows the whole 2 minutes): power the aircraft with the handset already on and linked, hold throttle full (the sequence accepts channel 3 or 4; use your handset's actual channel mapping) and toggle the arm switch on channel 5 up and down three times within 20 seconds. The camera reads the sticks, so it needs working RC. This deletes the key; then press Bind WiFi. The throttle hold is what keeps a stray flick from firing it in flight. Propellers off first, every time: the combo is full throttle plus the arm switch and can arm the aircraft if the FC has no applicable throttle check or that check is disabled. Drones have flipped and burned out a motor this way. ArduPlane and INAV fixed-wing auto-arm permit high-throttle arming by design; isolate the motors for the procedure. Arming safety explains the firmware exceptions, how to test the FC and how to keep the electronics powered with the motors disconnected.
  3. Automatic temporary binding. A WiFi camera that has heard no RC and no station, and has not armed, since power-on enters binding by itself after about a minute - sometimes a little longer. It does not happen on ground stations or repeaters. See WiFi link recovery. This entry keeps the stored key and returns to it after a power cycle. Press Bind WiFi once the minute has passed.

A camera whose WiFi card never came alive enters binding by itself too, but that one is a real unbind - the key is deleted, as it is by the radio combo. Re-power it with a known-good card in and it comes up ready to pair.

How long the return takes. The camera's side is immediate: it holds the new key and the flight channel the moment the bind write lands, and hears its station on that channel again within about two seconds (measured on the bench). The station is the slower side: after a Bind WiFi sweep it takes about 10 s to leave the binding channel itself (the camera is bound and back before it does). So a link still down half a minute after a bind is a failure, not a slow return.

A camera that is unreachable because its radio wedged rather than because the pairing broke is a different problem - see WiFi link recovery.

For integrators

  • Ground station IP (parameter gs_ip) is a seed, Ground station addresses (parameter gs_ips) is the recovery. The camera moves on if its address goes quiet for a while, and never leaves one that still answers. To pin an address, type one into Ground station IP that is absent from the list (an admin, on VTX settings > Connection > Over IP).
  • A sweep only accepts a camera that arrived over the air: unbound, with a WiFi card picked (parameter vtx_wifi_wlan), reached through the station's own radio tunnel (parameter vrx_tuna_ip) (set by the station itself, with no control in the UI, so the camera lands at 10.5.0.2), and not answering beforehand. A camera already reachable over Ethernet or ZeroTier is never picked by a sweep - bind it over IP instead.
  • Both ends of one link must already agree on the transport - WFB or UFEC WiFi - or they never meet, and an empty sweep looks exactly like an absent camera.
  • Repeaters bind in order: transmit leg to the station first, because the remote sweep of the drone-facing leg rides that link.
  • Bind config on the VRX settings page (on the station: VRX settings), admin only, downloads the same set as a .conf, applied with Import configuration - for a camera the station cannot reach, or a rack of drones from one file.

Bind one transmitter at a time. Behind a repeater only the box with the WiFi card binds - an IPC on the repeater's Ethernet rides its bind. But two WiFi cameras in binding mode at once is a race: the bind either fails or lands on whichever camera takes the write first, so never power up more than one camera, repeater or other VTX device in binding mode at the same time. The key still belongs to the station, so every camera it binds holds the same one.

Bound here, bound, seen

The station's device history (on the station) files every device it has met under one of three:

  • bound here - this station performed the bind. The strongest fact available.
  • bound - it names one of this station's addresses as its Ground station IP (parameter gs_ip), but we never bound it. A fleet push, or a bind config loaded on the camera itself, looks like this.
  • seen - it announced on a network we share, which on a bench includes other stations' cameras. Discovered never means ours.
On this page

Search the documentation

Start typing. The up and down arrows choose, Enter opens, Esc closes.