cagnulein / qdomyos-zwift

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

[BUG] ProForm TDF 1.0 Not Showing Tiles #2167

Closed elfonashelfna closed 1 month ago

elfonashelfna commented 3 months ago

Describe the bug A clear and concise description of what the bug is:

Turn bike on, open app and can see where it’s found but not showing tiles. Bike is Bluetooth, no WiFi.

The bike connects fine with the iFit app IMG_3021 debug-Wed_Feb_28_18_23_22_2024.log

elfonashelfna commented 3 months ago

debug-Tue_Feb_27_19_41_29_2024.log debug-Tue_Feb_27_19_44_06_2024.log debug-Tue_Feb_27_19_37_50_2024.log debug-Tue_Feb_27_19_41_58_2024.log debug-Tue_Feb_27_19_45_05_2024.log debug-Tue_Feb_27_19_40_23_2024.log debug-Tue_Feb_27_20_09_15_2024.log

cagnulein commented 3 months ago

hi @elfonashelfna that's a new name from the ifit bike. could you please install the free app nrfconnect on show me a screenshot about your bike on it?

let me know

elfonashelfna commented 3 months ago

Scanner On. Device Scanned. Connected. Discovered 00001533-1412-EFDE-1523-785FEABCD123 and Legacy DFU Service Services. Discovered Characteristics 00001535-1412-EFDE-1523-785FEABCD123 and 00001534-1412-EFDE-1523-785FEABCD123 for Service 00001533-1412-EFDE-1523-785FEABCD123. Discovered Characteristics Legacy DFU Packet, Legacy DFU Control Point, and Legacy DFU Version for Service Legacy DFU Service. Discovered Client Characteristic Configuration for Characteristic 00001535-1412-EFDE-1523-785FEABCD123 Characteristic 00001534-1412-EFDE-1523-785FEABCD123 has no Descriptors. Characteristic Legacy DFU Packet has no Descriptors. Discovered Client Characteristic Configuration for Characteristic Legacy DFU Control Point Characteristic Legacy DFU Version has no Descriptors. Device Appearance switched from Generic to NordicDFU.

IMG_3551 IMG_3552

cagnulein commented 3 months ago

@elfonashelfna thanks, i guess i understood the issue now. I did a fix. send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS. Thanks

elfonashelfna commented 3 months ago

Email sent! Thank you so much

cagnulein commented 3 months ago

I'm building it, I will send you it in a hour Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno gio 29 feb 2024 alle ore 15:47 elfonashelfna < @.***> ha scritto:

Email sent! Thank you so much

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2167#issuecomment-1971300780, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEZ7CATUSK4YLZFGLTYV47P7AVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRGMYDANZYGA . You are receiving this because you were assigned.Message ID: @.***>

elfonashelfna commented 3 months ago

I'm building it, I will send you it in a hour Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud Il giorno gio 29 feb 2024 alle ore 15:47 elfonashelfna < @.> ha scritto: Email sent! Thank you so much — Reply to this email directly, view it on GitHub <#2167 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEZ7CATUSK4YLZFGLTYV47P7AVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRGMYDANZYGA . You are receiving this because you were assigned.Message ID: @.>

Beautiful, you’re amazing

elfonashelfna commented 3 months ago

The app now connects to the bike which is a good thing! Now we’re having troubles with the data getting sent from the bike to the app. We have a problem where the cadence is moving through like a sequence of numbers. When we try to pedal, no cadence or power showing up. When we try to change incline on the bike; and pedal, no data changes as far as current incline level and total incline climbed. Feb 29 - 3.log Feb 29.log Feb 29 - 2.log

I will send you an email of the video!

cagnulein commented 3 months ago

ok, do you have also an android device? will be useful to collect some logs from the ifit app let me know

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno ven 1 mar 2024 alle 01:33 elfonashelfna @.***> ha scritto:

The app now connects to the bike which is a good thing! Now we’re having troubles with the data getting sent from the bike to the app. We have a problem where the cadence is moving through like a sequence of numbers. When we try to pedal, no cadence or power showing up. When we try to change incline on the bike; and pedal, no data changes as far as current incline level and total incline climbed. Feb 29 - 3.log https://github.com/cagnulein/qdomyos-zwift/files/14454909/Feb.29.-.3.log Feb 29.log https://github.com/cagnulein/qdomyos-zwift/files/14454910/Feb.29.log Feb 29 - 2.log https://github.com/cagnulein/qdomyos-zwift/files/14454911/Feb.29.-.2.log

I will send you an email of the video!

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2167#issuecomment-1972218038, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHQWJC64JSZ47LPKQTYV7EGXAVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGIYTQMBTHA . You are receiving this because you were assigned.Message ID: @.***>

elfonashelfna commented 3 months ago

We will try this tomorrow, I’ll get it back to you!

elfonashelfna commented 3 months ago

I’ll get that log for you today, how does one turn on debug log on the iFit app with android? Also, once it’s on is there anything you need me to do on the bike such as pedaling or anything?

cagnulein commented 3 months ago

follow this with the ifit app https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device

just ride and change the resistance from the app directly if you can, that's it :)

elfonashelfna commented 3 months ago

Having a tough time getting the bug report after disabling the the Bluetooth setting. I see bug report handler in development options but it don’t let me click anything. Trying for a second time to enable that Bluetooth snoop setting and going into the iFit app and starting a workout then disabling the snoop setting.

cagnulein commented 3 months ago

you should see a "take a bug report" item there

elfonashelfna commented 3 months ago

Phone is a rooted Redmi Note IMG_3042 IMG_3043 IMG_3044 IMG_3045

cagnulein commented 3 months ago

bug report handler?

elfonashelfna commented 3 months ago

This is all there is, can’t click anything .. IMG_3046

cagnulein commented 3 months ago

use adb from your pc to do so

To report a bug or capture logs for a Redmi device using Android Debug Bridge (ADB), follow these steps. This process requires a computer with ADB installed and your device connected via USB.

Installing ADB

If you haven't already installed ADB:

  1. Download the ADB Platform Tools from the official Android developer website.
  2. Extract the ZIP file to a folder on your computer.
  3. Open a command prompt or terminal in the extracted folder (Shift + Right-click in the folder, select "Open PowerShell window here" or "Open command window here").

Enabling Developer Options and USB Debugging on Your Device

  1. Go to Settings > About phone.
  2. Tap on the MIUI version information multiple times until you see a message saying "You are now a developer!"
  3. Go back to Settings > Additional settings > Developer options.
  4. Enable USB debugging.

Capturing Logs

Connect your device to your computer using a USB cable. You might need to authorize the computer on your device.

  1. Capture Bug Report: In the command prompt or terminal where ADB is accessible, type the following command and press Enter:
adb bugreport > bugreport.zip

This command will generate a ZIP file containing your device's logs. The process might take a few minutes.

  1. Capture Logcat: For more specific log capturing (e.g., to capture logs related to a particular issue that occurs in real-time), use:
adb logcat -d > logcat.txt

This command saves the device's current log output to logcat.txt. To capture logs continuously, omit the -d flag.

Submitting the Bug Report

After capturing the necessary logs, you can submit these files through the channels mentioned earlier (Feedback app, Mi Community, etc.), depending on the nature of the issue and the recommended method of reporting for your region or the specific problem you're encountering.

Remember to describe your issue clearly, mention the exact steps to reproduce the problem, and attach the logs you've captured. This information will greatly assist the developers in diagnosing and fixing the issue.

elfonashelfna commented 3 months ago

Do I need to send the .zip it has created?

IMG_3048

cagnulein commented 3 months ago

i need only the bluetooth log, it's inside a sub folder. every android flavor call it in a different way

elfonashelfna commented 3 months ago

btsnoop_hci.log bugreport-tapas_global-TKQ1.221114.001-2024-03-02-15-23-45.zip

cagnulein commented 3 months ago

perfect! i will check it asap!

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno sab 2 mar 2024 alle 21:58 elfonashelfna @.***> ha scritto:

