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] Renpho smart bike r-q002 n #2401

Closed
a-librarian opened this issue Jun 22, 2024 · 96 comments · May be fixed by #2735
Closed

[BUG] Renpho smart bike r-q002 n #2401

a-librarian opened this issue Jun 22, 2024 · 96 comments · May be fixed by #2735
Assignees
Labels
bug Something isn't working wontfix This will not be worked on
Milestone

Comments

@a-librarian
Copy link

Describe the bug
I bought the app on the play store and it sees the bike and connects automatically, but displays no information. Tried goofing around with settings to no avail.

I've attached 3 debug logs from the sessions in which I was trying to connect.

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

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Smartphone (please complete the following information):
Android 14, June 5 Update
Pixel 6 Pro

Append a debug log
debug-Sat_Jun_22_11_51_06_2024.log
debug-Sat_Jun_22_12_09_53_2024.log
debug-Sat_Jun_22_12_04_18_2024.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.

@a-librarian a-librarian added the bug Something isn't working label Jun 22, 2024
@cagnulein
Copy link
Owner

Hi @a-librarian that's very strange.
Can you try to enalbe the Hammer Racer Bike setting under the Hammer Racer Bike Options on the bike settings in QZ and restart QZ?
Send me another debug log in this scenario if it doesn't work
let me know!

@a-librarian
Copy link
Author

Thanks. I turned on Hammer, no change. Two new logs for your viewing pleasure.

debug-Sat_Jun_22_13_31_41_2024.log
debug-Sat_Jun_22_13_29_57_2024.log

@cagnulein
Copy link
Owner

The problem is that the bike is not sending ftms data at all. Is the firmware on the bike updated?

@a-librarian
Copy link
Author

I pressed the update firmware button in the AI Gym app. Nothing happens. I can confirm that the bike successfully pairs with and sends data to Zwift and Kinomap. It is not detected by the Peloton app.

@cagnulein
Copy link
Owner

Yes it sends only as a power meter. Let me try to do a modification about this

I will send you a new version in a hour

@a-librarian
Copy link
Author

I took screenshots of the output of the bike in both apps, in case of use.
Zwift
PXL_20240622_180603744 MP
Kinomap
Screenshot_20240622-135042

@cagnulein
Copy link
Owner

Hah wait, I saw now that you set it under ftms bike setting. Remove it from there and restart qz
Let me know

@cagnulein
Copy link
Owner

Hah wait, I saw now that you set it under ftms bike setting. Remove it from there and restart qz
Let me know

@a-librarian
Copy link
Author

debug-Sat_Jun_22_14_31_05_2024.log
Like this?
Screenshot_20240622-143136
No change to the output.

@cagnulein
Copy link
Owner

last test

set your bike under accesories, power sensor and also enable power sensor as a bike

image

let me know

@a-librarian
Copy link
Author

Some progress! With Power Sensor set to R-Q002N, we get the following:
Screenshot_20240622-145113
debug-Sat_Jun_22_14_50_29_2024.log

@cagnulein
Copy link
Owner

ok wait i'm doing a modification

@cagnulein
Copy link
Owner

ok keep these settings and use this

https://github.com/cagnulein/qdomyos-zwift/actions/runs/9627668039

Google is very slow in these days, reviewing the app on the store, even the beta ones. For this reason, in order to check right now if the patch that I did is right, you can use the android build in the link (check at the bottom of the page in about 1 hour). In order to test it you need first to remove the current QZ version on your phone, install the one that you downloaded.
This version is a 15 minutes trial (you can restart it as many times as you want) and I can unlock it if you want, send me an email to [email protected] mentioning this ticket and that you are on android.
Let me know if you have any questions

I'm going to bed in an hour, I will answer you back tomorrow in case! Let me know

@a-librarian
Copy link
Author

Hello, installed the trial app. Displays the same metrics. The million dollar question for me is a) can I get peloton to automatically adjust my bikes resistance and maybe b) can I send cadence data to Peloton?

@cagnulein
Copy link
Owner

So the fix of yesterday worked?

in the actual setup qz can't change the resistance but i can do a mod for you.

i need a debug log from an app that can change directly the resistance following this https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device

Are you able to do so? For example kinomap or zwift can change the resistance on your bike?

@a-librarian
Copy link
Author

Hi again. Ah, yes, I didn't have Power Sensor as a Bike enabled. It seems to work!
Screenshot_20240623-125319

I connected to Kinomap and generated a BT log.
btsnoop_hci.log

I hope this is the right one. Let me know - it wasn't in exactly the same folder from your instructions.

Thanks.

@cagnulein
Copy link
Owner

ok that's great! so from kinomap did you change the resistance directly from the kinomap app?

@a-librarian
Copy link
Author

Yes, Kinomap automatically adjusts the bike's resistance depending on the course - I could feel it adjusting. I noted that the display on the bike does not reflect the resistance value when connected to Kinomap, but I could tell it was working.

@cagnulein
Copy link
Owner

got it, you did right the log! I will check it tomorrow, it seems that kinomap is using ftms, so I probably need to understand what I did different from kinomap. So in the next version you will have to use to reset the power sensor to defaults (removing it from the power sensor) and set it back to the ftms bike.
I will update you!

@a-librarian
Copy link
Author

Amazing. I really appreciate your work on this. Thank you!

@cagnulein
Copy link
Owner

hi @a-librarian i was comparing the hcisnoof with what QZ does in the standard configuration (no FTMS bike set and now power sensor set) and it looks the same. The only different thing is the fact that QZ also broadcast itself as a FTMS bike and I'm wondering if maybe this is the problem that inhibit the bike to send the metrics.
So:

  • set the ftms bike to disabled
  • set the power sensor to disabled
  • set the power sensor as a bike to OFF
  • set the virtual bluetooth device in the experimental settings to OFF
  • restart QZ

let's see if you can get the metrics in this way. if not post again a debug log.
Let me know!

@a-librarian
Copy link
Author

Did all those things, no display, I'm afraid.
debug-Mon_Jun_24_08_40_56_2024.log
debug-Mon_Jun_24_08_42_46_2024.log

@cagnulein
Copy link
Owner

this is crazy, i can't see any real difference between what kinomap does and what I did. Could you ask you one last favor? Could you please do the hcisnoof thing this time with qz? I would like to compare the one that you did for kinomap with the one from QZ so i will compare apple with apple.
Thanks!

@a-librarian
Copy link
Author

Here you go:
btsnoop_hci.log

@cagnulein
Copy link
Owner

cagnulein commented Jun 24, 2024 via email

@cagnulein
Copy link
Owner

ok @a-librarian I tried to do the same thing that kinomap does (even if it doesn't have sense, but maybe it's a workaround for this bike) https://github.com/cagnulein/qdomyos-zwift/actions/runs/9657925370

Let me know, send me a debug log from qz in case it doesn't work
Thanks!

@a-librarian
Copy link
Author

No display with default settings, alas.
debug-Tue_Jun_25_08_48_34_2024.log

@cagnulein
Copy link
Owner

cagnulein commented Sep 6, 2024 via email

@cagnulein
Copy link
Owner

debug-Mon_Aug_26_11_33_19_2024.log

hi @a-librarian only in this log i can see the peloton resistance sent to the bike from resistance 8 to 12. it uses the same method that it did from the resistance tile. maybe you can try a longer session?

@a-librarian
Copy link
Author

a-librarian commented Sep 6, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Sep 6, 2024 via email

@a-librarian
Copy link
Author

Oh! I see.
I would say :
Peloton resistance 25 : Renpho 6
Peloton resistance 50 : Renpho 12
Peloton resistance 75 : Renpho 18
Peloton resistance 100 : Renpho 24

@cagnulein
Copy link
Owner

cagnulein commented Sep 6, 2024 via email

@a-librarian
Copy link
Author

ok, will do.

Copy link

stale bot commented Sep 22, 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 Sep 22, 2024
@stale stale bot closed this as completed Sep 30, 2024
@cagnulein cagnulein added this to the 2.18 milestone Sep 30, 2024
@cagnulein
Copy link
Owner

@a-librarian any news?

@a-librarian
Copy link
Author

debug-Sun_Nov_3_10_13_49_2024.log.txt

I've created a new log for you. Here's what I did:

  • connected to qz, attempted to change resistance. Couldn't seem to, but I was pressing the buttons. Hard to pedal.
  • started a peloton ride. It found it. The ride was a low resistance ride, but I could barely pedal, almost like it was at max resistance. It seemed to get easier right at the end.

I honestly can't figure out what the app is doing vis a vis the bikes resistance.

@cagnulein cagnulein reopened this Nov 3, 2024
@cagnulein
Copy link
Owner

Ok I will check it, I thought we were ok

@cagnulein
Copy link
Owner

@a-librarian ok i guess i got it, it's because qz was sending high values of resistances. Ok let me try to understand this: from the AI gym app, which are the level min and level max?

@stale stale bot removed the wontfix This will not be worked on label Nov 4, 2024
@a-librarian
Copy link
Author

a-librarian commented Nov 4, 2024 via email

@cagnulein
Copy link
Owner

hah ok 24, that's the number that I was looking for. Now qz is sending numbers over 40 that's the reason! let me try to do a patch!

@cagnulein
Copy link
Owner

@a-librarian https://github.com/cagnulein/qdomyos-zwift/actions/runs/11666537926

Google is very slow in these days, reviewing the app on the store, even the beta ones. For this reason, in order to check right now if the patch that I did is right, you can use the android build in the link (check at the bottom of the page in about 1 hour). In order to test it you need first to remove the current QZ version on your phone, install the one that you downloaded.
This version is a 15 minutes trial (you can restart it as many times as you want) and I can unlock it if you want, send me an email to [email protected] mentioning this ticket and that you are on android.
Let me know if you have any questions

Copy link

stale bot commented Nov 23, 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 Nov 23, 2024
@stale stale bot closed this as completed Dec 1, 2024
@cagnulein
Copy link
Owner

@a-librarian Any news?

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

Successfully merging a pull request may close this issue.

2 participants