cagnulein / qdomyos-zwift

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

Tiles not displaying data for Sole e55 elliptical #1240

Closed bestwithbob closed 1 year ago

bestwithbob commented 1 year ago

debug-Sat_Feb_4_15_06_19_2023.log

Hello all, log file attached. The 2 issues, QZ installed on iPhone 12, and wearing the sole heart rate strap. The strap does work, verified on equip. w/o QZ. Main issue is, QZ connects to the elliptical (e55), as the name (e55) is displayed under heart rate belt, cadence, and power in settings. I did disable sending heart rate and kcal to QZ in settings. QZ does say “e55 found”. The tiles do not show any data, including bpm, and cannot adjust incline nor resistance, and the elliptical touchpad is disabled, except for fan.

cagnulein commented 1 year ago

hi @bestwithbob the problem is that you have your elliptical in the cadence sensor setting. Disable it from here, press ok and restart qz. Let me know

cagnulein commented 1 year ago

also in the power sensor, disable it from there too

bestwithbob commented 1 year ago

Hi Roberto, thanks for the reply. I did change the setting as requested. Here are the results and scenario I ran.

  1. Settings changed and restarted
  2. QZ showed on tile screen "e55 found" and the tile screen appeared much faster then before
  3. Started elliptical program first
  4. Depressed the "start" button on QZ
  5. Touchpad on elliptical was disabled, except fan button
  6. The incline and level (resistance) buttons on handlebars worked, but not the ones on touchpad
  7. no data in any tile
  8. On display screen, (see attached pic), top right corner it showed "BLE App" which means connected to external app (QZ)
  9. Pressed STOP on QZ.

Debug and pic attached.

Whatever I can do or provide let me know. We get this working and it will be GREAT.....

Bob debug-Sun_Feb_5_08_28_46_2023[1999].log

image0

cagnulein commented 1 year ago

ok thanks, i will check the log asap

Il giorno dom 5 feb 2023 alle 14:55 bestwithbob @.***> ha scritto:

Hello, I ran a test with the settings changed, and updated the issue on GitHub. Below is a copy of what’s in the issue comment. Hi Roberto, thanks for the reply. I did change the setting as requested. Here are the results and scenario I ran.1. Settings changed and restarted2. QZ showed on tile screen "e55 found" and the tile screen appeared much faster then before3. Started elliptical program first4. Depressed the "start" button on QZ5. Touchpad on elliptical was disabled, except fan button6. The incline and level (resistance) buttons on handlebars worked, but not the ones on touchpad7. no data in any tile8. On display screen, (see attached pic), top right corner it showed "BLE App" which means connected to external app (QZ)9. Pressed STOP on QZ. Debug and pic attached. Whatever I can do or provide let me know. We get this working and it will be GREAT..... Bob Best Regards, Bob Sent from Mail for Windows From: Roberto ViolaSent: Saturday, February 4, 2023 11:28 PMTo: cagnulein/qdomyos-zwiftCc: bestwithbob; MentionSubject: Re: [cagnulein/qdomyos-zwift] Tiles not displaying data for Sole e55 elliptical (Issue #1240) also in the power sensor, disable it from there too—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***> — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you commented.Message ID: ***@***.***> -- Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
cagnulein commented 1 year ago

@bestwithbob checked, it seems that your elliptical has a slightly different protocol from the one that I already implemented. Do you have also an android device just to collect some information? (it takes just 10 minutes)

bestwithbob commented 1 year ago

Darn, was hoping for it to be same protocol, this is a 2020 model year.Anyway, I do not have an android device.  😞Whatever I can do I will.Best Regards,BobOn Feb 5, 2023, at 11:10 AM, Roberto Viola @.***> wrote: @bestwithbob checked, it seems that your elliptical has a slightly different protocol from the one that I already implemented. Do you have also an android device just to collect some information? (it takes just 10 minutes)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

bestwithbob commented 1 year ago

Not sure these apps will help, just throwing it out there.NrfconnectBLE scanner Best Regards,BobOn Feb 5, 2023, at 11:23 AM, Bob @.> wrote:Darn, was hoping for it to be same protocol, this is a 2020 model year.Anyway, I do not have an android device.  😞Whatever I can do I will.Best Regards,BobOn Feb 5, 2023, at 11:10 AM, Roberto Viola @.> wrote: @bestwithbob checked, it seems that your elliptical has a slightly different protocol from the one that I already implemented. Do you have also an android device just to collect some information? (it takes just 10 minutes)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

no one can borrow you one? it's just a 10 minutes thing.

bestwithbob commented 1 year ago

I can borrow one, but not till later in the day. If you send over the instructions I will try and do myself. Hopefully you already have the how to so as not to create them.Best Regards,BobOn Feb 5, 2023, at 11:32 AM, Roberto Viola @.***> wrote: no one can borrow you one? it's just a 10 minutes thing.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

great! follow this with the sole app https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device try also to change all that you can do from the app directly (and take note of each action). Also change the incline/resistance to all the steps leaving 5 seconds to every levels so i can understand them Thanks

bestwithbob commented 1 year ago

Great!Should I also do the steps on the pic?Best Regards,BobOn Feb 5, 2023, at 11:44 AM, Roberto Viola @.***> wrote: great! follow this with the sole app https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device try also to change all that you can do from the app directly (and take note of each action). Also change the incline/resistance to all the steps leaving 5 seconds to every levels so i can understand them Thanks

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

sorry which pic?

bestwithbob commented 1 year ago

Just below my question: Below is first step,Android Device (oppo based OS : oppo, ColorOS, RealMe, ...)Dial *#800# on the phone app. A special menu should appear.Best Regards,BobOn Feb 5, 2023, at 12:02 PM, Roberto Viola @.***> wrote: sorry which pic?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

i don't see pictures if you are answering by email. You have to attach them to the github web interface

bestwithbob commented 1 year ago

Sorry about all this.See the following text, the first step is 1. Dial #800# on the phone. It’s in the link you sent me towards the end.Android Device (oppo based OS : oppo, ColorOS, RealMe, ...)Dial #800# on the phone app. A special menu should appear.Best Regards,BobOn Feb 5, 2023, at 12:15 PM, Bob @.> wrote:Just below my question: Below is first step,Android Device (oppo based OS : oppo, ColorOS, RealMe, ...)Dial #800# on the phone app. A special menu should appear.Best Regards,BobOn Feb 5, 2023, at 12:02 PM, Roberto Viola **@.***> wrote: sorry which pic?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

yes that steps are in case you have an oppo device. otherwise you have to use the above ones in the same page

bestwithbob commented 1 year ago

Hi Roberto, Finally got the bugreport, and I will attach the zip file so you get everything. Following are the steps I took. First off, I downloaded QZ on the Moto G6 phone I borrowed (yes, paid to get it, so now I have for iPhone and Android). I tried QZ on the Moto, and get the same results as the iPhone, which makes sense. Worth a shot though.

Here are the steps

  1. Started a manual workout program on the equip. This is needed to allow me to change resistance and inclination
  2. Resistance increase started at level 1, and was increased every 5 seconds to level 4, once at level 4 next step
  3. Resistance decrease started at level 4, and was decreased every 5 seconds to level 1, next step
  4. Inclination increase started at level 1, and was increased every 5 seconds to level 5, once at level 5, next step
  5. Inclination decrease started at level 5, and was decreased every 5 seconds to level 1, next step
  6. I was not wearing a HRM, maybe I should have. Anyway, held onto equip heart rate bars to get BPM for 5 seconds.
  7. Pressed Stop workout on the equip.
  8. On the Moto G6 turned off Bluetootj HCI Snoop.
  9. Ran Bug Report:full report (no popup appeared when done)
  10. Pulled the zip file via USB/ADB to windows laptop
  11. Added comments to the issue attaching the zip file.

If there is anything else I can do, please let me know. Once we get this going, a BIG cup of coffee is coming your way. wink wink

bugreport-ali_vzw-PDS29.118-15-11-14-2023-02-06-13-51-54.zip

More info. I didn't do the last steps for oppo based OS, as the phone I have is not activated for cell service. I will use my friends activated phone later tonight for those last steps where you have to dial *#800# first. Once I get that log file will add in gethub issue. TIA Bob

cagnulein commented 1 year ago

hi @bestwithbob great! just to be sure: did you do all these steps using the sole app and changing them from the sole app?

bestwithbob commented 1 year ago

I updated the comment as follows.More info. I didn't do the last steps for oppo based OS, as the phone I have is not activated for cell service. I will use my friends activated phone later tonight for those last steps where you have to dial *#800# first. Once I get that log file will add in gethub issue.Best Regards,BobOn Feb 6, 2023, at 2:40 PM, Roberto Viola @.***> wrote: hi @bestwithbob great! just to be sure: did you do all these steps using the sole app and changing them from the sole app?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

ok but just to be sure: did you do all these steps using the sole app and changing them from the sole app directly?

bestwithbob commented 1 year ago

Pretty sure I did, incline up & down, resistance up and down, monitored heart beat with equip handles (didn’t wear chest strap). To do the above had to start a workout session. Also, while doing the above, the display was showing distance, calories, rpm, watts, elapsed time, mph, and laps. I noticed in QZ, it disabled the touchpad. Not sure if it should or not, sharing information that may help.

cagnulein commented 1 year ago

ok so it should be ok! now i have to go to sleep (italy here), i will check this tomorrow morning. i hope we don't need the android anymore (thanks for buying it also on android!)

cagnulein commented 1 year ago

@bestwithbob unfortunately I checked the log and there is no information with the elliptical. That's very strange, it seems that you collect it before doing the test because I just saw the initialization of the bluetooth stack of the phone. Unfortunately we need a complete one to get the protocol :(

Let me know

bestwithbob commented 1 year ago

Hello, I was afraid of that. I bet I should have QZ started/active as well when running the test, which I didn’t. I do know QZ connects.Let me know if QZ should be started for the test?Best Regards,BobOn Feb 7, 2023, at 1:57 AM, Roberto Viola @.***> wrote: @bestwithbob unfortunately I checked the log and there is no information with the elliptical. That's very strange, it seems that you collect it before doing the test because I just saw the initialization of the bluetooth stack of the phone. Unfortunately we need a complete one to get the protocol :( Let me know

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

@bestwithbob nope, as I said QZ is not envolved in this test. You have to use the Sole app only and connect it to the elliptical and use only this app to change incline and resistance.

bestwithbob commented 1 year ago

@cagnulein got it. A couple of questions and observations. May be a lot to read, trying to be as detailed as possible for you.

There will be 3 pictures attached. 1 - iphone: shows devices that can be paired via bluetooth, 2 - Moto android (ver 9) phone: shows devices that can be paired with bluetooth, 3 - The sole touchpad.

Observation:

On the sole touchpad (looks like a heart bottom left of pic), if depressed it looks for a chest strap to connect to. I did NOT have this on for the test. The android phone shows the Sole "E55" as a device that it can be paired to (I did not pair it for the test) The iPhone does not show the E55 device to pair to (interesting) Both show the BT Speaker on the Sole E55 regardless of the HRM button being on or off

Questions:

You mention the "Sole app only and connect it to the elliptical". What app are you referring to? I assumed you meant the sole app/workout plan on the elliptical. to change incline and level (resistance), a workout plan on the elliptical needs started. Should I have paired E55 (elliptical) on the android phone before doing the test? Don't know why the iphone doesn't show E55 in the available devices to pair. QZ does connect to it though, and the touchpad is disabled I can run 2 tests, one with the HRM button depressed, and another with e55 paired to the android phone (and/or without)

Thoughts?????

android iphone sole e55

cagnulein commented 1 year ago

You mention the "Sole app only and connect it to the elliptical". What app are you referring to? I assumed you meant the sole app/workout plan on the elliptical. to change incline and level (resistance), a workout plan on the elliptical needs started.

no I mean the sole app on your android. We're trying to collecting the bluetooth protocol of your elliptical. The only way is to get a working connection with the sole app, and then mimic the behaviour here in QZ.

Should I have paired E55 (elliptical) on the android phone before doing the test?

nope, you should have downloaded the Sole app and paired with it ;)

Don't know why the iphone doesn't show E55 in the available devices to pair. QZ does connect to it though, and the touchpad is disabled

it's because for the iphone, it's not a classic bluetooth device. Don't bother about this.

I can run 2 tests, one with the HRM button depressed, and another with e55 paired to the android phone (and/or without)

ok but before this, run the sole app :)

bestwithbob commented 1 year ago

Got it, just download Sole Fitness app on both phones, and was to connect with both. Unfortunately my canine daughter is giving me the stink eye, gotta go walk her.  We’re getting there.Best Regards,BobOn Feb 7, 2023, at 9:22 AM, Roberto Viola @.***> wrote:

You mention the "Sole app only and connect it to the elliptical". What app are you referring to? I assumed you meant the sole app/workout plan on the elliptical. to change incline and level (resistance), a workout plan on the elliptical needs started.

no I mean the sole app on your android. We're trying to collecting the bluetooth protocol of your elliptical. The only way is to get a working connection with the sole app, and then mimic the behaviour here in QZ.

Should I have paired E55 (elliptical) on the android phone before doing the test?

nope, you should have downloaded the Sole app and paired with it ;)

Don't know why the iphone doesn't show E55 in the available devices to pair. QZ does connect to it though, and the touchpad is disabled

it's because for the iphone, it's not a classic bluetooth device. Don't bother about this.

I can run 2 tests, one with the HRM button depressed, and another with e55 paired to the android phone (and/or without)

ok but before this, run the sole app :)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

eheheh absolutely! Dog first!

bestwithbob commented 1 year ago

@cagnulein Have a new debug zip attached. It is different, in that if you search for "soletreadmill" it will be found, not so in the prior one. Steps are slightly different as follows that I took.

Here are the steps

  1. Started Sole Fitness app on android phone
  2. Once logged into, selected E55 on the equipment page. Elliptical display flashed "connected"
  3. Selected a workout on Sole app on phone, and it displayed press "confirm" once START button depressed on elliptical
  4. I depress START on elliptical touchpad, and Confirm on phone. Then started activity on ellictical
  5. Resistance (level on SOLE) increase started at level 1, and was increased every 5 seconds to level 4, once at level 4 next step
  6. Resistance decrease started at level 4, and was decreased every 5 seconds to level 1, next step
  7. Inclination increase started at level 1, and was increased every 5 seconds to level 4, once at level 4, next step
  8. Inclination decrease started at level 4, and was decreased every 5 seconds to level 1, next step
  9. I was not wearing a HRM, maybe I should have. Anyway, held onto equip heart rate bars to get BPM for 5 seconds.
  10. Pressed Stop workout on the equip.
  11. App on phone showed it was stopped
  12. On the Moto G6 turned off Bluetootj HCI Snoop.
  13. Ran Bug Report:full report (no popup appeared when done)
  14. Pulled the zip file via USB/ADB to windows laptop

I hope you find something. Also, I have not been able to get the last steps done where you start with *#800#, as I need an active android phone.

Please keep in mind that QZ will run on iPhone initially, I may switch to Android in the future.

Thx for all your support and prompt replies.

bugreport-ali_vzw-PDS29.118-15-11-14-2023-02-07-14-22-26.zip

cagnulein commented 1 year ago

ok perfect! now i see the communication, tomorrow i will check it deeply (11:30pm here :) )

cagnulein commented 1 year ago

ok I guess I implemented this @bestwithbob The only thing that I can't see are the frames to control resistance. Anyway let's see if we're lucky and this elliptial accepts the same frames that I already implemented for other sole ellipticals. send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS. Thanks

bestwithbob commented 1 year ago

@cagnulein I’m soooo excited, it’s working!!!! 🎉 thank you, thank you…

I didn’t have a HRM on, and will do a bunch of other testing to see accuracy and etc. will rearrange tiles to what I like.

If any issues uncovered I’ll send you one mail.

I haven’t tested with Zwift yet. One step at a time.

Best Regards,

Bob

bestwithbob commented 1 year ago

@cagnulein I am cling this issue, if your ok with it, and will continue testing with the version I have. Taking my time to ensure I fully understand/consistently repeat the issue. Will open another gethub ticket when appropriate. If this is not ok, just let me know the path you would like me to take.

cagnulein commented 1 year ago

yeah sure! no problem!