Urban theme¶
Urban is a dashboard theme that draws its own screen from code instead of a grid of boxes, and takes full screen for itself. It is shipped as a worked example of two things a theme can do — take fullscreen and declare the telemetry it reads — and it is a demonstration, not a finished theme: the gaps it has are listed at the end of this page.
Where to find it¶
System → Settings → Dashboard → Theme: choose Urban for a flight phase, or for all three. Its settings are under System → Settings → Dashboard → Settings → Urban, split into five pages: Look, Value Rows, Top Bar, Keys and Telemetry. They are stored for the radio, and a model can carry its own under Per-Model Settings where per-model settings are switched on. On both pages its tile carries an icon of its own, a small picture of its flight screen with the battery gauge in the middle. Its words come from the suite's translations, like every other theme's, so it speaks the language of the package that was installed.
What it shows¶

On the ground and in flight one screen, which does not change shape at spool-up:
- Top bar — in full screen two buttons at the left, the menu and the tool, then the clock; up to four stacked link bars in the middle (the receiver's link quality RQ, the transmitter's TQ, and the signal of each receiver antenna as headroom above the sensitivity floor of the air rate the link runs, the second antenna only once one has been seen); the radio's battery at the right.
- Left panel — the model picture, the flight count and total flight time, the governor state and the throttle, a status line, and the PID, rate and battery profile numbers.
- Middle — a vertical battery gauge with the cell count, the fuel percentage and the capacity
used. Until the model has reported a fuel reading the gauge is empty and reads
--%rather than an empty pack. The fill is red at the red step and below, yellow at the yellow step and below, and green above that — or orange instead of green when the pack was not full when it was plugged in. The two steps are set on the Look page, 20 % for yellow and 0 % for red unless they are changed. The not-full verdict is the suite's own, taken once per connection against the flight controller's Full cell voltage less the Margin of the Pack Not Full announcement (Settings → Audio → Events → On Connect), and it is drawn whether or not that announcement is switched on. Yellow and red still come first: a not-full pack that runs down turns yellow and then red like any other. - Right panel — five value rows, each chosen on the Value Rows page.
- Bottom bar — the model name, the arm state, the transmitter power and the skipped-frame count. While the flight controller names reasons that block arming, the whole bar shows them one at a time instead.
The status line says, worst news first: the main pack lost while the flight controller still answers, the arming-disable reasons while disarmed, the speed controller's live verdict where the controller reports one, and otherwise No telemetry, Ready or Armed - OK.
After a flight a statistics screen: the clock and the radio battery across the top, the model with its totals, and a table of the last flight — cell voltage, headspeed on PID profiles 1 to 3, current, ESC temperature, BEC voltage and voltage sags — each with the latest reading, the flight's minimum and its maximum. The cell voltage row's cell count, minimum and maximum are those of the pack the flight was flown on (its count is taken at the disarm, with the landing voltage; where the pack read 0 V then, the count of the pack plugged in is used), so a pack of another cell count plugged in after the landing changes only the latest reading. Beneath it the flight time and the capacity used, and a bar with the transmitter power, the lowest link quality, the highest MCU temperature and the skipped frames; the transmitter power and the skipped frames follow the link while the flight controller still answers, and once it has stopped they keep the last reading taken while it answered -- or, where the screen was loaded again after the link had gone, what the radio still held for the two sensors then. The header of the table says Disconnected once the flight controller has stopped answering.
Full screen¶
With Urban selected, full screen shows the theme itself rather than the quick menu. The theme draws no close button: a long press on RTN leaves full screen, which the radio always allows. Six places on the screen open a page over it, and a seventh opens the suite's tool:
- The menu button at the left of the top bar opens the quick menu; so do TELE and the page keys by default.
- The tool button beside it opens the suite's tool inside the widget, as the quick menu's MAIN MENU does; so does SYS, as it comes. The tool opens only while the model is disarmed: while it is armed the button is drawn grey and a press does nothing.
- The profile row of the left panel (PID, rate and battery profile) opens Profile & Tuning: the in-flight tuning surface, or a note that it is not available now, and, only while the model is disarmed, the model's battery profiles, the one in force in green, each with its capacity and, where the flight controller reports them, its cell count and warning voltage under it (6S / Warn 3.50V). Pressing a profile makes it the one in force and the page stays open, showing whether the change is being sent, was done or failed.
- The link bars in the top bar open the ELRS link page: beside the title the air rate and
its modulation (500Hz (LORA)), then one row per reading, each a bar with its figure -- the link
quality of receiver and transmitter (RQ, TQ), the signal at each receiver antenna (1RSS,
2RSS, the second once one has been seen) and at the transmitter (TRSS), the signal-to-noise
ratio at the receiver and at the transmitter (SNR,
9 / 8dB) and the transmitter power (TPWR) -- and at the foot the least link quality of the flight (RQ min). The signal bars show the headroom over the air rate's sensitivity floor; the SNR bar shows where the receiver's signal-to-noise ratio sits between the two thresholds ExpressLRS's dynamic power uses for the air rate, empty at the one where it asks for more power and full at the one where it asks for less, and stays empty on a rate whose thresholds are not known. The TPWR bar is the power as a share of the maximum the TX Power announcement uses -- Maximum (mW) where Own Maximum is on, the module's own Max Power where that announcement had read it when the dashboard was last loaded, Maximum (mW) otherwise; the module is read only while that announcement is on, and a read that finishes after the dashboard was loaded is taken at its next load (a save of the settings, or the change to the post-flight screen) -- and warns the other way round: dynamic power raises the power as the link weakens. Each bar turns amber and red at the levels of its announcement, see the link steps below. On an FLRC or FSK rate, which reports no signal-to-noise ratio, SNR reads-. RQ min is the flight record's: the flight in progress, the last flight otherwise,-until the model has been armed once. The Link view switch on the Top Bar page opens the same page while the switch is in the chosen position, in full screen and in the widget's zone alike; in the zone it only shows. A bar is only redrawn when its reading changes. - The value rows of the right panel open Telemetry: up to twelve readings as tiles, three to
a row, chosen on the Telemetry page. Each tile shows the reading's name and figure and, under
it, the least and the most the flight reached,
min .. max. Those come from the flight record: the flight in progress where it has a value, the last flight otherwise, so the line is empty until the model has been armed once and covers the armed time only; the cell voltage of the last flight is divided by the cell count of the pack it was flown on. Where the record keeps one side only it shows-for the other -- the MCU temperature and the power have a most and no least, the fuel a least and no most -- and a reading the record does not keep (ESC load, ESC status, air rate, rate floor) has no line at all. - The battery gauge opens the Battery page. At the top, the cell voltage as a bar with the figure beside it, on a scale marked at the flight controller's own minimum, warning and full cell voltage, which are written out under it; the bar turns yellow at the warning voltage and red at the minimum. Below it the pack as a battery laid on its side, filling towards the terminal in the same steps and colours as the gauge on the flight screen, with the fuel figure in the middle, the cell count at the left end and the used capacity at the right. At the foot, the pack voltage, the lowest cell voltage of the flight and the reserve the fuel figure keeps back. The cell voltages are the pack voltage divided by the cell count, as on the flight screen: no telemetry carries each cell's own voltage. After a flight its lowest cell voltage is divided by the cell count of the pack it was flown on, not by that of a pack plugged in since. The limits and the reserve are read from the flight controller on connecting, and read - until they have been. Like every other place that takes a press, the gauge has the radio's frame around it while Frames on tap areas is on. A key can open the page as well: choose Theme: Battery for it on the Keys page.
- The governor row and the status line of the left panel open Status: the arm state in large letters with what stands in its way under it -- the reasons the flight controller names, Ready to arm while there are none. The arm state takes the colours Arm state colours on the Look page gives it on the flight screen. Beside it the governor, the throttle and the speed controller's live verdict in its level's colour, and under both the Event log: what changed on the craft, newest first, each with the radio's time -- arming and disarming, the flight controller connecting and the connection ending, every change of the governor state and of the speed controller's verdict, the last two after Governor: and ESC:. The log is the widget's own and is kept while the widget runs, across connections; the page shows the newest entries that fit and No events yet until the first. A key can open the page as well: choose Theme: Status for it on the Keys page.
Urban draws these pages, the quick menu, the battery picker and the battery profile page in the look of the screen they open over, in its colour scheme: a plain page, a title up to a size larger than the top bar's lettering with a thin line under it, buttons drawn as an outline with the choice in force in green, and a large X at the top right that closes the page. The battery profile page has a < box left of its title as well, which returns to the quick menu, and says at its foot Sending..., Done or Failed for the last profile pressed, or CHANGEABLE ONLY WHEN DISARMED while the model is armed. The battery picker shows the packs in two columns from two packs up, each with its name and a line with its capacity, its cycle count and the battery profile a pick selects (1100 mAh - 7 cycles - P2; no profile where none of the board's matches the pack), and NO BATTERY as a one-line row of its own at the foot, outlined in green where no pack is picked. Where there are more packs than three rows hold, the packs scroll -- swipe them, or turn the rotary encoder, which moves from pack to pack -- while NO BATTERY stays at the foot, so every pack can be picked. RTN closes a page as well.
What the page keys, MDL, SYS and TELE do in full screen is chosen at two levels. The radio-wide choice at System → Settings → Dashboard → Keys comes first and holds for every theme: as it comes, SYS opens the suite's tool, and TELE and the page keys the quick menu there, and MDL is left on Theme. A key left on Theme does what Urban's own Keys page binds it to, which is where a key can open one of Urban's pages; a key held radio-wide is marked (global) on Urban's page and cannot be changed there. So a PAGE binding on Urban's page takes effect only once the pilot has set PAGE > or PAGE < to Theme on the radio-wide page. Urban binds nothing until the pilot does: with the theme itself showing, every unbound key on Theme, PAGE > and PAGE < included, does nothing. Outside full screen MDL, SYS and TELE open the radio's own menus as always. A key set to open a page closes that page again when pressed while it is showing, so a second TELE closes the quick menu. A key set to the tool does nothing while the model is armed. MDL, SYS or TELE bound on Urban's page does nothing while a different page is on top. PAGE keys on Theme close the quick menu or open it over another page, unless bound to the page on top, which they close instead. A radio without one of these keys simply never uses its setting.
Choices made on Urban's Keys page by an earlier version are not carried over: the page starts
unbound, and the old choices stay in the settings files unused. Where a model carried its own,
Per-Model Settings still lists them (as key_sys
and so on); Reset there removes them.
The link steps¶
The link bars, in the top bar and on the ELRS page, turn amber and red where the link announcements under System → Settings → Audio → Events → Link speak: each bar takes the Warning (%) and Critical (%) of its announcement, whether or not that announcement is switched on, so the colour on the screen and the voice agree.
| Bar | Its steps |
|---|---|
| RQ, TQ | Link Quality: 70 % and 50 % by default. |
| 1RSS, 2RSS | RSSI: 15 % and 8 % of the headroom by default. |
| TRSS | Downlink: 15 % and 8 % by default. |
| SNR | SNR: 30 % and 0 % by default. |
| TPWR | TX Power: 60 % and 85 % of the maximum by default; amber and red as the power rises. |
Earlier versions of this theme had settings of their own for these steps on the Top Bar page (Link good above, Signal good above, TX power limit). They are gone; a value stored for them stays in the settings file and is no longer read.
Settings¶
| Page | Setting | What it does |
|---|---|---|
| Look | Colour scheme | Light (default) or Dark. |
| Look | Arm state colours | Green and red (default): armed green, disarmed red. Amber and grey: armed amber, disarmed in the label colour. |
| Look | Frames on tap areas | On (default) shows the radio's own frame, light blue in its default theme, around every place on the full screen that takes a press. Off covers it; the outlines Urban draws itself stay, the choice in force stays green, and a place reached with the rotary encoder still shows the radio's focus frame. |
| Look | Battery yellow at | The fuel percentage at and below which the battery gauge turns yellow, any whole number from 0 % to 100 %, default 20 %. |
| Look | Battery red at | The fuel percentage at and below which the gauge turns red, 0 % to 100 %, default 0 %: red only when nothing is left. It cannot be set above Battery yellow at, and lowering Battery yellow at below it pulls it down too; a stored value above it is drawn as if it were equal. The steps colour the gauge's segments, and a segment is lit only from its own share upward -- the lowest one from a tenth of the gauge where it has ten segments, up to a sixth where it has room for only six -- so a step set below that share colours nothing that shows. The percentage figure keeps its own colour. |
| Value Rows | Row 1 … Row 5 | The value each row of the right panel shows: cell voltage, voltage, headspeed, current, ESC temperature, MCU temperature, BEC voltage, power, throttle, fuel, capacity used, altitude, link quality, ESC load, ESC status, air rate, rate floor, one of the telemetry sensors listed under What it reads, or nothing. Defaults: cell voltage, headspeed, current, ESC temperature, BEC voltage. |
| Value Rows | Units beside the values | Off (default) gives the width to the figures. |
| Value Rows | Temperature colours | Colours the ESC and MCU temperature rows. Off (default); Standard: ESC amber from 90 °C and red from 110 °C, MCU from 75 °C and 90 °C; Early: each 10 °C lower. |
| Top Bar | Clock | Time only (default) or Date and time. |
| Top Bar | RQ bar, TQ bar, RSSI bars | Each link bar on or off. On by default. |
| Top Bar | Transmitter battery | The radio battery at the right end of the top bar. On by default. |
| Top Bar | Status bar: TPWR | The transmitter power in the bottom bar. On by default. |
| Top Bar | Colour the bars | Always (default) colours a good link green; Only on warning leaves it neutral until a bar drops to its warning step. |
| Top Bar | Link view switch | A switch position that shows the ELRS link page while it is held. None by default: the page then opens only by a tap on the link bars. |
| Keys | Key PAGE >, Key PAGE < | What each page key does in full screen while it is on Theme radio-wide, which the page keys are not as they come (they open the quick menu there and are marked (global) here): Nothing (default; unbound), Suite: Quick menu (opens the quick menu on the theme base), Theme: Tuning (the Profile & Tuning page), Theme: ELRS link (the ELRS link page), Theme: Telemetry (the Telemetry page), Theme: Battery (the Battery page), Theme: Status (the Status page), Suite: Main menu, Suite: Flight log or Suite: Exit full screen. Suite marks what the dashboard does on every theme, Theme a page Urban draws itself. Suite: Flight log opens the suite's tool on its Flight Log page, as the quick menu's FLIGHT LOG does, and does nothing while the model is armed. |
| Keys | Key MDL, Key SYS, Key TELE | The same choice for these keys, Nothing by default. SYS and TELE are held radio-wide as they come, and marked (global) until they are put on Theme there. |
| Telemetry | Tile 1 … Tile 12 | The reading each tile of the Telemetry page shows, from the same list as the value rows, or nothing; a tile set to nothing is left out and the others close up. Defaults: voltage, cell voltage, current, capacity used, fuel, headspeed, ESC temperature, MCU temperature, BEC voltage, and tiles 10 to 12 off. The Units beside the values and Temperature colours settings apply to the tiles as to the rows. |
The cell voltage row turns red below the minimum pack voltage the widget works out for the
model — the cell count times the flight controller's minimum cell voltage — and the gauge, the
voltage rows and the status line turn red while the main pack is lost. While no cell count is
known — the flight controller set to detect it and no pack voltage to detect it from — the cell
voltage row shows - and is not coloured, except while the main pack is lost.
The radio draws the frame around every button a script creates, and a script can neither switch it off nor change its colour, so Off covers it: the button gets square corners and lines in the colour of the area lie over the frame.
What it reads¶
Besides the fields every theme gets, the flight screen declares the transmitter's link quality
and power (TQly, TPWR), the air rate's sensitivity floor, whether a second antenna has been
seen, the skipped-frame count (*Skp) and the speed controller's live status, and whatever a
chosen value row or Telemetry tile needs (ESC load, ESC status, air rate, rate floor). The
Telemetry page names what its tiles need itself, so the widget reads those only while the page
is open; the ranges under the record's readings are read from the flight record. The ELRS link
page does the same for what only it draws -- the air rate, the transmitter's signal (TRSS) and
both signal-to-noise ratios (RSNR, TSNR) -- so those are read while the page is open in full
screen and at no other time.
A row or a tile can also show a telemetry sensor the widget has no reading of its own for, by the
name the suite's decoder gives it: BEC temperature (Tbec), tail speed (Tspd), vario (Var),
the transmitter's link quality (TQly) and power (TPWR), the ESC's own BEC temperature
(BecT), BEC current (Ibec), the ESC's voltage, current, capacity, RPM, PWM and load
(EscV, EscI, EscC, EscR, EscP, Esc%), GPS satellites, speed, altitude and distance
(Sats, GSpd, GAlt, GDis), pitch, roll and yaw (Ptch, Roll, Yaw), the flight
controller's CPU, system and real-time load (CPU%, SYS%, RT%), bus and MCU voltage
(Vbus, Vmcu) and the link's signal-to-noise ratio (RSNR). Such a sensor costs a sensor read
per telemetry pass: in a row for as long as the flight screen shows, on a Telemetry tile only
while the page is open. On a tile its range is the radio's own least and most of the sensor since
the last telemetry reset -- the sensor's - and + forms, two reads more -- because the flight
record keeps none of them. The statistics screen
declares only the transmitter power and the skipped-frame count of its bottom bar (TPWR, *Skp)
and reads everything else from the flight record. A reading the model does not carry shows -.
The skipped-frame count is published by the suite itself under the name *Skp
(tasks/events/telemetry_bg/drain.lua, setTelemetryValue(0xEE02, …, "*Skp")), and *Skp is
the name the theme declares and reads. The Skp in common.lua's label table is only the word
drawn beside the number; a bare Skp is declared nowhere on purpose, because nothing creates a
sensor of that name and a declared name that is absent is still searched for.
What it does not do yet¶
- Priced only with the accounting fix that settles a free-form theme.
bin/accounting/budgets.luacarries atheme.urbanrow, measured with that fix; without itbin/accounting/measure.luanever settles a dashboard drawing this theme. - The transmitter power on the statistics bar is the last reading, not the flight's maximum: the flight record keeps no transmitter power.
- The arming-disable names follow Rotorflight 4.6 (MSP API 12.09 and later), covering bits 0 to 26: bit 25 is Override (an active servo or mixer override), and bit 26 is Arm Switch.
- Only the menu and tool buttons, the profile row, the link bars and the value rows take a press. The gauge and the status line open nothing.
- The Telemetry page shows the flight record's extremes for the readings the record keeps, covering the armed time only, and the radio's own since its last telemetry reset for a raw sensor -- two different spans on one page.
- A copy in the user folder draws with the shipped files: its settings are its own, but its
phase modules load
layout.luaandcommon.luafrom the shipped folder. - The Transmitter power, TQ and skipped-frame cells read
-on a link that does not report those sensors. - In the widget's zone the ELRS page shows
-for the air rate, TRSS and SNR: the widget reads a page's own readings only while that page is open in full screen.
Related¶
- Dashboard themes — the manifest keys,
fullscreen,sourcesand the settings pages this theme uses. - Quick menu — what opens over the theme in full screen.
- User themes — copying a theme to the card.
Documented against RFSuite 0.1.7.