-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Wellfit treadmill support #2659
Comments
hi @SockAnimals simply set the treadmill under qz settings, treadmill, ftms treadmill and press ok and restart qz |
Is that under "Treadmill Options"? |
yes @SockAnimals if you don't see it, please be sure you are running the version 2.17 of the QZ app |
Let me try that. The update just showed |
Thank you for adding this in the update. It connects now. Let me check the metrics. |
The metrics work. I really appreciate your support of this app. Is there any information I can provide to control the speed via QZ? There is a standalone app for this treadmill that can do it. |
speed + and - in qz doesn't work already out of the box? |
No, unfortunately it didn't. It may be a non-standard interface as it didn't work in the other FTMS apps I've used |
Ok do you have an android device to collect some logs? Or a Mac?
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno mar 15 ott 2024 alle 18:00 SockAnimals ***@***.***>
ha scritto:
… No, unfortunately it didn't. It may be a non-standard interface as it
didn't work in the other FTMS apps I've used
—
Reply to this email directly, view it on GitHub
<#2659 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWELH7JSKOFB46FXIULZ3U33HAVCNFSM6AAAAABP7PGASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGQZDKMBYG4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I have a Mac. Do I need to grab the developer tools? |
You should be able to install the treadmill app there and with wireshark
grab the Bluetooth logs. Are you able?
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno mar 15 ott 2024 alle 18:03 SockAnimals ***@***.***>
ha scritto:
… I have a Mac. Do I need to grab the developer tools?
—
Reply to this email directly, view it on GitHub
<#2659 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWFPLTFVYGJX2JVYHVTZ3U4EBAVCNFSM6AAAAABP7PGASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGQZTAMZWGA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I installed Wireshark. Oddly, I'm not seeing bluetooth as a device in the capture list. Going to google that now |
I always did this on android with
https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device
On mac you could need a developer license I guess
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno mar 15 ott 2024 alle 18:09 SockAnimals ***@***.***>
ha scritto:
… I installed Wireshark. Oddly, I'm not seeing bluetooth as a device in the
capture list. Going to google that now
—
Reply to this email directly, view it on GitHub
<#2659 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWBLQH3VXILNZX7AC43Z3U4ZZAVCNFSM6AAAAABP7PGASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGQ2DGNBZHA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I have the macOS PacketLogger from the dev tools. Let me try that |
I collected one log by running the iOS app from my Mac, which turned on and off the treadmill. I imported this into Wireshark successfully. It won't let me upload the zip file though. I'm going to see if I can get the iOS remote capture working to gather this. |
You can't upload it here?
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno mar 15 ott 2024 alle 18:29 SockAnimals ***@***.***>
ha scritto:
… I collected one log by running the iOS app from my Mac, which turned on
and off the treadmill. I imported this into Wireshark successfully. It
won't let me upload the zip file though.
I'm going to see if I can get the iOS remote capture working to gather
this.
—
Reply to this email directly, view it on GitHub
<#2659 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWDBMYEAVHSEG3JXDCDZ3U7IPAVCNFSM6AAAAABP7PGASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGQ4DSOBQG4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
iOS on, speed up, speed down, off.zip Here is the iOS bluetooth packet capture as a zip. This is a pklg, but I can provide a btsnoop if that's better. As a FYI, it seems to require the iOS bluetooth profile installed on the target device, then connected via USB to the Mac, and running a version of PacketLogger from the extra Xcode Tools. A new capture can be started with an iOS device. The device connects, does a count down before it starts the treadmill to 0.6. I then increased the speed a few times, decreased it back to 0.6, and then issued the stop command. |
Thanks, I'll check it out!
Il giorno mar 15 ott 2024 alle 19:01 SockAnimals ***@***.***>
ha scritto:
… iOS on, speed up, speed down, off.zip
<https://github.com/user-attachments/files/17382005/iOS.on.speed.up.speed.down.off.zip>
Here is the iOS bluetooth packet capture as a zip. This is a pklg, but I
can provide a btsnoop if that's better.
As a FYI, it seems to require the iOS bluetooth profile installed on the
target device, then connected via USB to the Mac, and running a version of
PacketLogger from the extra Xcode Tools. A new capture can be started with
an iOS device.
The device connects, does a count down before it starts the treadmill to
0.6. I then increased the speed a few times, decreased it back to 0.6, and
then issued the stop command.
—
Reply to this email directly, view it on GitHub
<#2659 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWHV5HRN3EY5AGUJZK3Z3VC6ZAVCNFSM6AAAAABP7PGASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGU2TKMJYGA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
@SockAnimals i was checking the log and I saw that there are many custom characteristics from the treadfmill. in the nrfconnect screenshot, did you show me everyone? or did you miss someone? The problem of the log took from iOS is that I can't see the UUID from the characteristic. This is crucial to implement this Let me know! |
Unfortunately, that's all I see in the attribute table in nRF Connect. I'm attaching a trace from the nRF Connect app starting just before hitting connect and then clicking the read button for each property. I saw some packets using the Attribute Protocol that contained UUID early on in the trace after filtering by I also recaptured the app trace, starting before app launch in case something useful shows up. Speed goes from 0 -> 0.6 -> 1.4 -> 0.6 -> 0. If this doesn't have the details you are looking for, then feel free to close this. Thank you for investigating this. |
Thanks, I'll check it out tomorrow!
…On Wed, Oct 16, 2024, 3:29 PM SockAnimals ***@***.***> wrote:
Unfortunately, that's all I see in the attribute table in nRF Connect.
I'm attaching a trace from the nRF Connect app starting just before
hitting connect and then clicking the read button for each property. I saw
some packets using the Attribute Protocol that contained UUID early on in
the trace after filtering by (bluetooth.src == c6:80:93:ff:c1:24) ||
(bluetooth.dst == c6:80:93:ff:c1:24). Maybe that will show something?
nRF Connect.zip
<https://github.com/user-attachments/files/17396187/nRF.Connect.zip>
I also recaptured the app trace, starting before app launch in case
something useful shows up. Speed goes from 0 -> 0.6 -> 1.4 -> 0.6 -> 0.
App Trace.zip
<https://github.com/user-attachments/files/17396239/App.Trace.zip>
If this doesn't have the details you are looking for, then feel free to
close this. Thank you for investigating this.
—
Reply to this email directly, view it on GitHub
<#2659 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWG7RAG4DYJSJGKO5CTZ3ZS33AVCNFSM6AAAAABP7PGASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJWHA2DKOJQGI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Unfortunately not :( can't you borrow an android device just for this test? you just need 10 minutes with it |
I don't have an android device, but I'll try to repurpose a raspberry pi to install an android image and see how that goes. Otherwise, I'll try the official emulator and run nRF Connect there. |
ok! consider that bluetooth doesn't work on emulator
let me know! Never give up!
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno gio 17 ott 2024 alle ore 16:57 SockAnimals <
***@***.***> ha scritto:
… I don't have an android device, but I'll try to repurpose a raspberry pi
to install an android image and see how that goes. Otherwise, I'll try the
official emulator and run nRF Connect there.
—
Reply to this email directly, view it on GitHub
<#2659 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWDS6R6IFWDQHH3VY6TZ37F65AVCNFSM6AAAAABP7PGASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZG44DINBRG4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
That's great, yes following this https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device |
Here is the zip file. I opened the app, started the treadmill, increased the speed four times, decreased the speed four times, set the speed to 3 mph, and then stopped the treadmill via the app. Thank you for your help investigating this. |
Ok, I'll check it out In the next days
Il giorno ven 18 ott 2024 alle 15:39 SockAnimals ***@***.***>
ha scritto:
… Here is the zip file.
bugreport-lineage_rpi4-AP2A.240805.005-2024-10-18-09-32-43.zip
<https://github.com/user-attachments/files/17436336/bugreport-lineage_rpi4-AP2A.240805.005-2024-10-18-09-32-43.zip>
I opened the app, started the treadmill, increased the speed four times,
decreased the speed four times, set the speed to 3 mph, and then stopped
the treadmill via the app. Thank you for your help investigating this.
—
Reply to this email directly, view it on GitHub
<#2659 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWFF763RT3ZWLVV74K3Z4EFSLAVCNFSM6AAAAABP7PGASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGUYDENBVGI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
@SockAnimals were you using their app in this log? because I saw that they are using the classic FTMS commands but with specific speed values. maybe the issue is that qz was trying to change 0.5 km/h speed increments? does the app allows only to change 1.0 mph as minimum step? maybe the issue is that qz was trying to set a too slow speed as beginning? which is their minimum speed? |
Yes, I was using their app for this capture. The app started at 0.6 mph, and incremented by 0.2 mph up to 1.4 mph, and then back down the same way. There should also be a set to 3.0 mph before the stop command.On Oct 20, 2024, at 10:26 AM, Roberto Viola ***@***.***> wrote:
@SockAnimals were you using their app in this log? because I saw that they are using the classic FTMS commands but with specific speed values.
maybe the issue is that qz was trying to change 0.5 km/h speed increments? does the app allows only to change 1.0 mph as minimum step?
maybe the issue is that qz was trying to set a too slow speed as beginning? which is their minimum speed?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I saw this in the above nRF screenshots. Maybe that explains it?On Oct 20, 2024, at 11:19 AM, Michael Swift ***@***.***> wrote:Yes, I was using their app for this capture. The app started at 0.6 mph, and incremented by 0.2 mph up to 1.4 mph, and then back down the same way. There should also be a set to 3.0 mph before the stop command.On Oct 20, 2024, at 10:26 AM, Roberto Viola ***@***.***> wrote:
@SockAnimals were you using their app in this log? because I saw that they are using the classic FTMS commands but with specific speed values.
maybe the issue is that qz was trying to change 0.5 km/h speed increments? does the app allows only to change 1.0 mph as minimum step?
maybe the issue is that qz was trying to set a too slow speed as beginning? which is their minimum speed?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
So strange! Can you show me a debug log from qz trying to change the speed? I would like to compare it |
Here’s the debug log. I changed the speed via a remote, as hitting the + and - circles on the speed tile didn’t change it. |
i guess i understood the issue. what if you change the speed manually to 1km/h or above from the treadmill and then you try to increase and decrease the speed. Everything works normally, right? If so i have only to set the min speed to 0.96 in this case |
I turned on the treadmill and set the speed to 1.0 mph via the remote (according to the display and QZ app). I then hit the + and - buttons on the speed tile without any effect. For reference, the remote, when it starts sets the speed to 0.6 mph or the 0.96 km/h value. I saw that "Speed Step" in the Treadmill settings was set to 0.2, which appears to match the 0.32 km/h granularity. I changed this to 1.0 and retried the steps above, but nothing happened. |
@SockAnimals i tried to made a patch to align QZ to the hci snoof collected from the raspberry can you install the apk here https://github.com/cagnulein/qdomyos-zwift/actions/runs/11456617615 to the raspberry with android you can use the android build in the link (check at the bottom of the page in about 1 hour). |
bugreport-lineage_rpi4-AP2A.240805.005-2024-10-22-09-51-55.zip Here's the HCI snoop from the new apk. I kept all the settings at the default and simply pressed the +/- buttons on the speed tile a few times without any changes. Then I switched to the remote to start it at 1.0 kph and tried again. If I've missed anything, please let me know |
Thanks, i don't see any requests from qz, could you please create a debug log from this version https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F |
bugreport-lineage_rpi4-AP2A.240805.005-2024-10-22-10-40-30.zip Here are the two files |
ok i guess I got the issue thanks! |
That seemed to make things work. I changed it to miles from km and set the speed increment step to 0.2. Pressing the start button in the app, it did the count down and went to 0.6 mph. Pressing +/- worked perfectly. Pausing set the speed back to zero until resumed. Stopping turned it off. Looks like it's working perfectly. Thank you. |
amazing! i will send you the ios version asap, |
Describe the bug
The app shows the "WELLFIT TM Linker" bluetooth device in the search list, but did not connect. I attempted to filter to just this device, but it was unable to connect as a generic treadmill.
This treadmill works fine in Peloton and Zwift directly as a FTMS treadmill to gather the metrics.
Expected behavior
Be able to connect to the treadmill and collect speed, distance, and energy metrics. Speed control would be a bonus, but not required.
Screenshots
Screenshots of nRF Connect device details
Smartphone (please complete the following information):
Append a debug log
debug-Tue_Oct_15_11_16_46_2024.log
Additional context
Thank you for any support you can provide.
The text was updated successfully, but these errors were encountered: