Clr (F5) switch function also as a free selectable switch item or Lua api

  • andreobi
  • andreobi's Avatar Offline Autor
  • Neues Mitglied
  • Neues Mitglied
  • Beiträge: 19
  • Dank erhalten: 23

Clr (F5) switch function also as a free selectable switch item or Lua api wurde erstellt von andreobi

Posted 23 Okt. 2020 23:06 #1
I would like to get a bit more freedom about how and when to clear the flight data Clr (F5)

Today I have to press Clr (F5) to reset the flight data, there is no other way to do it.

I would like to reset the flight data via an LUA app, maybe when a fullloaded battery is connected or a delay time after landing is elapsed or ... that is a decision which has to be programmed in LUA.

To enable this functionality I can imagine two different solution:
1. Jeti provides a menu topic where the user can define a switch item which acts like the Clr (F5) button.
or
2 Jeti extends the LUA api something like <system.clrFlightData(press)>
<press> could be "short" or "long" or "super short"
"super short" will only clear the signal lost alarm

Kind regards
Andre
von andreobi

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.943 Sekunden