cagnulein / qdomyos-zwift

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

Impossible to connect to treadmill BH S7Ti #1800

Open solypaz opened 1 year ago

solypaz commented 1 year ago

Describe the bug Nothing happen with the app. and the treadmill, I see that the app see my treadmill as it is written : Br-255 found. Reading te Qz user guide, I see that

sorry Roberto, I wish I did not bother you

here my last email to ease your search

_Ok I am checking for more :o)

I'm trying further to connect the treadmill. Last time I tought that I was connected but I think the app just saw my treadmill..

But when I connect with your app, nothing happen. even try to manually force connect in advance search, choose my treadmill, close the app and reopen, but nothing happen

If I open zwift, I cant see the qz neither to connect to

help ! :o) tony_

debug-Mon_Nov_20_18_02_16_2023.log

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): NOT USING YET ON THE DESKTOP

Smartphone (please complete the following information):

Append a debug log

Follow this guide https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

Additional context Add any other context about the problem here.

cagnulein commented 1 year ago

find the issue, your bike has a slightly different name; good news! I can add it! Could you just please send me a nrfconnect screenshot about it? nrfconnect is a free app on the store let me know!

solypaz commented 1 year ago

There is nothing the app can see, as it is a non BLE treadmill.. I will search for an app that can see those, or maybe you know wich one I can use?

Screenshot_20231121-072957

cagnulein commented 1 year ago

perfect, it what I would like to see. I'm doing a patch and in 40 minutes I will send you a version to test it!

cagnulein commented 1 year ago

done, when it will be ready you will see the apk at the bottom of the page, install it and let me know! https://github.com/cagnulein/qdomyos-zwift/actions/runs/6944007915

solypaz commented 1 year ago

perfect, it what I would like to see. I'm doing a patch and in 40 minutes I will send you a version to test it!

in case it is helpful..

Screenshot_20231121-075920 Screenshot_20231121-075925 Screenshot_20231121-075749 ](url)

cagnulein commented 1 year ago

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

solypaz commented 1 year ago

Sorry for my ignorance but how do I install it?

cagnulein commented 1 year ago

click here from your phone https://github.com/cagnulein/qdomyos-zwift/suites/18376802567/artifacts/1064267575 and install this apk ;)

solypaz commented 1 year ago

Ok thats a great step? Change is on 😄

I can see the tiles for the first time

But or I dont understand how the app works or there is something else..

cagnulein commented 1 year ago

great! ok share me a new debug log https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

solypaz commented 1 year ago

debug-Tue_Nov_21_11_05_16_2023.log

cagnulein commented 1 year ago

Thanks, I will check it tomorrow

Il giorno mar 21 nov 2023 alle 17:24 solypaz @.***> ha scritto:

debug-Tue_Nov_21_11_05_16_2023.log https://github.com/cagnulein/qdomyos-zwift/files/13428763/debug-Tue_Nov_21_11_05_16_2023.log

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

cagnulein commented 1 year ago

@solypaz log checked. i guess this treadmill has a slighty different protocol from the one that I implemented. Could you please do the following:

  1. connect qz to the treadmill
  2. change the speed FROM THE TREADMILL , to 2 km/h wait 5 seconds, to 3 km/h and so on
  3. do the same with inclination
  4. attach here the debug log even if you don't see the tiles changing

thanks!

solypaz commented 1 year ago

debug-Wed_Nov_22_07_32_04_2023.log

And I also pushed the fan button before pushing stop on the treadmill :)

There is also the app that still ask me to sign to patreon, wich I did yesterday night. Maybe due to the special app that you made for me?

Thanks Roberto Tony

cagnulein commented 1 year ago

thanks! i will check the log later today about patreon you have to add your email @hotmail.com to the email settings in qz and press ok, i just added you let me know

Il giorno mer 22 nov 2023 alle 14:22 solypaz @.***> ha scritto:

debug-Wed_Nov_22_07_32_04_2023.log https://github.com/cagnulein/qdomyos-zwift/files/13439946/debug-Wed_Nov_22_07_32_04_2023.log

There is also the app that still ask me to sign to patreon, wich I did yesterday night. Maybe due to the special app that you made for me?

Thanks Roberto Tony

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

cagnulein commented 1 year ago

