Closed hpcolus closed 2 months ago
Pressing the plus and minus on the windows qz app tile now properly increase or decrease the inclination by 1%. Same as speed. The increase or decrease of 0.1mi/hr However, suddenly with no warning the qz app quitted unexpectedly without any error message. The third I run it, I was able to stay longer with the QZapp with no crashing.
debug-Mon_Apr_29_21_33_37_2024.log debug-Mon_Apr_29_21_38_46_2024.log
that's great! ok for the crash: does windows report something when qz closes itself? did you check in the event register of windows?
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno mar 30 apr 2024 alle 03:45 hpcolus @.***> ha scritto:
Pressing the plus and minus on the windows qz app tile now properly increase or decrease the inclination by 1%. Same as speed. The increase or decrease of 0.1mi/hr However, suddenly with no warning the qz app quitted unexpectedly without any error message.
debug-Mon_Apr_29_21_33_37_2024.log https://github.com/cagnulein/qdomyos-zwift/files/15156708/debug-Mon_Apr_29_21_33_37_2024.log debug-Mon_Apr_29_21_38_46_2024.log https://github.com/cagnulein/qdomyos-zwift/files/15156709/debug-Mon_Apr_29_21_38_46_2024.log
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2202#issuecomment-2084119117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDNSIJ3ANEQLEP2TCLY73ZS7AVCNFSM6AAAAABEOTELLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGEYTSMJRG4 . You are receiving this because you were assigned.Message ID: @.***>
Attaching the windows log from event viewer
QZ log while crash occurred
checked the log and it seems that it lost bluetooth communication from your treadmill. are there other events on the event register before the qz crash? because probably the crash is due to the fact of something that happened before.
we can try another way to have this working, using the mingw instead of the msvc version, but first we have to check if there isn't something about the pc setup that causing this issue.
Let me know!
Hi Roberto. I deactivated the real time protection of the antivirus and it is working with no crash. I tested three consecutive days for sessions lasting upto 45 minutes. So far it seems to be working. However, the pause/stop tile in the QZ does not produce a "click" sound on the mod bus and does not have any effect on the treadmill. The pause button on the treadmill does not pause QZ app. Only the stop button on the treadmill stop the QZ app and then stop the workout in Zwift
To avoid future crash you should try to implement a catch error routine. Let me know when we can start testing the autoinclination in Zwift.
that's great! a catch error routine it's everywhere in the code so i should understand where the antivirus put his hands on to add a countermeasure. anyway let's keep this disabled :)
for the pause stop : does it work on android? the current implementation it's directly on bluetooth.
for auto inclination you can already try: set the zwift credentials on qz and give it a go on a free run
let me know!
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno dom 5 mag 2024 alle 05:45 hpcolus @.***> ha scritto:
Hi Roberto. I deactivated the real time protection of the antivirus and it is working with no crash. I tested three consecutive days for sessions lasting upto 45 minutes. So far it seems to be working. However, the pause/stop tile in the QZ does not produce a "click" sound on the od bus and does not have any effect on the treadmill.
To avoid future crash you should try to implement a catch error routine. Let me know when we can start trying the autoinclination in Zwift.
debug-Sat_May_4_23_37_22_2024.log https://github.com/cagnulein/qdomyos-zwift/files/15211658/debug-Sat_May_4_23_37_22_2024.log
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2202#issuecomment-2094569823, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBMSKD65OIY343IKXDZAWTNXAVCNFSM6AAAAABEOTELLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGU3DSOBSGM . You are receiving this because you were assigned.Message ID: @.***>
With QZ android When In the treadmill I press
With QZ windows app
For auto inclination you have to set the zwift credentials in qz and enable the auto inclination setting under the credentials.
I will check the pause stop thing
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno gio 9 mag 2024 alle 05:36 hpcolus @.***> ha scritto:
With QZ android When In the treadmill I press
- PAUSE, does not have any effect on QZ android tiles
- STOP, QZ android synchronizes with the speed of the treadmill until speed "0" is achieved
With QZ windows app
- Neither PAUSE or STOP on the treadmill yields any effect on the QZ app tiles
- Autoinclination did not work debug-Wed_May_8_23_28_51_2024.log https://github.com/cagnulein/qdomyos-zwift/files/15257259/debug-Wed_May_8_23_28_51_2024.log
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2202#issuecomment-2101872518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWD467IHQWAFSKCK7KDZBLVM7AVCNFSM6AAAAABEOTELLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRHA3TENJRHA . You are receiving this because you were assigned.Message ID: @.***>
ok i handled also the start and stop modbus command now
https://github.com/cagnulein/qdomyos-zwift/actions/runs/9014929319
did you connect them onto the treadmill too?
Could not download. It says build status failure
Yes, I do connect the pause/stop to the modbus. I was not able to connect the start
Regarding the autoinclination, there are two settings one for android and the other for the QZ windows app. The option for windows autoinclination was "on"
the windows build built, here the direct link https://github.com/cagnulein/qdomyos-zwift/actions/runs/9014929319/artifacts/1487195601
enable also the android setting for auto inclination and also the zwift credentials
let me know
With this version QZ windows app crashed
I am able to start QZ app. I disabled all antivirus. I started Zwift. I login. I paired the treadmill in Zwift. The moment I start the treadmill the QZ app crashed
debug-Sat_May_11_00_07_14_2024.log Error.txt
ok i will check next week. in the mean time you can use the previous one to test auto inclination now the zwift credentials are fine
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno sab 11 mag 2024 alle 06:17 hpcolus @.***> ha scritto:
With this version QZ windows app crashed
I am able to start QZ app. I disabled all antivirus. I started Zwift. I login. I paired the treadmill in Zwift. The moment I start the treadmill the QZ app crashed
debug-Sat_May_11_00_07_14_2024.log https://github.com/cagnulein/qdomyos-zwift/files/15281610/debug-Sat_May_11_00_07_14_2024.log
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2202#issuecomment-2105534830, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBMSQIMMIAQGWWBZYTZBWLWPAVCNFSM6AAAAABEOTELLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVGUZTIOBTGA . You are receiving this because you were assigned.Message ID: @.***>
I was able to walk for an interval of 10min (first attempt ended up in a crash) The autoinclination somehow works. The minimum inclination of BTX216 treadmill is 1% When I reached in Zwift a hill with an inclination of 2%, the autoinclination went up to 4% The QZ software attempted several times to fix it; first changing the inclination from 4% down to 3% then up again to 4% The software tried several to fix it. I did not have a debug log. I am reporting just in case you could check this. I will try to replicate this week.
Consider that qz is using the real inclination, zwift shows the average .Anyway you can change the zwift inclination gain to 0.5 if you see more or less always the double Let me know
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno lun 13 mag 2024 alle 05:01 hpcolus @.***> ha scritto:
I was able to walk for an interval of 10min (first attempt ended up in a crash) The autoinclination somehow works. The minimum inclination of BTX216 treadmill is 1% When I reached in Zwift a hill with an inclination of 2%, the autoinclination went up to 4% The QZ software attempted several times to fix it; first changing the inclination from 4% down to 3% then up again to 4% The software tried several to fix it. I did not have a debug log. I am reporting just in case you could check this. I will try to replicate this week.
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2202#issuecomment-2106547841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWD2OHOIQ2TGZ4TGOWLZCAUI5AVCNFSM6AAAAABEOTELLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGU2DOOBUGE . You are receiving this because you were assigned.Message ID: @.***>
The 0.5 inclination gain did the trick for a while. I was able to have a long walk and at the beginning the autoinclination worked, After that I walked down the hill and in the middle of the walk I went up to the hill but the autoinclination stopped working. The speed continued to work synchronizing between the treadmill and the QZ app. But the autoinclination did not. I do not have a small log. This is the log in a zip file for the entire workout. I also observed that starting QZ app first then Zwift it was more probable to have a crash. When I started first Zwift, then QZ I was able to have a long walk. I will keep testing this scenario. debug-Mon_May_13_21_02_40_2024.zip
hi @hpcolus do you remember when you didn't see the inclination changing anymore? from the log, till the 23:02 everything seems working fine. I can see the incliantion from zwift and i can see the inclination changing on the treadmill from bluetooth and commanded by qz via modbus. A timestamp will be good to isolate the issue. THanks!
You are correct. The first 30min autoinclination worked. Between 30min and 50min the terrain was flat or descending so there was no effect of inclination needed. Around 50-55min there was a hill with an inclination of 3-4% and that is when I noticed autoinclination did not work.
checked and i saw that QZ was handling the modbus but the inclination didn't change. Maybe a modbus fault? did you try to change the inclination manually from QZ then?
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno mar 14 mag 2024 alle ore 16:01 hpcolus @.***> ha scritto:
You are correct. The first 30min autoinclination worked. Between 30min and 50min the terrain was flat or descending so there was no effect of inclination needed. Around 50-55min there was a hill witt an inclination of 3-4% and that is when I noticed autoinclination did not work.
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2202#issuecomment-2110324707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDTTFLXYHFVDQBWOH3ZCIKKPAVCNFSM6AAAAABEOTELLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJQGMZDINZQG4 . You are receiving this because you were assigned.Message ID: @.***>
First, I also checked the device manager in Windows and the COM4 was working. Yes, I tried to adjust from QZ app tiles, but there was not effect (no click on the modbus) Then I did adjust the inclination from the buttons of the treadmill. The treadmill responded to the buttons. But I did it after I noticed the autoinclination did not work, NOT before. Not sure if is also related to the fact that between 30 and 50min I was going down the hill with negative inclination in Zwift but because my treadmill minimum inclination is 1%. I will check tonight or tomorrow again.
it could be the fact that was negative. let me know and in case I will investigate in this direction. thanks
new build trying to fix the crash on startup handling the start modbus https://github.com/cagnulein/qdomyos-zwift/actions/runs/9107668088/artifacts/1508267370
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.
The autoinclination, when it works it does it well. Compared to previous version, it is more stable, but still there are random crashes at the beginning of the activit
For example, in the first minute or two of the walking on the treadmill, I still see random crashes between 1 or 3 times. I usually keep the Zwift open when I reinitiate the windows QZ app. After the second or third time of restarting finally I am able to run the entire session. I am attaching the logs during the first three crashes then the entire session I completed successfully.
Ok, I'll check it out.
Il giorno lun 10 giu 2024 alle 02:12 hpcolus @.***> ha scritto:
The autoinclination, when it works it does it well. Compared to previous version, it is more stable, but still there are random crashes at the beginning of the activit
For example, in the first minute or two of the walking on the treadmill, I still see random crashes between 1 or 3 times. I usually keep the Zwift open when I reinitiate the windows QZ app. After the second or third time of restarting finally I am able to run the entire session. I am attaching the logs during the first three crashes then the entire session I completed successfully.
debug-Thu_Jun_6_2024.zip https://github.com/user-attachments/files/15755121/debug-Thu_Jun_6_2024.zip
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2202#issuecomment-2156915865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBGHQSMSPNZ67LGNXDZGTVN3AVCNFSM6AAAAABEOTELLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWHEYTKOBWGU . You are receiving this because you were assigned.Message ID: @.***>
**Desktop
**Smartphone
Append a debug log
I would like to use this feature in Zwift to send back to the TM the inclincaion of the walk. Could this be a limitation of BXT216?