btsnoop_hci.log https://github.com/cagnulein/qdomyos-zwift/files/14470760/btsnoop_hci.log bugreport-tapas_global-TKQ1.221114.001-2024-03-02-15-23-45.zip https://github.com/cagnulein/qdomyos-zwift/files/14470765/bugreport-tapas_global-TKQ1.221114.001-2024-03-02-15-23-45.zip

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2167#issuecomment-1974907360, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWGGCV66GIL3STTIIGTYWI4ONAVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUHEYDOMZWGA . You are receiving this because you were assigned.Message ID: @.***>

cagnulein commented 3 months ago

@elfonashelfna in the mean while, can you enable the "Proform TDF 1.0" setting in the proform bike section in qz and restart QZ? let me know!

elfonashelfna commented 3 months ago

IMG_3055

we’ve tried it with that enabled/disabled we even tried the one below it. Hell we even tried with both of them enabled lol and still no luck

cagnulein commented 3 months ago

ok yes i saw that it's a slight different one. Ok i have to handle also this one (it's slightly different).

elfonashelfna commented 3 months ago

Do you think you have everything you needed such as logs to be able to get it working? I didn’t know if there’s an ETA because it might get to the point if you think we’re better off to just sell the bike and buy something different?

cagnulein commented 3 months ago

Yes I have everything but I'm completely overwhelmed by request. it's an easy job but i can't keep the pace. ideally i will do this week

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno dom 3 mar 2024 alle 17:10 elfonashelfna @.***> ha scritto:

Do you think you have everything you needed such as logs to be able to get it working? I didn’t know if there’s an ETA because it might get to the point if you think we’re better off to just sell the bike and buy something different?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2167#issuecomment-1975208989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWE6YWSPHCG7E56RSB3YWNDODAVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGIYDQOJYHE . You are receiving this because you were assigned.Message ID: @.***>

elfonashelfna commented 3 months ago

You are absolutely fine. In order to support you I bought QZ on my android phone just FYI.

cagnulein commented 3 months ago

thanks!

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno dom 3 mar 2024 alle 17:13 elfonashelfna @.***> ha scritto:

You are absolutely fine. In order to support you I bought QZ on my android phone just FYI.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2167#issuecomment-1975209771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFWGBSQ3VWAB7XZB5DYWNDZFAVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGIYDSNZXGE . You are receiving this because you were assigned.Message ID: @.***>

cagnulein commented 3 months ago

@elfonashelfna i started the implementation here https://github.com/cagnulein/qdomyos-zwift/actions/runs/8137564665

Do you remember what you did in the hci snoof log? i mean you ride a little? because unfortunately the protocol it's completely different from the other proform bike so i have to decipher it.

elfonashelfna commented 3 months ago

Yes we rode a little, messed with incline and shifted gears.

elfonashelfna commented 3 months ago

I wonder why this bike is completely different than the other tdf 1.0 bikes??

cagnulein commented 3 months ago

I wonder why this bike is completely different than the other tdf 1.0 bikes??

i don't know the answer unfortunately :) but the ifit log that you sent me it's an ifit protocol but huge differences

elfonashelfna commented 3 months ago

We also didn’t edit our weight on the bike or calibrate it for the incline before we sent over that log, that shouldn’t matter on your end correct? Because when we was pedaling, it was showing we was pushing around 1200 Watts in some gear/incline lol

cagnulein commented 3 months ago

We also didn’t edit our weight on the bike or calibrate it for the incline before we sent over that log, that shouldn’t matter on your end correct? Because when we was pedaling, it was showing we was pushing around 1200 Watts in some gear/incline lol

hah that's interesting! i thought it was a different protocol because I was seeing very high wattage value. but if you are telling me so, i guess i can try to handle it.

Do you still have your android device? I can build a version to check if we can read the metrics at least

elfonashelfna commented 3 months ago

Still have android, unfortunately where I’m 6 hours behind you, you might be in bed before I get it! But yes, we was confused too about the high wattage hopefully it was from us not entering a weight haha.

cagnulein commented 3 months ago

ok so https://github.com/cagnulein/qdomyos-zwift/actions/runs/8138774130

Google is very slow in these days, reviewing the app on the store, even the beta ones. For this reason, in order to check right now if the patch that I did is right, you can use the android build in the link (check at the bottom of the page in about 1 hour). In order to test it you need first to remove the current QZ version on your phone, install the one that you downloaded. This version is a 15 minutes trial (you can restart it as many times as you want) and I can unlock it if you want, send me an email to roberto.viola83@gmail.com mentioning this ticket and that you are on android. Let me know if you have any questions

What I would like to see in this are at least:

then if they are working, i will tell you how to collect the rest

thanks!

elfonashelfna commented 3 months ago

Will do!

cagnulein commented 3 months ago

new link https://github.com/cagnulein/qdomyos-zwift/actions/runs/8138887200

elfonashelfna commented 3 months ago

Went ahead and downloaded, going to test it after my run. Hopefully the 15 minute timer hasn’t started that you mentioned? Will let you know!

cagnulein commented 3 months ago

@elfonashelfna did you use the play store version?

elfonashelfna commented 3 months ago

I downloaded that test version you submitted above where it says “new link”! Android version

cagnulein commented 3 months ago

ok, did i add to the unlock list? i don't remember

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno dom 10 mar 2024 alle 14:01 elfonashelfna @.***> ha scritto:

I downloaded that test version you submitted above where it says “new link”! Android version

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2167#issuecomment-1987221512, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDBJZSROP32GCJDVHDYXRRT7AVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIZDCNJRGI . You are receiving this because you were assigned.Message ID: @.***>

elfonashelfna commented 3 months ago

I’m not too sure what you mean by unlock? I was able to install it and open the app up if that means anything haha. If you don’t mind and could check I’m good to go and leave a detailed comment if you think anything has changed; I’m bringing that android phone with me on my run and I’ll read your comment when I get to his house. We only have about 10 mins to test the app today on his bike. Thank you Roberto!!!

cagnulein commented 3 months ago

ok i'm riding actually :)

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno dom 10 mar 2024 alle 14:05 elfonashelfna @.***> ha scritto:

I’m not too sure what you mean by unlock? I was able to install it and open the app up if that means anything haha. If you don’t mind and could check I’m good to go and leave a detailed comment if you think anything has changed; I’m bringing that android phone with me on my run and I’ll read your comment when I get to his house. We only have about 10 mins to test the app today on his bike. Thank you Roberto!!!

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2167#issuecomment-1987222531, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWCL3MCYNQ6MJCVT5YTYXRSBNAVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIZDENJTGE . You are receiving this because you were assigned.Message ID: @.***>

elfonashelfna commented 3 months ago

I installed the android version from the link: https://github.com/cagnulein/qdomyos-zwift/actions/runs/8138887200 I enabled debug to show you what I capture but can’t seem to find the QZ folder on my android? Anyways, still no luck. It connected to the bike but when I start pedaling there is still no cadence or power output. The cadence would go to “1” then back to “0”

cagnulein commented 3 months ago

did you set the right ip in the right setting?

share a debug log

if you are on android 14 it's under /documents/qz

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno dom 10 mar 2024 alle 15:37 elfonashelfna @.***> ha scritto:

I installed the android version from the link: https://github.com/cagnulein/qdomyos-zwift/actions/runs/8138887200 I enabled debug to show you what I capture but can’t seem to find the QZ folder on my android? Anyways, still no luck. It connected to the bike but when I start pedaling there is still no cadence or power output. The cadence would go to “1” then back to “0”

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2167#issuecomment-1987254718, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWB75WAFAPOP5MC43XDYXR45DAVCNFSM6AAAAABD65YKH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGI2TINZRHA . You are receiving this because you were assigned.Message ID: @.***>

elfonashelfna commented 3 months ago

debug-Sun_Mar_10_10_08_34_2024.log debug-Sun_Mar_10_10_10_36_2024.log debug-Sun_Mar_10_10_11_16_2024.log

cagnulein commented 3 months ago

@elfonashelfna perfect, i will check it ASAp!

cagnulein commented 3 months ago

@elfonashelfna new one here https://github.com/cagnulein/qdomyos-zwift/actions/runs/8230144805

Let me know!