log checked, could you please enable the toorx_65s_evo setting in QZ and restart it. Also after pressing start on qz, wait some seconds before changing the speed with plus and minus button on qz Let me know

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

Il giorno mer 22 nov 2023 alle ore 14:31 cagnulein @.***> ha scritto:

thanks! i will check the log later today about patreon you have to add your email @hotmail.com to the email settings in qz and press ok, i just added you let me know

Il giorno mer 22 nov 2023 alle 14:22 solypaz @.***> ha scritto:

debug-Wed_Nov_22_07_32_04_2023.log https://github.com/cagnulein/qdomyos-zwift/files/13439946/debug-Wed_Nov_22_07_32_04_2023.log

There is also the app that still ask me to sign to patreon, wich I did yesterday night. Maybe due to the special app that you made for me?

Thanks Roberto Tony

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

solypaz commented 1 year ago

I have an email entered in the settings but it is not te same as patreon @hotmail is my app and junk mail (which I signed to patreon) @gmail is my real mail (the one I want the stats and charts..)

I have to change my patreon email? or is there another place to enter my patreon email I didn't see?

Tony

cagnulein commented 1 year ago

@solypaz for now use the hotmail one in QZ, then write me on patreon your real gmail so I will add it as well.

solypaz commented 1 year ago

Nothing happen

This one I made it with the toorx_65s_evo setting on debug-Wed_Nov_22_09_06_03_2023.log

and this one I made it with the toorx_65s_evo setting onand I unchecked the pafers option debug-Wed_Nov_22_09_09_30_2023.log

Tony

cagnulein commented 1 year ago

ok so it means it has a different protocol. could you please use this method https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device with an app that already works with your treadmill?

solypaz commented 1 year ago

Kinomap is the only app I found working with the treadmill.

First I incremented incline from the app (4x1% ) then incremented incline from the treadmill +-4x1% Then +1km, +1 +1 +1 +1 +1 ( all from the treadmill because Kinomap refuses to set the speed) Then the Kinomap set itself to 0% incline because of the training program loaded. Then Fan Then 6 mile/hour button Then 8% incline button Then Stop

bugreport-beckham-PPWS29.131-27-1-27-2023-11-22-13-22-25.zip

cagnulein commented 1 year ago

Thanks, I'll check it out tomorrow!

Il giorno mer 22 nov 2023 alle 19:25 solypaz @.***> ha scritto:

First I incremented incline from the app (4x1% ) then incremented incline from the treadmill +-4x1% Then +1km, +1 +1 +1 +1 +1 ( all from the treadmill because Kinomap refuses to set the speed) Then the Kinomap set itself to 0% incline because of the Then Fan Then 6 mile/hour button Then 8% incline button Then Stop

bugreport-beckham-PPWS29.131-27-1-27-2023-11-22-13-22-25.zip https://github.com/cagnulein/qdomyos-zwift/files/13443280/bugreport-beckham-PPWS29.131-27-1-27-2023-11-22-13-22-25.zip

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

cagnulein commented 1 year ago

ok @solypaz keeping the toorx 65s setting ENABLED download this https://github.com/cagnulein/qdomyos-zwift/actions/runs/6967185281 (you will see the android apk at the bottom when it will end the build)

Let me know!

solypaz commented 1 year ago

Thanks Roberto,

That's a hard one for you! it goes more or less the same

Treadmill connect, starts,

when I push treadmill incline and speed + it works but speed and incline on app does not change so I made 5x+.1km/h on treadmill 5x +.1km/h 1x.1km/h some(I think 5x 1% incline on treadmill) everything fine Then on app

on a previous try app button+ speed, nothing happen, and when I push +incline, treadmill stop.

debug-Thu_Nov_23_08_05_12_2023.log

Keep on you will have it!

cagnulein commented 1 year ago

ok i will check this, thanks, there must be something very stupid around that I didn't see

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

Il giorno gio 23 nov 2023 alle ore 14:26 solypaz @.***> ha scritto:

Thanks Roberto,

That's a hard one for you! it goes more or less the same

Treadmill connect, starts,

when I push treadmill incline and speed + it works but speed and incline on app does not change so I made 5x+.1km/h on treadmill 5x +.1km/h 1x.1km/h some(I think 5x 1% incline on treadmill) everything fine Then on app

on a previous try app button+ speed, nothing happen, and when I push +incline, treadmill stop.

debug-Thu_Nov_23_08_05_12_2023.log https://github.com/cagnulein/qdomyos-zwift/files/13450386/debug-Thu_Nov_23_08_05_12_2023.log

Keep on you will have it!

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

solypaz commented 1 year ago

-I can tell also that this time, the app never found my Garmin watch.(Bluetooth is on on it also🙂) -the app crashed a few times here are few logs if you want to use them debug-Thu_Nov_23_08_00_23_2023.log debug-Thu_Nov_23_08_00_50_2023.log debug-Thu_Nov_23_08_01_34_2023.log debug-Thu_Nov_23_08_01_55_2023.log debug-Thu_Nov_23_08_02_52_2023.log debug-Thu_Nov_23_08_04_40_2023.log

cagnulein commented 1 year ago

-I can tell also that this time, the app never found my Garmin watch.(Bluetooth is on on it also🙂)

with one? did you pair in the heart rate belt setting?

-the app crashed a few times here are few logs if you want to use them

nope for now, let's fix the metrics first ;)

solypaz commented 1 year ago

I paired in the hr setting my strap,

but last times, when the app open and look for bluetooth connections, it saw my polar strap, the treadmill and the watch, but this time didn't see the watch..

anyway it is to give you some points I see from here :)

cagnulein commented 1 year ago

@solypaz I did another small fix for the metrics https://github.com/cagnulein/qdomyos-zwift/actions/runs/6979019909 Let me know if it's better, share the debug log always, thanks

cagnulein commented 1 year ago

sorry this one https://github.com/cagnulein/qdomyos-zwift/actions/runs/6979131978

solypaz commented 1 year ago

first one

start from the app 10x +speed nothing happen 1x + incline treadmill stop

debug-Fri_Nov_24_08_24_20_2023.log

second one from treadmill 3x +incline 2x 10x 0.1km from app 3x -1% incline - nothing happen 6x -0.1km- nothing happen 5x +0.1km - treadmill goes back to 1km/h 2x 5x1% from treadmill +1% on app - treadmill stopped

debug-Fri_Nov_24_08_27_21_2023.log

solypaz commented 1 year ago

again I checked

solypaz commented 12 months ago

I've tried something this week-end. I've try an app that worked on my phone that I forgot I had. It is Treadmill Workout de RFIT http://www.rfit.xyz/ https://play.google.com/store/apps/details?id=xyz.rfit.fitness.workout.pafers.pro&hl=en_US

I've recorded the report

Everything work well when I play the workout The difference with your app is that it ask me to push start on the treadmill to make the workout start.

bugreport-beckham-PPWS29.131-27-1-27-2023-11-26-20-19-56.zip

(I give you the zip as I have an 0x80070057 error code when extracting.. Maybe you will have the files you want anyway..

Let me know Tony

cagnulein commented 12 months ago

ok i will check it, so can't you also push start on qz from the treadmill directly?

Il giorno lun 27 nov 2023 alle 02:46 solypaz @.***> ha scritto:

I've tried something this week-end. I've try an app that worked on my phone that I forgot I had. It is Treadmill Workout de RFIT http://www.rfit.xyz/

https://play.google.com/store/apps/details?id=xyz.rfit.fitness.workout.pafers.pro&hl=en_US

I've recorded the report

Everything work well when I play the workout The difference with your app is that it ask me to push start on the treadmill to make the workout start.

bugreport-beckham-PPWS29.131-27-1-27-2023-11-26-20-19-56.zip https://github.com/cagnulein/qdomyos-zwift/files/13468786/bugreport-beckham-PPWS29.131-27-1-27-2023-11-26-20-19-56.zip

(I give you the zip as I have an 0x80070057 error code when extracting.. Maybe you will have the files you want anyway..

Let me know Tony

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

solypaz commented 12 months ago

no it doesn't seem to work. The only way I can start the aerobic workout, and the treadmill is pushing pause, then start...

cagnulein commented 12 months ago

hci_snoop20231126200515.cfa.zip ok for my reference that's the file i need in your zip file, thanks. i'm checking it

cagnulein commented 12 months ago

@solypaz i checked it again but the logs are matching. I'm wondering if you are waiting more or less 20 seconds from when you see the tiles in qz and then when you're changing the speed on the treadmill, because qz is doing the init phase for your treadmill

so you should do

are you doing this? if not could you please do and send me a debug log in this scenario?

Sorry for all the questions but it's very hard to debug this from the other side of the world :)

solypaz commented 12 months ago

Hi Roberto the app shut automatically after 20 sec.. debug-Tue_Nov_28_09_53_40_2023.log

cagnulein commented 12 months ago

i don't see a connection in this log. are you is the right one? so it crashes after 20 seconds since the first day?

Il giorno mar 28 nov 2023 alle 16:18 solypaz @.***> ha scritto:

Hi Roberto the app shut automatically after 20 sec.. debug-Tue_Nov_28_09_53_40_2023.log https://github.com/cagnulein/qdomyos-zwift/files/13489900/debug-Tue_Nov_28_09_53_40_2023.log

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

solypaz commented 12 months ago

I'm out at the moment, i cant check that..

Check this out tonight

solypaz commented 12 months ago

Hi Roberto,

don't be sorry for the questions! I'm so happy you try hard! don't worry for me I'm good with it :)

So I tried to be more realistic by sending you a video, not a good quality but better than nothing (My camera on my laptop)

it does the same thing than this morning and you will probably see the same thing on the report.. debug-Tue_Nov_28_23_31_34_2023.log

I had more shutdowns since the last version of your app that you made me download.

Here is the second try with pafers treadmill off same same debug-Tue_Nov_28_23_56_38_2023.log

*cannot give you the video as it is too heavy but it is exactly the same as the first one, app crashed when it takes control of the treadmill.

cagnulein commented 12 months ago

in these 2 log there is a crash right after the connection, since i didn't change nothing there, I don't understand. Is it a beaviour of this one only? or also the previous ones were doing the same?

I remember I already saw this behaviour on another deiveice, let me check it.

cagnulein commented 12 months ago

i guess i fixed the crash here https://github.com/cagnulein/qdomyos-zwift/actions/runs/7032929889

let me know

solypaz commented 12 months ago

Check this out tonight Thanks Tony

Le mer. 29 nov. 2023 08 h 02, Roberto Viola @.***> a écrit :

i guess i fixed the crash here https://github.com/cagnulein/qdomyos-zwift/actions/runs/7032929889

let me know

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

solypaz commented 12 months ago

Crash solved 🙂

Start from my treadmill do nothing

If i started a aerobic training for example, treadmill connect, start but set to 1km/h and 1%incline

cagnulein commented 12 months ago

but do you see the metrics now? please share a debug log thanks

Il giorno gio 30 nov 2023 alle 06:04 solypaz @.***> ha scritto:

Crash solved 🙂

Start from my treadmill do nothing

If i started a aerobic training for example, treadmill connect, start but set to 1km/h and 1%incline

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

solypaz commented 12 months ago

Sorry, I'll continue to always include a debug log

ok here is the debug log I did this morning,

Thanks Tony

cagnulein commented 12 months ago

Ok, I'll check it out.

Il giorno gio 30 nov 2023 alle 15:44 solypaz @.***> ha scritto:

Sorry, I'll continue to always include a debug log

ok here is the debug log I did this morning,

  • started the app
  • app connect well to treadmill
  • tried to start treadmill by pushing start on the treadmill, nothing happen
  • started the treadmill by pushing pause, then start in the app - ok
  • app metrics don't move/show 0, but treadmill is +- 1km/h and 1% incline
  • tried to increase/decrease speed with app - nothing happen
  • increase speed and incline with treadmill, everything ok
  • tried to increase/decrease speed on app - nothing happen
  • tried to decrease incline on app - nothing happen
  • increase incline on app, then treadmill stopped
  • pushed stop on app

Thanks Tony

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

cagnulein commented 11 months ago

hi @solypaz i don't see the last debug one. could you please upload it?

solypaz commented 11 months ago

Sorry I forgot to aytach it

Le ven. 1 déc. 2023 09 h 14, Roberto Viola @.***> a écrit :

hi @solypaz https://github.com/solypaz i don't see the last debug one. could you please upload it?

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