cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
417 stars 116 forks source link

Nautilus E616 Elliptical #629

Closed cagnulein closed 2 years ago

cagnulein commented 2 years ago

hci_snoop20220127185215.zip

cagnulein commented 2 years ago

image

cagnulein commented 2 years ago

Hello Robert,

Please find requested information attached, I did the retrieval of information today.

I used the HR measurement from the built in handle bar device

As requested I changed the

I'm not sure if the above data is available in bluetooth

I exported the short workout to strava from the app.

I hope this information helps

Kind regards,

Remko. Virtual_run_of_Zion_National_Park.zip

Remko626 commented 2 years ago

Beta version of the Qz app connects to E626, but data is not updating on the screen. Does Zwift need to be active for this to function?

cagnulein commented 2 years ago

@Remko626 No zwift is not necessary. Could you please attach here a debug log https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

Remko626 commented 2 years ago

@cagnulein find debug log attached

debug-Sat_Feb_5_09_38_21_2022.log

cagnulein commented 2 years ago

find the issue @Remko626 i'm sending a new android beta (are you on android isn't it?) with this fix. i hope it will work. it will be the version 2.10.20 If you can't see it let me know

cagnulein commented 2 years ago

did you try @Remko626 ?

Remko626 commented 2 years ago

Hi,

I did not manage yesterday, so I did it just now. Heartrate and resistance are updating, but others are not. I would also expect to see at least speed, possibly rpm and calories as those are being shown on the elliptical interface, but I'm not sure if they are transmitted via Bluetooth.

KR

cagnulein commented 2 years ago

@Remko626 send me the debug log from QZ https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F and i will check it. Maybe i did something wrong in the parser

do a quick ride and tell me what you did

Remko626 commented 2 years ago

I'll do this on Thursday evening and send actions I did, I have regular volleyball training today.

cagnulein commented 2 years ago

ok no problem! have a nice day @Remko626

Remko626 commented 2 years ago

Hi,

I did a quick test

Remko626 commented 2 years ago

I also have a question about the screen. I just noticed that there are controls in your app to control resistance and fanspeed, are those supposed to be working?

Also I have fanspeed control on my elleptical, but I don't think it is on BLE. In order to figure out if it is, should I run the BLE debug?

cagnulein commented 2 years ago

@Remko626 Ok thanks, I will check this in the next days

cagnulein commented 2 years ago

I also have a question about the screen. I just noticed that there are controls in your app to control resistance and fanspeed, are those supposed to be working?

For the resistance yes, we have just to understand how to manage it. For the fan, on my treadmill I can control it. I don't know if it's controllable on yours.

Also I have fanspeed control on my elleptical, but I don't think it is on BLE. In order to figure out if it is, should I run the BLE debug?

Yes changing it from the producer app if it's possible

cagnulein commented 2 years ago

good news @Remko626 understood and fixed the error. it will be in the 2.10.27 Let me know here when you will receive it

Remko626 commented 2 years ago

Hello,

I received the update and tested it. The speed is now being read, but I noticed that it is wrong. It is about 2times larger than is shown on the interface of the elliptical. This is also the case when using the original "Explore the World" app of Nautilus! The elliptical is correctly set to km/h and not miles/h. I need to investigate is the issue is with the device or possibly tablet settings. Have you experienced similar issues with some of the other devices? that might help me?

cagnulein commented 2 years ago

@Remko626 that's very easy to fix. We can do in 2 ways:

Let me know

Remko626 commented 2 years ago

Hi,

The difference is just over a factor two. I tried different speeds:

  1. Elliptical shows 1,7 and your app shows 4.0 => Factor 2,35
  2. Elliptical shows 4,4 and your app shows 10,8 => Factor 2.45
  3. Elliptical shows 8.0 and the apps shows 23.0 => Factor 2.85

There is of course a delay between the screen and reception over BLE, but it looks like a factor 2,5 in the speed code would be better and then the speed gain change setting might be used for minor modifications.

Remko626 commented 2 years ago

I'm also checking my tablet settings. I have it set to English, but maybe there are some regional settings that have impact.

mrcrunchybeans commented 2 years ago

Here is a log for the e616. btsnoop_hci.log

cagnulein commented 2 years ago

Here is a log for the e616.

btsnoop_hci.log

Thanks I will check this in the next days;)

cagnulein commented 2 years ago

@Remko626 are you able to provide me a quick debug log? i would like to double check if there is another location in the frame where I can pull the speed (maybe the elliptical is already sending the right value but in a different location). Thanks

Remko626 commented 2 years ago

@cagnulein : I'll create a new log tomorrow morning, I'll try to also indicated speeds from the physical display

Remko626 commented 2 years ago

@cagnulein : DO you require the debig log from QZ-App or a bluetooth snoop?

cagnulein commented 2 years ago

from qz app @Remko626 Thanks

Remko626 commented 2 years ago

HI,

Find attached. I tried to keep the speed constant at about 4,6 km/h in the display of the elliptical for about 1 minute. This was translated in the app to 11.9 km/h. RPM was constant at about 60 debug-Sun_Feb_20_15_06_55_2022.log .

cagnulein commented 2 years ago

ok thanks. i will check this in the next day. I have some health issue with my wife and so I have to take care of her first Have a nice sunday!

