teckel12 / LuaTelemetry

FrSky SmartPort(S.Port), D-series, F.Port and TBS Crossfire telemetry on all Taranis and Horus transmitters
https://github.com/teckel12/LuaTelemetry/wiki
GNU General Public License v3.0
293 stars 57 forks source link

ERROR in refresh() #494

Closed wookie457 closed 1 year ago

wookie457 commented 1 year ago

Describe the bug

I switched from a frsky RSXR (which the inav widget worked fine) to a radiomaster ranger tx module with a radiomaster RP1 receiver. set Inav to CRSF and when the widget tries to load now I get ERROR in refresh(): bad argument #1 to 'getValue' (string expected, got nil. I initially erased sensors and discovered new then this happened

To reproduce

start the INAV widget

Expected behavior

widget to show properly

Screenshots

20230224_191312

Radio and model settings

radiomaster tx16 with a radiomaster ranger module

There is no .dat file in the telemetry/cfg folder

wookie457 commented 1 year ago

NVM. i found the issue- when I initally discovered sensors it did not pull in all sensors from the FC. I did another discovery and it pulled all the FC data and now the widget is working. Sorry that was my bad