iNavFlight/OpenTX-Telemetry-Widget

The script is not working with my system. ELRS + iNav + QX7

0Balazs opened this issue · 8 comments

Describe the bug

The script was worked perfectly with my old rx-tx module (QCZEK LRS) but i bought a new Betafpv 868 elrs system. I am getting the necessary telemtry datas, but an another ID with the Qczek. So the Ianv lua didnt see the datas, only the Voltage and current. But all of the datas is availabke on the telemtry settings screen.

To reproduce

Expected behavior

The script has to see all of the datas and working correkt. Because elrs is using crsf if iam correct. And crsf is supported.

Screenshots

Radio and model settings

Additional context

All Fw is the newest. INav 6.1, OpenTX 2.3.15, iNav lua 2.2.1.

Please follow the documentation for providing necessary data to investigate the issue, in particular a telemetry log.
https://luatelemetry.readthedocs.io/en/latest/Tips-And-Common-Problems/

RAngerelrs-2023-05-29.csv

Sorry. There are a telemetry log. I hope it will help.

I don't see any script issue. Using the Companion, I see on the sensors page (bogus) data.
In the script I see the same bogus data. The script reflects exactly the data on the sensors page.

Note I do not have any of this hardware, so unless someone else volunteers, this issue cannot progress.

Ok, so my friend has a same setup and a same problem. Some data is correct (but blinking, even if we are using higher packet rate). But the artificial horizont is almost in the deafult position.
I am trying read the program but i am new in lua. I am getting the pitch and roll datas are the same ID (001E) but different sub ID (1 and 2). But the name is correct (Roll and Ptch).

haklis commented

Hi, I have the same problem. Here are some details:

  • New ELRS system (Ranger micro) on a Taranis X9D+, RX/TX flashed to latest 3.x.x
  • Mateksys 765-Wing
  • INAV 6.1
  • OpenTX-Telemetry-Widget/releases/tag/v2.2.1
  • 24 sensors are discovered and are updated frequently (several times a second for some of them)
  • Telemetry widget opens on the radio when connected to inav without error messages, but the values don't populate and are blinking.

I will record telemetry log and see if the problem is present on the opentx simulator as well.

This is due to a bug in OpenTX. It does not populate the FM (Flight Mode) UNIT_TEXT field correctly.
This problem does not exist in EdgeTX (Issue and Edge fix ).

An OpenTX issue was raised for four years ago and closed without being fixed.

Upgrade to EdgeTX and it will work. It cannot be fixed here.

haklis commented

Thanks for the feedback, I will switch over to edge tx. It would be nice however if the documentation specifically mentioned that opentx is not supported with elrs - if it is that combo that causes the bug. 😀

EDIT: I have switched over to EdgeTX and the scripts is now working with ELRS after deleting models to free up enough memory to avoid "syntax error" when script started.

Ok, so we tested it with the latest EdgeTX FW, and it is working now.

Thank you.