cagnulein commented 2 years ago

@Remko626 good news! i think i got it! I already change the code, it will be in the 2.10.31 and above! Let me know if it's ok

cagnulein commented 2 years ago

good news @mrcrunchybeans ! managed also yours! It will be in the version 2.10.31 and above too!

Remko626 commented 2 years ago

I'll check when I receive the update. Thanks!

mrcrunchybeans commented 2 years ago

Mixed news. The app doesnt force close any longer automatically, but no data is being logged. Attached are new logs. debug-Thu_Feb_24_20_33_00_2022.log debug-Thu_Feb_24_20_33_29_2022.log

cagnulein commented 2 years ago

@mrcrunchybeans got it and fixed! it will be in the 2.10.34 send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS. Thanks

Remko626 commented 2 years ago

@Remko626 good news! i think i got it! I already change the code, it will be in the 2.10.31 and above! Let me know if it's ok

@cagnulein: Hi, the speed works correctly now! Did you add a division or did you find another location for the data? I'll be testing more over the weekend to see if any other data is send to the original app that can be visualized.

cagnulein commented 2 years ago

@Remko626 i found another location so now QZ it's better than the Nautilus app i guess :D

mrcrunchybeans commented 2 years ago

Thanks. Right now the speed and cadence are recorded and displayed, but nothing else. Attached is a log from a 27 minute run. debug-Fri_Feb_25_09_29_30_2022.log debug-Fri_Feb_25_09_27_48_2022.log

cagnulein commented 2 years ago

fixed @mrcrunchybeans it will be in the 2.10.37!

mrcrunchybeans commented 2 years ago

Thanks @cagnulein! We're getting there. Now it's just the inclination, heart rate, resistance, and fan that is not reporting. debug-Tue_Mar_1_20_38_32_2022.log

cagnulein commented 2 years ago

@mrcrunchybeans ok so i guess your machinery is a little different from the @Remko626 ones. I need that you will send me a debug log from QZ doing this 1) from the elliptical, go from the min inclination to the max one and again to the min one 2) tell me which is the average HR during this process 3) from the elliptical, go from the min resistance to the max one and again to the min one 4) change the fan value from the min to the max one and again to the min one

After this i should be able to parse them Let me know

Remko626 commented 2 years ago

@cagnulein @mrcrunchybeans I have the E626 Machine and the resistance and internal HR are working

I"m not sure if the inclination and fan value are available on Bluetooth, but I would be interested to know if there is a difference between our machines.

@mrcrunchybeans: could you post the version of your display software?

Remko626 commented 2 years ago

@cagnulein I will need to test the last version as I had the impression that Cadence was not working for my device, but from message above it appear sto be working for @mrcrunchybeans. I will test with the latest version available.

cagnulein commented 2 years ago

@Remko626 ok thanks. Yes, as i said, i guess you have different bluetooth firmware on the machines

mrcrunchybeans commented 2 years ago

@mrcrunchybeans ok so i guess your machinery is a little different from the @Remko626 ones. I need that you will send me a debug log from QZ doing this

1. from the elliptical, go from the min inclination to the max one and again to the min one

2. tell me which is the average HR during this process

3. from the elliptical, go from the min resistance to the max one and again to the min one

4. change the fan value from the min to the max one and again to the min one

After this i should be able to parse them Let me know My captain my captain.

Average bpm was around 125.

debug-Mon_Mar_7_23_52_48_2022.log

cagnulein commented 2 years ago

@mrcrunchybeans other than the HR, did you do also the other steps in this log? Unfortunately, from the elliptical, there is never a 125 value so i guess it's not sending it by bluetooth. Just to be sure: from the nautilus app do you see the HR from the elliptical HR?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cagnulein commented 2 years ago

@mrcrunchybeans @Remko626 any news on this? can we close this?

mrcrunchybeans commented 2 years ago

Sorry, family was sick for the last week or so and I haven't been on the elliptical. I'll follow up tonight.

Brian Petry On 3/23/2022 5:04:29 AM, Roberto Viola @.> wrote: @mrcrunchybeans [https://github.com/mrcrunchybeans] @Remko626 [https://github.com/Remko626] any news on this? can we close this? — Reply to this email directly, view it on GitHub [https://github.com/cagnulein/qdomyos-zwift/issues/629#issuecomment-1076177714], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AUQWPF7YMVX2QQPJY35WX6TVBLUAFANCNFSM5M77D5KQ]. You are receiving this because you were mentioned.Message ID: @.> [66a7b9bb-d653-472e-ae06-8b8248241189]

cagnulein commented 2 years ago

@mrcrunchybeans so sorry for the health issues, please no rush at all from my side! take your time! family comes always first!

Remko626 commented 2 years ago

@cagnulein Most of the functions work for me. I have put an overview below

Looking at the screen

Summarizing all seems to work for me except Cadence as this appears in the Watt field instead of the Cadence field.

I have not attached a chest band.

Kind regards,

Remko.

cagnulein commented 2 years ago

@Remko626 thanks for the complete report! @mrcrunchybeans do you have the same issue? i'm just worried that changing something for @Remko626 will be @mrcrunchybeans worse, so we have to be sure that the issues are for both of you ;) let me know