Skip to content

Add VTX Admin telemetry script for B&W radios - #41

Merged
jurgelenas merged 10 commits into
masterfrom
bw-vtx-admin
Nov 1, 2026
Merged

jurgelenas merged 10 commits into
masterfrom
bw-vtx-admin

Conversation

@jurgelenas

Copy link
Copy Markdown
Member

No description provided.

@jurgelenas
jurgelenas requested a review from CapnBry October 7, 2026 09:23
@jurgelenas
jurgelenas added this pull request to stack #44 October 7, 2026 09:24
@jurgelenas

jurgelenas commented Oct 7, 2026 •

Copy link
Copy Markdown
Member Author

UI for review

_overview-states _overview-telemetry _overview-vtx-presets

@CapnBry CapnBry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Man this is amazing. Works perfectly as far as the functionality goes, just a couple notes.

Channel 0

If I booth with VTXAdmin off, launch the admin script, go into menu, shows channel 0. If I set the band, the channel stays 0 but the main screen and the top right show the correct channel, not 0. Same happens if I have VTX admin on and set the band to off then leave the menu and come back the channel displays 0. Maybe the channel and power should be hidden line power hides the pit mode item if the VTX Admin is off?

Also should this follow the same naming as the lua has with Band/Enable or whatever it says?

See other requested changes in comments

Comment thread src/SCRIPTS/ELRS/vtx/lcd/dashboard.lua Resolved
Comment thread edgetx.yml Resolved
Comment thread src/SCRIPTS/ELRS/crsf_session.lua Resolved
Comment thread README.md Resolved
Comment thread src/SCRIPTS/ELRS/vtx/lcd/menu.lua Resolved
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Test build for 4f028e1

  • Download: expresslrs-lua-pr41-4f028e1.zip (requires a GitHub login; extract it, then extract the inner zip onto the SD card root). The tools show version 4f028e1.
  • Or install from source with: edgetx-cli pkg install ExpressLRS/Lua@bw-vtx-admin (shows version dev)

ELRVTX shows the VTX tuning, power and the six 6POS presets on a
128x64 dashboard; ENTER opens a menu with the colour widget's
settings (VTX fields, Send VTx, 6POS quick change, presets).

The VTX Admin core moves to SCRIPTS/ELRS/vtx/ so the widget and the
telemetry script share it, along with the presets, now stored in
SCRIPTS/ELRS/vtx/presets.txt. The core ticks from background() so the
6POS automation runs whatever page is shown.

To fit B&W memory the menu is table-driven, dialogs load only when
needed, and the session drops discovery fields it no longer needs.
The loader reports why a script failed to load.
Move the active-preset match into VTXAdmin.activePreset() so the B&W
dashboard and the colour widget use one copy.
@jurgelenas

jurgelenas commented Oct 31, 2026 •

Copy link
Copy Markdown
Member Author

Man this is amazing. Works perfectly as far as the functionality goes, just a couple notes.

Channel 0

If I booth with VTXAdmin off, launch the admin script, go into menu, shows channel 0. If I set the band, the channel stays 0 but the main screen and the top right show the correct channel, not 0. Same happens if I have VTX admin on and set the band to off then leave the menu and come back the channel displays 0. Maybe the channel and power should be hidden line power hides the pit mode item if the VTX Admin is off?

Also should this follow the same naming as the lua has with Band/Enable or whatever it says?

See other requested changes in comments

screens

@jurgelenas
jurgelenas requested a review from CapnBry October 31, 2026 15:22

@CapnBry CapnBry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just have a minor cosmetic question about the 6POS title. I'm approving but you make the call on the comment below and this:

The menu now labels VTX Admin off as Disabled (to match the tools version), but the top bar shows it as "Off". I don't know if we should change this because Disabled gets close to the navigation title and that could look jumbled? I'm for leaving it how it is here but I just wanted to bring it up in case you felt differently.

{ kind = NUMBER, label = "Power Level", key = "power", vtx = true, min = 0, max = 8, names = POWER_NAMES },
{ kind = TOGGLE, label = "Pitmode", key = "pitmode", vtx = true },
{ kind = SEND },
{ kind = FOLDER, label = "6POS Quick Change", page = { title = "6POS Quick Change", rows = quickChangeRows } },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've noticed that the "Sending" and "Loading" text runs over the "6POS Quick Change" title bar, do you think it would be acceptable to make it title = Quick Change? The label version definitely should have the 6POS part but the shorter version for the submenu would not run into it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 116eb90 on master: the page title is now "Quick Change" and the row label keeps "6POS".

@jurgelenas
jurgelenas merged commit 5afa901 into master Nov 1, 2026
2 checks passed
@jurgelenas
jurgelenas deleted the bw-vtx-admin branch November 1, 2026 21:03
@jurgelenas

Copy link
Copy Markdown
Member Author

Keeping "Off" in the top bar, since "Disabled" collides with the page title. The Band field already says Disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants