Conversation
IMHO, this option has been missing for a long time. This allows pilots to quickly set the telemetry sensors used by both the OpenTX telemetry widget and ETHOS telemetry dashboard. Changes: - Option to switch from raw accelerometer sensors to pitch and roll sensors - Option to select which units are used for fuel - Options are only shown when a FrSky RX is used - I have added translations for Chinese, Japanese, and Ukrainian. But would appreciate those translations being checked by people who know the languages.
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
|
|
I have added a compromise for the Tie UI visibility to telemetry configuration suggestion. I still believe that the current implementation is the right way to go. But I have added a help icon which contains some details for people using SBUS, and how they need to set up SmartPort if the telemetry is not working. |
|
I'm happy for this to be merged. Of course, peer review is welcomed. Also from anyone who speaks Chinese, Japanese, or Ukrainian. |
User description
IMHO, this option has been missing for a long time. This allows pilots to quickly set the telemetry sensors used by both the OpenTX telemetry widget and ETHOS telemetry dashboard.
Changes:
PR Type
Enhancement
Description
Add FrSky SmartPort telemetry configuration options to receiver page
Allow switching between raw accelerometer and pitch/roll sensors
Enable selection of fuel telemetry sensor units
Conditionally display FrSky options based on receiver type
Add translations for English, Japanese, Ukrainian, and Chinese
Diagram Walkthrough
flowchart LR A["Receiver Page"] --> B["Serial RX Provider Dropdown"] B --> C{"Is FrSky Provider?"} C -->|Yes| D["Show FrSky Options"] C -->|No| E["Hide FrSky Options"] D --> F["Pitch/Roll Sensor Toggle"] D --> G["Fuel Unit Selector"] F --> H["Telemetry Configuration"] G --> HFile Walkthrough
receiver.js
Add FrSky options visibility toggle logictabs/receiver.js
serialrx_providerdropdownFBUS)
receiver.html
Add FrSky telemetry configuration UI elementstabs/receiver.html
frSkyOptionssection with checkbox for pitch/roll sensorselection
messages.json
Add English translations for FrSky optionslocale/en/messages.json
serialrx_frSkyPitchRollLabelmessage for pitch/roll checkbox labelserialrx_frSkyPitchRollHelpmessage explaining sensor behaviorserialrx_frSkyFuelUnitLabelmessage for fuel unit dropdown labelserialrx_frSkyFuelUnitHelpmessage explaining fuel sensorselection
configurationFrSkyRXHelpmessage for section titlemessages.json
Add Japanese translations for FrSky optionslocale/ja/messages.json
messages.json
Add Ukrainian translations for FrSky optionslocale/uk/messages.json
messages.json
Add Simplified Chinese translations for FrSky optionslocale/zh_CN/messages.json
help text