cagnulein / qdomyos-zwift

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

Please add Pro-form Sport RL rower Bluetooth Name I_RW #733

Closed afeith closed 2 years ago

afeith commented 2 years ago

Please add Pro-form Sport RL rower Bluetooth Name I_RW https://m.facebook.com/groups/149984563348738/permalink/381344113546114/

cagnulein commented 2 years ago

Hi @afeith in order to add it could you please follow this https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device ? Thanks

afeith commented 2 years ago

I could not find the directory from the instructions so here is the entire zip file bugreport-trona-PS7322-2022-03-19-09-38-13.zip .

cagnulein commented 2 years ago

btsnoop_hci.log got it! i will check this in the nexy days! Thanks

cagnulein commented 2 years ago

@afeith i checked the log but there is no bluetooth communication with your rower. Did you use ifit app during the snoof?

afeith commented 2 years ago

I did not. I will do that tonight and upload the file

cagnulein commented 2 years ago

great @afeith remember to tell me exactly what you will do in the small workout (cadence, speed,resistance..)

afeith commented 2 years ago

Here is a new Bluetooth log file and an export from iFit of the resistance and speed

btsnoop_hci.log 2022_03_21_14_03_Manual_Workout.csv .

cagnulein commented 2 years ago

Thanks @afeith , I will check tomorrow!

cagnulein commented 2 years ago

@afeith there is no cadence information from your rower? At least i didn't see it in the csv file. I'm checking if i'm seeing it on bluetooth

afeith commented 2 years ago

I think that's a limitation of iFit's export feature. You should find it in the Bluetooth log.

cagnulein commented 2 years ago

i've done 70% of the task, i will finish this tomorrow. In ifit are you able to change resistance by the app directly? Did you do in the log? if not can you collect another log while you're changing reisstance from the min to the max and again to the min leaving 5 sec between every step? Thanks @afeith

afeith commented 2 years ago

Yes I can change the resistance via iFit. I didn't do that this time (I used the rowers buttons directly). I will create another log tonight following your instructions.

cagnulein commented 2 years ago

great! in this way you can have also auto resistance @afeith !

afeith commented 2 years ago

I rowed about 10 seconds on resistance 1, waiting 5 seconds, rowed on resistance 24, waiting 5 seconds and rowed on resistance 1 again.
2022_03_22_19_03_Manual_Workout.csv btsnoop_hci.log

cagnulein commented 2 years ago

hi @afeith i saw the resistance but i need all the mid steps because ifit sends different values each time, so i need to collect ALL the intermediate steps of your resistance. Sorry if i wans't be clear in the previous message

afeith commented 2 years ago

Got it. Sorry I misunderstood. I'll create another log tonight.

afeith commented 2 years ago

start at resistance 1 and row for 5 seconds, went to resistance 2 and rowed for 5 seconds... all the way up to 24 then back down. The interface isn't that easy so sometimes I went from 3 to 5 and back to 4 on the resistance (big fingers on the tablet touchscreen).

2022_03_23_19_03_Manual_Workout.csv btsnoop_hci.log

cagnulein commented 2 years ago

@afeith thanks, implemented! Are you on android isn't it? send me an email to roberto.viola83 at gmail.com indicating this ticket and I will add you to the private beta tester group

afeith commented 2 years ago

Email sent and I'm excited!!!

afeith commented 2 years ago

Great news: the rower connects to QZ and I can see all the data on the QZ tiles (screenshot attached). Bad news: I can connect QZ to Kinomap and it's connected. However, Kinomap is not received any data from QZ / the rower More Bad news: when I start a peloton class while connected to the rower, QZ crashes. (I sometimes take bike classes on the rower and try to make the power of a PZ class to the watts on a rower).

Screenshot_20220324-193107

cagnulein commented 2 years ago

@afeith great! about kinomap: I guess you are the first one is trying to use a rower with qz on kinomap, could you please send me a debug log about a session trying to use it with kinomap? https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

also in kinomap are you pairing it as rower?

let me know

afeith commented 2 years ago

Yes, I am pairing it as a rower. Attached is the debug log. (for some reason I think this would work on iOS but that's just a guess).

debug-Fri_Mar_25_08_47_23_2022.log

cagnulein commented 2 years ago

@afeith yes it works on iOS too. Do you have the version? Do you want the beta? I'm checking the log

cagnulein commented 2 years ago

@afeith found the coulript: actually is sending the treadmill information. You have to enable the "virtual rower" setting in the experimental setting and restart QZ. Let me know

cagnulein commented 2 years ago

thanks to @janabouc that pushes me to implement this :)

afeith commented 2 years ago

I tunred on the virutal rower setting, restarted QZ, and still no luck. Here is the log debug-Fri_Mar_25_09_11_01_2022.log

cagnulein commented 2 years ago

sorry @afeith , my fault! I didn't manage that setting for your rower. I'm doing this right now. I hope to release a new one tomorrow. In the meanwhile, if you want, you can try to check if in kinomap, the rower will be available as a treadmill so we can check if the connection is fine. Let me know

afeith commented 2 years ago

@cagnulein bad news: QZ running on android connected to Kinomap as a treadmill, did NOT work. good news: QZ running on iPad connected to Kinomap as a treadmill, WORKED!!!

you are so close. I think iOS handles Bluetooth better than android which is why I thought iOS might give us better results. Can't wait for your update so I can connect the rower as a rower!!!

cagnulein commented 2 years ago

@afeith great! This means that your android device (which one by the way?) doesn't have the bluetooth capabilities on hardware to run the bridge interface. If I will have time I will try to upload this evening, but I can't promise you nothing (my wife is the captain! :D )

