Closed undefine-man closed 1 year ago
That means there's no communication. Which rx/tx are you using? Also keep in mind that the FC and RX has to be powered on for it to work.
i am using TBS crossfire nano rx and TBS crossfire Micro TX . TBS lua works fine on my remote control.
and do you have telemetry enabled in betaflight?
I have the same thing using ghost newest firmware 1.8.0. Using betaflight 4.4. Im on RMTX16s. Telemetry is checked on in reciever tab....
@KAJE1977 For the RX/TX, are you using a mode that supports telemetry? I use race250. I'm not 100% sure if msp support is in any of the stable firmware releases for ghost, so you may need to try the latest beta
I have also a Problem with the script and also telemetry. I have frsky. Protokoll FPORT and Telemetry FRSKY_HUB for BF4.4 Telemetry is aktiv
Not familiar with frsky hub, but looks like it doesn't support msp over telemetry.
On BF4.3 it worked all the way. Do I maybe need to select something differnet?
In the configurator firmware flasher, try adding TELEMETRY_SMARTPORT
under custom defines.
That was the solution thx.
Ah I see that you say custom field I only select smartport in the teletry Protokoll field. That worked
Is there any documentation for this fields what's posible?
I have it working now. I put TELEMETRY_GHST in the user defines and reflashed. Maybe it was that or i could have missed something.....
FYI i was also using Race mode which seems to have issues. It will still connect but some of the pages will not load. Other telemetry modes seem to be working fine.
Yeah, some of the modes don't work too well for this. Race250 is the way to go for msp over telemetry performance.
@druckgott http://betaflight.com/docs/development/API/Cloud-Build-API
I assumed you already had selected frsky hub as the telemetry protocol in the dropdown, and you can only select one protocol so the other one has to go into custom defines 🙂
This will include smartport automatically when you select fport https://github.com/betaflight/betaflight/pull/12314
perfekt thx
@klutvott123 I am on the latest version of EdgeTX, Betaflight 4.4, configurator 10.9 I am using CRSF. On all of my quads with Kiss FC's and running KISS firmware I have no issues. I am able to see the flight controller on the main page of the LUA Agent Lite. I can control the PID'S and see all relative FC info, but on all of my quads that use the Betaflight firmware I can't see my flight controller on the CRSF Lua Agent Lite. I also tried to use Betaflight Lua (latest version) on those quads, but it doesn't get past the initializing screen. It did initially go through the " compiling phase, but it never loads the FC info. Any idea what my issue could be? Thank you in advance!
"initialising" indicates that you're using an older version of the betaflight lua scripts. Make sure you're using version 1.7.0. Also make sure that telemetry is enabled on the "receiver" tab in the configurator.
Thanks for answering my question. I am using betaflight lua scripts 1.7.0. The Telemetry is enabled in the receiver tab. It's only seems to get stuck on " initializing" on quads with CRSF. On quads with the Frsky protocol (RSXR) it works no problem.
the "initializing" message was replaced a long time ago and is not present in 1.6.0 or 1.7.0. Install 1.7.0 again and let it overwrite the already existing files on your sd card when copying the new version over.
This is the screen it gets stuck on
In edgetx you need to set the baud rate to 400k. see https://github.com/betaflight/betaflight-tx-lua-scripts/issues/467 🙂
I will change it to 400k now and message back
That did it! Thanks @klutvott123 !
Nice! Enjoy the BF lua scripts 👍
@klutvott123 maybe add this to documentation to not repeat our self.
Maybe we can add some timeout to the script including a message check documentation for required settings?
@haslinghuis Yes, we could add the baud rate to the requirements. I'll look into adding some more info to the init stage 🙂
Is there a custom define that fixes a CRSF setup, like that of undefine-man, the OP? I have that same setup almost - TBS CRSF Rx, TX16S, ETX2.8.0, BF4.4.0 and BF LUA v1.7 - and I get exactly the errors he posted, when I try to run the BF LUA script (which use to work, a few versions back). EDIT - Nevermind - see my other comment below.
@TTGG4400 No, all you have to do is select CRSF as the RX protocol in the firmware flasher tab. It depends on CRSF telemetry so that will be included automatically. make sure telemetry is enabled in the receiver tab, and that the baud rate is set to 400k in edgetx.
Thx - I've been doing all of that, except that my baud rate is set to Mode CRSF, 400k, but the Status says "150 Hz 1 Err". WHOOOOHOOOO - I just saw that telemetry on my BFC Rx tab was disabled. However, that was enabled at one time according to my saved CLI. Dunno how it got disabled - Happened once before too. I need to watch what I'm doing. Thx for your help, BTW.
@TTGG4400 It's a configurator bug that disables telemetry when changes are made in the ports tab. It will be fixed in the next release
@TTGG4400 It's a configurator bug that disables telemetry when changes are made in the ports tab. It will be fixed in the next release
Wow - thanks a lot for that - I didn't think it was me, but, I wasn't sure. You just removed a lot of self doubt from my daily life. THANKS.
@klutvott123 On a quad with Walksnail digital video on board I am getting to the script initialization point of 'Downloading VTX table', then the script gets stuck (presumably since there is no VTX table nor settings defined when using MSP for digital video). How can I get the v1.7 BF LUA script to work anyways?
@RipperDrone The quick solution for now is to keep VTX
selected in the cloud build options. You don't have to set up vtx tables or anything.
@klutvott123 Oh, nice one. Didn't think of that. Tried to enforce definition of a VTX table by enabling TBS SA, but no luck getting vtx tables defined unless the actual hardware is responding, it seems. Will try - thx a lot.
EDIT: This did the trick indeed - good to know, though not completely intuitive... :-)
@RipperDrone Try the latest nightly. It should work without having VTX defined.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.
Issue closed automatically as inactive.
[devices] : Jumper T16 edgeTX 2.8.0 Betaflight firmware : 4.3.0
[Betaflight setup] : Suck on "Wait for API version" when using "Betaflight setup"![IMG_6571](https://user-images.githubusercontent.com/24623544/216172880-78dab747-0e84-4a29-91d7-902e48795411.JPG)
[Betaflight CMS] :![IMG_6573](https://user-images.githubusercontent.com/24623544/216172899-7185f56e-e77a-40c6-af6f-f1104c7c948b.JPG)