-
Notifications
You must be signed in to change notification settings - Fork 141
Telemetry sensors discovery
Note: The only extra REQUIRED sensor (apart from the RX/TX built in ones) is GPS, all other sensors are optional, the script works fine without them
The script exposes to OpenTX the following variables via the setTelemetryValue() function, this lets end users use them as regular sensors in OpenTX scripts and functions.
Parameter | Description | Type | ID | Instance | Unit of Measure | Precision |
---|---|---|---|---|---|---|
Alt | Altitude [m] | Custom | 010F | 0 | Meters (m) | 1 |
VSpd | Vertical speed [m/s] | Custom | 011F | 0 | Speed (m/s) | 2 |
Curr | Current [A] | Custom | 020F | 0 | Current (A) | 1 |
VFAS | Voltage [V] | Custom | 021F | 0 | Voltage (V) | 2 |
GAlt | GPS Altitude [m] | Custom | 082F | 0 | Meters (m) | 1 |
GSpd | Ground/Air Speed [m/s] | Custom | 083F | 0 | Speed (m/s) | 1 |
Hdg | Compass heading [deg] | Custom | 084F | 0 | Heading (°) | 1 |
Fuel | Remaining batt % | Custom | 060F | 0 | Raw | 0 |
IMUt | IMU temp °C | Custom | 041F | 0 | Temp (°C) | 0 |
ARM | Arming status | Custom | 060F | 1 | Raw | 0 |
On the Taranis you need to run "discover new sensors" in your model telemetry page to use the sensors in OpenTX, the script has to be running for this to work.
On the Horus the procedure is different: start sensor discovery in the model telemetry page, leave it running and go back to the widget page pressing [RTN] without stopping the discovery process. Discovery should be running in the background. Now go back to the sensor discovery page by long pressing [MDL] and all sensors should have been discovered. If this does not work sensors can still be created manually in the model telemetry page.
Notes
- sensor values are passed to OpenTX only when the script receives valid telemetry from the rx!
- sensors con be logged to the SD card, please check the relevant section of the wiki
- Passthrough protocol specs
- Screen Layout
- Display GPS coordinates on Taranis radios
- Feature list
- Sensor discovery
- How to display additional sensors on screen
- Flight modes
- Voltage sources
- Battery configurations
- Airspeed vs Groundspeed
- Alerts
- Telemetry reset
- Telemetry logging to SD
- MavToPT support
- Supported Radios
- Installation on BW LCD radios running OpenTX/EdgeTX
- Installation on Color LCD radios running OpenTX/EdgeTX
- Installation on Color LCD radios running Ethos
- CRSF and ExpressLRS support
- Ardupilot Hardware requirements
- Ardupilot Configuration
- Google Maps configuration
- GMAPCatcher Maps configuration
- QGIS Maps configuration
- Maps Zoom control
- Plotting telemetry values on OpenTX/EdgeTX
- Configuration menu
- Sound files customization