afeith commented 2 years ago

I have a Samsung galaxy fold 2. I'm on my second marriage so listen to your wife. Happy wife happy life!

afeith commented 2 years ago

Unfortunately, we’re still not there yet

Bad news: QZ running on iPad connected to Kinomap as a rower with virtual rower ON, not working. Good news: QZ running on iPad connected to Kinomap as a treadmill with virtual rower off, still working

Debug log attached

debug-Fri_Mar_25_20_05_47_2022.log

cagnulein commented 2 years ago

hi @afeith sorry for the delay, busy weekend. I checked your log and i found that only when you're about to close the QZ app, the kinomapp app connected

Fri Mar 25 20:05:51 2022 1648253151002 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:05:52 2022 1648253152381 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:05:53 2022 1648253153830 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:05:54 2022 1648253154317 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:05:55 2022 1648253155245 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:05:56 2022 1648253156166 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:05:57 2022 1648253157048 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:05:57 2022 1648253157997 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:05:59 2022 1648253159323 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:00 2022 1648253160229 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:01 2022 1648253161144 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:01 2022 1648253161998 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:02 2022 1648253162999 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:04 2022 1648253164004 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:05 2022 1648253165004 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:05 2022 1648253165997 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:07 2022 1648253167005 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:08 2022 1648253168006 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:09 2022 1648253169005 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:10 2022 1648253170001 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:11 2022 1648253171005 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:11 2022 1648253171997 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:12 2022 1648253173000 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:13 2022 1648253173996 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:15 2022 1648253175005 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:15 2022 1648253175997 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:16 2022 1648253176997 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:18 2022 1648253178006 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:18 2022 1648253179000 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:19 2022 1648253179997 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:21 2022 1648253181006 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower not connected" Fri Mar 25 20:06:21 2022 1648253181998 Debug: /Users/cagnulein/qdomyos-zwift/src/virtualrower.cpp void virtualrower::rowerProvider() "virtual rower connected"

unfortunately, you close it right in the moment when it connected, so i'm not able to check what's going on. Could you please retry again? Thanks

afeith commented 2 years ago

No worries. The app was crashes a bit too. I'm not sure if I closed it or it crashed. I will try to create another log tonight

cagnulein commented 2 years ago

if it crashed i will check also the test flight report @afeith

cagnulein commented 2 years ago

@afeith argh! got the issue omn test flight and fixed! I will try to build another one later today! Thanks!

afeith commented 2 years ago

Sounds like a plan!!!!

cagnulein commented 2 years ago

Sent!

Il giorno lun 28 mar 2022 alle 15:15 afeith @.***> ha scritto:

Sounds like a plan!!!!

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

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

afeith commented 2 years ago

I thought I saw some data on Kinomap for a split second but then everything went to zero’s again. I tried reconnecting removing and adding the rower and not data is reaching there.

debug-Mon_Mar_28_17_46_11_2022.log

cagnulein commented 2 years ago

@afeith got the issue and fixed. I will release a new one today, we're close. Don't lose your hopes :) The problem with this one is that kinomap connects to QZ and then it disconnects immediately and it reconnects after a moment, i don't know why. Anyway i covered also this one.

cagnulein commented 2 years ago

Sent a new one ;)

Il giorno lun 28 mar 2022 alle ore 23:51 afeith @.***> ha scritto:

I thought I saw some data on Kinomap for a split second but then everything went to zero’s again. I tried reconnecting removing and adding the rower and not data is reaching there.

debug-Mon_Mar_28_17_46_11_2022.log https://github.com/cagnulein/qdomyos-zwift/files/8366537/debug-Mon_Mar_28_17_46_11_2022.log

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

afeith commented 2 years ago

Still no luck. If it helps, Kinomap finds the rower from QZ on my galaxy fold but not on my Kindle tablet. If I take the virtual rower off, Kinomap finds the rower (as a treadmill) from QZ on the galaxy fold and the kindle tablet. debug-Tue-Mar-29-18-18-03-2022.log

cagnulein commented 2 years ago

@afeith i don't get it: QZ on the iphone is avaiable when Kinomap runs on the galaxy but not when is running on the kindle? On the galaxy so it works? Do you see the metrics on kinomap? now in the log I saw that QZ is sending correclty the metrics over bluetooth for kinomap and kinomap is well connected. maybe can you take a video about the issue? Let me know

afeith commented 2 years ago

Unfortunately no. Galaxy connects with no metrics. Kindles doesn't even connect. I'll work on a video.

cagnulein commented 2 years ago

@afeith ok, no needs for video so. i will work more on this in the next days. i have an idea

afeith commented 2 years ago

Sounds good. I'll try to see how I can set everything up to do a video anyway. 😁. This is my pet project and I'm happy to help.

afeith commented 2 years ago

@cagnulein I connected QZ iPad to Kinomap on an iPad and it connected as a rower but didn't send any metrics (same as Galaxy Fold). I wouldn't worry about the kindle fire issue. debug-Wed-Mar-30-11-07-27-2022.log

cagnulein commented 2 years ago

@afeith OK thanks in the next days I will do the modifications

cagnulein commented 2 years ago

@afeith An idea in the meanwhile: could you try the better version of the qz app on your galaxy and kinomap on ipad? if you are agree I will add you to the private beta on android too Let me know

afeith commented 2 years ago

@cagnulein I tried QZ Android to Kinomap on iPad. Connected but no metrics came through

debug-Wed_Mar_30_13_45_54_2022.log

cagnulein commented 2 years ago

@afeith I need the first to build the same version for android that's why I asked if you were agree :) So it's OK that it doesn't work now I will try to be in this tomorrow -- Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud