Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] help on setting up Taranis to change vtx band and channel with LUA script
#1
My Radio is running OpenTx 2.3.4 (FrSky Taranis X9 Lite)
Rx is FrSky SPI bound with D16 with telemetry on.

I am seeking some help in setting up Taranis to change vtx band and channel with LUA script.
I tried to follow, https://oscarliang.com/betaflight-change...s-taranis/
As per that I downloaded https://github.com/betaflight/betaflight..._1.5.0.zip (which is for my OpenTx version 2.3.4) and copied to SDCARD of radio.
And then went to DISPLAY page on radio and set Screen 1 Script bf

Then when I press and hold page button, I get message "Use TOOLS menu instead c"

Any thoughts?

Thanks.
Reply
Login to remove this ad | Register Here
#2
You can no longer run LUA scripts by pressing and holding the PAGE button. Press and hold the MENU button instead and then run the Betaflight LUA script manually from the SCRIPTS page.

If you are running Betaflight 4.4.x you will likely need to use the newest 1.7.0 Betaflight LUA scripts for compatibility reasons.
Reply
#3
(22-Apr-2023, 04:04 PM)SnowLeopardFPV Wrote: You can no longer run LUA scripts by pressing and holding the PAGE button. Press and hold the MENU button instead and then run the Betaflight LUA script manually from the SCRIPTS page.

If you are running Betaflight 4.4.x you will likely need to use the newest 1.7.0 Betaflight LUA scripts for compatibility reasons.

After I hold the Menu button I go to 2nd page (SD-HC CARD) then go to SCRIPTS folder?
Then which script to execute?
Reply
#4
Sorry, I meant go to the TOOLS page (not the SCRIPTS page). It's the first page that appears when you long press the MENU button from the main screen. You should see a "Betaflight Setup" script in the list. Just scroll down to that and press the ENT button to run it.
Reply
#5
(22-Apr-2023, 05:53 PM)SnowLeopardFPV Wrote: Sorry, I meant go to the TOOLS page (not the SCRIPTS page). It's the first page that appears when you long press the MENU button from the main screen. You should see a "Betaflight Setup" script in the list. Just scroll down to that and press the ENT button to run it.

Thank you, that worked.
When I change the VTX channel and try to save the change on LUA script, I getting message retrying and some times not getting saved. I have to redo it couple of times to make it success.
I am running BF 4.2.11, So I believe I cannot try 1.7.0 Betaflight LUA scripts?
Reply
#6
New versions of the Betaflight LUA scripts are generally backward compatible with older versions of Betaflight (at least the last few versions). So just try the 1.7.0 version and you should find that it works. Also make sure you have at least a metre or two distance between the quad and the transmitter to avoid the receiver getting overwhelmed with too much RF power at close range which can sometimes cause some strange issues with binding and other data passing back and forth between the transmitter and receiver.
Reply
#7
(23-Apr-2023, 10:22 AM)SnowLeopardFPV Wrote: New versions of the Betaflight LUA scripts are generally backward compatible with older versions of Betaflight (at least the last few versions). So just try the 1.7.0 version and you should find that it works. Also make sure you have at least a metre or two distance between the quad and the transmitter to avoid the receiver getting overwhelmed with too much RF power at close range which can sometimes cause some strange issues with binding and other data passing back and forth between the transmitter and receiver.

I tried 1.7.0 and it worked too (but retrying still there, not a biggie, it works on second attempt).
Thank you.
Reply
#8
It's possible that it might work better if you update your transmitter to the latest version of OpenTX (which is currently 2.3.15) or to EdgeTX. The 2.3.4 version of OpenTX you are currently running is now 3.5 years old so it might possibly have some compatibility issues with some of the newer LUA scripts.
[-] The following 1 user Likes SnowLeopardFPV's post:
  • sim_tcr
Reply
#9
(23-Apr-2023, 05:14 PM)SnowLeopardFPV Wrote: It's possible that it might work better if you update your transmitter to the latest version of OpenTX (which is currently 2.3.15) or to EdgeTX. The 2.3.4 version of OpenTX you are currently running is now 3.5 years old so it might possibly have some compatibility issues with some of the newer LUA scripts.

when upgrading, to download the firmware using opentx companion, I select AETR for Default channel order?
Reply
#10
(24-Apr-2023, 05:56 AM)sim_tcr Wrote: when upgrading, to download the firmware using opentx companion, I select AETR for Default channel order?

It doesn't actually matter because the default channel order is just used as a default for any new models you set up (it doesn't affect any already existing models), and that default channel order value is also changeable in the RADIO settings page anyway, but AETR is usually the default value for FrSky transmitters so I would just leave it on that.

Before you upgrade the firmware make sure you save a backup of your current models to an OTX file just in case they get lost during the upgrade process. Models don't usually get lost during that process unless the number gap between versions is quite large like yours is, so having a backup means you can just restore them again afterwards if need be instead of having to set them all up from scratch again.
Reply
#11
(24-Apr-2023, 08:13 AM)SnowLeopardFPV Wrote: It doesn't actually matter because the default channel order is just used as a default for any new models you set up (it doesn't affect any already existing models), and that default channel order value is also changeable in the RADIO settings page anyway, but AETR is usually the default value for FrSky transmitters so I would just leave it on that.

Before you upgrade the firmware make sure you save a backup of your current models to an OTX file just in case they get lost during the upgrade process. Models don't usually get lost during that process unless the number gap between versions is quite large like yours is, so having a backup means you can just restore them again afterwards if need be instead of having to set them all up from scratch again.

Thank you.
Upgraded and Models looks good.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Solved] Don't get any input from ELRS receiver in BetaFlight aprudnikoff 4 279 03-Mar-2024, 01:03 AM
Last Post: aprudnikoff
  Help setting up XR602T-D receiver dwilmot37 2 191 03-Feb-2024, 02:12 AM
Last Post: dwilmot37
  BetaFPV Elrs module not loading in a taranis X7 Stumpy 2 208 31-Jan-2024, 12:19 PM
Last Post: Stumpy
  [SOLVED] Radio wont pair when drone is powered via battery mulapickle 5 297 16-Jan-2024, 03:26 PM
Last Post: mulapickle
  Boxer switches issue - Solved - Thank you Hélix in Wonderland 5 1,258 04-Oct-2023, 01:32 AM
Last Post: Hélix in Wonderland


Login to remove this ad | Register Here