Closed cagnulein closed 3 years ago
I thinking now, maybe I'm not use the correct version of your app, I downloaded the last commit. Maybe your change was only in 53fde43, I don't know how I can dowload a specific version of your app, could you explain me ? (sorry, I'm novice in git)
You did right! I will check the log, we are very near to perfection :D I'm just worried about the power glitch on zwift I hope I will see something on the log. I'll keep you informed
value of speed on bike display was not correct at begining it was 25, after was sometimes to 0 or 4 few times power falls to 0 on zwift but cadence was displayed
fixed!
_ distance stay at 0
fixed too!
_ Resistance it's not controlled yet by zwift
we made a lot of progress i saw on the logs! we're near. i just added some response to zwift requests, so we will need some more test in order to collect data, but again, we're near :)
pull it and try and let me know @kenands @firetrappe these changes apply to your bike too
@cagnulein great :D It's go for a new session this night lol
Tommorow, my treadmill will be delivered 👍
Thanks
@cagnulein here are today's logs :smile: debug-ven. nov. 6 21:58:18 2020.log debug-ven. nov. 6 22:00:22 2020.log debug-ven. nov. 6 22:02:25 2020.log debug-ven. nov. 6 21:22:02 2020.log
On diplay: speed stayed at 25 even if I pedaled slowly or faster there is a decimal shift for distance (0.6km instead of 6km)
Resistance: Power fall and stay to 0 when I increase the resistance above 10, cadence continue to work (when it happen, I restart the app) Resistance not controlled by zwift
Thanks :)
@kenands i theorically fixed all of them now. resistance from zwift it's still a work in progress, but i made a step on every log you submit!
thanks for your time
@cagnulein it's a good new :D
I did a few minutes session:
You did all the works lol thanks to you.
By the way, I received my treadmill :smile:
@kenands i was looking the log, does it possible that you encounter a grade of inclination of max 3,9% during that session?
@kenands try my last commit. i fixed the distance issue and i try to set resistance to the values that i received from zwift. finger crossed!
if you have any hint on the power, please tell me or directly do a pull request
@kenands i was looking the log, does it possible that you encounter a grade of inclination of max 3,9% during that session?
No, if I remember correctly, I reached nearly 10%.
@kenands try my last commit. i fixed the distance issue and i try to set resistance to the values that i received from zwift. finger crossed!
Ok I will try this night :)
if you have any hint on the power, please tell me or directly do a pull request
No problem :)
@cagnulein nearly perfect :+1:
For the power, i did my first pull request :) hope I did it in correct way
@kenands wow! awesome! i use the grade of inclination as resistance level. Can you send me the log?
@cagnulein oups, I fogort. Here is the log: debug-dim. nov. 8 00:38:07 2020.log
thanks
Hi @cagnulein .. I resumed my test. I lost many commits and so I started formate last one... During my previous tests some days ago, the bridge works well in terms of bike connection and zwift, reporting on zwift correct values about cadence, watt, speed, ... The only problem was the connection from zwift to bridge/byke in terms of resistance... not still enabled. Testing just un hour ago, I found a very strange behavior: just starting the bridge, without any biking (no rotation), zwift is reporting random values in terms of each above values (the avatar is moving autonomously) and as you can in the log, some values are really strange like negative values of resistance and very high value of watts... I attached the log for your analysis. Thank you in advance. debug-dom nov 8 20_52_50 2020.log
DUQ2KE~E.LOG tested commit 3fde43 . It works well (some problem at zwift connection .. I needed to retry some times). Apparently no resistance changes. Cadence perfect in synch with bike display. I'm not able to evaluate speed values but they seem realistic and in some way proportional to the arm in cadence... attached log
Hi @cagnulein .. I resumed my test. I lost many commits and so I started formate last one... During my previous tests some days ago, the bridge works well in terms of bike connection and zwift, reporting on zwift correct values about cadence, watt, speed, ... The only problem was the connection from zwift to bridge/byke in terms of resistance... not still enabled. Testing just un hour ago, I found a very strange behavior: just starting the bridge, without any biking (no rotation), zwift is reporting random values in terms of each above values (the avatar is moving autonomously) and as you can in the log, some values are really strange like negative values of resistance and very high value of watts... I attached the log for your analysis. Thank you in advance. debug-dom nov 8 20_52_50 2020.log
here the bike sent invalid resistance value, i don't know why, but it's the bike itself that it was sending wrong :( Anyway i added a check to invalid strange resistance values. Thanks for reporting
DUQ2KE~E.LOG tested commit 3fde43 . It works well (some problem at zwift connection .. I needed to retry some times). Apparently no resistance changes. Cadence perfect in synch with bike display. I'm not able to evaluate speed values but they seem realistic and in some way proportional to the arm in cadence... attached log
resistance doesn't change because zwift, in the logs, send always value near to 1% grade in that session. i have to understand what zwift needs to improve this control
@alpat59 @kenands i added another piece to the chain of the zwift controlled resistance. Please try. Send me the log, i guess we will see different thing. @kenands do you see strange thing too as @alpat59 on the last commits? i tried my treadmill with a virtual box and it works ok
some problem at zwift connection .. I needed to retry some times
can you send me the log when the connection doesn't work? of course with the last commit, the new log system should improve a lot my possibility to understand the issue
@cagnulein hi, I didn't see any strange thing in last commits I tried, I don't try the last one yet.
I did my first session on zwift with my treadmill and it's awesome 😄
hi, I didn't see any strange thing in last commits I tried, I don't try the last one yet.
@kenands good!
I did my first session on zwift with my treadmill and it's awesome
worked without issues? we have to run together one of these days :P
@cagnulein just a little issue but I don't know if relatad to your app, distance and time falled to 0 on treadmill console 35 minutes after the start, but there wasn't issue in communication between zwift and the treadmill.
we have to run together one of these days :P
with pleasure :D
just a little issue but I don't know if relatad to your app, distance and time falled to 0 on treadmill console 35 minutes after the start, but there wasn't issue in communication between zwift and the treadmill.
if you will see it again, send me the full log. i will try to understand. thanks
log of my test on last commit (55a5def). It seems working well (cadence, speed,..). Let me know again if I have to expect resistance changes pushed by zwift. Thank you debug-lun nov 9 22_17_14 2020.log
debug-lun nov 9 22_37_25 2020.log elapsed time on bike is around half of that reported by zwift
log of my test on last commit (55a5def). It seems working well (cadence, speed,..). Let me know again if I have to expect resistance changes pushed by zwift. Thank you debug-lun nov 9 22_17_14 2020.log
Yes In the log I saw a lot of writes resistance to value 2
debug-lun nov 9 22_37_25 2020.log elapsed time on bike is around half of that reported by zwift
Yeah you're right, i will fix today (I've already fixed on the treadmill)
elapsed time on bike is around half of that reported by zwift
fixed
two more tests... 1) bridge without parameters(only -no-gui): Zwift works well with elapsed time apparently (i did just a couple of minutes) aligned between console and zwift but console updates not perfectly in synch and not continuously (sometime jumps seconds). log attached debug-mar nov 10 14_15_19 2020.log
2) test about resistance changes with parameter -test-resistance : zwift works like above described...but resistance doesn't change ! log attached debug-mar nov 10 14_19_09 2020.log
wow @alpat59 so my job of this morning has worked out! Great! Yes i know that the display was not in sync: is because i send the display notification once every second, i should speed it up, but i don't want to push to hard the connection. First of all stability, next step, optimization! :)
test about resistance changes with parameter -test-resistance : zwift works like above described...but resistance doesn't change ! log attached debug-mar nov 10 14_19_09 2020.log
you can't run -test-resistance with zwift, they are conflicting! disconnect from zwift and retry
hi @cagnulein . I had time to do another test with last commit (429cb20) with parameter -test-resistance and zwift app not running. Result: resistance value on console is fixed on value 1. Could you check in some way by attached log what's happening? Is my bike receiving the resistance value changes? if yes why aren't reported on console? Thank you debug-gio nov 12 19_55_04 2020.log
@alpat59 any news?
@alpat59 let's continue here 👍