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

Open
a-librarian opened this issue Jun 22, 2024 · 51 comments
Open

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

a-librarian opened this issue Jun 22, 2024 · 51 comments
Assignees
Labels
bug Something isn't working

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

it's truly unbelieavable. Do you have by chance a PC, or a Mac with Silicon processor or a iOS device? I would like to try QZ as well there (i can send you a free copy of course). Let me know

@a-librarian
Copy link
Author

a-librarian commented Jun 25, 2024 via email

@cagnulein
Copy link
Owner

ok let's try first with the ipad. i just sent you a version by email

@a-librarian
Copy link
Author

debug-Tue_Jun_25_10_38_50_2024.log
From iOS this time. Same as ever. It works when set as power sensor, but not otherwise.

@cagnulein
Copy link
Owner

cagnulein commented Jun 25, 2024 via email

@cagnulein
Copy link
Owner

ok let's try one more thing https://github.com/cagnulein/qdomyos-zwift/actions/runs/9677397119

@a-librarian
Copy link
Author

Still nothing (on android).
debug-Wed_Jun_26_21_49_13_2024.log

@cagnulein
Copy link
Owner

unbelievable. I have to think about this, never had such an issue. All the communication is right now

@cagnulein
Copy link
Owner

@a-librarian could I ask you a test?

screen-20240627-140349.mp4

If you are doing the same for your renpho bike do you see the metrics as I can see on mine?

@a-librarian
Copy link
Author

a-librarian commented Jun 27, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Jun 27, 2024 via email

@a-librarian
Copy link
Author

When I connect qz and debug I see this:
Screenshot_20240627-083020

@cagnulein
Copy link
Owner

cagnulein commented Jun 27, 2024 via email

@a-librarian
Copy link
Author

Screenshot_20240627-083830
Screenshot_20240627-083846
Screenshot_20240627-083825

@cagnulein
Copy link
Owner

ddi you click here ? i would like to see that the notification are enabled

343773008-5cc3ae7a-c34b-4fa1-9711-ec9a030e863c

@a-librarian
Copy link
Author

Screenshot_20240627-084914

@cagnulein
Copy link
Owner

ok so same issue here. Ok that's a clue. Even if you click again the same icon and again? you never receive any metrics?

@a-librarian
Copy link
Author

Screenshot_20240627-085507

@a-librarian
Copy link
Author

Sorry, didn't think to be riding while doing this! I have to head to work but can gather more data later if needed.

@cagnulein
Copy link
Owner

hah ok, of course you were riding when you were testing qz...that's really a mistery!

@a-librarian
Copy link
Author

😊 yes, always riding when testing qz. Didn't think this Bluetooth app could display metrics. Happy to do any other tests you can think of.

@cagnulein
Copy link
Owner

@a-librarian
Copy link
Author

Hi. Tried this build. Still nothing. I did get a very large bug report. Must have been connected for a long time.
I'll be away for the week, fyi.

(Had to change the .log to .txt to upload via Android)
debug-Thu_Jun_27_18_16_11_2024.txt

@cagnulein
Copy link
Owner

ok thanks for trying, I will think what else can i try to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants