-
Notifications
You must be signed in to change notification settings - Fork 89
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
Telemetry issue with multiprotocole module and Spektrum receiver #3326
Comments
I can't seem to get any to show up... what extra did you install for Multimodule/spektrum telemetry to show up at all? |
The script has been modified for 1.5.0 (there is a branch for that in this repository) |
Do you mean the multi lua? That is not different from the main version. What modified script do you mean? I see crossfire is updated but not the multi one. |
@bsongis-frsky Where is this modified multi lua script? The 1.5.0 branch has the same as main for multi. Some other scripts are updated already. Or is there no updated multi script yet and have i misunderstood your post? |
Yeah, I don't see an updated script for multi yet... Any updates on this? |
So extra sensors won't be available in the 1.5.0 release initially? |
@bsongis-frsky ask Mike Blanford he implemented it for me like 6 months ago in Ersky, he defenetly knows how to. Also see atached the spektrum documentation on the sensors. |
Hi @bsongis-frsky, Very good news. |
I have no problem with the implementation. The problem is testing as I don't have the needed hardware |
I can add 3 new sensors (RPM / VOLTS / TEMPERATURE), in 1.5.0 provided somebody pings me on Discord to have a test. |
@bsongis-frsky I pinged you on discord I can test. |
Thanks, working with Tadango first. Which sensors are you missing? |
@bsongis-frsky MIke blanford figured out for ERSKY 126 is the Receiver/TM1000 voltage sensor (and other sensors). In Spektrum land if 32 is present duplicate values in 126 are ignored (so you can't monitor the motor pack and another pack with the voltage sensor port). The Tx should be able to calculate the mAh used by integrating the current value over time, but I see I have this code missing, I'll get it added (Mike said) To use this, go into the Telemetry menu and select "Fas" as the current source. The mAh sensor value will then show consumed capacity. My tx16s used ecur for mah reading with spektrum I believe @RealTadango doesn't have an esc with current reading? So I can test that for you. I just hit you up yersterday on discord. This is all the info i have available. I also atached the raw logfile of ersky that sniffed all my dsm sensors that should help. |
I just loaded 1.5.0 on my X18S. I have the IRange IRX4 Lite and a Horizon Hobbies Cub S I fly from time to time. After 1.5.0 installed, still no RSSI (or any other telemetry when doing discovery). Should this be working now? |
The should showup when discovering sensors. That do you get as sensors? |
I get no sensors at all when setting discover to yes. |
Try restarting the TX. I noticed sometimes the iRX4 does not fully start and provides no sensors. |
Will do in a few minutes when the RX battery is charged enough. In the meantime, looking at the main.lua script for the mult-module, I see telemetry entries for Cabell, Flysky and OMP protocol's, I do not see an entry for spektrum nor do I find a later version of the lua script. Is what I see correct or is there an newer version of the script available? |
Nothing has changed in the multi lua. |
Ok, give me a few minutes of charging time and I'll try what you have suggested and report back. |
Rssi not working is a bug,.rest should work. |
Thanks for that. Not sure the Cub S returns anything other than RSSI, so may just have to wait until the RSSI is fixed. Thanks! |
Hello everyone, we have news of new data from sensors such as vario or altimeter, thank you |
Greetings Same model was prev bound to Tx16s/EdgeTx 2.10.4 which recognized the GPS. Happy to test / provide any other info |
@frankiearzu Thanks for your proposal! Would you contact me on Discord? Have you tried the latest Ethos 1.5 nightly? |
Glad to see this moving forward |
Hello, i haven't try the 1,5 nightly. I wait for the 1.5.16 |
Just played with the 1.5.16 pre-released, using an AR637TA Smart RX + Avian ESC to get ESC/Batt telemetry, Just a bit of background.. most of the Spektrum Telemetry frames carry many sensors, and are grupped based on what is needed in a single telemetry screen.. the frame data match the screen data. For example, the ESC frame has all the different data related to ESC telemetry screen. This difference creates a challenges in our side: Sometimes, the same sensor data is sent of different frames types, creating duplicates sensors. For example, Batt V can come in the Flight Pack Frame and ESC frame.. What we did in EdgeTX is to detect if we are getting an ESC frame, and ignore the BattV comming from the Flight Pack sensor. Otherwise you end up with two "A3" sensors with the same value. Another example is with the Vario Frame and Altitude Frame.. Vario has "Alt" and "VSpd", and the Frame ALT only have altitude.. but the RX sends both frames, so you end up with two "Alt" sensors. LemonRX G2 receivers do send a lot of the same data on multiple frames when you have their Current or Voltage sensor attached, creating many duplicates.. but the same thing happen with genuine Spektrum when you have the Smart ESC and the Flight Pack monitor sensor connected (Current, Volts, Temperature, Battery Usage mAh). There are some frames who has unrelated data, just to match the data on a screen.. for example, there is a frame who has RPM, Temp, and Batt Volage.. The Batt Voltage is populated, but the if you don't have the RPM or Temp sensor, it will come with NoData constant. General comment:
Summary of my Test: _TX RSSI (0-31).. populating the Radio/Power strenght graph with very low RSSI and warnings... the internal RSSI in OpenTX/EdgeTX is this RAW value * 3 to get it 93 that is close to 100.. Ideally should be multiplied by 3.22. Frame 0x7E (126) RPM/V/Temp
Frame 0x7F (127) QOS
Frame losses and Holds is OK. NOTE: is a UINT16, so NoData is 0xFFFF, but some receivers also send 0x7FFF (no-data for signed).. so in EdgeTX, ignoring both. Frame 0x20 (32) ESC
Frame 0x14 (20) GForce 0x1A (26) Gyro Frame 0x42 Smart Battery (Not documented) Battery Capacity: WRONG Name (Is not Capacity, but instant current) in mAh, PREC0. Should be very close to the ESC Current (that is in A, PREC2) The Smart battery frame is trickie, since the same frame can be populated with different data. 0x00. Status of the Battery (that seems to be populated OK) In EdgeTX we did a trick to add this value/16 and add it to the 0x42 base address, so in the sensor definition, Cells 1-6 is treated as Frame 0x43, etc. Seems that the frame ID range is not used in spektrum, so seems ok this hack. This is to continue using the table definition to help decode the message. Frame 0x05 AS3X Flight Controller info (Not documented) Also have the GPS and SkyId/Remote ID (undocumented) reversed enginered if you want to add the processing for those frames. On previous version of the RX firmware, the SkyID populated the documented GPS frames, but on the latest version (AS3X+), they stop sending it on those frames, and the same GPS data was added to the SkyID Frame. |
Oke, i am waiting for the update to 1.5.16. Then we see |
Same status for 1.5.17 pre-release |
Hello, i have install 1.5.18 but NO telemetrie from the Spektrum receiver |
Have you installed the latest lua scripts? |
No, but where i am finding this version
Vr gr Benny Breman
Verstuurd vanaf mijn iPhone
Op 24 okt 2024 om 16:15 heeft Rob Thomson ***@***.***> het volgende geschreven:
Have you installed the latest lua scripts?
—
Reply to this email directly, view it on GitHub<#3326 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BL32F7Z7NQPWKCW7GKFKM7DZ5D6G7AVCNFSM6AAAAABCLV7YIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZVGQYTOMRWGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
i have found de main.lua en insert de radio, There are a few buttons, in the menu of RF system in the radio. But NO telemetrie is coming |
1.5.18 is working for me... Bind, Telemetry seems fine. Did not need to update the lua script. |
YESSSS, i had the binding on DSM1-2F. but now DSMX-2F and it's working |
Yes there is Spektrum / MLink / FlySky telemetry with the Multimodule |
Hello, I tested yesterday, I now have variometer and altitude from an AR8820T. There is still a small issue while paring : it doesn't automatically detect that the Rx has been paired. But the work you did is already incredible. Regards, |
Hello I have also tested my planes with the spektrum receiver and everything is working, i am happy. Also de Altitude sensor in the glider is working. Thanks for all |
@BennyBreman Ethos has 2 thresholds, one for Warning (here 40), one for Critical (here 30). What should be the right thresholds for Spektrum? |
Also what is the unit for RSSI? % or dB or nothing. Today it is nothing. |
It's the --> Tx RSSI |
And which value for Critical? |
I don't know which value for critical. But i have fly this afternoon and everything is working but the telemetry is very poor, it means at 20 meters the telemetry is gone. At all the planes. I have a FrSky X18Se with Spektrum receivers |
Hmmm So telemetry not making it back is not really a function of integration on the radio. The radio can only report on what it receives. It's it that you are getting a warning of losing a sensor? Or is it that all sensors stop working? |
Loosing all sensors, the call is : Telemetry is gone. and near de transmitter : Telemetry is back |
I am afraid it is not Ethos, if the module reports no telemetry! |
Oke, but the telemetry is working on a Spektrum transmitter, also in the distance |
Might be worth making sure the multiprotocol module is on the latest firmware. The multi module is what handles the comms with the receiver - and then simply passes it on to the radio. Ethos then processes the data from the module and reports the status. Net result.. no data from module - ethos says.. telemetry lost. |
Enhacements/fixes on ticket #4702 |
Hello,
I have missing sensors in the telemetry when using a multiprotocole module and a Spektrum receiver.
I see only receiver related telemetry (RxBatt, RSSI, Frame losses, ...) but no external sensors (LiPo voltage, altimeter, ...)
I test it with both an AR6610T with internal altimeter and AR8010T with external altimeter : they behave the same.
Also when binding the multiprotocol it keeps stuck in the binding popup whereas it should exit properly when telemetry is received (as explained in the MPM documentation). In addition, it's not possible ti bind in Auto mode as it relies on telemetry.
I'm running EthOS 1.5.0 RC1 on TANDEM X18 with an iRangeX iRx4 Lite MPM.
I can't find the information about the precise list of supported telemetry message on MPM, but it seems that OpenTx has lua scripts to handle additionnal sensors.
Regards.
The text was updated successfully, but these errors were encountered: