Posts: 473 Threads: 105 Likes Received: 54 in 41 posts Likes Given: 33 Joined: Aug 2018 Reputation: 0 22-Apr-2023, 03:44 PM (This post was last modified: 23-Apr-2023, 05:04 PM by sim_tcr.) 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. • Posts: 21,345 Threads: 591 Likes Received: 9,009 in 6,669 posts Likes Given: 1,428 Joined: Jun 2018 Reputation: 792 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. • Posts: 473 Threads: 105 Likes Received: 54 in 41 posts Likes Given: 33 Joined: Aug 2018 Reputation: 0 (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? • Posts: 21,345 Threads: 591 Likes Received: 9,009 in 6,669 posts Likes Given: 1,428 Joined: Jun 2018 Reputation: 792 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. • Posts: 473 Threads: 105 Likes Received: 54 in 41 posts Likes Given: 33 Joined: Aug 2018 Reputation: 0 23-Apr-2023, 06:10 AM (This post was last modified: 23-Apr-2023, 06:17 AM by sim_tcr.) (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? • Posts: 21,345 Threads: 591 Likes Received: 9,009 in 6,669 posts Likes Given: 1,428 Joined: Jun 2018 Reputation: 792 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. • Posts: 473 Threads: 105 Likes Received: 54 in 41 posts Likes Given: 33 Joined: Aug 2018 Reputation: 0 (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. • Posts: 21,345 Threads: 591 Likes Received: 9,009 in 6,669 posts Likes Given: 1,428 Joined: Jun 2018 Reputation: 792 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. Posts: 473 Threads: 105 Likes Received: 54 in 41 posts Likes Given: 33 Joined: Aug 2018 Reputation: 0 24-Apr-2023, 05:56 AM (This post was last modified: 24-Apr-2023, 06:06 AM by sim_tcr.) (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? • Posts: 21,345 Threads: 591 Likes Received: 9,009 in 6,669 posts Likes Given: 1,428 Joined: Jun 2018 Reputation: 792 (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. • Posts: 473 Threads: 105 Likes Received: 54 in 41 posts Likes Given: 33 Joined: Aug 2018 Reputation: 0 (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. • |