Closed ibbr0 closed 2 years ago
@emalafeew Gave it a try during lunch. Vzfit does now change inclination on the bike, which is the same way zwift and rouvy do it. I can also still control resistance on the bike manually which is the desired mode unless you want a constant watt workout, which qz supports by itself I believe. However on flat land my inclination is set to 10 when it should be 0. I'm guessing that vzfit is sending a calculated resistance and not grade inclination from google elevation which the bike takes as inclination? It is changing direction properly, raising it up hill, lowering it downhill. Having a mode to just send the actual grade instead of a calculated resistance would make the functionality the same as the other apps I have tried, zwift and rouvy, and what people with smart trainers will probably expect. I imagine that the vzfit difficulty setting scales these numbers but haven't played with that yet. On my bike inclination goes from -5 to +15 I think, but resistance goes from 1 to 26 so an inclination of 10 on flat land doesn't leave much top end. What is the maximum number you would send with the current math? debug-Tue_Feb_22_13_57_53_2022.log debug-Tue_Feb_22_14_03_57_2022.log
@cagnulein This would most likely be a workable solution as is, if inclination offset could go negative. With that a translation to flat would be possible, and the gain could most likely be adjusted to match real incline.
Had to do another ride to get the logs above. Vzfit flat land is probably actually sending 12, not 10.
I'll test more this evening. Thanks!
@ibbr0 Inclination offset can be negative. Just copy the value from an external app and paste it to Qz settings. Let me know
I didn't check the log yet, I will do tomorrow
@emalafeew So strange for the indication/notification thing, I will test it in the next days anyway
@ibbr0 glad it's working! We can look into virtual grade control rather than resistance control for our next release. Good to know it's supported on most FTMS indoor bike devices. Regarding resistance control, yes we have a custom function that the difficulty setting lowers or raises. It's my understanding that the QZ app is turning that into virtual inclination/grade for your bike, I can't say whether the QZ app has the ability to offset that.
@cagnulein thanks for your help and the app which will help more bikes be compatible with VZfit. We'll talk more!
@cagnulein Cool, that is easy enough. I'll let you know.
@emalafeew Yes, I am very pleased. Thanks for your time. Sounds like a negative offset in qz will get me where I want to be for now. If you have time and think of it, tag me when the next release is out. That will put you on equal ground with zwift and rouvy functionality, and the vr is already stunning.
@ibbr0 i checked quickly your log from yesterday and the problem about the resistance is because you have the "Zwift Force Resistance" setting disabled. Turn it on and let me know
I know about that setting and prefer it off, so that I can use resistance as gear changes on the bike. When I turn it on it does work as expected.
My question is that emalafeew says he is sending resistance but it changes incline on my bike. This works well for the tdf. I just want to make sure that the changes they make to send actual inclination grade work properly without multiple tries.
IB
Sent from my iPhone
On Feb 23, 2022, at 9:54 AM, Roberto Viola @.***> wrote:
@ibbr0 i checked quickly your log from yesterday and the problem about the resistance is because you have the "Zwift Force Resistance" setting disabled. Turn it on and let me know
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.
@ibbr0 probably i'm missing something in the translation so i would like to recap from my point of view:
Do I answer to your questions/doubts?
Yes, that does answer my questions. Thank you.
-IB
Sent from my iPhone
On Feb 23, 2022, at 11:52 AM, Roberto Viola @.***> wrote:
@ibbr0 probably i'm missing something in the translation so i would like to recap from my point of view:
on your bike, since it's a very particular one, when VzFit (or zwift) sends a inclination change, i send to your bike both inclination and resistance change. Of course you can disable the resistance as you alread did for ALL the other bike (for example echelon) when @emalafeew sends the inclination i'm translating it into resistance changes with the zwift resistance gain and offset Do I answer to your questions/doubts?
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.
@ibbr0 sorry for the confusion. I was mistaken before, it looks like we are driving the grade not resistance. It's a custom function now rather than the virtual grade, but we will look into using actual grade next release.
@emalafeew. That aligns with what I thought I was seeing. I’ve got my rig approximating grade using qdomyos and the 13 release, so good for now, but I will look forward to the next version with accurate grade. Thanks!
by the way guys my Oculus will be here at Sunday, i can't wait :)
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.
Hi, you had requested logs from vzfit rides to assist in getting it configures.
Using the new beta, vzfit connects to qz and the ride starts correctly, however if i stop pedalling, the cadence does not stop and vzfit thinks i'm still pedalling. qz shows cadence stopped. while riding if i change incline, it is immediately set back to the original value. force zwift resistance was off and resistance can be changed on the bike normally.
debug-Mon_Feb_14_14_40_49_2022-1.log
Using the non beta current version cadence stops properly when i quit pedaling. If I change incline using the bike buttons, it immediately changes back to the previous values. Same for resistance if force zwift resistance is on, otherwise i can change it and it stays.
vzfit does say they support ftms auto resistance. I have a list of bikes they mentioned if needed. they have not mentioned incline control but i haven't specifically asked yet.
one other thing i've noticed is that when i go back into vzfit, it say's 'pedal to connect to iphone addr ###'. it will never connect. i go into standing mode and then go back to selecting a sensor and it immediately connects properly. I only mention it in case you see corresponding weirdness in the logs.
Thank you! IB
debug-Mon_Feb_14_14_46_19_2022.log