Comments (48)
Ok I will add this in the next days
from qzcompanionnordictracktreadmill.
Thanks. Will come back to you next week. :)
from qzcompanionnordictracktreadmill.
Never mind - forgot to edit type the app.
from qzcompanionnordictracktreadmill.
@jhholen So it's already OK?
from qzcompanionnordictracktreadmill.
Speed works fine and adding incline works.
But lowering incline dosent work to me. No action on the mill.
Edit: works only some of the times I click
from qzcompanionnordictracktreadmill.
Could you please share a debug log with the issue https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F
from qzcompanionnordictracktreadmill.
Uploading debug-Fri_Feb_2_18_32_10_2024.log…
from qzcompanionnordictracktreadmill.
Wait the finish of the upload before commenting, the file is truncated
from qzcompanionnordictracktreadmill.
debug-Fri_Feb_2_18_32_10_2024.log
Better?
BTW: what is the latest Version of IFIT that works with the qz app?
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
Can you try setting 1 to inclination step in the treadmill settings in qz?
I guess the issue is about 0.5 step
By the way which device are you using in the companion?
from qzcompanionnordictracktreadmill.
Tried setting incline step to 1, without any luck.
Today it does not work at all. Probably not related to the change, but more due to reboot of the machine.
Using iOS.
from qzcompanionnordictracktreadmill.
i mean the device selected on the companion.
anyway yes try to reboot it and check that the adb setting is still enabled
from qzcompanionnordictracktreadmill.
I have selected C1750 2021.
Where do I check the adb setting?
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
Yes, I did.
Will try that and report back.
from qzcompanionnordictracktreadmill.
ok also remove the gateway setting from the wifi setting of the treadmill so ifit will not try to fix themself
from qzcompanionnordictracktreadmill.
What gateway setting?
See now that iFit has updated itself automatically...
from qzcompanionnordictracktreadmill.
@jhholen in the wifi settings of the treadmill don't you see the ip and the gateway? share me a screenshot of them
from qzcompanionnordictracktreadmill.
debug-Sun_Feb_4_09_00_37_2024.log
But I can see now that ifit has updated. Can that be the reason why the controls dont work?
from qzcompanionnordictracktreadmill.
Yes it could be. That's why I'm always asking to reset the factory reset and removing the gateway immediately so ifit will not update itself
from qzcompanionnordictracktreadmill.
Where is the gateway process described?
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
Just reset the treadmill now, and reinstalled the app.
C1750 selected.
The speed works, but the steps are off. Increments by 0.2 instead of 0.5.
Incline works sort of the first three clicks. Setting is set to one, but incline changes by two. Minus also increases incline. After three clicks it dosent work anymore.
See attached video.
RPReplay_Final1707078700.mp4
Data flows right.
from qzcompanionnordictracktreadmill.
Ok so I need to map your device, use this https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-screenshot.bat
from qzcompanionnordictracktreadmill.
On a Mac only.
Possible to rewrite to bash?
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
Rewrote it myself. Screenshot added.
from qzcompanionnordictracktreadmill.
@jhholen new apk https://github.com/cagnulein/QZCompanionNordictrackTreadmill/releases/download/3.3.36/QZCompanionNordictrackTreadmill.apk
let me know if the formula is right now, otherwise we need to test it with adb to find the right coefficents.
let me know!
from qzcompanionnordictracktreadmill.
Incline gives 0,5 - 1,5 - 3,5 and 7,5 with each click. Decline does not work (hits somewhere else on the screen.
Speed is sometimes increased by 0.4 and some 0.1.
from qzcompanionnordictracktreadmill.
ok so I need help from you.
You need to create a formula yourself testing directly on the treadmill.
Are you able to to so?
you have to use the
adb shell input swipe
command
with the coordinates
you can check here the formula that I added for you c884a17#diff-f6d77d1e4eb75018758ba6c75c8ba2c8e817dd8a5d5790ae376f74b0a4dddd92
Let me know if you have any questions!
from qzcompanionnordictracktreadmill.
Sure!
Can you give me an example command with coordinates?
adb shell input swipe 1234
?
from qzcompanionnordictracktreadmill.
for the inclination, for example
adb shell input swipe x1 y1Inclination x1 y2 200
where
x1 = 75
y1Incliantion is the start point of the current inclination value calculated in pixel coordinates. I-m calculating this in this way now 594 - (int) ((QZService.lastInclinationFloat -3) * 19.83); The QZService.lastInclinationFloat is the actual inclination grade collect from the treadmill
y2 i'm calculating it in this way now y1Inclination - (int) ((reqInclination - QZService.lastInclinationFloat) * 19.83); the reqinclination is the value in grade that you want to set to the treadmill
let me know
from qzcompanionnordictracktreadmill.
Was going to configure the setup now, but the screen on my treadmill once again goes white (iFit app) after a few days without use.
This has happened three times lately, and the solution looks to be either reset the machine or update iFit.
Known issue?
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
Did a reset and did some testing.
Can the issue be that the speed start with 1,3,5,7,9,11 and then changes to 12,14,16,18,20,22?
Wont the formula then be off?
Same goes for incline: -3, -1, 0, 2, 4, 5, 7, 8, 10, 12, 13, 15.
from qzcompanionnordictracktreadmill.
Could be, are you able to change the formula So?
You can start trying to change the speed value starting from 1 to any new speed and creating a table like the user did in the link that I just sent
from qzcompanionnordictracktreadmill.
Added a list with incline values now, and tried to create a function.
Wasn't able to push the feature, but added the functions below.
private int c1750_2020_kph_inclination_lookuptable(double reqInclination) {
int y2 = 0;
if (reqInclination == -3) { y2 = 592; }
else if (reqInclination == -2.5) { y2 = 584; }
else if (reqInclination == -2) { y2 = 576; }
else if (reqInclination == -1.5) { y2 = 568; }
else if (reqInclination == -1) { y2 = 560; }
else if (reqInclination == -0.5) { y2 = 544; }
else if (reqInclination == 0) { y2 = 528; }
else if (reqInclination == 0.5) { y2 = 520; }
else if (reqInclination == 1) { y2 = 512; }
else if (reqInclination == 1.5) { y2 = 504; }
else if (reqInclination == 2) { y2 = 496; }
else if (reqInclination == 2.5) { y2 = 488; }
else if (reqInclination == 3) { y2 = 480; }
else if (reqInclination == 3.5) { y2 = 472; }
else if (reqInclination == 4) { y2 = 464; }
else if (reqInclination == 4.5) { y2 = 456; }
else if (reqInclination == 5) { y2 = 448; }
else if (reqInclination == 5.5) { y2 = 440; }
else if (reqInclination == 6) { y2 = 432; }
else if (reqInclination == 6.5) { y2 = 424; }
else if (reqInclination == 7) { y2 = 400; }
else if (reqInclination == 7.5) { y2 = 384; }
else if (reqInclination == 8) { y2 = 368; }
else if (reqInclination == 8.5) { y2 = 360; }
else if (reqInclination == 9) { y2 = 352; }
else if (reqInclination == 9.5) { y2 = 344; }
else if (reqInclination == 10) { y2 = 336; }
else if (reqInclination == 10.5) { y2 = 328; }
else if (reqInclination == 11) { y2 = 320; }
else if (reqInclination == 11.5) { y2 = 312; }
else if (reqInclination == 12) { y2 = 304; }
else if (reqInclination == 12.5) { y2 = 288; }
else if (reqInclination == 13) { y2 = 272; }
else if (reqInclination == 13.5) { y2 = 264; }
else if (reqInclination == 14) { y2 = 256; }
else if (reqInclination == 14.5) { y2 = 248; }
else if (reqInclination == 15) { y2 = 240; }
return y2;
}
private int c1750_2020_kph_speed_function(double reqSpeed) {
int y1BaseSpeed = 592; // Slider at 1kmh
int y2 = 0;
// Returns slider position of required speed in pixels.
if (reqSpeed <= 11) {
// If speed is 11kmh or less
y2 = reqSpeed + (16-(16 * y1BaseSpeed));
} else if (reqSpeed > 11 && reqSpeed < 12) {
// If speed is more than 11kmh or less than 12kmh
y2 = reqSpeed + (8-(16 * y1BaseSpeed));
} else if (reqSpeed >= 12) {
// If speed is 12kmh or more
y2 = reqSpeed + (0-(16 * y1BaseSpeed));
}
return y2;
}
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
Thanks! Tried it now, and it is way off. Same issue as before, where incline works the first few tests. Then I goes incremental from 1.5, 2, 3, 5 and off the chart.
Speed never works at all. Is it possible to see logs on what the values was at each test?
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
I really dont get how this works.
I now testet this command twice: adb shell input swipe 75 528 75 486 200
Starting from 0, first time it goes to 2 and if I trigger it again at that position it goes to 4?
from qzcompanionnordictracktreadmill.
from qzcompanionnordictracktreadmill.
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.
from qzcompanionnordictracktreadmill.
@jhholen any news?
from qzcompanionnordictracktreadmill.
Related Issues (20)
- Incline works but not resistance on S22i HOT 8
- tiles no working with beta version HOT 1
- x22i update coordinates HOT 11
- Support for ProForm Pro 5000 Treadmill HOT 3
- No response to QZ input on x22i treadmill HOT 18
- Incline for TDF 10.0 bike HOT 23
- Metadata are missing on IzzyonDroid HOT 2
- Can’t control speed/incline of Proform pro 2000 HOT 7
- I can't control the speed/inclination/resistance of my treadmill/bike HOT 145
- NordicTrack T6.5Si speed and incline tiles not responding HOT 3
- ProForm Studio Bike Not Receiving Metrics HOT 5
- NordicTrack Commercial 2450 (old version - NTL17221) HOT 9
- No data received from QZ app for Nordictrack commercial 2450 HOT 33
- Nordictrack x32i incline control from qz not consistent HOT 24
- QZ with Nordic Track S15i Bike HOT 12
- QZCompanion with Nordic Track S22i not working HOT 3
- QZ App not adjusting treadmill from input HOT 13
- Cannot connect via ADB on my nordictrack s15i HOT 102
- Debug for Tom Flint issue HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qzcompanionnordictracktreadmill.