Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget Value 2 does not display active telemetry value. #176

Open
glipski50 opened this issue Nov 23, 2024 · 15 comments
Open

Widget Value 2 does not display active telemetry value. #176

glipski50 opened this issue Nov 23, 2024 · 15 comments

Comments

@glipski50
Copy link

glipski50 commented Nov 23, 2024

TX16S 4in1 with EdgeTX v.20.2.5
Mulimodule v1.3.4.0
Most actual SD content
Receiver GR16

GR16 is bound, sensors are detected, values are displayed correctly using widget "value".
Using widget "value 2" values are grayed out and show "0".

LUA WIDGETS/value 2 ist most actual

Top widget is value 2
Bottom widget is value

screen-2024-11-23-212219

@offer-shmuely
Copy link
Contributor

can you post a picture of the telemetry page, as well as the the widget setting?

@offer-shmuely
Copy link
Contributor

offer-shmuely commented Jan 5, 2025

can you post a picture of the telemetry page, as well as the the widget setting?

reminder...

@offer-shmuely
Copy link
Contributor

additional reminder...

@glipski50
Copy link
Author

glipski50 commented Jan 22, 2025

Sorry for the late response

Here're the screenshots. First screenshot upper widget is Value, lower one is Value 2.

Image

Telemetry page
Image

Widget settings
Image

@offer-shmuely
Copy link
Contributor

Can you share your model?

@glipski50
Copy link
Author

glipski50 commented Jan 22, 2025

Can you share your model?

Sure. just created a quick test model this morning.

model2.yml.txt

@offer-shmuely
Copy link
Contributor

What is the version of the widget?
I think it does not detect the telemetry

What receiver/protocol is it?

@glipski50
Copy link
Author

glipski50 commented Jan 22, 2025

The receiver is. Gaupner GR16 HoTT. The internal widget findds the telemetry value without problems and displays ir correctly. The widget version for Value 2 is from here, I installed it new

https://github.com/EdgeTX/edgetx-sdcard/tree/master/sdcard/c480x272/WIDGETS/Value2

In the german forum rc-network.de I was in contact with mha1. He‘s a edgetx contributor and he could recreate the issue, also with other sources as telemetry as he wrote

Image

@offer-shmuely
Copy link
Contributor

I am not speaking german

@glipski50
Copy link
Author

glipski50 commented Jan 22, 2025

He wrote

„Yes it also did not work for me, even not with sources other than telemetry. If you want to open an issue then here:“

@offer-shmuely
Copy link
Contributor

can you run this version, and share what printed on the screen?

Value2_rssi_test1.zip

@glipski50
Copy link
Author

glipski50 commented Jan 22, 2025

Installed the new Value2 luas (of course deleted the previous lua's and luac's first).

Looks like this now. On the left side I added the widgets Value top left and Value 2 bottom left with throttle stick position as source. Looks like your new lua's Value2 show steps (-1024 to 1024) instead of percentage (-100% to 100%) for throttle position and Rbt is missing one decimal.

The light gray text lines behind the displayed values I can't interprete. Maybe it's for your debug information.

Image

Image

Further tests I can do tomorrow afternoon (German time).

@offer-shmuely
Copy link
Contributor

hi

  1. telemetry detection
    this version was supposed to add the gray info, not to change the working state.
    can it be that the old widget was NOT from the version you showed my?
    do you still have it's code?
    can you send me the code of the old one?

  2. inputs:
    the channel & input are indeed should be scaled by 1024, but the lua api can not have this info, I asked to add it a long time ago, but there was no interest, can not do it on lua

  3. the value of the 5v should have present 5.2v and not 5v
    can you change the precession and check if that help?

@glipski50
Copy link
Author

to 1. I don't have the code anymore, should haver done a backup before I installed your test version. Since I reported on github Nov 23, 2024 I assume it was the version Value2 from Apr 2, 2024. The next days I will try to download the versions for Value2 from April 2, 2024 and Dec 15, 2024 to recreate the issue , but I am not sure when I'll find the time.

As I wrote above mha1 = Michael could recreate the issue at Nov 23, 2024 as well. Maybe you could get in touch with him also.

https://github.com/mha1

to 2. Understood

to 3. the precision is at 0.0, as the widget Value shows 5.2v. I changed the precision to 0.00 but nothing changed and the widget Value2 still shows 5v.

@glipski50
Copy link
Author

glipski50 commented Jan 23, 2025

Still found some time :-)

I think I found what happened. When reporting the assumed bug I had installed the SD content of EdgeTX "Centurion" v2.10.3 SD (Latest). I just now download this, extracted the widget Value2 and is does display 0 as I my initial report. I guess that was also the LUA version I downloaded Nov 23, 2024 since your next update is from Dec 2024.

Image

I then downloaded the Pre-Release latest (3 days ago) and installed Widget Value2 and everything works fine incl. the correct decimal.

Image

It looks like the official version Centurion v2.10.3 SD contains a buggy version of the LUA's for the widget Value2. The Pre-Release of the SD seems to contain your LUA from Dec 15, 2024. All may be mixed up in timing and that may be why mha1 could recreate my issue back in Nov 2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants