Page 1 of 1

FrSky X-lite LUA problems, and "sensor lost" from Spirit

Posted: Sun 28. Feb 2021 10:56:06
by Airbo
Hi,
I am using the following configuraton:
  • FrSky X-lite pro with firmware 2.3.11, latest LUA scripts for Taranis
    Receiver R8 pro Archer
    Spirit "black" V3.2.1
    ESC Castle Edge 50, live link enabled, connected via Telem CC cable to AUX (cable checked and ok)
I got the following issues:

1. when starting LUA scripts, data are shown and updated. But I cannot change values. The only thing I can do: activate the first value, which is then flashing (this can be achieved by "clicking" on the X-lite joystick).
My question: do the LUA scripts support the X-lite pro?

2. I often get "sensor lost" messages from the Spirit unit. Only the Spirit-values are affected, the receiver telemetry works perfectly. And all Spirit-values are correctly shown (including ESC), but disappear from time to time. No further sensor is connected to the receiver.

Thanks for your support.

Re: FrSky X-lite LUA problems, and "sensor lost" from Spirit

Posted: Tue 02. Mar 2021 13:22:36
by ZeXx86
Hi,

1. unfortunately not supported yet. But we will add support certainly. We will update LUA scripts to add new parameters within following days too.

2. This seems as some sort of incompatibility or transmission problem. FrSky is releasing so many versions of receivers and firmwares we are unable to test it all. We will try to cooperate with FrSky to resolve the issue if we will be able to reproduce it.

Re: FrSky X-lite LUA problems, and "sensor lost" from Spirit

Posted: Fri 24. Sep 2021 17:39:07
by gnauck
Is there an update to this?
I have the same problem on my x-lite when using the scripts from the Taranis-x7 folder on my xlite pro.
The x-lite should have the same resolution as the X7. I assume only the navigation and changing of values is broken because of different hardware buttons on the device. Joystick vs the Rotary wheel.

Alex

Re: FrSky X-lite LUA problems, and "sensor lost" from Spirit

Posted: Fri 24. Sep 2021 20:07:11
by gnauck
I adjusted the basic script for the X-Lite.

For changing values the following events must be added in the OR conditions
EVT_DOWN_BREAK (matches EVT_ROT_RIGHT)
EVT_UP_BREAK (matches EVT_ROT_LEFT)

for navigating between pages the following event should be added:
EVT_RIGHT_LONG (matches EVT_PAGE_BREAK) for next page
EVT_LEFT_LONG then (matches EVT_PAGE_LONG ) for previous page

Is there a Github repo for the scripts?
I am happy to send a PR and adjust the other scripts as well.

Alex