Skip to content
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

[BUG] Treadmill is connected, but no speed or incline is transmitted #2012

Closed
afitz85 opened this issue Jan 19, 2024 · 75 comments
Closed

[BUG] Treadmill is connected, but no speed or incline is transmitted #2012

afitz85 opened this issue Jan 19, 2024 · 75 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@afitz85
Copy link

afitz85 commented Jan 19, 2024

Describe the bug
with the pc version (windows 10) the values of speed and incline just also stays at "0", even when i press "start" the elapsed time is not running - seems like there is no connection to the treadmill although it looks like there is

i just made it once that the speed and incline shows up (not in the debug files) but with the next
start of the program it doesn't work anymore (stays at "0" all the time).

i have the same problem on my android phone, but here i also have the problem that i need several tries to connect the treadmill (so i see the tiels with speed and incline and not just the starting screen with the helping steps if you can't connect).

What's also strange, when the treadmill is completly off (so it's not paird to my pc via bluetooth) i can also see the tiles and the app says that the treadmill is found !?

**Desktop

  • OS: Windows 10 (PC)

debug-Fr__Jän_19_16_36_04_2024.log
debug-Fr__Jän_19_16_38_04_2024.log
debug-Fr__Jän_19_16_39_08_2024.log
debug-Fr__Jän_19_16_52_20_2024.log

Thank you very much for the help.
Andreas

@afitz85 afitz85 added the bug Something isn't working label Jan 19, 2024
@cagnulein
Copy link
Owner

cagnulein commented Jan 19, 2024 via email

@cagnulein
Copy link
Owner

in the mean time could you also try this version on pc https://github.com/cagnulein/qdomyos-zwift/releases/download/nightly/windows-msvc2019-binary.zip ?
let me know, share me the debug log from this and also from your android device.
thanks

@afitz85
Copy link
Author

afitz85 commented Jan 19, 2024

ok so here are the debug log files from the android device (also didn't work here)
debug-Fri_Jan_19_18_55_10_2024.log

@afitz85
Copy link
Author

afitz85 commented Jan 19, 2024

and here are the debug files from the windows msvc2019-binary....
debug-Fr__Jän_19_19_08_31_2024.log
debug-Fr__Jän_19_19_10_38_2024.log
debug-Fr__Jän_19_19_12_50_2024.log
debug-Fr__Jän_19_19_14_16_2024.log
debug-Fr__Jän_19_19_14_59_2024.log

unfortunately didn't work here.
but one time, where i changed the Manual Device from Paragon X (my treadmill) to "Disabled" in the Advanced Settings, suddenly the treadmill jumped to the highest possible speed (20km/h), but here also, the speed was not shown in the tiles in the app.

@cagnulein
Copy link
Owner

cagnulein commented Jan 19, 2024 via email

@afitz85
Copy link
Author

afitz85 commented Jan 19, 2024

Thank you very much!

@cagnulein
Copy link
Owner

also android debug files:

debug-Fri_Jan_19_18_56_02_2024.log debug-Fri_Jan_19_18_58_15_2024.log debug-Fri_Jan_19_18_59_01_2024.log debug-Fri_Jan_19_18_59_31_2024.log debug-Fri_Jan_19_19_00_30_2024.log

hi @afitz85 all the android debug log files are 0 bytes, could you please upload them again? maybe zip them, thanks

@cagnulein
Copy link
Owner

@afitz85 in the horizon settings in qz, enable the "Force Using FTMS" and restart qz
let me know if it's better!

@cagnulein
Copy link
Owner

@afitz85 give a try to this #2012 (comment)

@cagnulein
Copy link
Owner

use first the android version for this setting. if it works on android then i can make it work also for windows

@afitz85
Copy link
Author

afitz85 commented Jan 20, 2024

use first the android version for this setting. if it works on android then i can make it work also for windows

Ok this setting worked now on android 🥳
debug-Sat_Jan_20_08_27_27_2024.log
but when i increase the speed of the treadmill in the qz app, the speed of the treadmill decreases!?

@cagnulein
Copy link
Owner

is your treadmill in miles?

@afitz85
Copy link
Author

afitz85 commented Jan 20, 2024

no km

@cagnulein
Copy link
Owner

that's unbelieavable so! ok try to set the speed step in the treadmill setting to 1 and try again. it seems an issue when qz is trying to set a 0.5 speed value

@afitz85
Copy link
Author

afitz85 commented Jan 20, 2024

I tried it with 1 and 0.1
with 0.1 it reduces the speed 0.6 km/h when i press + in the qz app

debug-Sat_Jan_20_08_35_54_2024.log
debug-Sat_Jan_20_08_35_54_2024.log

@afitz85
Copy link
Author

afitz85 commented Jan 20, 2024

Now nothing happens when i press the + speed in the qz app
debug-Sat_Jan_20_08_42_57_2024.log

@cagnulein
Copy link
Owner

for sure your treadmill is not FTMS 100% compatible.
Are you tech savvy? are you able to run some test with nrfconnect app to determine which value of speed corrispond to the real speed of the treadmill?

@afitz85
Copy link
Author

afitz85 commented Jan 20, 2024

maybe a little bit, but not very much :)
i have the nrfconnect app... and i know that the treadmill on the display shows speed 0,7km/h faster then it is in real...

how can i do that?

