cagnulein / qdomyos-zwift

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

Only getting Inclination and Resistance - NordicTrack S22i - Beta Update #2622

Open EnglandAngling opened 2 weeks ago

EnglandAngling commented 2 weeks ago

Describe the bug Only getting Inclination and Resistance - other metrics such as speed, cadence, power stay at zero.

To Reproduce Steps to reproduce the behavior: Start the companion app on the laptop as normal then start peddling on manual mode on the S22i bike.

Expected behavior Normal metrics to display

Desktop (please complete the following information):

[Uploading debug-Thu_Sep_26_20_21_28_2024.log…]()

Append a debug 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.

cagnulein commented 2 weeks ago

hi @EnglandAngling i can't see the debug log, you have to wait the finish of the upload before pushing the comment button. please upload it again thanks

EnglandAngling commented 2 weeks ago

debug-Thu_Sep_26_20_21_28_2024.log

EnglandAngling commented 2 weeks ago

@cagnulein Done

cagnulein commented 2 weeks ago

ok are you able also to send me an adb logcat? unfortunately the issue is on the companion, and I need an adb logcat to understand what it is Thanks

EnglandAngling commented 2 weeks ago

Can you let me know how I can do that please?

cagnulein commented 2 weeks ago

on your pc do you have already download the install package from the main page of the project? if so just run the adb log batchfile

EnglandAngling commented 2 weeks ago

Ah ok...I'll try that this evening, thanks.

EnglandAngling commented 2 weeks ago

logcat.txt 2024-09-22_logs.txt

EnglandAngling commented 2 weeks ago

@cagnulein are these the files?

cagnulein commented 2 weeks ago

i will check them in the next days thanks!

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

Il giorno ven 27 set 2024 alle 18:43 EnglandAngling < @.***> ha scritto:

@cagnulein https://github.com/cagnulein are these the files?

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

EnglandAngling commented 2 weeks ago

thanks

cagnulein commented 2 weeks ago

logcat.txt 2024-09-22_logs.txt

hi i was checking the log and the OCR was getting these values

09-27 17:38:04.619 1809 1809 D OCRlines: 1 incline 09-27 17:38:04.619 1809 1809 D OCRlines: 2 idoe 09-27 17:38:04.619 1809 1809 D OCRlines: 3 VIued 09-27 17:38:04.619 1809 1809 D OCRlines: 4 iFIT: 09-27 17:38:04.619 1809 1809 D OCRlines: 5 4 09-27 17:38:04.619 1809 1809 D OCRlines: 6 resistance 09-27 17:38:04.619 1809 1809 D OCRlines: 7 I| Workout

were you on a manual workout window when you collect this log?

EnglandAngling commented 2 weeks ago

Yes it was a manual workout.

--

Regards Tim TEL: 01904 400242

England Angling Unit 17D Malton Road Industrial Estate Malton Road York YO32 9TN

web: https://www.englandangling.co.uk email: @.***

live chat: https://tawk.to/chat/55e80b42ef156c730753a784/default


From: "Roberto Viola" @.> Sent: 30/09/2024 09:12 To: cagnulein/qdomyos-zwift @.> Cc: EnglandAngling @.>, Mention @.> Subject: Re: [cagnulein/qdomyos-zwift] Only getting Inclination and Resistance - NordicTrack S22i - Beta Update (Issue #2622)

logcat.txt 2024-09-22_logs.txt

hi i was checking the log and the OCR was getting these values 09-27 17:38:04.619 1809 1809 D OCRlines: 1 incline 09-27 17:38:04.619 1809 1809 D OCRlines: 2 idoe 09-27 17:38:04.619 1809 1809 D OCRlines: 3 VIued 09-27 17:38:04.619 1809 1809 D OCRlines: 4 iFIT: 09-27 17:38:04.619 1809 1809 D OCRlines: 5 4 09-27 17:38:04.619 1809 1809 D OCRlines: 6 resistance 09-27 17:38:04.619 1809 1809 D OCRlines: 7 I| Workout were you on a manual workout window when you collect this log? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

cagnulein commented 2 weeks ago

so in that view did you see the other values? because the OCR seems to see only these words

EnglandAngling commented 2 weeks ago

I'm not sure.....I'll give it another go this week and see what values it displays and do another log

--

Regards Tim TEL: 01904 400242

England Angling Unit 17D Malton Road Industrial Estate Malton Road York YO32 9TN

web: https://www.englandangling.co.uk email: @.***

live chat: https://tawk.to/chat/55e80b42ef156c730753a784/default


From: "Roberto Viola" @.> Sent: 30/09/2024 09:26 To: cagnulein/qdomyos-zwift @.> Cc: EnglandAngling @.>, Mention @.> Subject: Re: [cagnulein/qdomyos-zwift] Only getting Inclination and Resistance - NordicTrack S22i - Beta Update (Issue #2622)

so in that view did you see the other values? because the OCR seems to see only these words — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

cagnulein commented 2 weeks ago

ok share me also a picture so i can check the manual workout view too, also don't interrupt the manual workout before getting the log

EnglandAngling commented 2 weeks ago

OK

--

Regards Tim TEL: 01904 400242

England Angling Unit 17D Malton Road Industrial Estate Malton Road York YO32 9TN

web: https://www.englandangling.co.uk email: @.***

live chat: https://tawk.to/chat/55e80b42ef156c730753a784/default


From: "Roberto Viola" @.> Sent: 30/09/2024 09:37 To: cagnulein/qdomyos-zwift @.> Cc: EnglandAngling @.>, Mention @.> Subject: Re: [cagnulein/qdomyos-zwift] Only getting Inclination and Resistance - NordicTrack S22i - Beta Update (Issue #2622)

ok share me also a picture so i can check the manual workout view too, also don't interrupt the manual workout before getting the log — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

EnglandAngling commented 1 week ago

20241007_202508 debug-Mon_Oct_7_20_11_25_2024.log debug-Mon_Oct_7_20_15_36_2024.log debug-Mon_Oct_7_20_25_56_2024.log logcat.txt

EnglandAngling commented 1 week ago

@cagnulein I've tried with the new APK that you listed but only get inclination and nothing else....

cagnulein commented 1 week ago

i will check the log asap in the mean time check this too! https://github.com/cagnulein/QZCompanionNordictrackTreadmill/pull/116

cagnulein commented 1 week ago

it should work also for you!

EnglandAngling commented 1 week ago

logcat.txt

Is this logcat better? @cagnulein

cagnulein commented 1 week ago

perfect! ok companion is doing the right thing: could you please share a debug log from qz? https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

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

Il giorno mar 8 ott 2024 alle 21:47 EnglandAngling @.***> ha scritto:

logcat.txt https://github.com/user-attachments/files/17298463/logcat.txt

Is this logcat better?

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

cagnulein commented 1 week ago

Hah wait I can see only speed and inclination in the logcat

cagnulein commented 1 week ago

Can you also share the file

"/sdcard/android/data/com.ifit.glassos_service/files/.valinorlogs/log.latest.txt"

?

I'm going to bed now

EnglandAngling commented 1 week ago

@cagnulein OK no worries, but can you tell me how I get that file from the bike to my laptop :-)

EnglandAngling commented 1 week ago

debug-Tue_Oct_8_20_44_14_2024.log

cagnulein commented 1 week ago

@cagnulein OK no worries, but can you tell me how I get that file from the bike to my laptop :-)

adb pull "/sdcard/android/data/com.ifit.glassos_service/files/.valinorlogs/log.latest.txt"

EnglandAngling commented 1 week ago

log.latest.txt

EnglandAngling commented 1 week ago

see above @cagnulein thanks.

cagnulein commented 1 week ago

@EnglandAngling the /sdcard/android/data/com.ifit.glassos_service/files/.valinorlogs/log.latest.txt was taken during a workout? because I don't see any metrics at all.

Anyway, you see only inclination, because you have the speed based on power setting enabled on the bike settings. if you disable it, you should see also speed on qz. since i can't see the wattage and cadence from the bike, if you want, we can try to emulate the wattage from the speed value. Of course if we can read the power directly from the log it's better for both of us :)

maybe do on pc a

adb shell tail -f /sdcard/android/data/com.ifit.glassos_service/files/.valinorlogs/log.latest.txt

while you're doing a workout to check if you can see the metrics while you're riding

let me know!

EnglandAngling commented 5 days ago

@cagnulein OK I now see Speed and Inclination on QZ. No resistance or cadence. And when I do "adb shell tail -f" etc I see values changing for Inclination, Speed and Resistance but no cadence. When I open up Zwift, everything says connected (Power Source, Resistance and Cadence) but no values show when I pedal the bike. I've attached the log.latest.txt log.latest.txt

cagnulein commented 5 days ago

ok so your bike is not logging neither cadence or power, that's a big issue. if you want i can simulate it starting from the speed. this is the only thing that i can do. did you already try to revert the version a non beta one?

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

Il giorno gio 10 ott 2024 alle 20:17 EnglandAngling < @.***> ha scritto:

@cagnulein https://github.com/cagnulein OK I now see Speed and Inclination on QZ. No resistance or cadence. And when I do "adb shell tail -f" etc I see values changing for Inclination, Speed and Resistance but no cadence. When I open up Zwift, everything says connected (Power Source, Resistance and Cadence) but no values show when I pedal the bike. I've attached the log.latest.txt log.latest.txt https://github.com/user-attachments/files/17332544/log.latest.txt

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

EnglandAngling commented 5 days ago

I guess if that's the only thing you can do then I'll give it a try please before going back to non-beta....

cagnulein commented 5 days ago

or otherwise we have to find something else in the logs the power and the cadence, but only you can find it

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

Il giorno gio 10 ott 2024 alle 20:38 EnglandAngling < @.***> ha scritto:

I guess if that's the only thing you can do then I'll give it a try please before going back to non-beta....

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

EnglandAngling commented 5 days ago

which logs do I need to look at, and are they on the bike or the lapto?

cagnulein commented 5 days ago

They are on the bike, you can try to run a

adb shell grep -r Changed /

To see if there are any lines with wattage or cadence

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

Il giorno gio 10 ott 2024 alle 21:26 EnglandAngling < @.***> ha scritto:

which logs do I need to look at, and are they on the bike or the lapto?

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

EnglandAngling commented 3 days ago

@cagnulein Permission denied...

C:\EnglandAngling\Perso\MTB\QZbeta\QZCompanionNordictrackTreadmill-master\InstallPackage>adb shell grep -r Changed / grep: /proc/aed/generate-ee: Permission denied grep: /proc/aed/generate-dal: Permission denied grep: /proc/aed/generate-scp: Permission denied grep: /proc/aed/generate-wdt: Permission denied grep: /proc/aed/generate-md32: Permission denied grep: /proc/aed/generate-oops: Permission denied grep: /proc/aed/generate-combo: Permission denied grep: /proc/aed/current-ke-console: Permission denied grep: /proc/aed/generate-nested-ke: Permission denied grep: /proc/aed/current-ee-coredump: Permission denied grep: /proc/aed/current-ke-mmprofile: Permission denied grep: /proc/aed/current-ke-mini_rdump: Permission denied grep: /proc/aed/generate-kernel-notify: Permission denied grep: /proc/aed/current-ke-android_main: Permission denied grep: /proc/aed/current-ke-android_radio: Permission denied grep: /proc/aed/current-ke-android_system: Permission denied grep: /proc/aed/current-ke-userspace_info: Permission denied grep: /proc/hps/num_base_perf_serv: Permission denied grep: /proc/hps/num_limit_power_serv: Permission denied grep: /proc/m4u: Permission denied grep: /proc/net/vlan/config: Permission denied grep: /proc/net/wlan/setCAM: I/O error grep: /proc/net/wlan0/met_ctrl: I/O error grep: /proc/net/wlan0/met_port: I/O error grep: /proc/net/fib_trie: Permission denied grep: /proc/net/netfilter/nfnetlink_log: Permission denied grep: /proc/net/netfilter/nfnetlink_queue: Permission denied grep: /proc/net/nf_conntrack: Permission denied grep: /proc/net/ip_tables_names: Permission denied grep: /proc/net/arp_tables_names: Permission denied grep: /proc/net/ip6_tables_names: Permission denied grep: /proc/net/ip_tables_matches: Permission denied grep: /proc/net/ip_tables_targets: Permission denied grep: /proc/net/arp_tables_matches: Permission denied grep: /proc/net/arp_tables_targets: Permission denied grep: /proc/net/ip6_tables_matches: Permission denied grep: /proc/net/ip6_tables_targets: Permission denied grep: /proc/net/nf_conntrack_expect: Permission denied grep: /proc/sys/fs/protected_hardlinks: Permission denied grep: /proc/sys/fs/protected_symlinks: Permission denied grep: /proc/sys/kernel/cad_pid: Permission denied grep: /proc/sys/kernel/usermodehelper/bset: Permission denied grep: /proc/sys/kernel/usermodehelper/inheritable: Permission denied grep: /proc/sys/net/ipv4/route/flush: Permission denied grep: /proc/sys/net/ipv4/tcp_fastopen_key: Permission denied grep: /proc/sys/net/ipv6/conf/all/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/default/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/ifb0/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/ifb1/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/ip6_vti0/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/ip6tnl0/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/ip_vti0/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/lo/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/p2p0/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/sit0/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/tunl0/stable_secret: Permission denied grep: /proc/sys/net/ipv6/conf/wlan0/stable_secret: Permission denied grep: /proc/sys/net/ipv6/route/flush: Permission denied grep: /proc/sys/vm/compact_memory: Permission denied grep: /proc/sys/vm/mmap_rnd_bits: Permission denied grep: /proc/sys/vm/mmap_rnd_compat_bits: Permission denied grep: /proc/sys/vm/stat_refresh: Permission denied grep: /proc/tty/driver: Permission denied

cagnulein commented 3 days ago

Permission denied it's not the issue, the issue is that it doesn't find any file with the metrics... Don't we have any possibility to restore the original ifit version?

EnglandAngling commented 3 days ago

That is possible...but I was hoping to use the new Beta version as my wife uses the bike too and prefers the Beta version :-) Oh well...thanks anyway.

cagnulein commented 3 days ago

Let's try another one

Run a

adb pull "/sdcard/android/data/com.ifit.glassos_service/files/.valinorlogs/log.latest.txt"

And share the file here

cagnulein commented 3 days ago

Hah sorry we already did this

EnglandAngling commented 3 days ago

I've reset the bike, gone back to the original version of i-Fit (non Beta) and all is working as normal again.

cagnulein commented 3 days ago

Glad to hear, I suggest to block the update if you want to continue to use qz