yaapu / FrskyTelemetryScript

A LUA telemetry script and widget for the Horus X10(S),X12 and Taranis X9D+,X9E,QX7 and X-Lite radios using ArduPilot frsky passthru protocol
GNU General Public License v3.0
440 stars 141 forks source link

Yaapuu script not working for ExpressLRS and EdgeTx 2.7 #152

Closed mebj closed 2 years ago

mebj commented 2 years ago

I have used the script for quite some time on a Taranis QX7S with OpenTX but because of trying out ExpressLRS I had to switch to EdgeTX and then the existing 1.9.5 version of the Yaapu script did not work for ELRS-models (but worked for FrSky Tx/Rx based models).

I installed the 1.9.6-dev, build 40041a, from the GitHub dev pages and now this is working for all older FrSky equipped drones but for the newly configured one using the ExpressLRS Tx/Rx the script starts but no specific values are displayed, all are 0. I can use the configuration page so the script is running OK it seems (and yes - I have enabled CRSF under "configuration") .

The telemetry data is available, 30 datapoint values are discovered and can be displayed under the "standard" pages setup. So the specific problem is related to ExpressLRS and the Yaapu-script. My ExpressLRS version is 2.4.0 on both Tx/Rx which both are of the Namimno brand. EdgeTx is version 2.7 and my Arducopter version is 4.1.5 and the FC is a Lumeniere Lux H7

I may have overseen something essential but, as said, the script works for the models based on FrSky Tx/Rx

mebj commented 2 years ago

It appeared that the script was sensing telemetry data because the "No Telemetry" banner disappeared after a while but no values were updated. After some experiments with the ExpressLRS lua script values for Telemetry Ratio numbers started to show up at a telemetry ratio of 1:4 at a packet rate of 250 (seems like the QX7S can go no higher). Seems to me that 1:4 is not a good result but have no real data to comare with.