@cagnulein
Copy link
Owner

ah! i found your issue! you set the speed_offset! that's the issue. ok first of all put that value to 0. and try to change the speed then. if it works ok, i have to handle the speed_offset when changing the speed! it makes sense!

@afitz85
Copy link
Author

afitz85 commented Jan 20, 2024

ok that's true now it works...
i set the speed_offset to -0.7 because i know my treadmill speed is 0.7 km/h to high...
what can i do instead of that so the speed in the qz app is 0.7 slower that my treadmill shows?

@cagnulein
Copy link
Owner

ok perfect, so the right thing to do is to handle this setting to this. I'm doing right now, hold on

@afitz85
Copy link
Author

afitz85 commented Jan 20, 2024

perfect, thank you very much!

so you think it's also possible to make the qz app work also on the pc? as you mentioned before?

@cagnulein
Copy link
Owner

so you think it's also possible to make the qz app work also on the pc? as you mentioned before?

yes let's fix this in the android and then we will move to the pc thing. my time for today is ticking out, my little daughter is waking up :)

@afitz85
Copy link
Author

afitz85 commented Jan 20, 2024

:)

no stress to this, you helped me so much!

Thank you so far! Have a nice day :)

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

yeah you'r right... removed the "old" one and now it's working...

to put my activation e-mail right.... here i have to write it in?
image

ah, i noticed that no debug files are saved, although it's checked!?

Thanks

@cagnulein
Copy link
Owner

yeah you'r right... removed the "old" one and now it's working...

great!

to put my activation e-mail right.... here i have to write it in?

image

yes and press OK

ah, i noticed that no debug files are saved, although it's checked!?

debug log is enabled and you restarted qz?

Thanks

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

Yes, it allready was checked. But i also unchecked it, restarted, checked it again, restarted.... also no debug file

@cagnulein
Copy link
Owner

are you running it with administrator permission?

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

No, never did it. Should i?

@cagnulein
Copy link
Owner

it could be the issue because qz can't write on that folder

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

yep, correct... as administrator it worked!

Thanks once again, have a nice evening!

@cagnulein
Copy link
Owner

cagnulein commented Jan 21, 2024 via email

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

now i put my Stryd under Accessories as Power Sensor, clicked "ok", and it doesn't work once again... changed it back do "disabled", but doesn't work anymore now :(

exact the same setting (Stryd as Power Sensor) i changed, when i write you 2h before... (with the "old" version)

debug-So__Jän_21_19_11_14_2024.log

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

ok after restarting the pc it works again... but seems to be i'm not allowed to set stryd (or anything else) as a powermeter!? :)

@cagnulein
Copy link
Owner

cagnulein commented Jan 21, 2024 via email

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

yes, i downloaded the "windows binary" and deleted all the other folders!

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

but all the settings i made were allready in the newer version. should this be correct?

@cagnulein
Copy link
Owner

ok after restarting the pc it works again... but seems to be i'm not allowed to set stryd (or anything else) as a powermeter!? :)

could you explain what do you mean? did you press ok after setting the stryd?

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

yes, setting stryd, pressed ok, restartet qz, and no treadmill speed was transmitted

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

after setting the the power sensor back to "disabled" i tried several times, but didn't work.... after the restart it worked

@cagnulein
Copy link
Owner

cagnulein commented Jan 21, 2024 via email

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

after the restart of the pc i mean

@cagnulein
Copy link
Owner

ok so now everything is working? i don't understand

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

yes, after disabling the power sensor it didn't work, but after restarting the pc it worked...

here, now i tried it again, and it doesn't work again

before the change to stryd as power sensor
debug-So__Jän_21_19_22_41_2024.log

after changing to stryd as power sensor and restarting it worked one time
debug-So__Jän_21_19_23_21_2024.log

with the second start of the app now it didn't work (stryd still
debug-So__Jän_21_19_23_50_2024.log
set as power sensor)

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

before the restart of the pc (but stryd still disabled) it doesn't work
debug-So__Jän_21_19_28_23_2024.log

after restart of the pc (stryd still disabled) it works again :)
debug-So__Jän_21_19_29_52_2024.log

@cagnulein
Copy link
Owner

so just to summarize: everything works only after a reboot?
which bluetooth dongle do you have? the bt400?
anyway i'm still seeing the msvc in action in your log. anyway let's try to find out the issue. maybe unplug and plug it back the bleutooth dongle works instead of a reboot?

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

yes after a reboot of the pc it works again... so now it's working
i have a tp link bluetooth dongle, don't know what exactly, where can i see it?

so for now all is good, i just don't set the stryd as power sensor anymore (that's no problem)

don't know why the msvc is running... can't find anything than the folder of the new "windows binary"...
maybe i delete all first, before the download of the "windows binary"?

@cagnulein
Copy link
Owner

keep this configuration if it's working. yes maybe the issue is that you didn't delete the folder before using the windows binary.zip

@afitz85
Copy link
Author

afitz85 commented Jan 21, 2024

yes, so for now it's good for me.
Thanks. i come back to you if anything changes :)

@cagnulein
Copy link
Owner

cagnulein commented Jan 21, 2024 via email

Copy link

stale bot commented Feb 6, 2024

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.

@stale stale bot added the wontfix This will not be worked on label Feb 6, 2024
@stale stale bot closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants