Compare commits

..

960 Commits

Author SHA1 Message Date
Roberto Viola
8500a80c4a trying fixing virtual ifit (not tested) 2021-12-15 16:39:05 +01:00
Roberto Viola
c7b18ad25c adding more commands handling on ifit virtual implementation (no error on the ifit, but the workout doesn't start) #441 2021-12-13 21:57:38 +01:00
Roberto Viola
07825071a0 ifit virtual implementation, ff0d0204020907 handled #441 2021-12-13 08:53:24 +01:00
Roberto Viola
8209913fc2 a lot of step forward in the iFit implementation #441 2021-12-12 19:28:34 +01:00
Roberto Viola
991b8158da Update 10_Installation.md 2021-12-12 14:59:08 +01:00
Roberto Viola
570de82a40 adding power zone feature to schwinnic4bike with SS2K #500 2021-12-12 08:54:37 +01:00
Roberto Viola
3fc10b5cac fixing T900C distance on domyostreadmill 2021-12-11 14:09:19 +01:00
Roberto Viola
4b20fbace2 fixing technogymmyruntreadmill for control frame only for receive event 2021-12-11 14:08:39 +01:00
Roberto Viola
356f2ef74e Technogym Myrun treadmill #515 forcing speed and incline fixes 2021-12-10 23:18:36 +01:00
Roberto Viola
5248915cf2 reverting #481 the fix was for the treadmill not the bike! 2021-12-10 22:39:28 +01:00
Roberto Viola
e5e035bac8 zwift sends start continuosly so we can't use the start event on the
virtualtreadmill
2021-12-10 22:17:21 +01:00
Roberto Viola
96b24e9efb iOS version 2.8.139 2021-12-10 09:50:58 +01:00
Roberto Viola
e48384766a Technogym Myrun treadmill #515 disabled the
QZ_EnableDiscoveryCharsAndDescripttors
2021-12-10 09:21:22 +01:00
Roberto Viola
02d04e66c4 iOS version 2.8.138 2021-12-09 20:15:49 +01:00
Roberto Viola
0a19faae97 added the ability to Tecnogym MyRun treadmill to change speed and
inclination (not tested yet)
2021-12-09 16:27:17 +01:00
Roberto Viola
9204814253 Tecnogym MYRUN treadmill added 2021-12-09 15:14:53 +01:00
Roberto Viola
6719c63988 Elite Sterzo Smart handled 2021-12-09 12:07:52 +01:00
Roberto Viola
d00a7e28dd Focus is in wrong place for changing values in Settings #514 2021-12-09 10:46:00 +01:00
Roberto Viola
4af6c13e8d Update 10_Installation.md 2021-12-09 08:09:38 +01:00
Roberto Viola
9b51d4ad7a simplifying currentCadence over the classes 2021-12-07 14:20:05 +01:00
Roberto Viola
6e0e0a83cb removing HR from sportsplusbike 2021-12-07 11:25:29 +01:00
Roberto Viola
d5ff9c7d54 trying to fix Improperly reported / intermittent metrics on Domyos Bike
#481
2021-12-07 08:10:17 +01:00
Roberto Viola
9021ce09ee iOS version 2.8.136 2021-12-06 21:27:50 +01:00
Roberto Viola
c3d37341f7 android version 2.8.136 2021-12-06 16:47:35 +01:00
Roberto Viola
8138793f0c forcing resistance to sportsplusbike #512 2021-12-06 16:46:18 +01:00
Roberto Viola
00f2d0d346 adding sportsplus sp-ht 1004 iE #512 2021-12-06 15:29:36 +01:00
Roberto Viola
dc3bf136f4 reverting "DKN treadmill wrong speed when the treadmill is paused
(#509)"
2021-12-06 14:21:29 +01:00
Roberto Viola
b6584df35e fixing stryd odometer #484 2021-12-06 10:00:24 +01:00
Roberto Viola
4a0037a7ea Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-12-06 08:25:05 +01:00
Roberto Viola
a879d88de4 fixed smartspin2k reconnection issue 2021-12-06 08:25:00 +01:00
Roberto Viola
d26d0b9143 SS2k+QZ - inconsistent auto-resistance in Zwift: fixed negative resistance levels from SS2K #500 2021-12-05 12:52:40 +01:00
Roberto Viola
f6ed1f2222 running cadence fixed 2021-12-05 12:11:37 +01:00
Roberto Viola
558e8f04e8 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-12-05 12:06:14 +01:00
Roberto Viola
b0e6b9c2d2 Setting for Override Max Heart Rate: recalculating heart rate zone to
the ovverided max #423
2021-12-03 09:12:00 +01:00
Roberto Viola
030bfabc03 Setting for Override Max Heart Rate #423 2021-12-03 08:46:34 +01:00
Roberto Viola
75f646f16c fixed issue on fitmetria fan #505 2021-12-02 21:36:28 +01:00
Roberto Viola
0a72b53709 copy and paste error :) 2021-12-02 11:12:35 +01:00
Roberto Viola
b106423172 adding rate/min for kcal, output and elevationGain tile 2021-12-02 10:52:28 +01:00
Roberto Viola
df3d64c157 for BIKE 1 added the possibility also to have BIKE 2, BIKE 3....this
happens in the gyms
2021-12-02 09:21:37 +01:00
Roberto Viola
112a1d89ba changing the fitmetria_fanfit formula for power #505 2021-12-01 16:18:30 +01:00
Roberto Viola
8396a93c78 limiting fan speed to 100 #505 2021-12-01 15:58:31 +01:00
Roberto Viola
a18db100d8 New version of Echelon App not displaying metrics when connected to QZ 2021-12-01 15:55:38 +01:00
Roberto Viola
0ab0640ca1 DKN treadmill wrong speed when the treadmill is paused #509 2021-12-01 14:47:39 +01:00
Roberto Viola
738923112d fitfan changes #505 https://github.com/cagnulein/qdomyos-zwift/issues/
505#issuecomment-983300745
2021-12-01 14:35:40 +01:00
Roberto Viola
6dec1eda02 adedd pause on start for treadmill 2021-11-30 15:08:27 +01:00
Roberto Viola
e686b0eb86 fitfan min and max added in the settings #505 2021-11-29 16:30:55 +01:00
Roberto Viola
e5168660c2 android version 2.8.129 2021-11-29 15:46:15 +01:00
Roberto Viola
f2a36fdb87 fanOverride added by tiles #505 2021-11-29 15:39:28 +01:00
Roberto Viola
720c7281e5 fixing build issue 2021-11-29 15:20:07 +01:00
Roberto Viola
b54bdbf63b fitmetria_fanfit changes https://github.com/cagnulein/qdomyos-zwift/
issues/505#issuecomment-981662953 #505
2021-11-29 15:06:57 +01:00
Roberto Viola
b879b2c77b handling underflow and overflow on fan writings 2021-11-29 14:36:08 +01:00
Roberto Viola
a3da393867 fixed wattage calculation on proformtreadmill 2021-11-29 08:10:03 +01:00
Roberto Viola
94208393d0 fitmetria_fanfit crash fixed #505 2021-11-28 17:59:22 +01:00
Roberto Viola
d4b1f43490 fixed characteristic on fitmetria_fanfit #505 2021-11-28 15:20:49 +01:00
Roberto Viola
3709eff914 fixed a signal issue on the fan #505 2021-11-28 14:38:36 +01:00
Roberto Viola
920f190312 updating FanSpeed when the bluetoothdevice doesn't handle it 2021-11-28 13:22:25 +01:00
Roberto Viola
c71be122f3 added fitmetria files to ios project 2021-11-28 10:44:06 +01:00
Roberto Viola
7197c52aa3 Fitmetria Fanfit #505 first implementation 2021-11-28 10:33:13 +01:00
Roberto Viola
420bc7bcaa iOS and Android version 2.8.124 2021-11-26 09:23:11 +01:00
Roberto Viola
89e926398d Merge pull request #503 from doudar/master
qt5package name change
2021-11-26 08:11:19 +01:00
Roberto Viola
a3b6f7fb24 Women’s Health Men’s Health Eclipse bike peloton resistance conversion
added #501
2021-11-26 08:03:41 +01:00
Anthony Doud
042bef7fb5 added src/qmdnsengine to install doc
Dircon branch needs `git submodule update --init src/qmdnsengine/` added to the install doc for Raspberry Pi in order for qmake to succeed.
2021-11-25 20:55:16 -06:00
Anthony Doud
1ba4537895 qt5package name change
The qt5-default package has been renamed qt5-assistant in the raspbian sources.
2021-11-25 20:42:56 -06:00
Roberto Viola
b6072b7292 adding more debug details to concept rower 2021-11-25 17:22:07 +01:00
Roberto Viola
c9ee2ff7bd trying to fix New version of Echelon App not displaying metrics when
connected to QZ #275
2021-11-25 17:04:33 +01:00
Roberto Viola
538dc24720 2.8.123 for iOS 2021-11-25 16:25:26 +01:00
Roberto Viola
df838eb43a fixing sole f63 treadmill #502 2021-11-25 15:48:05 +01:00
Roberto Viola
cfaeb29532 fixing pace on concept rower #335 2021-11-25 14:55:09 +01:00
Roberto Viola
ec4ca01925 Women’s Health Men’s Health Eclipse bike fixing speed #501 2021-11-25 08:00:24 +01:00
Roberto Viola
4621798e21 fixing debug on rowers 2021-11-24 22:31:37 +01:00
Roberto Viola
82302a2433 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-11-24 11:46:33 +01:00
Roberto Viola
78f82e3242 trying to handle CADENZA FITNESS treadmill #172 2021-11-24 11:39:22 +01:00
Roberto Viola
8c33989ef1 rounding to 0.5 the inclination for proform studio bike #453 2021-11-24 08:24:25 +01:00
Roberto Viola
7172b4923a fixing pace description on the tile for the rower 2021-11-23 14:25:18 +01:00
Roberto Viola
910dddacfe fixing warning on mcfbike #501 2021-11-23 14:24:56 +01:00
Roberto Viola
205643455f trying to fix New version of Echelon App not displaying metrics when
connected to QZ #275
2021-11-23 14:24:28 +01:00
Roberto Viola
05fc8f33d1 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-11-23 10:58:30 +01:00
Roberto Viola
ee7e1a58bf trying to fix New version of Echelon App not displaying metrics when
connected to QZ #275
2021-11-23 10:32:05 +01:00
Roberto Viola
dad035b3a6 getting right metrics on Women’s Health Men’s Health Eclipse bike #501 2021-11-23 10:07:14 +01:00
Roberto Viola
ffaf599ba1 fixed cadence on Pafers Spin Bike #487 2021-11-23 09:47:58 +01:00
Roberto Viola
47fd5e6292 credits page added 2021-11-23 09:13:06 +01:00
Roberto Viola
ba853da6d4 fixing pace on concept rower 2 2021-11-23 08:30:46 +01:00
Roberto Viola
394579959f iOS build 2.8.119 2021-11-22 15:51:31 +01:00
Roberto Viola
4ac19cae05 Instant Power on Pause setting added 2021-11-22 15:42:00 +01:00
Roberto Viola
68d6b9b135 fixing pace on concept rower
https://github.com/cagnulein/qdomyos-zwift/issues/
335#issuecomment-975550650 #335
2021-11-22 14:57:19 +01:00
Roberto Viola
a14004dedb trying to handle the eslinkertreadmill #172 2021-11-22 14:49:58 +01:00
Roberto Viola
0784d86937 start adding Women’s Health Men’s Health Eclipse bike #501 2021-11-22 14:37:57 +01:00
Roberto Viola
8d52318999 trying to better handling the inclination on the proform bike studio
with zwift
2021-11-22 08:23:39 +01:00
Roberto Viola
318273518a Women’s Health Men’s Health Eclipse bike #501 2021-11-21 17:11:24 +01:00
Roberto Viola
232b80107d fix build error 2021-11-21 10:05:13 +01:00
Roberto Viola
86971a4e41 fixing odometer when in paused for the solef80treadmill using
inclination mode
2021-11-21 09:47:57 +01:00
Roberto Viola
a1c00de35a Tacx Smart Bike added #388 2021-11-21 09:33:53 +01:00
Roberto Viola
77552e0712 pace on rower tile 2021-11-21 09:28:32 +01:00
Roberto Viola
b2447ea662 add debug log link 2021-11-19 15:52:55 +01:00
Roberto Viola
c75a974631 fixing signals from changeInclination 2021-11-19 11:46:07 +01:00
Roberto Viola
57e0028102 Horizon GR7 Spin Bike #477 added a parameter to multiply the cadence.
Also added a better sort to the bike settings in general
2021-11-19 10:57:24 +01:00
Roberto Viola
e19ed7024c aligning all the changeInclination signals and slots to the grade/
percentage standard
2021-11-19 09:48:19 +01:00
Roberto Viola
cc36ec311a increased the frequency of trasmission of the ftms frames on renphobike 2021-11-18 16:10:49 +01:00
Roberto Viola
83b5308362 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-11-18 14:26:06 +01:00
Roberto Viola
0ba33f9ca5 fixing error on peloton resistance for renphobike 2021-11-18 14:25:57 +01:00
Roberto Viola
538d6a2268 version 2.8.116: secret.h used also for android 2021-11-18 12:28:25 +01:00
Roberto Viola
0e9eae9a82 managed ergModeSupported for bikes like the renphobike that doesn't have
the ability to change the resistance directly but has only ERG mode #382
2021-11-18 08:45:41 +01:00
Roberto Viola
ba58071860 ESLinker removing the updateDisplay function because it seems that it
just stops the communication #172
2021-11-17 15:50:55 +01:00
Roberto Viola
009a5f4d5e forcing always the power on Renpho Bike during a peloton workout #382 2021-11-17 14:48:00 +01:00
Roberto Viola
f28bfb4510 Hertz XR-770 spinning bike - did not work #497 2021-11-17 08:26:12 +01:00
Roberto Viola
d34f623351 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-11-17 08:19:32 +01:00
Roberto Viola
6e4314199e fixing power profile on virtual bike 2021-11-17 08:19:23 +01:00
Roberto Viola
3f5d546330 version 2.8.115 2021-11-16 19:22:19 +01:00
Roberto Viola
cca7cbf3ca fixed crash on heart rate parser for concept rower 2021-11-16 08:22:51 +01:00
Roberto Viola
748efbbfa7 Adding BOWFLEX BXT56 (probably the same as T22) 2021-11-15 16:37:09 +01:00
Roberto Viola
7126dd3aad trying to fixing the checksum of the eslinkertreadmill 2021-11-15 15:18:48 +01:00
Roberto Viola
438d2ae692 CADENZA FITNESS T45 first implementation https://github.com/cagnulein/
qdomyos-zwift/issues/172#issuecomment-968651783 #172
2021-11-15 09:54:07 +01:00
Roberto Viola
0820dbaa9b Hertz XR-770 spinning bike #494 2021-11-15 09:29:53 +01:00
Roberto Viola
7003238b9f Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-11-14 00:00:50 +01:00
Roberto Viola
a6c4a6149e again icons 2021-11-14 00:00:38 +01:00
Roberto Viola
72c3ae9e0c new Mac VM complains about icons 2021-11-13 23:53:41 +01:00
Roberto Viola
dc1f1d4708 fixed virtualbike power profile. (missing byte flag) 2021-11-12 11:35:31 +01:00
Roberto Viola
02e2cfba89 fixing kingsmithr1protreadmill autostart #470 https://github.com/
cagnulein/qdomyos-zwift/issues/470#issuecomment-966492686
2021-11-12 08:25:56 +01:00
Roberto Viola
0880d74d59 Fixing odometer when paused for Sole F80 with inclination mode ON (#429) 2021-11-11 17:36:25 +01:00
Roberto Viola
6b0d80eaa9 fixing max resistance to proform studio #453 2021-11-11 10:42:28 +01:00
Roberto Viola
702377a51b trying to handle the remote button thing for kingsmithr1protreadmill
https://github.com/cagnulein/qdomyos-zwift/issues/
470#issuecomment-965525224 #470
2021-11-11 10:23:12 +01:00
Roberto Viola
b856266541 iOS version 2.8.112 (build 105) 2021-11-10 22:20:34 +01:00
Roberto Viola
e41e3b6da0 fixing autoStart feature for kingsmithr1protreadmill https://github.com/
cagnulein/qdomyos-zwift/issues/470#issuecomment-964461905 #470
2021-11-10 08:42:09 +01:00
Roberto Viola
355bbdf142 trying to improve accuracy for odotomer for the solef80treadmill 2021-11-09 17:29:24 +01:00
Roberto Viola
5635ca7578 DKN Endurun Treadmill #492 2021-11-09 14:41:26 +01:00
Roberto Viola
c7540800f7 BH Spada 2 bike (i.concept module): init phase fixed #486 2021-11-09 09:16:16 +01:00
Roberto Viola
a5aabd55a9 fixing bluetooth scan for some iconsole treadmills 2021-11-09 08:56:20 +01:00
Roberto Viola
df6d2a35ff Pafers Spin Bike: improved init phase #487 2021-11-09 08:48:17 +01:00
Roberto Viola
32a7b6c17d double usage of watt gain and offset for power sensors https://
github.com/cagnulein/qdomyos-zwift/issues/447#issuecomment-963339267
#447
2021-11-08 17:38:27 +01:00
Roberto Viola
a77a92050a version 2.8.110 for android 2021-11-08 16:39:36 +01:00
Roberto Viola
3ea4b7bf4b Reebok GT50 Treadmill init phase #485 2021-11-08 15:15:45 +01:00
Roberto Viola
b6c8f2b1e9 removing the proform_treadmill_995i setting because it could be useless
since it's working with the nordictrack 10. also waiting the noOpData4
answers before sending the requestSpeed or Inclination https://
github.com/cagnulein/qdomyos-zwift/issues/482#issuecomment-963040066
#482
2021-11-08 12:18:23 +01:00
Roberto Viola
a10c21308a fixing kingsmithr1protreadmill https://github.com/cagnulein/qdomyos-
zwift/issues/470#issuecomment-963025129
2021-11-08 11:57:07 +01:00
Roberto Viola
9d8f892281 Merge pull request #490 from cagnulein/xcode13
Xcode13
2021-11-08 11:07:46 +01:00
Roberto Viola
67ab0819d8 fixed build issue 2021-11-08 10:10:37 +01:00
Roberto Viola
5cef83e154 Pafers Spin Bike #487 2021-11-08 09:56:05 +01:00
Roberto Viola
78ac1a1796 trying to fix the writeResistance to proformbike studio #453 2021-11-08 08:15:01 +01:00
Roberto Viola
28d8004c48 iOS version 2.8.109 with bluetooth remote added 2021-11-06 12:18:28 +01:00
Roberto Viola
de3180eda1 Merge branch 'master' into xcode13 2021-11-06 10:37:09 +01:00
Roberto Viola
498fc7dd75 merge with bluetooth-remote-ios 2021-11-06 10:36:55 +01:00
Roberto Viola
8bed45c5f7 improving start and stop on the solef80treadmill #429 2021-11-05 16:34:32 +01:00
Roberto Viola
fde62a4ea5 improving start and stop on the solef80treadmill #429 2021-11-05 16:33:34 +01:00
Roberto Viola
8e08c6f1a9 Bluetooth Remote Controller for Gears/Resistance on iOS #475 2021-11-05 15:10:00 +01:00
Roberto Viola
2e38126db7 iOS version 2.8.108 2021-11-05 11:58:17 +01:00
Roberto Viola
a9c15dc01b kingsmithr1protreadmill, target speed evaluated only if the speed
greater than 0 #470 https://github.com/cagnulein/qdomyos-zwift/issues/
470#issuecomment-961241528
2021-11-05 10:12:25 +01:00
Roberto Viola
b5abd12f0b BH Spada 2 bike (i.concept module) #486 2021-11-05 10:02:57 +01:00
Roberto Viola
3992db23a3 Reebok GT50 Treadmill #485 2021-11-05 09:13:22 +01:00
Roberto Viola
ea37fc9a95 Proform Studio bike forceResistance added #453 2021-11-05 08:17:38 +01:00
Roberto Viola
48ab156806 adding cadence to homeform for Stryd #484 2021-11-04 10:50:27 +01:00
Roberto Viola
1fd360890a iOS version 2.8.106 2021-11-04 10:36:35 +01:00
Roberto Viola
2a4bdf3e5d build issue fixed 2021-11-04 10:28:25 +01:00
Roberto Viola
48dff276d4 Proform Studio bike, fixing inclination support from zwift #453 2021-11-04 10:24:34 +01:00
Roberto Viola
a63df2d7df build issue fixed 2021-11-04 09:53:04 +01:00
Roberto Viola
58e55f93c7 Stryd Running #484 2021-11-04 09:49:03 +01:00
Roberto Viola
5ce5064a5c fixing NAN issue on schwinnic4bike 2021-11-04 08:23:26 +01:00
Roberto Viola
2c19c8d6d0 Inspire bike new watt table fixed #401 2021-11-04 08:18:16 +01:00
Roberto Viola
4ea1438fca Kingsmith K12 treadmill starting/stoping #470 2021-11-02 14:50:41 +01:00
Roberto Viola
7d41a96a4d pressing multiple times plus or minus button doesn't seems to affect the
behaviour on kingsmithr1 treadmill #470
2021-11-02 10:44:59 +01:00
Roberto Viola
704474abfa Support for ProForm 995i #482 2021-11-02 09:49:16 +01:00
Roberto Viola
1dfe4703ad added a setting to get the right unit measure from the sole f80 2021-11-02 09:16:17 +01:00
Roberto Viola
4555128053 fixing inclination on proformbike studio #453 2021-11-02 08:37:30 +01:00
Roberto Viola
14c0558a20 Domyos Bike - disable HR reporting #480 2021-11-01 18:06:58 +01:00
Roberto Viola
4746946fd4 working Apple Watch 7 version 2021-11-01 18:04:40 +01:00
Roberto Viola
45598f1eec fixing virtual device on activio treadmill 2021-11-01 13:28:05 +01:00
Roberto Viola
806ff8fb87 trying to filter strange inclination values on proform studio bikes 2021-11-01 12:03:08 +01:00
Roberto Viola
c1a316ca92 fixing odometer on solef80 treadmill 2021-11-01 11:19:29 +01:00
Roberto Viola
af66a2b721 if treadmill speed = 0 km/h and workout time = 0, then Stop button is do nothing
if treadmill speed = 0 km/h and workout time > 0, then Stop button stops/saves/upload workout
if treadmill speed > 0 km/h, then Stop button send pause event to treadmill and stops/saves/upload workout

#470
2021-11-01 11:13:53 +01:00
Roberto Viola
bfdeb68547 using the plus and minus button speed quiclky will use the request speed instead of the current on #470 2021-11-01 11:04:55 +01:00
Roberto Viola
3a8890e7d3 iOS test build 2.8.102 for Apple Watch 7. DISABLED BITCODE! 2021-11-01 10:18:08 +01:00
Roberto Viola
02d1710d0b fixing build issue 2021-10-31 06:15:02 +01:00
Roberto Viola
c9389b5695 iOS version 2.8.101 2021-10-30 09:58:09 +02:00
Roberto Viola
35012c5a27 Horizon GR7 Spin Bike #477 build fix 2021-10-30 09:21:00 +02:00
Roberto Viola
d91422e941 Horizon GR7 Spin Bike #477 (cadence multiplied by 10) 2021-10-30 09:17:17 +02:00
Roberto Viola
fbfcd27d24 Kingsmith K12 treadmill starting/stoping #470 2021-10-30 09:06:07 +02:00
Roberto Viola
8921df2456 Horizon GR7 Spin Bike #477 2021-10-30 09:00:17 +02:00
Roberto Viola
ea04cfcf3c Proform Studio bike #453 2021-10-30 08:55:51 +02:00
Roberto Viola
4ac88d9a6b Horizon GR7 Spin Bike #477 2021-10-29 14:53:00 +02:00
Roberto Viola
ce40298233 Horizon GR7 Spin Bike #477 2021-10-29 10:40:52 +02:00
Roberto Viola
08609ba15e Kingsmith K12 treadmill starting/stoping #470 fixing the interval
between the pression of the start on the UI and the real start of the
tape
2021-10-28 17:24:57 +02:00
Roberto Viola
c715ecd338 adding unlock method to kingsmithr1protreadmill #470 2021-10-28 09:26:18 +02:00
Roberto Viola
e2f5cd1d64 Kingsmith K12 treadmill starting/stoping #470 fixed auto pause when
speed is 0
2021-10-28 09:17:58 +02:00
Roberto Viola
f5cfc652a0 Add setting to calculate watts from polynomial curve equations #461 (bug
when watt gain/offset are different from the default value)
2021-10-28 08:51:09 +02:00
Roberto Viola
474fc20f57 2.8.97 for android 2021-10-27 15:50:45 +02:00
Roberto Viola
366d630624 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-10-27 15:49:57 +02:00
Roberto Viola
d224e0d080 try to fixing some issue about bluetooth on android that hangs after 30
minutes (Xiaomi devices)
2021-10-27 15:49:51 +02:00
Roberto Viola
3b81361985 iOS version 2.8.96 2021-10-27 15:16:38 +02:00
Roberto Viola
864b77cb82 fixing discovery issue about the #321 2021-10-27 14:12:31 +02:00
Roberto Viola
383375cf32 bike device name (wrong device name) #321 2021-10-27 12:18:07 +02:00
Roberto Viola
260a15a7cd Kingsmith K12 treadmill starting/stoping #470 2021-10-27 11:39:46 +02:00
Roberto Viola
d5f76a0f63 changing speed on treadmill using the nearest 0.5 #470 2021-10-27 11:02:18 +02:00
Roberto Viola
f539205b80 Sole F80 inclination #429 2021-10-26 16:23:18 +02:00
Roberto Viola
35ec3f98eb Schwinn IC4 Support Mapping Bike Resistance to Peloton Resistance #392 2021-10-26 14:24:05 +02:00
Roberto Viola
745e668a65 Kingsmith K12 treadmill starting/stoping #470 2021-10-26 12:11:05 +02:00
Roberto Viola
ae09fce946 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-10-26 08:49:59 +02:00
Roberto Viola
9c326df399 fixing odometer for horizontreadmill after
9557371eb5
2021-10-26 08:42:15 +02:00
Roberto Viola
a5b925102b Merge pull request #472 from WooAf/patch-1 2021-10-25 19:58:59 +02:00
WooAf
8c6ba43c68 Required
Otherwise you will have this error: Project ERROR: Unknown module(s) in QT: websockets
2021-10-25 12:11:31 -04:00
Roberto Viola
6bf6418d40 adding inclination to Proform Studio bike #453 2021-10-25 11:23:42 +02:00
Roberto Viola
94605bb43a Kingsmith K12 treadmill starting/stoping #470 2021-10-25 09:57:59 +02:00
Roberto Viola
79d0624aa9 added 2 settings for the solef80treadmill in order to just disable the
inclination algorithm and to enable the f65
2021-10-25 09:45:51 +02:00
Roberto Viola
d876aa1ef1 When using watt gain, make watts whole integers instead of decimals #471 2021-10-25 08:27:37 +02:00
Roberto Viola
61008fee00 added a power filter on proformbike wattage 2021-10-24 17:42:30 +02:00
Roberto Viola
d01c574b2a 2.8.90 version for android 2021-10-24 12:30:05 +02:00
Roberto Viola
5158019b71 adding a retry method to homefitnessbuddy 2021-10-24 12:25:56 +02:00
Roberto Viola
787f7a7224 New Option "Disable kCal from Machinery" seems not to work #462 2021-10-23 11:14:17 +02:00
Roberto Viola
583a96eac0 Add setting to calculate watts from polynomial curve equations #461 2021-10-23 11:06:58 +02:00
Roberto Viola
146dd36057 Add setting to calculate watts from polynomial curve equations #461 2021-10-22 09:17:42 +02:00
Roberto Viola
9ad12425a4 New Option "Disable kCal from Machinery" seems not to work #462 2021-10-22 09:14:22 +02:00
Roberto Viola
9370ef5a96 added workoutEventState event to bluetoothdevice in order to handle the
pause event for activiotreadmill
2021-10-21 16:13:47 +02:00
Roberto Viola
feecaa2903 fix stupid logic about proform_tdf_jonseed_watt 2021-10-21 15:39:12 +02:00
Roberto Viola
eae02cde6c added GEOCoordinate to all the backend in order to develop the Google
Maps feature #455
2021-10-21 15:26:59 +02:00
Roberto Viola
76e538b409 added the ability to disable the kcal coming from the iconsole bike (not
precise)
2021-10-21 11:16:17 +02:00
Roberto Viola
3b32acdea8 fixing activiotreadmill speed 2021-10-21 08:44:11 +02:00
Roberto Viola
88df1c21cf playing with conversion on activiotreadmill (this is madness!) 2021-10-20 17:41:56 +02:00
Roberto Viola
6fa069f01e managing the play/pause/stop thing in activiotreadmill 2021-10-20 11:03:43 +02:00
Roberto Viola
3615b8803d Added setting to calculate watts from polynomial curve equations #461 2021-10-20 10:16:14 +02:00
Roberto Viola
9cea2af9e5 fixing HR on trxappgateusbbike #454 2021-10-20 08:59:24 +02:00
Roberto Viola
75a7eb091d trying to fixing the sync issue with activiotreadmill 2021-10-19 15:46:49 +02:00
Roberto Viola
b6ad3d4e53 fixing issue about auto incliantion on GPX for bikes 2021-10-19 15:39:30 +02:00
Roberto Viola
7c6ac30901 Proform TDF CBC Watt table #457 2021-10-19 09:20:58 +02:00
Roberto Viola
ba675eec53 trying to fix changeInclination on activiotreadmill 2021-10-18 15:58:29 +02:00
Roberto Viola
1a053da9d2 Added Support for Bikes when importing GPX Files #454 2021-10-18 09:17:38 +02:00
Roberto Viola
043287e35a fixing speed and inclination on activiotreadmill #456 2021-10-18 08:34:25 +02:00
Roberto Viola
edf9506add trying to understand the issue about the speed that goes to the minimum
randomly on the solef80treadmill international version
2021-10-17 18:55:16 +02:00
Roberto Viola
3708ce4221 added the ability to lock/unlock the movement of the tiles 2021-10-15 16:25:24 +02:00
Roberto Viola
bbb480dc4c Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-10-15 14:46:38 +02:00
Roberto Viola
02bd338313 Proform Studio bike #453 2021-10-15 14:46:05 +02:00
Roberto Viola
cca373feac reverting drag and drop of the tiles temporarily 2021-10-15 12:10:22 +02:00
Roberto Viola
22a83fbd6d cscbike cadence filter added 2021-10-14 09:58:24 +02:00
Roberto Viola
54adf49e54 fix wrong settings layout 2021-10-14 09:19:20 +02:00
Roberto Viola
0ca579bf79 Resistance set fail on Proform Tour de france CLC #452 2021-10-13 17:32:45 +02:00
Roberto Viola
aef9b14a94 iconsole virtual device init reverted 2021-10-13 10:10:38 +02:00
Roberto Viola
9fcd10af8f trxappgateusbbike: virtual bike bridge moved to the init phase in order to avoid problem with ios peloton workaround on (just a try) 2021-10-13 08:39:05 +02:00
Roberto Viola
8c1a7748c1 Merge branch 'refs/heads/rearrange-tiles' 2021-10-12 17:07:24 +02:00
Roberto Viola
227336a4e1 iOS version 2.8.78 2021-10-12 17:05:38 +02:00
Roberto Viola
08572901d4 adding the possibility in realtime to change the tiles order from the
settings and also by drag and drop #117
2021-10-12 16:56:53 +02:00
Roberto Viola
f3e6dd7d1d trxappgateusbbike fixes when iOS peloton workaround is on 2021-10-12 14:17:26 +02:00
Roberto Viola
e4fe5b5b8a fixing issues with assioma pedal used along with echelon 2021-10-12 08:06:37 +02:00
Roberto Viola
74fdfc0708 fixing iconsole new type 2021-10-11 17:17:48 +02:00
Roberto Viola
238e53eb6e handling another case of iconsole bike 2021-10-11 15:15:26 +02:00
Roberto Viola
c80ea07744 fixing init phase of activiotreadmill 2021-10-10 17:22:37 +02:00
Roberto Viola
ff2ae76704 fixing init phase of proformbike 2021-10-10 09:08:40 +02:00
Roberto Viola
8679c97056 fixing init pahse of activiotreadmill 2021-10-10 09:05:43 +02:00
Roberto Viola
e78b0075b1 fixing jtx_fitness_sprint_treadmill 2021-10-09 12:29:47 +02:00
Roberto Viola
2bb5a588c6 fix build issue 2021-10-09 12:27:38 +02:00
Roberto Viola
f99beb2d0b iOS version 2.8.72 2021-10-09 12:19:02 +02:00
Roberto Viola
7528b50859 adding some error handling on activiotreadmill 2021-10-09 07:45:42 +02:00
Roberto Viola
2d51f0f97f supporting another type of proform bike 2021-10-09 07:34:00 +02:00
Roberto Viola
9e77ee43e2 trying to avoid crashes for flywheelbike 2021-10-09 07:30:26 +02:00
Roberto Viola
e7b2b38bcb HRM broadcasting only, without connecting to a bike/treadmill #120 2021-10-07 14:12:21 +02:00
Roberto Viola
20c4c910d8 fix build issue 2021-10-07 09:40:23 +02:00
Roberto Viola
06e429dfc3 starting implementation of JTX fitness sprint treadmill 2021-10-07 09:34:00 +02:00
Roberto Viola
6aee0fc9d5 Activio Trek Pro Treadmill added 2021-10-07 09:33:13 +02:00
Roberto Viola
b9cd9174ae fixing LifeFitness IC6 2021-10-06 15:09:14 +02:00
Roberto Viola
ccfccc5e44 trying to fix wattage on FYTTER_RI08 bike 2021-10-06 15:01:22 +02:00
Roberto Viola
7c12e2517d adding ICONSOLE+ treadmill 2021-10-06 14:53:38 +02:00
Roberto Viola
48514d291b fix build issue 2021-10-05 11:08:37 +02:00
Roberto Viola
18bed54d22 watt gain increased to 2.00 #447 2021-10-05 10:58:21 +02:00
Roberto Viola
45a1e9b3e0 fix double wattage calculation on ftmsbike 2021-10-05 10:57:39 +02:00
Roberto Viola
2cb1af8a7e trying to fix crash on Flywheel IC6 2021-10-05 10:47:22 +02:00
Roberto Viola
919334b760 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-09-28 07:34:58 +02:00
Roberto Viola
55cc618b49 Fytter RIDER RI-08R #445 2021-09-28 07:34:48 +02:00
Roberto Viola
74a4197633 Merge pull request #444 from d3m3vilurr/fix-segfault
Fix segfault of `bluetooth::stateFileRead`
2021-09-25 18:43:11 +02:00
Sunguk Lee
9557371eb5 Fix segfault of bluetooth::stateFileRead
a `device` isn't a `domyostreadmill`. but every treadmill have to be
subclass of `treadmill`
`setLastSpeed`, `setLastInclination` and `odometer` move to
upper class and change to virtual function
2021-09-26 01:11:52 +09:00
Roberto Viola
040c1186ca fixed distance on domyosbike 2021-09-20 16:19:57 +02:00
Roberto Viola
a1ddfb9ad2 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-09-15 10:24:19 +02:00
Roberto Viola
2aab5d4cb1 removed kcal reading from snodebike 2021-09-15 10:23:48 +02:00
Roberto Viola
87c7467a86 Kingsmith K12 added 2021-09-14 20:40:11 +02:00
Roberto Viola
039c3d4898 virtual bike iFit init fixed #441 2021-09-14 14:13:56 +02:00
Roberto Viola
d40cd62561 Elite Devices #443 2021-09-14 12:26:49 +02:00
Roberto Viola
48a6d01bfc Wahoo Kickr compatibity #442 2021-09-14 12:00:34 +02:00
Roberto Viola
005ae5811a adding frames to iFit virtualbike #441 2021-09-14 11:48:28 +02:00
Roberto Viola
ceb8624714 improving iFit initialization 2021-09-14 08:34:39 +02:00
Roberto Viola
3ef3a10644 Update README.md 2021-09-13 19:40:46 +02:00
Roberto Viola
f1daca6c8b very first implementation of ifit virtualbike 2021-09-13 16:49:49 +02:00
Roberto Viola
da9db072b2 added another type of snode bikes 2021-09-13 09:32:53 +02:00
Roberto Viola
619c4315cd fixing force speed and inclination on solef80treadmill 2021-09-12 19:53:07 +02:00
Roberto Viola
a59e168fdf minstepinclination to 1 to solef80treadmill 2021-09-12 17:28:12 +02:00
Roberto Viola
ddb5d33958 force speed and inclination on solef80treadmill 2021-09-12 17:05:37 +02:00
Roberto Viola
dfe51dcd20 adding some SOLE machinery 2021-09-12 16:51:15 +02:00
Roberto Viola
7548ef10a0 fixed init and noop operation on solef80treadmill 2021-09-12 15:33:48 +02:00
Roberto Viola
45a5865cf4 android version 2.8.62 2021-09-12 12:16:17 +02:00
Roberto Viola
19fe6f5358 "Debug log" fixed on Linux 2021-09-12 12:14:57 +02:00
Roberto Viola
46fb18164c Sole F65 #440 2021-09-12 12:02:26 +02:00
Roberto Viola
c7c7598372 fixed inclination on domyoselliptical 2021-09-10 20:05:01 +02:00
Roberto Viola
9d80eaeaa5 magnet icon disable also the automatic inclination for elliptical 2021-09-10 20:04:37 +02:00
Roberto Viola
f23a8d4d42 iOS version 2.8.61 2021-09-10 18:21:39 +02:00
Roberto Viola
fb4a071ed6 fixing strange iOS casting on echelonstride speed 2021-09-10 16:39:56 +02:00
Roberto Viola
f7f96a1576 forcespeed supported for shuaa5treadmill. also disable autostart for
shuaa5treadmill
2021-09-10 14:39:34 +02:00
Roberto Viola
7642019bf7 added inclination support for domyoselliptical #438 2021-09-10 09:23:53 +02:00
Roberto Viola
216440520f trying to managing pause/stop event on solef80treadmill and avoiding
auto start on startup
2021-09-09 15:28:21 +02:00
Roberto Viola
4d17d622ae manage min step inclination of 1 to shuaa5treadmill 2021-09-09 15:27:35 +02:00
Roberto Viola
0e7e97392c iOS build fixed 2021-09-09 10:50:02 +02:00
Roberto Viola
214552fd62 version 2.8.58 for iOS 2021-09-09 10:38:46 +02:00
Roberto Viola
ad4ba14de4 Shua A5 treadmill added 2021-09-09 10:07:53 +02:00
Roberto Viola
ea1b5bde3a renamed solef80 treadmill module 2021-09-09 09:29:13 +02:00
Roberto Viola
2de08020d6 fixing writing on kingsmithr1protreadmill 2021-09-08 16:31:27 +02:00
Roberto Viola
16a1930c5a improved debug into the snodebike 2021-09-08 06:09:16 +02:00
Roberto Viola
cfa591c554 trying to fixing the init phase of the solef80 2021-09-08 05:54:34 +02:00
Roberto Viola
57d76426f8 domyoselliptical changeInclinationRequested changes inclination instead
of resistance
2021-09-08 05:53:12 +02:00
Roberto Viola
5ef2244e1e zwift erg filter up and down set default by 10 2021-09-07 14:44:18 +02:00
Roberto Viola
ebb22ca471 fixed build issue 2021-09-07 08:45:55 +02:00
Roberto Viola
80888d28dd snodebike filtered negative value for the inclination from zwift 2021-09-07 08:34:08 +02:00
Roberto Viola
f0851029d4 solef80 timeout to 2s 2021-09-06 17:42:51 +02:00
Roberto Viola
0898857774 version 2.8.55 for Android 2021-09-06 16:55:29 +02:00
Roberto Viola
93c52bc6d8 packetReceived signal implemented in the solef80 2021-09-06 16:54:43 +02:00
Roberto Viola
2f4ebe9be6 added a setting to disable the description on strava about the peloton
workout
2021-09-06 10:50:13 +02:00
Roberto Viola
0de592fd08 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-09-06 06:31:34 +02:00
Roberto Viola
fd00c7403b solef80 init phase improved 2021-09-06 06:31:22 +02:00
Roberto Viola
4a6f000d29 2.8.54 for Android 2021-09-05 08:52:17 +02:00
Roberto Viola
f6f52e51dc Merge pull request #436 from d3m3vilurr/ks-r2
Initial support KingSmith R2 (CN version)
2021-09-05 08:36:27 +02:00
Sunguk Lee
191aae3f52 Initial support KingSmith R2 (CN version) 2021-09-05 09:32:09 +09:00
Roberto Viola
3439f35f8b solef80 init improved (i hope) 2021-09-04 21:43:12 +02:00
Roberto Viola
ec31bd7866 removed classifica 2021-09-04 08:09:10 +02:00
Roberto Viola
1274c4eb95 apple watch workout finish event fixed! 2021-09-03 16:32:39 +02:00
Roberto Viola
bb2b9a68fe version 2.8.51 for Android 2021-09-03 09:59:06 +02:00
Roberto Viola
c2c8b5ecac reverting speed to miles in solef80 2021-09-03 08:01:42 +02:00
Roberto Viola
18c75e85b9 ftmsCharacteristicChanged event from virtualbike added in order to
support zwift on snodebike
2021-09-01 16:57:24 +02:00
Roberto Viola
b34cf53081 2.8.49 version for iOS 2021-09-01 14:23:11 +02:00
Roberto Viola
e87a7a1ead Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-09-01 14:14:47 +02:00
Roberto Viola
33c8475c0a domyoselliptical watt calculation fixed 2021-09-01 14:14:28 +02:00
Roberto Viola
5d4c6f9a01 trying adding apt update on github workflow 2021-09-01 11:58:18 +02:00
Roberto Viola
6ff36286d9 fixed typo github workflow 2021-09-01 11:55:37 +02:00
Roberto Viola
53bdf4212a reenabled git workflow 2021-09-01 11:54:00 +02:00
Roberto Viola
9908ac7826 removed test cases from github workflow 2021-09-01 11:51:00 +02:00
Roberto Viola
325ebba4bb elite rizer added! (not tested) 2021-09-01 11:10:45 +02:00
Roberto Viola
a044a678af external power sensor setting added 2021-09-01 09:18:41 +02:00
Roberto Viola
eca2c24baf adding the ability to force speed on kingsmithr1protreadmill 2021-08-31 09:14:06 +02:00
Roberto Viola
075098a5cf KS-S1 managed kingsmithr1protreadmill 2021-08-30 17:28:01 +02:00
Roberto Viola
466b65f19b solef80 fixing init 2021-08-30 09:00:26 +02:00
Roberto Viola
a7ccdddd0f kingsmithr1protreadmill fixed write chars for RE version 2021-08-29 19:15:20 +02:00
Roberto Viola
df20418f55 supporting different version of kingsmithr1protreadmill 2021-08-29 15:44:11 +02:00
Roberto Viola
2bb88d57c8 Auto or Manual Resistance for Domyos Elliptical (#431) 2021-08-29 15:24:02 +02:00
Roberto Viola
d026338c35 adding simple ftms frame at the very beginning of the init phase of
renphobike
2021-08-29 15:15:15 +02:00
Roberto Viola
95f72ac42d speed fixed on f80 2021-08-28 17:35:58 +02:00
Roberto Viola
323b513506 kingsmimth r1 another name added 2021-08-28 14:21:57 +02:00
Roberto Viola
44d627ff0c Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-08-27 16:18:10 +02:00
Roberto Viola
22a1ec1dae 2.8.43 for android 2021-08-27 16:13:08 +02:00
Roberto Viola
93ff403026 trying to fix the power force issue on renphobike 2021-08-27 16:12:27 +02:00
Roberto Viola
8631920c87 renphobike forcePower fixed 2021-08-27 14:58:48 +02:00
Roberto Viola
4a08813385 fixed speed in miles by default on solef80 2021-08-27 14:49:11 +02:00
Roberto Viola
7a19facf9c adding speed parsing to solef80 custom chars 2021-08-27 08:59:08 +02:00
Roberto Viola
5562cbcc77 PID function a little pushy #427 2021-08-26 16:46:17 +02:00
Roberto Viola
40b18c4812 2.8.42 for iOS 2021-08-26 10:33:47 +02:00
Roberto Viola
6453810d10 power request managed by renphobike 2021-08-26 09:57:09 +02:00
Roberto Viola
1cf924bbb8 removed QZ classifica from the homepage 2021-08-26 08:14:46 +02:00
Roberto Viola
dffd40ebf1 calories counts only when wattage is greater than 0 2021-08-26 08:11:52 +02:00
Roberto Viola
551af58c33 Sole F80 inclination #429 (not tested) 2021-08-25 22:33:32 +02:00
Roberto Viola
c6f95fab7e fixed wrong var in powerzonepack 2021-08-25 12:26:23 +02:00
Roberto Viola
8e79672ae7 compressing pzp workout in order to have a correct row remaining time in
the training program
2021-08-25 12:23:29 +02:00
Roberto Viola
46dac997fa Random function Speed Min and Max one more digit #425 2021-08-25 08:33:50 +02:00
Roberto Viola
b22f8f18e7 2.8.41 for iOS: classifica popup fixed and max resistance of the ss2k set to 32 (as echelon max) 2021-08-24 09:32:51 +02:00
Roberto Viola
11faeb3e4d QZ Classifica added 2021-08-23 14:51:01 +02:00
Roberto Viola
a9251e1b24 clearing train rows of the peloton workout in any case 2021-08-23 08:10:27 +02:00
Roberto Viola
435c7ec43b QZ classifica added to the settings 2021-08-22 15:43:58 +02:00
Roberto Viola
bc897d8af3 added bike resistance gain and offset to ftmsbike 2021-08-20 12:15:15 +02:00
Roberto Viola
f4f155705d watt avg fixed 2021-08-20 10:47:18 +02:00
Roberto Viola
c5d9b5fc1f heart on ftms bike handled from the machinery 2021-08-19 16:52:24 +02:00
Roberto Viola
8629f10f6c avoiding crash when trying to force speed or incline on horizon treadmills that don't have this possibility 2021-08-19 16:36:54 +02:00
Roberto Viola
587b342569 added Bodytone SMB1 bike to version 2.8.37 2021-08-19 15:30:27 +02:00
Roberto Viola
77dfe4189a version 2.8.36 for android and iOS 2021-08-19 15:00:54 +02:00
Roberto Viola
8e7482c900 avoiding crashes on horizontreadmill init phase 2021-08-19 14:55:24 +02:00
Roberto Viola
bed8bdd374 adde the possibility to use a 5 sec. average for power 2021-08-19 11:47:02 +02:00
Roberto Viola
a1fa1a2e3c try to reverting the issue about number of columns in the iphones 2021-08-19 10:40:44 +02:00
Roberto Viola
bbeb9daeb4 improving test cases 2021-08-19 10:39:40 +02:00
Roberto Viola
0aa151cc42 resistance and target resistance chart was using the peloton resistance instead of the target one 2021-08-19 10:39:15 +02:00
Roberto Viola
1626124e97 fixed issue about cleaning the charts array in a wrong way 2021-08-19 10:37:12 +02:00
Roberto Viola
27f382f27f reverting https://github.com/cagnulein/qdomyos-zwift/commit/
947f3f39d8
2021-08-18 13:04:46 +02:00
Roberto Viola
6d3e2d62a5 fixed inclination on horizontreadmill 2021-08-14 12:03:28 +02:00
Roberto Viola
50991b7873 added some devices similiar to horizontreadmill 2021-08-13 20:17:07 +02:00
Roberto Viola
0ca2bf3454 horizontreadmill fixing writing speed and incline 2021-08-13 19:27:19 +02:00
Roberto Viola
c7fbcbb936 fixing writing speed and inclination on horizontreadmill 2021-08-13 18:27:49 +02:00
Roberto Viola
0dc6d9cd78 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-08-13 13:45:48 +02:00
Roberto Viola
02595aef9d added control point for virtualtreadmill to exploit the automatic
incline on zwift
2021-08-13 13:45:26 +02:00
Roberto Viola
96ba44c307 build fixed 2021-08-13 11:58:40 +02:00
Roberto Viola
2a34efb80c added forceIncline and forceSpeed to horizontreadmill 2021-08-13 11:51:38 +02:00
Roberto Viola
9938033b23 adding crctable on horizontreadmill 2021-08-13 11:30:37 +02:00
Roberto Viola
9af290951e horizontreadmill speed fixed 2021-08-13 11:22:20 +02:00
Roberto Viola
ad95d66493 adding all the 6 users to horizontreadmill startup phase :( 2021-08-12 19:34:42 +02:00
Roberto Viola
81a8b5a5a7 horizontreadmill: fixing notification algorithm error 2021-08-12 17:30:14 +02:00
Roberto Viola
a411abfbfd Treadmill KingSmith WalkingPad R2 Pro added 2021-08-12 14:22:02 +02:00
Roberto Viola
4bd3b9f681 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-08-12 13:50:53 +02:00
Roberto Viola
206c7243fd horizontreadmill: don't subscribe to FTMS 2021-08-12 13:49:56 +02:00
Roberto Viola
c7d8274bcb added indoor bike data to virtualtreadmill in order to exploit a zwift
bug to allow to send the inclination values to the treadmill. also
sending cadence for elliptical #195
2021-08-11 14:47:18 +02:00
Roberto Viola
0cf7a428f7 horizontreadmill wait for full frames and timeout to 3s instead of 300ms 2021-08-11 09:19:58 +02:00
Roberto Viola
38cf157431 version 2.8.26 for android 2021-08-10 16:07:31 +02:00
Roberto Viola
3cfaa407e8 fixing horizontreadmill init phase 2021-08-10 09:00:20 +02:00
Roberto Viola
098db6c2e2 fix build trxappgateusbbike on iOS 2021-08-09 18:01:47 +02:00
Roberto Viola
40067c31a0 horizontreadmill fixes on init phase 2021-08-09 17:53:20 +02:00
Roberto Viola
472b3b0ba5 added treadmill as a bike for proformtreadmill 2021-08-09 17:13:09 +02:00
Roberto Viola
998c2b9975 added apple watch and peloton support for trxappgateusbbike 2021-08-09 17:08:05 +02:00
Roberto Viola
32a044d2a1 horizontreadmill fixes on the init phase 2021-08-09 15:29:00 +02:00
Roberto Viola
c37a962f27 proformtreadmill: some changes about the way to force speed and incline 2021-08-09 10:48:12 +02:00
Roberto Viola
4c274f42a8 proformtreadmill force speed and incline #418 2021-08-08 22:23:15 +02:00
Roberto Viola
fe56376510 Inclination write from zwift #2 2021-08-08 16:45:27 +02:00
Roberto Viola
25e20017e4 removing "without response" on the horizontreadmill writings 2021-08-08 13:55:01 +02:00
Roberto Viola
efd558b390 better syncronization of the init phase of the horizontreadmill 2021-08-08 13:44:54 +02:00
Roberto Viola
4684ece812 miles conversion in the email after the merge was wrong! 2021-08-08 11:20:44 +02:00
Roberto Viola
67ce88dd5d horizontreadmill fix on custom char 2021-08-07 21:24:36 +02:00
Roberto Viola
780dd28810 mgarcea echelonconnectsport watt table updated 2021-08-07 21:10:31 +02:00
Roberto Viola
cec40fe20c added bit on FTMS to enable controllable resistance on rouvy 2021-08-07 21:02:38 +02:00
Roberto Viola
0e3cbe546b Resistance as incline on Sole E95s Elliptical #419 2021-08-06 09:01:52 +02:00
Roberto Viola
a97a0656cc Nordictrack 10.0 #418 2021-08-05 16:36:16 +02:00
Roberto Viola
cbef476e84 Resistance as incline on Sole E95s Elliptical #419 2021-08-05 15:50:46 +02:00
Roberto Viola
51f520d655 Resistance as incline on Sole E95s Elliptical #419 2021-08-05 15:47:42 +02:00
Roberto Viola
969a4d2964 Resistance as incline on Sole E95s Elliptical #419 2021-08-05 14:28:39 +02:00
Roberto Viola
e29225e451 Nordictrack 10.0 #418 first implementation 2021-08-04 17:36:01 +02:00
Roberto Viola
99918571d3 waiting init phase for horizontreadmill 2021-08-04 10:15:28 +02:00
Roberto Viola
75b5aa9a3f horizontreadmill writeCharacteristic without response 2021-08-04 09:04:06 +02:00
Roberto Viola
572743203f settings saved popup added 2021-08-04 08:23:44 +02:00
Roberto Viola
6c95df9155 android version 2.8.16 2021-08-03 14:32:00 +02:00
Roberto Viola
e26f1613e7 added ability to horizontreadmill to talk on the custom service 2021-08-03 14:31:10 +02:00
Roberto Viola
a29c0818ed aligned signals to UserTemplateManager 2021-08-03 14:18:00 +02:00
Roberto Viola
f1764681a8 managed workout state inside templateinfosenderbuilder 2021-08-03 12:22:31 +02:00
Roberto Viola
5ba2060672 managing 0xFFF4 char on horizontreadmill 2021-08-02 22:06:15 +02:00
Roberto Viola
7366020800 fixed resistance on lowinit on smartspin2k 2021-08-02 21:33:57 +02:00
Roberto Viola
9c421368a2 SS2K shift step setting added 2021-08-02 09:04:18 +02:00
Roberto Viola
b858072e76 subscribing to all the notification for horizontreadmill 2021-08-02 08:31:33 +02:00
Roberto Viola
0a4a16cd45 changed the color of the first zone in the power distribution chart 2021-08-02 08:17:15 +02:00
Roberto Viola
a9fb6bbc0d version 2.8.13 2021-08-01 10:18:09 +02:00
Roberto Viola
52467a3ab6 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-08-01 10:17:42 +02:00
Roberto Viola
b2ef9b31a2 horizontreadmill enabled the QZ_EnableDiscoveryCharsAndDescripttors 2021-08-01 10:17:26 +02:00
Roberto Viola
07898eeb8b strava crash fixed 2021-07-31 23:20:06 +02:00
Roberto Viola
1f908ca202 remaining time tile fixed 2021-07-31 18:29:47 +02:00
Roberto Viola
179cf4fbc5 added targetMets from peloton workouts 2021-07-31 15:13:35 +02:00
Roberto Viola
4d49a2b2c7 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-07-31 14:21:39 +02:00
Roberto Viola
63aabb70e7 METS tile #416 2021-07-31 14:21:19 +02:00
Roberto Viola
f58259f1b2 added the ability to start a workflow manually 2021-07-31 11:19:24 +02:00
Roberto Viola
ce45c71fe8 chartjs fixed transparent background 2021-07-31 09:28:02 +02:00
Roberto Viola
bf628b4fc8 android version 2.8.11 2021-07-30 15:44:49 +02:00
Roberto Viola
920dcca45a settings fixed 2021-07-30 09:22:34 +02:00
Roberto Viola
c7d410617c mgarcea echelonconnectsport watt table updated 2021-07-30 08:08:35 +02:00
Roberto Viola
b5258b1793 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift
# Conflicts:
#	src/qdomyos-zwift.pro
2021-07-29 16:12:03 +02:00
Roberto Viola
88f399248d iConsole Asviva S14 #412 2021-07-29 16:08:58 +02:00
Roberto Viola
a166004204 iOS version 2.8.9 2021-07-29 15:38:04 +02:00
Roberto Viola
c7588619dd renphobike writing resistance changed according to INDOOR SIMULATION
PARAMETERS
2021-07-29 14:51:41 +02:00
Roberto Viola
3f3013f86a UI for settings fixed 2021-07-29 12:26:23 +02:00
Roberto Viola
d8c4e14fd4 load and save settings fixed 2021-07-29 12:23:30 +02:00
Roberto Viola
46b646a6da iOS version 2.8.8 2021-07-29 11:09:00 +02:00
Roberto Viola
ef46bf0e23 Remaining time in training block #196 2021-07-29 09:37:10 +02:00
Roberto Viola
476b1d6689 Xiaomi Kingsmith R1 Pro #409 2021-07-29 08:35:34 +02:00
Roberto Viola
77493fae47 Assioma Favero #411 2021-07-29 08:02:36 +02:00
Roberto Viola
39ea444a3d iOS and Android version 2.8.6 2021-07-28 15:48:42 +02:00
Roberto Viola
6fe7892ae5 2.8.6 for Android 2021-07-28 09:54:48 +02:00
Roberto Viola
cf2967ece5 2.8.5 for android and iOS 2021-07-28 09:53:56 +02:00
Roberto Viola
7d5847057d fixed issue when peloton resistance request is more than 90, the return
value was 1!
2021-07-28 08:26:55 +02:00
Roberto Viola
90b2188fe1 fixed minors on chartjs 2021-07-27 12:11:44 +02:00
Roberto Viola
677dd4a735 horizontreadmill calories fixed 2021-07-27 09:29:06 +02:00
Roberto Viola
2143281c00 forcing header toolbar visible when the chartjs popups 2021-07-26 08:08:10 +02:00
Roberto Viola
a2154a5d42 version 2.8.4 for iOS 2021-07-24 19:14:44 +02:00
Roberto Viola
11981729b1 flywheel life fitness ic8 2021-07-24 18:59:20 +02:00
Roberto Viola
a7fce387bd avgs on chartjs floored 2021-07-24 18:53:22 +02:00
Roberto Viola
870d392a1c added heart to virtualbike on iOS 2021-07-24 15:29:12 +02:00
Roberto Viola
9f2a223df5 fixed typo in the gears callback 2021-07-24 10:39:52 +02:00
Roberto Viola
69fdd79e50 AVG resistance and peloton resistance fixed for echelon bikes 2021-07-23 08:14:29 +02:00
Roberto Viola
f5fbbbf8e5 missing templates line in the bluetooth.cpp 2021-07-21 16:39:31 +02:00
Roberto Viola
e136cc520f fix on templateinfosenderbuilder.cpp 2021-07-21 10:30:24 +02:00
Roberto Viola
e71269b68b fix on templateinfosenderbuilder.cpp 2021-07-21 10:13:39 +02:00
Roberto Viola
cac547a136 echelonconnectsport mgarcea watt table updated 2021-07-21 08:01:37 +02:00
Roberto Viola
7d5310395d Merge pull request #406 from cagnulein/chartjs
Chartjs
2021-07-20 16:50:23 +02:00
Roberto Viola
b4d6921058 added wattTable_mgarcea to echelonconnectsport 2021-07-20 16:49:27 +02:00
Roberto Viola
bfe7c62e07 debug log file removed temporarily 2021-07-20 12:26:48 +02:00
Roberto Viola
a7ff674621 fixed wattage to zone 1 invisible in the charts 2021-07-20 08:20:14 +02:00
Roberto Viola
b4aa37da0d Merge branch 'chartjs' of https://github.com/cagnulein/qdomyos-zwift into chartjs 2021-07-20 08:16:19 +02:00
Roberto Viola
92c9e5ef9c gears plus event restored from a wrong merge 2021-07-20 08:16:10 +02:00
Roberto Viola
1d3077530d iOS build fixed 2021-07-20 08:15:18 +02:00
Roberto Viola
c043fe2ea1 fixed loading spinner 2021-07-19 20:12:28 +02:00
Roberto Viola
5549685e9c restarting training program only if the user come from a full stop 2021-07-19 16:12:31 +02:00
Roberto Viola
a246c9aee5 scale y max for watt chart 2021-07-19 15:10:45 +02:00
Roberto Viola
c5d064c993 added minutes::seconds to power distribution chart 2021-07-19 15:02:59 +02:00
Roberto Viola
c40a559ebb Merge branch 'master' into chartjs 2021-07-19 14:22:01 +02:00
Roberto Viola
2eda4b2261 debug file works in the email! 2021-07-19 14:18:38 +02:00
Roberto Viola
92e34178ce added signal for workoutname & friends to homeform to
templateinfosenderbuilder. also added the ability to send the debug log
file via email (not tested) #405
2021-07-19 11:26:54 +02:00
Roberto Viola
b5656f67a9 chartjs titles and some labels under the charts 2021-07-19 09:52:51 +02:00
Roberto Viola
3030428313 reverting ios rotation issue (single column on iphone 6) 2021-07-18 17:28:50 +02:00
Roberto Viola
daa7f4e409 fixing chartjs for cadence as a bike 2021-07-18 17:28:14 +02:00
Roberto Viola
0e3814cde3 added the ajax loader 2021-07-18 16:32:15 +02:00
Roberto Viola
3a6560c32d heartrate error fixed on ios and fixed stupid js issue 2021-07-18 16:24:50 +02:00
Roberto Viola
f01b961725 savescreenshot for charts must be a single shot 2021-07-18 15:36:40 +02:00
Roberto Viola
dfc71b7218 added inclination tag for treadmill 2021-07-18 15:12:18 +02:00
Roberto Viola
2f390f5fc4 add spinner loader and fixed 0 tick on some charts 2021-07-18 15:12:04 +02:00
Roberto Viola
86e972a455 fixed HR on charths 2021-07-18 10:21:19 +02:00
Roberto Viola
b858e7bc7a screenshot fixed, scales on X fixed, disabled interpolation for more
details
2021-07-18 09:51:01 +02:00
Roberto Viola
f3f60155f3 Merge pull request #403 from p3g4asus/ChartTemplate2
Allowing 2 or more instances of TemplateInfoSenderBuilder
2021-07-17 18:21:24 +02:00
Matteo Federico Zazzetta
c4155dc754 Removed Unneeded Test file 2021-07-17 17:47:43 +02:00
Matteo Federico Zazzetta
f14f86d0c9 Changing external template folder (Download folder is no more OK in Android 11). Now external templates in Android have to be placed in /sorage/emulated/0/Android/data/org.cagnulen.qdomyoszwift/files/QZTemplates.
Removing unused READ_EXTERNAL_STORAGE permission that is not needed anymore
2021-07-17 17:35:05 +02:00
Matteo Federico Zazzetta
4975b9feae Fixed including unnecessary files 2021-07-17 13:24:14 +02:00
Matteo Federico Zazzetta
f16d59b282 Remove Node Modules from Commit 2021-07-17 13:19:53 +02:00
Matteo Federico Zazzetta
efcb51b2be Fully integrating charts template with multi instance TemplateInfoSenderBuilder 2021-07-17 13:16:26 +02:00
Matteo Federico Zazzetta
b1c14be958 Merge remote-tracking branch 'remotes/cagnu/chartjs' into chartjs 2021-07-17 11:20:53 +02:00
Matteo Federico Zazzetta
7f57b8281c Merge remote-tracking branch 'remotes/cagnu/chartjs' into chartjs 2021-07-17 11:19:15 +02:00
Matteo Federico Zazzetta
63b8028bca Allowing multiple instances of TemplateInfoSenderBuilder and random port for web server 2021-07-17 10:59:43 +02:00
Roberto Viola
d0de5b9aa9 fixed logo on iOS 2021-07-17 10:52:23 +02:00
Roberto Viola
81334fb13b fixed chartjs onStopClicked 2021-07-17 10:37:36 +02:00
Roberto Viola
838252ccc0 test ifdef removed 2021-07-17 10:23:37 +02:00
Roberto Viola
a398a46680 cadence and speed charts added 2021-07-17 10:14:57 +02:00
Roberto Viola
8e7c3f352d added req cadence on the charts 2021-07-16 18:49:03 +02:00
Roberto Viola
126b23e4a3 power distribution chart and other improvements! 2021-07-16 18:37:39 +02:00
Roberto Viola
cac7ea79bd Merge branch 'chartjs' of https://github.com/cagnulein/qdomyos-zwift into chartjs 2021-07-16 14:54:04 +02:00
Roberto Viola
14c7679965 fix backcompatibility to the old fashion charts system 2021-07-16 14:52:30 +02:00
Roberto Viola
36260ee130 added js files to qml 2021-07-16 13:02:48 +02:00
Roberto Viola
1ac2118813 Merge branch 'chartjs' of https://github.com/cagnulein/qdomyos-zwift into chartjs 2021-07-16 11:45:50 +02:00
Roberto Viola
b58bfe67b1 chartjs moment adapter added 2021-07-16 11:45:41 +02:00
Roberto Viola
c7bd4ca848 Merge branch 'chartjs' of https://github.com/cagnulein/qdomyos-zwift into chartjs 2021-07-16 11:44:05 +02:00
Roberto Viola
23bac30309 moment.js added 2021-07-16 11:43:51 +02:00
Roberto Viola
8d2b9dde08 resize observer and jquery added locally 2021-07-16 11:38:18 +02:00
Roberto Viola
dfb23aba50 build issue fixed #402 2021-07-16 11:17:54 +02:00
Roberto Viola
4e10950c39 Magnetic days added #403 2021-07-16 11:13:49 +02:00
Roberto Viola
966e09a284 peloton test even on scheduled workflow 2021-07-15 16:39:25 +02:00
Roberto Viola
982833642b keeping the compatibility with QtCharts 2021-07-15 16:36:59 +02:00
Roberto Viola
0613a9f690 screenshots saved correctly! 2021-07-15 15:52:08 +02:00
Roberto Viola
b77b81590d trying to save screenshot from chart js (untested) 2021-07-15 14:51:24 +02:00
Roberto Viola
53a62e02b1 peloton resistance chart added 2021-07-15 12:13:44 +02:00
Roberto Viola
6f31e657db segments coloring fixed 2021-07-15 12:02:27 +02:00
Roberto Viola
4d01f534db legends removed 2021-07-15 11:55:55 +02:00
Roberto Viola
24eb35c60e heart rate chart and fixed resolution for mobile 2021-07-15 11:36:43 +02:00
Roberto Viola
236bbfe78a coloring watt zones and requested power. not tested 2021-07-15 09:44:23 +02:00
Roberto Viola
e333bbc073 starting customizing power chart 2021-07-14 17:12:17 +02:00
Roberto Viola
9daa3c4dba fixed iOS security stuff 2021-07-14 11:42:05 +02:00
Roberto Viola
752e6de22b fixes 2021-07-14 10:56:19 +02:00
Roberto Viola
9c4628f077 changing the firstRealIndex algorithm following the p3g4asus comment
https://github.com/cagnulein/qdomyos-zwift/commit/
4008fb81912642f0f71006eda32d6941400c3dff#commitcomment-53465346
2021-07-14 10:36:08 +02:00
Roberto Viola
1a80a0fea6 merge with https://github.com/p3g4asus/qdomyos-zwift/commit/
f9f816bad8f45f534f80e9909d4e091fa4229da6#diff-
c769f44c5a54869486235d89326a0d1b9d6ee14638fb6a0858049ac4e20ef709
2021-07-14 10:28:57 +02:00
Roberto Viola
27b69d2b72 Inspire bike new watt table #401 2021-07-14 09:00:06 +02:00
Roberto Viola
4008fb8191 fit file: get the first real point in the session line in order to avoid mismatch timing on Strava 2021-07-14 06:21:27 +02:00
Roberto Viola
b116a63532 only if the system has the qhttpserver we're using chartjs 2021-07-14 06:06:05 +02:00
Roberto Viola
849ad687df fixing iOS build again 2021-07-14 06:01:07 +02:00
Roberto Viola
baea835b20 continuing fixing iOS build 2021-07-14 05:29:18 +02:00
Roberto Viola
69c23950fd merged with https://github.com/p3g4asus/qdomyos-zwift/tree/ChartTemplate 2021-07-13 15:17:03 +02:00
Roberto Viola
bf39e4ba5a chartjs is working on iOS! 2021-07-13 11:27:43 +02:00
Roberto Viola
bfaa25d0a2 webkit added to iOS 2021-07-13 11:08:25 +02:00
Roberto Viola
85fa16d4f0 qtwebview added to ios 2021-07-13 10:14:31 +02:00
Roberto Viola
0fabddefc9 updating github workflow
https://github.com/actions/runner/issues/950
2021-07-12 15:42:38 +02:00
Roberto Viola
2a1fbcd93e added pzp test case 2021-07-12 08:33:49 +02:00
Roberto Viola
bfbe705dd2 Merge pull request #400 from p3g4asus/WSOptAndFeatures2
Some more webserver / template features
2021-07-12 08:05:44 +02:00
Matteo Federico Zazzetta
6b0ccc4ff7 ActivityDescription field moved to homeform and set using signal-slot mechanism 2021-07-11 13:38:33 +02:00
Roberto Viola
1757d403cd fixed test peloton api on pull request 2021-07-11 12:55:59 +02:00
Matteo Federico Zazzetta
5fc1a83a52 Added command to alter strava activity description
Added the possibility to request a web page body fetch in base64 format
Added twitch palyer and grabber for youtube-viewer plugin (needs ssl or localhost web server)
Added dash palyer for youtube-viewer plugin
Added hls player for youtube-viewer plugin
2021-07-11 10:00:11 +02:00
Roberto Viola
aed3e35da2 Heart chart scale issue #399 fixed 2021-07-11 09:20:44 +02:00
Roberto Viola
45950b2339 reverted merge error 2021-07-10 23:40:56 +02:00
Roberto Viola
d7d2240c14 fixed iOS errors 2021-07-10 16:30:42 +02:00
Roberto Viola
dec1119b29 added STAGES SB20 #398 2021-07-10 16:14:44 +02:00
Roberto Viola
7b01a1ee52 trying to fixing strnage behaviour of peloton servers 2021-07-10 15:21:16 +02:00
Roberto Viola
fffe1c0628 adding QStringLiteral everywhere :D 2021-07-09 16:20:37 +02:00
Roberto Viola
24b829053c added the possibility to change the order of the peloton date in the
workout title
2021-07-09 15:14:20 +02:00
Roberto Viola
b994c606e8 fixed root permission on test HFB 2021-07-09 11:25:58 +02:00
Roberto Viola
ae7c2a281e fixed github workflow 2021-07-09 11:21:18 +02:00
Roberto Viola
db80470acc added test HFB on GitHub 2021-07-09 11:16:59 +02:00
Roberto Viola
5806ded842 GitHub workflow playground
GitHub workflow playground
2021-07-09 11:00:44 +02:00
Roberto Viola
40b5a9148c workflow runs every 12 hours 2021-07-09 10:59:01 +02:00
Roberto Viola
1322f8618b export QT_DEBUG_PLUGINS=1; removed from the workflow 2021-07-09 10:51:49 +02:00
Roberto Viola
6b44a88f50 exit in case of peloton api success fixed 2021-07-09 10:34:58 +02:00
Roberto Viola
a4e3601e32 creating xvfb 2021-07-09 10:22:59 +02:00
Roberto Viola
e127394988 blaming on xcb 2021-07-09 10:12:22 +02:00
Roberto Viola
30926058f2 managing xcb issues 2021-07-09 10:05:02 +02:00
Roberto Viola
36bcfb2b40 fixed check on QNetworkReply::errorOccurred 2021-07-09 09:55:38 +02:00
Roberto Viola
b5c37a0454 fixing QNetworkReply::errorOccurred error on Qt 5.12 2021-07-09 09:50:47 +02:00
Roberto Viola
dda503e4c2 added libqt5websockets5* to workflow 2021-07-09 09:45:26 +02:00
Roberto Viola
dad2ebad86 qt packets added 2021-07-09 09:43:08 +02:00
Roberto Viola
840ba2d45f using qt5-default directly 2021-07-09 09:41:13 +02:00
Roberto Viola
5d1f895793 updated workflow build rules 2021-07-09 09:31:46 +02:00
Roberto Viola
8bd70eb227 installing libxcb 2021-07-09 09:30:43 +02:00
Roberto Viola
3bfa5fde00 root check after the parameters parsing 2021-07-09 09:16:58 +02:00
Roberto Viola
d22ce79f73 disable root check in case of test peloton api 2021-07-09 09:07:36 +02:00
Roberto Viola
fc568b1c8d still playing with github workflow 2021-07-09 09:01:22 +02:00
Roberto Viola
ae8d5f960a playing again with peloton api test case 2021-07-09 08:51:30 +02:00
Roberto Viola
46e693148f fixing speed on echelonstride 2021-07-09 08:23:11 +02:00
Roberto Viola
117d160ed5 zwift virtualbike on ios fixes 2021-07-08 21:54:18 +02:00
Roberto Viola
87d08452c0 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-07-08 16:46:34 +02:00
Roberto Viola
12bbdb3caa fixing a bug that if the peloton cadence sensor setting was off and
nothing was connected to the virtualbike, the resistance was forced to
5.
2021-07-08 16:38:39 +02:00
Roberto Viola
5a4600732c added a test for the peloton api 2021-07-08 16:19:28 +02:00
Roberto Viola
e5ab7fb8b8 pausing the testing peloton api thing 2021-07-08 16:16:01 +02:00
Roberto Viola
cf0e76eb5d fixing test peloton api 2021-07-08 16:02:26 +02:00
Roberto Viola
aa1025dc78 fixing test peloton api 2021-07-08 15:52:26 +02:00
Roberto Viola
b97b805d9c trying to create a test case for peloton api 2021-07-08 15:35:23 +02:00
Roberto Viola
cbf642e9c7 Merge pull request #341 from lifof/codeRefactoring
First batch of code Refactoring related to Code Improvements #339
2021-07-07 15:01:24 +02:00
lifof
02c093a020 Fix:
- conflicts after effects
2021-07-07 13:55:17 +01:00
lifof
0b87993c9c Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/bike.h
	src/bluetoothdevice.cpp
	src/bluetoothdevice.h
	src/domyoselliptical.cpp
	src/domyostreadmill.cpp
	src/domyostreadmill.h
	src/elliptical.cpp
	src/homeform.cpp
	src/mainwindow.cpp
	src/soleelliptical.cpp
	src/virtualbike.cpp
	src/virtualbike.h
2021-07-07 13:45:59 +01:00
Roberto Viola
82502c1f57 Merge pull request #394 from cagnulein/treadmill_as_a_bike
Treadmill as a bike
2021-07-07 13:47:07 +02:00
Roberto Viola
836b5a9c6a Merge branch 'master' into treadmill_as_a_bike 2021-07-07 13:42:36 +02:00
lifof
5d09ec0056 Update :
- rapid code refactoring
2021-07-07 11:19:27 +01:00
lifof
242ca69574 Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/schwinnic4bike.cpp
2021-07-07 11:02:57 +01:00
Roberto Viola
af70bccafa Schwinn IC4 Support Mapping Bike Resistance to Peloton Resistance #392
added missing resistance conversion
2021-07-07 08:16:50 +02:00
Roberto Viola
f6ad122e12 peloton Resistance to renphobike 2021-07-07 08:14:18 +02:00
lifof
e296960798 Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/bluetooth.cpp
	src/homeform.cpp
	src/homeform.h
	src/schwinnic4bike.cpp
2021-07-06 12:11:13 +01:00
lifof
0bf6f79340 Update:
- tacxneo2* refactor
2021-07-06 11:50:16 +01:00
Roberto Viola
929219771d Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-07-06 12:25:44 +02:00
Roberto Viola
539edc2c38 Schwinn IC4 Support Mapping Bike Resistance to Peloton Resistance #392 2021-07-06 12:25:16 +02:00
Youssef BEDDAD
4206cefdad Merge branch 'refs/heads/master' into codeRefactoring 2021-07-06 11:19:47 +01:00
Roberto Viola
542e7f1517 added Hammer Sole B94 #393 2021-07-06 12:05:35 +02:00
Roberto Viola
6e4b7f0e43 added the possibility to change gears with the volume keys #379 2021-07-06 12:03:41 +02:00
Roberto Viola
dea68cef94 adding a sleep during the SS2K init phase 2021-07-06 08:44:51 +02:00
Roberto Viola
8f7c243f69 added AppScreens 2021-07-05 12:20:38 +02:00
Roberto Viola
4856c9444e iOS version 2.6.60 2021-07-05 11:07:23 +02:00
lifof
b09c4b66fc Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/main.cpp
2021-07-05 01:49:06 +01:00
Roberto Viola
14046ba3e3 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-07-04 17:44:09 +02:00
Roberto Viola
947f3f39d8 trying to fixing tiles quantity on iOS. Need to be tested on Android 2021-07-04 17:43:57 +02:00
Roberto Viola
0f3b899a92 domyostreadmill: limit writing inclination only to 0.5 steps 2021-07-03 18:32:10 +02:00
lifof
2d84f7e186 Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/smartspin2k.cpp
2021-07-03 13:40:30 +01:00
Roberto Viola
d42f295e83 fixed init for SS2K 2021-07-03 12:26:29 +02:00
Roberto Viola
a67996cd8a changeInclination of domyostreadmill filter for negative values 2021-07-03 12:08:27 +02:00
lifof
7c19613b24 Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/bluetooth.cpp
	src/bluetooth.h
2021-07-02 23:43:16 +01:00
Roberto Viola
d02eb70412 virtual_device_force_bike setting added 2021-07-02 15:20:24 +02:00
Roberto Viola
27a22eceb3 first commit of treadmill as a bike 2021-07-02 15:04:53 +02:00
Roberto Viola
cff64b71bc Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-07-01 14:11:16 +02:00
Roberto Viola
fb93a6610c tacxneo2 added #388 2021-07-01 12:27:35 +02:00
Roberto Viola
412d8e2da7 android version 2.6.59 2021-06-30 09:57:47 +02:00
Roberto Viola
3c40972a20 ios version 2.6.59 2021-06-30 08:02:48 +02:00
Roberto Viola
bf4c21a098 peloton airdate added to the title 2021-06-29 15:45:53 +02:00
Roberto Viola
e8fd1e18fe renphobike module added 2021-06-29 15:21:04 +02:00
lifof
a98e96d036 Fixed:
- some conflict's after effects
2021-06-28 22:23:15 +01:00
lifof
5dfffae8a0 Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/bike.cpp
	src/bluetooth.cpp
	src/bluetooth.h
	src/domyostreadmill.cpp
	src/homeform.cpp
	src/powerzonepack.cpp
	src/powerzonepack.h
	src/qfit.cpp
	src/smartspin2k.cpp
	src/smartspin2k.h
2021-06-28 15:21:12 +01:00
Roberto Viola
6578cd9365 trying to improve precision on distance on domyostreadmill 2021-06-28 08:49:22 +02:00
Roberto Viola
9097c2a1c4 Manage in the fit file the elapsed time and the total time differently
#386
2021-06-28 08:28:33 +02:00
Roberto Viola
6e60fb6002 WAHOO KICKR added 2021-06-28 08:10:14 +02:00
Roberto Viola
d3585052c5 fixed rounded on metrics_override_heartrate 2021-06-28 08:08:16 +02:00
Roberto Viola
c2ffd3e426 F63 treadmill connection issue fixed 2021-06-27 22:10:42 +02:00
Roberto Viola
afcaa5e894 limit ftp zone and target ftp zones to 7 as peloton 2021-06-27 15:55:09 +02:00
Roberto Viola
0800bb4345 changed the label of the SS2k settings 2021-06-25 22:22:16 +02:00
Roberto Viola
369abeac1b ss2k init phase fix 2021-06-25 21:59:46 +02:00
Roberto Viola
9c8ea4e422 Merge pull request #384 from cagnulein/smartspin2k
Smartspin2k
2021-06-25 21:52:55 +02:00
Roberto Viola
a540114d13 fix init phase on SS2K 2021-06-25 18:10:55 +02:00
Roberto Viola
e7b27a46e7 BLE_syncMode handled for smartspin2k 2021-06-25 08:07:21 +02:00
Roberto Viola
fad04cde91 fixed crash on powerzonepack 2021-06-24 15:20:14 +02:00
Roberto Viola
9e24ac97a6 resistance for smartspin2k is signed 2021-06-24 15:02:03 +02:00
Roberto Viola
7347383c21 disabling BLE_externalControl on smartspin2k 2021-06-24 14:12:03 +02:00
Roberto Viola
5e084a0367 Renpho Bike compatibility added #382 2021-06-24 08:30:28 +02:00
Roberto Viola
eeda71e51a iOS version 2.6.54 2021-06-24 08:05:45 +02:00
Roberto Viola
c3be99e606 added websocket to iOS 2021-06-23 18:03:04 +02:00
Roberto Viola
32e25f0f55 fix build issues 2021-06-23 16:10:06 +02:00
Roberto Viola
d78d6c70b9 fixed indication for smartspin2k and added the BLE_externalControl
command
2021-06-23 16:02:03 +02:00
Roberto Viola
6b43f948d5 first experimental support for echelonstride #380 2021-06-23 15:52:37 +02:00
Roberto Viola
ecd7c659ed pzp to websockets 2021-06-23 14:32:59 +02:00
Roberto Viola
5563bb9d97 first implementation of smartspin2k with custom services 2021-06-21 17:31:40 +02:00
lifof
450e52f492 Fixups for minor conflits resolving side effects 2021-06-19 22:08:33 +01:00
lifof
06863c7c62 Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/bike.cpp
	src/homeform.cpp
	src/homeform.h
	src/horizontreadmill.cpp
	src/peloton.cpp
	src/peloton.h
	src/powerzonepack.cpp
2021-06-19 21:57:42 +01:00
Roberto Viola
b2969f1e85 fixed erroneous flags reading on stagesbike 2021-06-19 17:32:18 +02:00
Roberto Viola
ff2ef58424 handled horizontreadmill different services 2021-06-19 17:14:31 +02:00
Roberto Viola
87cddeca88 gears change now immediately; peloton provider added to the message box 2021-06-19 15:46:08 +02:00
Roberto Viola
0c523dcbc9 fixed issue when no pzp credentials are provided 2021-06-19 09:02:32 +02:00
lifof
7ac3a6684d Curly braces {} 2021-06-17 13:39:32 +01:00
lifof
cd9518d41c Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/trxappgateusbbike.cpp
2021-06-17 13:35:58 +01:00
Roberto Viola
da140a5e6a forceResistance packet for DKN MOTION bike fixed #366 2021-06-17 13:24:37 +02:00
lifof
3f863165bf Last minute Refactoring of homeform.cpp :
- curly braces for ifs
 - QStringLiterals to some strings
2021-06-17 11:14:26 +01:00
lifof
2c2f70398f Merge branch 'refs/heads/master' into codeRefactoring
Conflicts:
	src/homeform.cpp
2021-06-17 10:40:58 +01:00
Roberto Viola
e85135261f fixed ftp range #374 2021-06-17 07:44:59 +02:00
lifof
6aac31b4d9 Code reformating and some fast refactoring 2021-06-16 15:47:02 +01:00
Youssef BEDDAD
247db96d58 fixup! Merge branch 'refs/heads/master' into codeRefactoring 2021-06-16 15:38:53 +01:00
lifof
c79ee60464 Merge branch 'refs/heads/master' into codeRefactoring 2021-06-16 15:35:28 +01:00
Roberto Viola
b6ecc93c5d fixed "double" seconds in the PZP plugin 2021-06-16 15:23:00 +02:00
Roberto Viola
355969b10f added the ability to change the value of the speed read from the
machinery (useful for treadmill uncalibrated) #373
2021-06-16 14:18:52 +02:00
Roberto Viola
00974411ab improvments on rower (fit files and more) 2021-06-16 13:59:25 +02:00
Roberto Viola
35422aeab1 added gears tile 2021-06-16 13:27:54 +02:00
lifof
f7763b289f Merge branch 'refs/heads/master' into codeRefactoring 2021-06-16 10:37:05 +01:00
Roberto Viola
6c73b2ffe0 weight loss and watt/kg fixed for m3ibike 2021-06-15 16:45:35 +02:00
lifof
117f049944 Fixups for some conflicts side effects 2021-06-15 11:37:55 +01:00
lifof
02fdd72f28 Merge branch 'refs/heads/master' into codeRefactoring 2021-06-15 11:11:11 +01:00
Roberto Viola
c21fab6c64 trying to handle different firmware for DKN MOTION #366 2021-06-15 11:04:05 +02:00
Roberto Viola
807f3a385d fixed double approximation in the FTP zones 2021-06-15 08:10:09 +02:00
lifof
7f297b7700 Merge branch 'refs/heads/master' into codeRefactoring 2021-06-14 23:08:10 +01:00
lifof
1f62e9529e Merge branch 'refs/heads/master' into codeRefactoring
- fixing some mistakes that were done during the last coflict solving ( some errornous if statments )
- @cagnulein would you mind taking a look homeform.cpp line 2062 there's a note above is it ok to replace it by that cause the analyzer is complaining about it.
2021-06-14 23:02:10 +01:00
Roberto Viola
5d9f6b1245 fixing strava export for domyostreadmill #363 2021-06-14 16:34:45 +02:00
Youssef BEDDAD
8ed26c96d4 Revert "Update qfit.cpp"
This reverts commit d21395da8a.
2021-06-14 13:36:52 +01:00
lifof
d21395da8a Update qfit.cpp
Is it correct to change these two sub sport values for the Treadmill & Elliptical
2021-06-14 13:36:12 +01:00
Roberto Viola
ab0e5f9cd2 watt/kg tile added 2021-06-14 10:08:00 +02:00
Roberto Viola
58896be47a target resistance and target cadence second lines disabled if there
aren't any data
2021-06-14 09:46:04 +02:00
lifof
3f874a61e2 Merge branch 'refs/heads/master' into codeRefactoring
- resolving conflicts & refactoring
2021-06-13 21:24:04 +01:00
Roberto Viola
a3fcc47bfd target zone added. lower and upper values added for peloton resistance
and cadence. #356 #315
2021-06-13 11:40:20 +02:00
Roberto Viola
5f0ca8682a fixed distance for smartrowrower 2021-06-13 10:59:03 +02:00
Roberto Viola
a7ac55ec80 added indoor rowing in the fit file 2021-06-13 10:55:58 +02:00
lifof
537531db09 Refactoring related to #358 2021-06-10 11:52:28 +01:00
Roberto Viola
5c71609523 Merge branch 'master' into codeRefactoring 2021-06-10 09:15:53 +02:00
Roberto Viola
8e3670be65 Added decimal point to the zone tile #359 2021-06-10 09:04:57 +02:00
lifof
f4d9475d21 Merge branch 'cagnulein:master' into codeRefactoring 2021-06-09 15:09:01 +01:00
Roberto Viola
f794f98859 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-06-09 14:58:10 +02:00
Roberto Viola
28a3c7c94c version 2.6.45 for ios and android 2021-06-09 14:57:42 +02:00
Roberto Viola
3b86cd966d fixed domyoselliptical timing 2021-06-09 12:14:55 +02:00
Roberto Viola
7fc3ef2359 trying to fixing #342 2021-06-09 08:31:10 +02:00
Roberto Viola
e3ecec04c7 fixed proformbike resistance during a resistance change 2021-06-09 08:26:24 +02:00
lifof
b0a929bfe3 Merge branch 'refs/heads/master' into codeRefactoring 2021-06-08 17:10:40 +01:00
lifof
1e7b093941 Merge branch 'refs/heads/master' into codeRefactoring 2021-06-08 17:01:26 +01:00
Roberto Viola
98ea1f19e1 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-06-08 16:25:48 +02:00
Roberto Viola
3e2bdec819 fixed current airtime on peloton 2021-06-08 16:19:15 +02:00
Roberto Viola
dd4273bb76 first implementation of homefitnessbuddy (NOT TESTED) 2021-06-08 14:33:08 +02:00
Roberto Viola
d1fdbb88a6 added strokes count and length and pace for rower 2021-06-08 08:57:08 +02:00
lifof
bcdd25f18e New code tranformations
- using qt5's new style connect is considered good behavior
 - using nullptr instead of 0 and NULL when dealing with pointers
 - using curly braces everytime in if and for statements is good behavior too
2021-06-07 10:51:13 +01:00
Roberto Viola
06d2f4517f Merge branch 'master' into codeRefactoring 2021-06-07 09:13:25 +02:00
Roberto Viola
21d1d3f204 smartrow rower stupid typos fixed 2021-06-07 09:12:19 +02:00
Roberto Viola
79e9b2660a Merge branch 'master' into codeRefactoring 2021-06-07 09:08:47 +02:00
Roberto Viola
32b39a8578 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-06-07 09:02:07 +02:00
Roberto Viola
f44ac930e9 first raw implementation of smartrow rower 2021-06-07 08:58:27 +02:00
lifof
851def48bb Ninth wave of code changes
- finally figured out a way to change the qt5 connects that deal with QLowEnergyController::Error and QLowEnergyService::ServiceError from the old to new style
2021-06-06 21:30:35 +01:00
lifof
f9449f57a8 fix for android-armeabi-v7a
- complains about optimization & lto during link time - found that it had a fixed "CONFIG += optimize_size" that translates to -Oz
2021-06-06 18:31:04 +01:00
lifof
dcbc4497c2 trying to solve github's artifact crash:
- seems to crash on my distro with this message :
   ./qdomyos-zwift: symbol lookup error: ./qdomyos-zwift: undefined symbol: _ZdlPvm, version Qt_5
2021-06-06 17:43:40 +01:00
lifof
6672725dfa Adding -s to strip all debug symbols from release version 2021-06-06 17:24:21 +01:00
lifof
5a95c4c1da Eighth wave of code changes
- second pass on the cpp source files
 - added src/build/* to .gitignore cause I'm getting two annoying files every time I want to commit something
 - main.cpp - fixed a potential memory leak - clang-analyzer-cplusplus.NewDeleteLeaks
 - all header files refactored
 - with this all warnings related to the project ( no 3rd-party included ) are eliminated along with potential memory leaks and soem code tweaks related to performance
2021-06-06 17:11:22 +01:00
Roberto Viola
e4463d3dad Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-06-06 14:37:17 +02:00
lifof
a542662da2 Seventh wave of code changes
- finished 1st pass
2021-06-06 02:56:01 +01:00
lifof
33479ad88a Sixth wave of code changes 2021-06-05 22:39:13 +01:00
Roberto Viola
d702d2d9b8 Merge branch 'master' into codeRefactoring 2021-06-05 20:20:34 +02:00
Roberto Viola
d3ea8d651a fixed PZP session over 1h 2021-06-05 20:16:28 +02:00
lifof
9b15d0d98a Fifth wave of changes
+ debug messages medicine ( needs testing ) related to #345
2021-06-05 17:54:41 +01:00
lifof
4db3c92bd4 Fourth wave of changes 2021-06-05 16:19:53 +01:00
lifof
89f082c55d Movinig on -> Third wave 2021-06-05 02:55:26 +01:00
lifof
1c8cece6cf Update Qt version in main.yml 2021-06-04 22:32:35 +01:00
lifof
747049761c Second batch of modifications 2021-06-04 22:10:44 +01:00
lifof
1eb9f11434 Update domyoselliptical.cpp 2021-06-04 11:31:37 +01:00
Roberto Viola
71f0e56728 fixed wrong incliantion value on domyos elliptical
@lifof could you try this?
2021-06-04 12:20:26 +02:00
Roberto Viola
6ec9be0a8f Merge branch 'master' into codeRefactoring 2021-06-04 10:23:44 +02:00
Roberto Viola
aa2bb93d52 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-06-04 09:34:32 +02:00
Roberto Viola
901b126f49 hammer bike fixed 2021-06-04 08:01:12 +02:00
lifof
6fefb6485a Refactoring code related to Code Improvements #339
- switching to c++17

 - activating link-time optimizations with qt's ltcg flag in CONFIG

 - android-clang config for optimize_full is errornous instead of passing an -O3 it passes a -Oz

 - using clazy's refactoring:
   - isempty-vs-count
   - old-style-connect
   - qstring-unneeded-heap-allocations
   - function-args-by-ref

 - clang-format *.cpp and *.h using .clang-format config

 - QStringLiteral everything

 - replacing initializing ptrs with 0 by nullptr

 - using Qt's isEmpty instead of count and length

 - using chrono's time expressions in QTimer

 - curly braces for all ifs and fors ( atleast the ones that I detected so far )
2021-06-03 22:59:37 +01:00
Roberto Viola
e1f3d1d0bd Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-06-03 11:53:26 +02:00
Roberto Viola
e88be3c23a version 2.6.41 on android 2021-06-03 11:53:14 +02:00
Roberto Viola
63d1299b07 Hammer racer S spinning bike #337 2021-06-03 11:49:17 +02:00
Roberto Viola
f793521ce3 Merge pull request #336 from lifof/master
Android Screen dimming Fix
2021-06-03 10:56:51 +02:00
lifof
908313c594 Android Srceen dimming Fix:
Added a keepScreenOn function for Android to deactivate screen dimming
2021-06-03 02:04:50 +01:00
Roberto Viola
fa86c3ca04 ios version 2.6.41 with concept row support #335 2021-06-02 14:20:25 +02:00
Roberto Viola
3d2d9dac0b ZWO (zwift workout file) compatibility added #331 2021-06-01 17:17:16 +02:00
Roberto Viola
90ab5e1c5b fixed build error on GitHub 2021-06-01 11:10:36 +02:00
Roberto Viola
f93b053de5 added the ability to ovveride the HR value sent to peloton #334 2021-06-01 11:04:08 +02:00
Roberto Viola
403beca71f powerzonepack fixed issue after 1 minute 2021-05-29 20:52:14 +02:00
Roberto Viola
80c2a741b2 weight loss fixed in the mail 2021-05-29 16:50:32 +02:00
Roberto Viola
4465ad7488 fixed distance on apple watch (only miles instead of kms) 2021-05-29 16:20:14 +02:00
Roberto Viola
4d34780319 ftmsrower cadence fixed #330 2021-05-29 14:00:17 +02:00
Roberto Viola
21a153fc5a fixed peloton workout when an user does multiple workout in a single QZ
session
2021-05-28 09:18:12 +02:00
Roberto Viola
305a01b7e0 first implementation of City Rower #327 2021-05-28 09:12:17 +02:00
Roberto Viola
af7380940a powerzonepack loginstate fixed 2021-05-27 22:35:15 +02:00
Roberto Viola
cce631c366 update powerzonepack to pzpack.com #264 2021-05-27 22:15:22 +02:00
Roberto Viola
b0efda1f02 ios version 2.6.36 2021-05-26 14:32:58 +02:00
Roberto Viola
63d033d48f Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-05-26 13:28:12 +02:00
Roberto Viola
094ec5cfdd first alpha implementation of powerzonepack #264 2021-05-26 13:24:07 +02:00
Roberto Viola
f35a1a9ec9 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-05-24 16:39:39 +02:00
Roberto Viola
7d1986f962 2.6.35 for android 2021-05-24 16:38:43 +02:00
Roberto Viola
04b394303e updating stats on flywheelbike on apple watch even if datas are not
"clean"
2021-05-24 16:28:55 +02:00
Roberto Viola
7d3bf6863e adding weight to the power-speed formula 2021-05-23 18:53:25 +02:00
Roberto Viola
f0ed3044ab Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-05-21 18:09:46 +02:00
Roberto Viola
136f957833 fix issue on virtual device when a cadence sensor has been used as a
accessory for another bike
2021-05-21 18:08:37 +02:00
Roberto Viola
a4a79069c7 fixed a strange bug into the flywheelbike about refresh->interval()
with value at 0
2021-05-21 15:03:30 +02:00
Roberto Viola
d247cb4830 weight loss tile added 2021-05-20 11:35:16 +02:00
Roberto Viola
35a2798541 ios version 2.6.32 2021-05-20 10:07:26 +02:00
Roberto Viola
c62ba5850e Speed from power #269 2021-05-20 10:01:52 +02:00
Roberto Viola
91483c8867 moved random training program setting into a parent setting in order to
avoid accidentally enabling
2021-05-20 09:25:37 +02:00
Roberto Viola
a2c331c4fa fixed formula on the target resistance second line tile 2021-05-20 08:09:40 +02:00
Roberto Viola
9021b2ffa3 Life Fitness Bike support #325 2021-05-20 08:01:34 +02:00
Roberto Viola
ba1b74f872 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-05-19 09:02:58 +02:00
Roberto Viola
a7f8699a30 added rower class 2021-05-19 09:00:18 +02:00
Roberto Viola
5cf915fed1 changed strava tag to #QZ 2021-05-18 17:24:31 +02:00
Roberto Viola
47beb070cd added the ability to load and save settings #240 2021-05-18 15:51:51 +02:00
Roberto Viola
c257601916 trying to get inclination from horizontreadmill 2021-05-18 09:59:47 +02:00
Roberto Viola
0ca3ba87f9 small fix on echelonrower 2021-05-17 09:53:15 +02:00
Roberto Viola
e586dea477 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-05-17 09:07:49 +02:00
Roberto Viola
1d2a8bc7e1 ios version 2.6.30 2021-05-17 09:07:26 +02:00
Roberto Viola
b493124644 first implementation of echelonrower #318 2021-05-17 08:57:31 +02:00
Roberto Viola
7d6f16ad61 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-05-17 07:58:10 +02:00
Roberto Viola
b2c7da5111 added simple hrzones_1h_treadmill program 2021-05-17 07:57:59 +02:00
Roberto Viola
7cf1d6a3bf fixed watt calculation on schwinnic4bike 2021-05-15 09:41:39 +02:00
Roberto Viola
a2c0009a8c using resistance function to SmartSpin2K 2021-05-14 18:50:39 +02:00
Roberto Viola
25983aa7e2 version 2.6.29 2021-05-14 11:11:56 +02:00
Roberto Viola
7790a1bc66 added startup offset to smartspin2k #299 2021-05-13 15:09:47 +02:00
Roberto Viola
88fe1e6c81 fix build error 2021-05-13 09:15:15 +02:00
Roberto Viola
f4951befd4 Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-05-13 08:53:58 +02:00
Roberto Viola
ee12336b90 external cadence sensor on bike to override bike computer's cadence
sensor #317
2021-05-13 08:53:41 +02:00
Roberto Viola
c1259cf0ab ios version 2.6.28 2021-05-12 15:44:40 +02:00
Roberto Viola
ce1308b5ee kcal and distance to apple watch 2021-05-12 14:36:21 +02:00
Roberto Viola
83c3387eb2 fixed timeout on ftmsaccessory #299 2021-05-11 17:06:11 +02:00
Roberto Viola
22152ddf10 ftmsbike limited to 15 resistance levels. changed to 100 #299 2021-05-11 17:00:52 +02:00
Roberto Viola
0cb759f771 fixed stupid error on ftms accessory #299 2021-05-11 16:34:09 +02:00
Roberto Viola
4facb2c26a fixed init phase of DKN MOTION bike #294 2021-05-11 14:03:55 +02:00
Roberto Viola
dae2d78d6e fixed connection issue on FTMS accessory #299 2021-05-11 07:59:31 +02:00
Roberto Viola
85c9baeb50 first untested implementation of SpinBike2K #299 2021-05-10 15:28:05 +02:00
Roberto Viola
18dd8dc911 fix import GPX file with resolution different than 1 second #304 2021-05-10 10:41:58 +02:00
Roberto Viola
8ed312cd0a Merge pull request #303 from p3g4asus/WSGetPost2
Get Post request via web socket
2021-05-10 08:10:08 +02:00
Roberto Viola
5ecebc506f default client strava id to QZ's one 2021-05-10 08:03:19 +02:00
Roberto Viola
1f68727c79 Merge branch 'master' into WSGetPost2 2021-05-10 08:01:44 +02:00
Matteo Federico Zazzetta
997b919ee6 Minor optimizations 2021-05-08 21:28:11 +02:00
Matteo Federico Zazzetta
33be574d54 Fixes strava speed display on m3i bike 2021-05-08 20:52:30 +02:00
Matteo Federico Zazzetta
8b3ae1a700 Merge with master 2021-05-08 13:21:20 +02:00
Matteo Federico Zazzetta
b3fbf34e89 Fixes strava id stringify and adds train program saver template 2021-05-07 12:07:28 +02:00
Roberto Viola
cc842e55c7 added mouse cursor ability to amazon manifest 2021-05-07 10:11:21 +02:00
Roberto Viola
2710cac480 small fixes on init for DKN AM-3i #285 2021-05-04 15:48:35 +02:00
Roberto Viola
6594ed1ae2 fix on fitplusbike 2021-05-04 15:29:41 +02:00
Roberto Viola
884bc2ca0a added template tcp client QZ 2021-05-04 12:17:43 +02:00
Roberto Viola
d58475a61d Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-05-04 08:39:42 +02:00
Roberto Viola
843138f82a ios version 2.6.24 2021-05-04 08:39:23 +02:00
Roberto Viola
390c5fa915 train program with positive and negative offset 2021-05-04 08:33:57 +02:00
Roberto Viola
5ecf34c524 added the ability to disable HRM from machinery (treadmill and bikes) 2021-05-03 14:20:20 +02:00
Roberto Viola
7964c6247d added watt calculation based on heart on fitplusbike 2021-05-03 14:17:02 +02:00
Roberto Viola
be29c27c80 added a new yesoul peloton conversion formula #245 2021-05-03 12:02:49 +02:00
Roberto Viola
ad7dea821d first commit for fitplusbike #296 2021-05-03 10:21:49 +02:00
Roberto Viola
dfe4d8df0a added a new tile for peloton offset time 2021-05-03 08:41:12 +02:00
Roberto Viola
f02cfddb10 fixes on trainprograms 2021-05-03 08:05:57 +02:00
Matteo Federico Zazzetta
52378cfed3 Merge with upstram master branch and some fixes 2021-05-02 13:14:04 +02:00
Matteo Federico Zazzetta
788bf68705 Fixed some typos 2021-05-01 19:20:22 +02:00
p3g4asus
2c6dd1a02d Tons of Fixes 2021-05-01 18:14:24 +02:00
Roberto Viola
c281f9dfb4 elapsed buttons works only to train program counter (peloton buffer
issue)
2021-05-01 17:09:06 +02:00
Matteo Federico Zazzetta
64b3ee35f4 Adding support for loading / saving training programs via templates 2021-05-01 12:49:56 +02:00
Matteo Federico Zazzetta
8f7d417cd6 Added to .gtignore some paterns in template-examples folder 2021-04-30 14:01:33 +02:00
Matteo Federico Zazzetta
eae8c0ab72 Fixes to youtube-viewer template issues 2021-04-30 13:38:00 +02:00
Roberto Viola
ad4ec969a1 fixed crash on trainprogram 2021-04-30 06:58:15 +02:00
Matteo Federico Zazzetta
98b078f9c7 Fix Youtube template bug 2021-04-29 20:23:41 +02:00
Matteo Federico Zazzetta
dc75e8e469 Adding youtube-viewer template 2021-04-29 19:45:55 +02:00
Roberto Viola
f0dea27ab3 fixed wrong stop frame on domyosbike 2021-04-29 15:39:09 +02:00
Roberto Viola
3d3cbe8632 dkn motion init fixies #294 2021-04-28 17:03:37 +02:00
Roberto Viola
ebdbcfa946 OS, bluetooth device and bluetooth heart rate added to the email 2021-04-28 14:17:46 +02:00
Roberto Viola
48255659ad fixed writeresistance for soleelliptical #278 2021-04-28 08:57:10 +02:00
Matteo Federico Zazzetta
0770a3d7f4 Small changes in getsettings message 2021-04-28 07:10:19 +02:00
Roberto Viola
2403e463f4 hr pid in the XML #226 2021-04-27 20:38:20 +02:00
Roberto Viola
af6f169bd9 added averagePace and maxPace for treadmills and coloured tiles! 2021-04-27 14:04:38 +02:00
Roberto Viola
2d144fefd4 HR pid on treadmill now with a 10s loop 2021-04-27 11:21:16 +02:00
Roberto Viola
ba3b262f34 integration on spirittreadmill 2021-04-27 11:13:31 +02:00
Roberto Viola
8a26cb4a97 fixed resistance on soleelliptical #278 2021-04-26 11:45:05 +02:00
Roberto Viola
4f23227de4 peloton conversion for domyosbike 2021-04-26 10:55:20 +02:00
Roberto Viola
f532de8c62 resistance up and down for soleelliptical #278 2021-04-26 07:27:51 +02:00
Roberto Viola
87b1a84043 trying to increase resistance on soleelliptical #278 2021-04-25 17:17:04 +02:00
Roberto Viola
8128b8b15b age ande weight for soleelliptical #278 2021-04-25 17:11:15 +02:00
Roberto Viola
b3e95de924 duration of the workout for soleelliptical changed from 10 minutes to
255 minutes #278
2021-04-25 17:04:36 +02:00
Matteo Federico Zazzetta
1081c63b72 Added the possibility to make request get/post requests
Added moving_time metric for templates
Added the possibility to add new settings by using templates
2021-04-25 12:09:58 +02:00
Roberto Viola
cdc66ae76a Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-04-24 22:26:17 +02:00
Roberto Viola
10ce2d9c1f ios build fixed 2021-04-24 22:26:01 +02:00
Roberto Viola
7da452c4ea added peloton reverse conversion for proformbike 2021-04-24 22:16:02 +02:00
Roberto Viola
57bba4152c Merge pull request #289 from p3g4asus/MovingTime
Introducing moving time for m3i and fitshowtreadmill.
2021-04-24 18:46:40 +02:00
Matteo Federico Zazzetta
aadb3dd743 Introducing moving time for m3i and fitshowtreadmill. 2021-04-24 16:57:10 +02:00
Roberto Viola
e6cc2341b7 fixed signed slope on virtual bike on swift 2021-04-24 12:08:46 +02:00
Roberto Viola
2b3f135443 moving time added 2021-04-24 12:08:19 +02:00
Roberto Viola
f61f1ed91f fixing, again, virtual echelon bike 2021-04-23 15:02:26 +02:00
Roberto Viola
318eade1b7 very fast implementation of XT485 spirit treadmill (NOT TESTED AND NOT
FINISHED, i'm waiting the user with more informations)
2021-04-23 11:39:22 +02:00
Roberto Viola
48d9af6e96 added FIT file to the email 2021-04-23 08:32:58 +02:00
Roberto Viola
d1923ee4e7 fixed soleelliptical 2021-04-22 20:16:05 +02:00
Roberto Viola
af2ecf5fbd Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-04-22 20:01:02 +02:00
Roberto Viola
383ff90871 heart rate fixed on swift on zwift 2021-04-22 20:00:27 +02:00
Roberto Viola
e19dccd908 DKN MOTION bike added #285 2021-04-22 16:22:05 +02:00
Roberto Viola
ebe4e8e31c watt calculation based on HR executed only if HR attached #286 2021-04-22 15:14:05 +02:00
Roberto Viola
f865f5ddf2 swift swift interface is working 2021-04-22 14:23:44 +02:00
Roberto Viola
ed4722cb20 first implementation of virtual bike zwift on swift (not tested) 2021-04-22 09:40:40 +02:00
Roberto Viola
e3058bb621 npecablebike fixed again :( 2021-04-22 07:18:27 +02:00
Roberto Viola
1d197c15f5 fixed build issue on qt < 5.15 2021-04-21 20:56:25 +02:00
Roberto Viola
8c8de54553 ios build 2.6.13 2021-04-21 15:54:01 +02:00
Roberto Viola
90763b7135 trying to fix virtual echelon 2021-04-21 15:39:21 +02:00
Roberto Viola
2e79664b82 first raw implementation of PID based on Heart Rate for Treadmills #226 2021-04-21 15:12:58 +02:00
Roberto Viola
c2e4060d56 template webserver settings moved into the experimental settings section 2021-04-21 13:59:32 +02:00
Roberto Viola
e38c9d790c Merge pull request #252 from p3g4asus/TemplatingAndWS2
"Templated" connections and Web server
2021-04-21 13:53:57 +02:00
Matteo Federico Zazzetta
6c9b5fb660 Added installation files (binary lib, include and mkspecs) for qHttWebServer for ios and android.
Modified example template to support websocket reconnection
2021-04-21 12:55:44 +02:00
Roberto Viola
3205869ab0 first implementation of soleelliptical #278 2021-04-21 11:48:38 +02:00
Roberto Viola
417ae3c9d8 qml setting avaiable also for linux and windows #277 2021-04-21 08:34:50 +02:00
Roberto Viola
12956df6b5 added url to workout email #279 2021-04-21 08:27:52 +02:00
Roberto Viola
373e7aa505 npecablebike cadence fixed 2021-04-21 07:22:29 +02:00
Roberto Viola
eef3239a37 Merge branch 'master' into TemplatingAndWS2 2021-04-20 16:48:45 +02:00
Roberto Viola
21c26e095e added the QZ version on the bottom of the email 2021-04-20 16:39:31 +02:00
Roberto Viola
e337242d0a peloton class name showed even if it's not a peloton ride class 2021-04-20 16:28:11 +02:00
Roberto Viola
56cf4b4b9b virtual echelon bike fixed 2021-04-20 09:16:10 +02:00
Roberto Viola
69b270aef6 zwift resistance gain and offset for proformbike #277 2021-04-20 08:02:38 +02:00
Roberto Viola
40c9bfb3ac fixed crash pressing start 2021-04-19 15:59:53 +02:00
Roberto Viola
0924595b69 writing settings only if needed 2021-04-19 15:12:13 +02:00
Roberto Viola
93debf2557 reverting yesoulbike on linux 2021-04-19 13:35:06 +02:00
Roberto Viola
51c43c2a24 trying fixing #274 (yesoulbike on linux) 2021-04-19 12:16:55 +02:00
Roberto Viola
b33ee84d99 removed write external storage permission on android 2021-04-19 09:25:16 +02:00
Roberto Viola
9fbd14130c trainprogram cleared when stopped 2021-04-19 07:28:50 +02:00
Roberto Viola
0d8e5fb414 jouls in the mail now are kjouls 2021-04-19 07:08:10 +02:00
Roberto Viola
6e7f42c26d fixed build issue 2021-04-18 14:53:19 +02:00
Roberto Viola
6e4c835b51 fixed android permission on writing file and minor fixes on mail 2021-04-18 14:38:18 +02:00
Roberto Viola
acf4b3678b added a new case on virtual echelon 2021-04-17 19:03:33 +02:00
Roberto Viola
7f11cced2c avoid crashes on npecablebike 2021-04-17 09:14:55 +02:00
Roberto Viola
756d78546c ibiking+ bike supported 2021-04-17 08:18:30 +02:00
Roberto Viola
dd304f684a Merge branch 'master' of https://github.com/cagnulein/qdomyos-zwift 2021-04-16 11:45:51 +02:00
Roberto Viola
4c0af00c97 fixed zwift offset and gain on domyosbike #272 2021-04-16 11:45:16 +02:00
Roberto Viola
799795323c add peloton resistance for the bike without resistance 2021-04-15 20:47:21 +02:00
Roberto Viola
446a23519e version 2.6.5 2021-04-15 13:52:07 +02:00
Roberto Viola
5be4bb8206 heart rate fixed on JLL_IC400 2021-04-15 07:45:24 +02:00
Roberto Viola
8f318ef4f7 fixed chronobike resistance and mail error 2021-04-14 20:23:19 +02:00
Roberto Viola
f3b6bfee4c heart rate fixed for JLL_IC400 bike 2021-04-14 19:47:19 +02:00
Roberto Viola
b79d6ee1ec JLL_IC400 wattage from HR and kcal added 2021-04-14 15:44:48 +02:00
Roberto Viola
7d0589723f watts not setted to 0 when speed goes to 0 leaving a ghost value on
zwift
2021-04-14 08:01:55 +02:00
Roberto Viola
0bfc857b7f cadence peak filtered for domyosbike #268 2021-04-13 16:08:28 +02:00
Roberto Viola
78b2219f48 domyosbike init phase for changyow fixed (i hope) 2021-04-13 15:30:29 +02:00
Roberto Viola
4e8cc48c66 heart rate value for JLL_IC400 bike 2021-04-13 12:03:06 +02:00
Roberto Viola
bac6043ff1 chronobike added 2021-04-13 09:50:02 +02:00
Roberto Viola
3032e3069e stagesbike added 2021-04-13 08:59:56 +02:00
Roberto Viola
3c803d87d1 avoid to retry to login to peloton if the credentials are wrong 2021-04-13 08:26:03 +02:00
Roberto Viola
aa631ff2a6 fixed random program for bikes 2021-04-13 08:05:28 +02:00
Roberto Viola
124ec4ca4c peloton workout doesn't start if there isn't the top bar enabled 2021-04-13 07:23:54 +02:00
Roberto Viola
7f419c85ce JLL IC400 fixed 2021-04-12 17:45:11 +02:00
Roberto Viola
ecaf0a044d smtp server changed 2021-04-12 17:30:47 +02:00
Roberto Viola
0b3f05d5c3 added timeout to cscbike and npecablebike 2021-04-12 11:57:17 +02:00
Roberto Viola
8dedb81e7a other fix on JLL_IC400_bike 2021-04-12 10:56:28 +02:00
Roberto Viola
33669f3722 sending mail only if a stopped session and events synchronized 2021-04-12 09:19:48 +02:00
Roberto Viola
5952b953cf fixed cadence on JLL IC400 bike #243 2021-04-12 07:37:41 +02:00
Roberto Viola
44616bfbac distance on fit file must starts with 0 #257 2021-04-12 07:32:41 +02:00
Roberto Viola
8267c62e1b fixinig build issue with smtpclient 2021-04-12 07:07:32 +02:00
Roberto Viola
f4bf40e8a7 first email experiments 2021-04-11 19:09:04 +02:00
Roberto Viola
0f030e3b2e chart images added 2021-04-11 17:58:05 +02:00
Roberto Viola
e96aa4036f weight lbs conversion added in the settings 2021-04-11 17:03:26 +02:00
Roberto Viola
8d66f13600 ios version 2.6.0 2021-04-11 16:46:41 +02:00
Roberto Viola
8f07094067 npecablebike managed #258 2021-04-11 14:46:52 +02:00
Roberto Viola
57645bbf05 add heart rate for virtualbike echelon 2021-04-11 14:14:13 +02:00
Roberto Viola
60e096d14c Merge branch 'cadence_sensor' 2021-04-11 11:41:14 +02:00
Roberto Viola
54f9e59e61 timeout for speed for cscbike 2021-04-11 11:40:48 +02:00
Roberto Viola
43daabd397 added wheel ratio for cscbike 2021-04-11 11:39:12 +02:00
Roberto Viola
40092e9727 added some debug to ERG mode for echelonconnectsport 2021-04-10 15:03:38 +02:00
Roberto Viola
48b67cdb96 watt gain and offset weren't applied to virtualbike 2021-04-10 15:03:14 +02:00
Matteo Federico Zazzetta
028ce80766 Some JSON commands added:
- setresistance (bikes and treadmills (inclination))
- setpower (bikes only)
- setcadence (bikes only)
- setdifficult (bikes and treadmills)
- setfanspeed (bikes and treadmills)
- setspeed (treadmills)
2021-04-10 12:21:19 +02:00
Roberto Viola
4be34fd1f6 added a up and down filter for Zwift ERG Mode 2021-04-09 11:57:53 +02:00
Roberto Viola
16229bcb46 elliptical speed settings can now add decimal separator on the keyboard 2021-04-09 11:43:28 +02:00
Roberto Viola
51106cb293 heart rate always read on cscbike 2021-04-08 17:09:56 +02:00
Roberto Viola
ed0b1be6c4 csc fixes 2021-04-08 16:34:09 +02:00
Roberto Viola
8a7f3193aa first commit of cscbike 2021-04-08 16:07:07 +02:00
Roberto Viola
054fe59ddb added icon for peloton credentials if they are ok or not 2021-04-07 15:24:36 +02:00
Roberto Viola
e94bdde451 connection timeout on inspirebike 2021-04-07 14:17:01 +02:00
Roberto Viola
78dfb415bb clearing the heartRate lastname if it set to disabled 2021-04-07 12:12:28 +02:00
Roberto Viola
1c81291d5d added the ability to save settings to the debug file #240 2021-04-07 11:22:13 +02:00
Roberto Viola
c56b9ea3d3 fixed screen rotation issue #105 2021-04-07 11:08:24 +02:00
Roberto Viola
617ee0a32c fixed crash when user changes the settings while connected to the bike 2021-04-07 09:50:49 +02:00
Roberto Viola
9b1f5dfd6d fixed inclination on random training program 2021-04-07 07:42:50 +02:00
Roberto Viola
97b446ec7f distance on echelon on virtualbike 2021-04-06 08:20:24 +02:00
Roberto Viola
4b230e856c Update issue templates 2021-04-06 08:09:27 +02:00
Matteo Federico Zazzetta
42b798eb05 Prepare for PR - part 2 2021-04-05 21:27:07 +02:00
Matteo Federico Zazzetta
2e8ca637a9 Prepare for PR 2021-04-05 21:24:47 +02:00
Matteo Federico Zazzetta
c16bfffb36 Useless line removed 2021-04-05 18:07:47 +02:00
Matteo Federico Zazzetta
667b847f24 Merge with qz master 2021-04-05 17:56:43 +02:00
Matteo Federico Zazzetta
6aa479de65 Adding vlc extension needed for showing vlc subtitles 2021-04-05 17:29:07 +02:00
p3g4asus
79afb5c22e Fixes for input commands 2021-04-05 17:26:05 +02:00
p3g4asus
b634efd179 Fixes compilation warnings on iOS 2021-04-05 14:38:42 +02:00
Matteo Federico Zazzetta
da3ad44097 Adding debug webserver template 2021-04-05 14:17:03 +02:00
Matteo Federico Zazzetta
b02074e7d7 Adding debug template 2021-04-05 14:15:07 +02:00
p3g4asus
e30266863a Many Fixes!!! It seems to work fine now 2021-04-05 13:44:07 +02:00
Roberto Viola
97e6f8449d fixed a bug that occurs when you have a peloton class running and you
start QZ after
2021-04-05 11:52:04 +02:00
Roberto Viola
5b4ff32501 fixed missing training program line on peloton #233 2021-04-05 11:28:31 +02:00
Roberto Viola
7441c50dfa added setting for peloton difficulty #242 2021-04-05 10:48:03 +02:00
Matteo Federico Zazzetta
3983af0ead Fixed Settings Gui problems 2021-04-05 10:32:52 +02:00
Roberto Viola
03a0690e39 requested peloton resistance in the trainprogram #233 2021-04-05 10:31:26 +02:00
Roberto Viola
4fd51423c0 add primary service for virtual echelon on virtualbike #198 2021-04-05 10:12:45 +02:00
Matteo Federico Zazzetta
a8bb3a7cb5 First tests 2021-04-04 21:12:29 +02:00
Roberto Viola
277febac16 iOS build fixed 2021-04-04 19:59:51 +02:00
Roberto Viola
f0956f47b4 added an erg filter for zwift #230 2021-04-04 19:35:03 +02:00
Roberto Viola
5df686c1a5 fixed advertisment packet on echelon sport virtualbike 2021-04-04 19:18:17 +02:00
Roberto Viola
7f13505f54 apple watch on domyosbike #249 2021-04-04 19:07:05 +02:00
Roberto Viola
a897514fbb small fix on chart with peloton instructor 2021-04-03 15:46:37 +02:00
Roberto Viola
4b36a51861 version 2.5.20 2021-04-03 15:21:21 +02:00
Roberto Viola
07a7966879 reduced charts width to 1 2021-04-03 15:18:36 +02:00
Roberto Viola
14190a771e added target peloton resistance to echelonconnectsport #233 2021-04-03 15:13:27 +02:00
Roberto Viola
d9d92ff955 JLL IC400 bike managed #243 2021-04-03 14:57:50 +02:00
Roberto Viola
eb3d5983be pause handled on trainprogram #235 2021-04-03 14:21:40 +02:00
Roberto Viola
87a4c9511c peloton instructorName #237 2021-04-03 14:15:52 +02:00
Roberto Viola
a393e8767a limit peloton workout to 1 #236 2021-04-03 13:32:41 +02:00
Roberto Viola
2417b85f64 fixing domyosbike splitted packages #234 2021-04-03 13:30:02 +02:00
Roberto Viola
a18e2b771b fix fonts on chart on ios 2021-04-02 15:50:52 +02:00
Roberto Viola
ba268cf97c ios build fixed 2021-04-02 15:29:39 +02:00
Roberto Viola
e0a695be01 settings fixed and moved the tiles groups on the root of the settings 2021-04-02 14:51:39 +02:00
Roberto Viola
b1ceae9136 erg mode fixed 2021-04-02 14:22:24 +02:00
Roberto Viola
ff8a3dc340 JLL_IC400_bike managed 2021-04-02 14:06:44 +02:00
Roberto Viola
686c3eb6f0 autoresistance button added 2021-04-02 13:57:05 +02:00
Roberto Viola
d3cebaa79e S77 treadmill compatibility added 2021-04-02 13:22:12 +02:00
Roberto Viola
a6585e8b58 zwift erg mode for domyosbike 2021-04-02 09:46:18 +02:00
Roberto Viola
ff5143894c fix on watt function on echelonconnectsport 2021-04-02 09:08:02 +02:00
Roberto Viola
b717818616 zwift erg mode managed for echelonconnectsport 2021-04-02 09:01:47 +02:00
Roberto Viola
3a099f89f4 added target power tile and target cadence tile; managed cadence from
peloton
2021-04-02 08:35:38 +02:00
Roberto Viola
aafec8f292 screenshot has been called by QML now in order to be synced with the
chart UI
2021-04-02 08:04:56 +02:00
Roberto Viola
ba611c908e min heart rate on chart set to 60 2021-04-02 07:54:49 +02:00
Roberto Viola
05b34fd935 dateaxis on charts 2021-04-02 07:52:38 +02:00
Roberto Viola
961c070011 toolbar must be always available when entering in the chart form 2021-04-02 07:29:54 +02:00
Roberto Viola
0d4f038a26 iOS fixing Charts build issues 2021-04-02 07:18:42 +02:00
529 changed files with 53355 additions and 12738 deletions

View File

@@ -32,5 +32,10 @@ If applicable, add screenshots to help explain your problem.
- OS: [e.g. iOS8.1]
- Version [e.g. 22]
**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.

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[REQ]"
labels: enhancement
assignees: cagnulein
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -2,13 +2,19 @@
name: CI
env:
DISPLAY: ':99'
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ master, github-workflow-playground ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 */12 * * *"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -33,28 +39,39 @@ jobs:
# path: '${{ github.workspace }}/output/android/'
# key: ${{ runner.os }}-QtCache-Android
- name: Xvfb install and run
run: |
sudo apt-get install -y xvfb
Xvfb -ac ${{ env.DISPLAY }} -screen 0 1280x780x24 &
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a set of commands using the runners shell
- name: Install Qt Linux Desktop
uses: jurplel/install-qt-action@v2
- name: Checkout submodule repo
uses: actions/checkout@v2
with:
version: '5.12.9'
host: 'linux'
target: 'desktop'
modules: 'qtcharts debug_info qtnetworkauth'
dir: '${{ github.workspace }}/output/linux-desktop/'
# cached: ${{ steps.cache-qt-linux-desktop.outputs.cache-hit }}
repository: bluetiger9/SmtpClient-for-Qt
path: "src/smtpclient/"
- name: Install packages required to run QZ inside workflow
run: sudo apt update -y && sudo apt-get install -y qt5-default libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-default libqt5networkauth5-dev libqt5websockets5* libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev
- name: Compile Linux Desktop
run: cd src; qmake; make -j4
run: cd src; qmake; make -j8
- name: Archive linux-desktop binary
uses: actions/upload-artifact@v2
with:
name: linux-desktop-binary
path: src/qdomyos-zwift
path: src/qdomyos-zwift
# - name: Test Peloton API
# if: github.event_name == 'push' || github.event_name == 'schedule'
# run: cd /home/runner/work/qdomyos-zwift/qdomyos-zwift/src/; ./qdomyos-zwift -test-peloton -peloton-username ${{ secrets.peloton_username }} -peloton-password ${{ secrets.peloton_password }}
# timeout-minutes: 2
# - name: Test Home Fitness Buddy API
# run: cd /home/runner/work/qdomyos-zwift/qdomyos-zwift/src/; ./qdomyos-zwift -test-hfb
# timeout-minutes: 2
# - uses: actions/checkout@v2
# with:

16
.gitignore vendored
View File

@@ -13,7 +13,23 @@ src/qdomyos-zwift
src/ui_charts.h
src/ui_mainwindow.h
src/build/*
src/build/*
src/debug-*
*.swo
*.swp
template-examples/youtube-viewer/node_modules/*
template-examples/youtube-viewer/*.json
template-examples/youtube-viewer/.eslintrc.js
template-examples/youtube-viewer/.jshintrc
template-examples/youtube-viewer/debug.js
template-examples/train-program-saver/node_modules/*
template-examples/train-program-saver/*.json
template-examples/train-program-saver/.eslintrc.js
template-examples/train-program-saver/.jshintrc
template-examples/train-program-saver/debug.js

3
.gitmodules vendored
View File

@@ -1,3 +1,6 @@
[submodule "android_openssl"]
path = android_openssl
url = https://github.com/KDAB/android_openssl.git
[submodule "src/smtpclient"]
path = src/smtpclient
url = https://github.com/bluetiger9/SmtpClient-for-Qt.git

View File

@@ -1,6 +1,8 @@
# qdomyos-zwift
Zwift bridge for Treadmills and Bike!
## QZ is not affiliated with or endorsed by any subscription service or maker of exercise equipment.
[<img src="docs/img/google_play.png">](https://play.google.com/store/apps/details?id=org.cagnulen.qdomyoszwift&fbclid=IwAR3CVoYb0scvGf7gb0Y20VFh5Na5fDWwe7VACk-2c45Tm0x5s8sXpIGhGyw)
[<img src="docs/img/app_store.png">](https://apps.apple.com/app/id1543684531?fbclid=IwAR10H6y3mEgwkTlGJON3e8voYOh2wt3kLFOpFzoIXaYZ_N0y0pDvKxHMUaM)
<a href="https://www.buymeacoffee.com/cagnulein" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

View File

@@ -0,0 +1,84 @@
<?xml version="1.0"?>
<manifest package="org.cagnulen.qdomyoszwift" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.6.18" android:versionCode="128" android:installLocation="auto">
<uses-feature android:name="android.hardware.bluetooth" android:required="true" />
<uses-feature android:name="android.hardware.location" android:required="false" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<uses-feature android:name="android.hardware.location" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
<application android:hardwareAccelerated="true" android:debuggable="false" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="qdomyos-zwift" android:extractNativeLibs="true" android:icon="@drawable/icon">
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="qdomyos-zwift" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<!-- Application arguments -->
<!-- meta-data android:name="android.app.arguments" android:value="arg1 arg2 arg3"/ -->
<!-- Application arguments -->
<meta-data android:name="android.app.lib_name" android:value="qdomyos-zwift"/>
<meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
<meta-data android:name="android.app.repository" android:value="default"/>
<meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
<meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
<!-- Deploy Qt libs as part of package -->
<meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
<!-- Run with local libs -->
<meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
<meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
<meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/>
<meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
<meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
<!-- Used to specify custom system library path to run with local system libs -->
<!-- <meta-data android:name="android.app.system_libs_prefix" android:value="/system/lib/"/> -->
<!-- Messages maps -->
<meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/>
<meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/>
<meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
<meta-data android:value="@string/unsupported_android_version" android:name="android.app.unsupported_android_version"/>
<!-- Messages maps -->
<!-- Splash screen -->
<!-- Orientation-specific (portrait/landscape) data is checked first. If not available for current orientation,
then android.app.splash_screen_drawable. For best results, use together with splash_screen_sticky and
use hideSplashScreen() with a fade-out animation from Qt Android Extras to hide the splash screen when you
are done populating your window with content. -->
<!-- meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait" / -->
<!-- meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape" / -->
<!-- meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/ -->
<!-- meta-data android:name="android.app.splash_screen_sticky" android:value="true"/ -->
<!-- Splash screen -->
<!-- Background running -->
<!-- Warning: changing this value to true may cause unexpected crashes if the
application still try to draw after
"applicationStateChanged(Qt::ApplicationSuspended)"
signal is sent! -->
<meta-data android:name="android.app.background_running" android:value="true"/>
<!-- Background running -->
<!-- auto screen scale factor -->
<meta-data android:name="android.app.auto_screen_scale_factor" android:value="full"/>
<!-- auto screen scale factor -->
<!-- extract android style -->
<!-- available android:values :
* default - In most cases this will be the same as "full", but it can also be something else if needed, e.g., for compatibility reasons
* full - useful QWidget & Quick Controls 1 apps
* minimal - useful for Quick Controls 2 apps, it is much faster than "full"
* none - useful for apps that don't use any of the above Qt modules
-->
<meta-data android:name="android.app.extract_android_style" android:value="default"/>
<!-- extract android style -->
<meta-data android:name="com.amazon.input.cursor" android:value="pointer"/>
</activity>
<service android:name=".ChannelService"></service>
<activity android:name="org.cagnulen.qdomyoszwift.MyActivity" />
<!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices -->
</application>
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
</manifest>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<device id="ipad12_9rounded" orientation="landscape" layout="splitview2_3" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/>
@@ -13,32 +13,32 @@
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<rect key="frame" x="0.0" y="0.0" width="981" height="1024"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="obG-Y5-kRd">
<rect key="frame" x="0.0" y="876" width="414" height="0.0"/>
<rect key="frame" x="0.0" y="1004" width="981" height="0.0"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="launcher" translatesAutoresizingMaskIntoConstraints="NO" id="VVq-0c-S8O">
<rect key="frame" x="20" y="348" width="374" height="201"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<rect key="frame" x="20" y="114" width="941" height="776"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</imageView>
</subviews>
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
<color key="backgroundColor" red="0.10980264100000001" green="0.11007446799999999" blue="0.1176523939" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="obG-Y5-kRd" secondAttribute="centerX" id="5cz-MP-9tL"/>
<constraint firstItem="obG-Y5-kRd" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" constant="20" symbolic="YES" id="SfN-ll-jLj"/>
<constraint firstItem="obG-Y5-kRd" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="SfN-ll-jLj"/>
<constraint firstAttribute="bottom" secondItem="obG-Y5-kRd" secondAttribute="bottom" constant="20" id="Y44-ml-fuU"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="52.173913043478265" y="375"/>
<point key="canvasLocation" x="50.625" y="373.75"/>
</scene>
</scenes>
<resources>

View File

@@ -59,10 +59,19 @@ extension MainController {
}
extension MainController: WorkoutTrackingDelegate {
func didReceiveHealthKitDistanceCycling(_ distanceCycling: Double) {
}
func didReceiveHealthKitActiveEnergyBurned(_ activeEnergyBurned: Double) {
}
func didReceiveHealthKitHeartRate(_ heartRate: Double) {
heartRateLabel.setText("\(heartRate) BPM")
WatchKitConnection.shared.sendMessage(message: ["heartRate":
"\(heartRate)" as AnyObject])
WorkoutTracking.distance = WatchKitConnection.distance
WorkoutTracking.kcal = WatchKitConnection.kcal
}
func didReceiveHealthKitStepCounts(_ stepCounts: Double) {

View File

@@ -21,6 +21,8 @@ protocol WatchKitConnectionProtocol {
class WatchKitConnection: NSObject {
static let shared = WatchKitConnection()
public static var distance = 0.0
public static var kcal = 0.0
weak var delegate: WatchKitConnectionDelegate?
private override init() {
@@ -59,6 +61,10 @@ extension WatchKitConnection: WatchKitConnectionProtocol {
{
validReachableSession?.sendMessage(message, replyHandler: { (result) in
print(result)
let dDistance = Double(result["distance"] as! Double)
WatchKitConnection.distance = dDistance
let dKcal = Double(result["kcal"] as! Double)
WatchKitConnection.kcal = dKcal
}, errorHandler: { (error) in
print(error)
})

View File

@@ -1,199 +1,256 @@
//
// WatchWorkoutTracking.swift
// ElecDemo WatchKit Extension
//
// Created by NhatHM on 8/12/19.
// Copyright © 2019 GST.PID. All rights reserved.
//
import Foundation
import HealthKit
protocol WorkoutTrackingDelegate: class {
func didReceiveHealthKitHeartRate(_ heartRate: Double)
func didReceiveHealthKitStepCounts(_ stepCounts: Double)
}
protocol WorkoutTrackingProtocol {
static func authorizeHealthKit()
func startWorkOut()
func stopWorkOut()
func fetchStepCounts()
}
class WorkoutTracking: NSObject {
static let shared = WorkoutTracking()
let healthStore = HKHealthStore()
let configuration = HKWorkoutConfiguration()
var workoutSession: HKWorkoutSession!
var workoutBuilder: HKLiveWorkoutBuilder!
weak var delegate: WorkoutTrackingDelegate?
override init() {
super.init()
}
}
extension WorkoutTracking {
private func handleSendStatisticsData(_ statistics: HKStatistics) {
switch statistics.quantityType {
case HKQuantityType.quantityType(forIdentifier: .heartRate):
let heartRateUnit = HKUnit.count().unitDivided(by: HKUnit.minute())
let value = statistics.mostRecentQuantity()?.doubleValue(for: heartRateUnit)
let roundedValue = Double( round( 1 * value! ) / 1 )
delegate?.didReceiveHealthKitHeartRate(roundedValue)
case HKQuantityType.quantityType(forIdentifier: .stepCount):
guard let stepCounts = HKQuantityType.quantityType(forIdentifier: .stepCount) else {
return
}
let startOfDay = Calendar.current.startOfDay(for: Date())
let predicate = HKQuery.predicateForSamples(withStart: startOfDay, end: Date(), options: .strictStartDate)
let query = HKStatisticsQuery(quantityType: stepCounts, quantitySamplePredicate: predicate, options: .cumulativeSum) { [weak self] (_, result, error) in
guard let weakSelf = self else {
return
}
var resultCount = 0.0
guard let result = result else {
print("Failed to fetch steps rate")
return
}
if let sum = result.sumQuantity() {
resultCount = sum.doubleValue(for: HKUnit.count())
weakSelf.delegate?.didReceiveHealthKitStepCounts(resultCount)
} else {
print("Failed to fetch steps rate 2")
}
}
healthStore.execute(query)
return
default:
return
}
}
private func configWorkout() {
configuration.activityType = .cycling
configuration.locationType = .indoor
do {
workoutSession = try HKWorkoutSession(healthStore: healthStore, configuration: configuration)
workoutBuilder = workoutSession?.associatedWorkoutBuilder()
} catch {
return
}
workoutSession.delegate = self
workoutBuilder.delegate = self
workoutBuilder.dataSource = HKLiveWorkoutDataSource(healthStore: healthStore, workoutConfiguration: configuration)
}
}
extension WorkoutTracking: WorkoutTrackingProtocol {
static func authorizeHealthKit() {
if HKHealthStore.isHealthDataAvailable() {
let infoToRead = Set([
HKSampleType.quantityType(forIdentifier: .stepCount)!,
HKSampleType.quantityType(forIdentifier: .heartRate)!,
HKSampleType.workoutType()
])
let infoToShare = Set([
HKSampleType.quantityType(forIdentifier: .stepCount)!,
HKSampleType.quantityType(forIdentifier: .heartRate)!,
HKSampleType.workoutType()
])
HKHealthStore().requestAuthorization(toShare: infoToShare, read: infoToRead) { (success, error) in
if success {
print("Authorization healthkit success")
} else if let error = error {
print(error)
}
}
} else {
print("HealthKit not avaiable")
}
}
func startWorkOut() {
print("Start workout")
configWorkout()
workoutSession.startActivity(with: Date())
workoutBuilder.beginCollection(withStart: Date()) { (success, error) in
print(success)
if let error = error {
print(error)
}
}
}
func stopWorkOut() {
print("Stop workout")
workoutSession.stopActivity(with: Date())
workoutSession.end()
workoutBuilder.endCollection(withEnd: Date()) { (success, error) in
}
}
func fetchStepCounts() {
guard let stepCounts = HKQuantityType.quantityType(forIdentifier: .stepCount) else {
return
}
let startOfDay = Calendar.current.startOfDay(for: Date())
let predicate = HKQuery.predicateForSamples(withStart: startOfDay, end: Date(), options: .strictStartDate)
let query = HKStatisticsQuery(quantityType: stepCounts, quantitySamplePredicate: predicate, options: .cumulativeSum) { [weak self] (_, result, error) in
guard let weakSelf = self else {
return
}
var resultCount = 0.0
guard let result = result else {
print("Failed to fetch steps rate")
return
}
if let sum = result.sumQuantity() {
resultCount = sum.doubleValue(for: HKUnit.count())
weakSelf.delegate?.didReceiveHealthKitStepCounts(resultCount)
} else {
print("Failed to fetch steps rate 2")
}
}
healthStore.execute(query)
}
}
extension WorkoutTracking: HKLiveWorkoutBuilderDelegate {
func workoutBuilder(_ workoutBuilder: HKLiveWorkoutBuilder, didCollectDataOf collectedTypes: Set<HKSampleType>) {
print("GET DATA: \(Date())")
for type in collectedTypes {
guard let quantityType = type as? HKQuantityType else {
return
}
if let statistics = workoutBuilder.statistics(for: quantityType) {
handleSendStatisticsData(statistics)
}
}
}
func workoutBuilderDidCollectEvent(_ workoutBuilder: HKLiveWorkoutBuilder) {
}
}
extension WorkoutTracking: HKWorkoutSessionDelegate {
func workoutSession(_ workoutSession: HKWorkoutSession, didChangeTo toState: HKWorkoutSessionState, from fromState: HKWorkoutSessionState, date: Date) {
}
func workoutSession(_ workoutSession: HKWorkoutSession, didFailWithError error: Error) {
}
}
//
// WatchWorkoutTracking.swift
// ElecDemo WatchKit Extension
//
// Created by NhatHM on 8/12/19.
// Copyright © 2019 GST.PID. All rights reserved.
//
import Foundation
import HealthKit
protocol WorkoutTrackingDelegate: class {
func didReceiveHealthKitHeartRate(_ heartRate: Double)
func didReceiveHealthKitStepCounts(_ stepCounts: Double)
func didReceiveHealthKitDistanceCycling(_ distanceCycling: Double)
func didReceiveHealthKitActiveEnergyBurned(_ activeEnergyBurned: Double)
}
protocol WorkoutTrackingProtocol {
static func authorizeHealthKit()
func startWorkOut()
func stopWorkOut()
func fetchStepCounts()
}
class WorkoutTracking: NSObject {
static let shared = WorkoutTracking()
public static var distance = Double()
public static var kcal = Double()
let healthStore = HKHealthStore()
let configuration = HKWorkoutConfiguration()
var workoutSession: HKWorkoutSession!
var workoutBuilder: HKLiveWorkoutBuilder!
weak var delegate: WorkoutTrackingDelegate?
override init() {
super.init()
}
}
extension WorkoutTracking {
private func handleSendStatisticsData(_ statistics: HKStatistics) {
switch statistics.quantityType {
case HKQuantityType.quantityType(forIdentifier: .distanceCycling):
let distanceUnit = HKUnit.mile()
let value = statistics.mostRecentQuantity()?.doubleValue(for: distanceUnit)
let roundedValue = Double( round( 1 * value! ) / 1 )
delegate?.didReceiveHealthKitDistanceCycling(roundedValue)
case HKQuantityType.quantityType(forIdentifier: .activeEnergyBurned):
let energyUnit = HKUnit.kilocalorie()
let value = statistics.mostRecentQuantity()?.doubleValue(for: energyUnit)
let roundedValue = Double( round( 1 * value! ) / 1 )
delegate?.didReceiveHealthKitActiveEnergyBurned(roundedValue)
case HKQuantityType.quantityType(forIdentifier: .heartRate):
let heartRateUnit = HKUnit.count().unitDivided(by: HKUnit.minute())
let value = statistics.mostRecentQuantity()?.doubleValue(for: heartRateUnit)
let roundedValue = Double( round( 1 * value! ) / 1 )
delegate?.didReceiveHealthKitHeartRate(roundedValue)
case HKQuantityType.quantityType(forIdentifier: .stepCount):
guard let stepCounts = HKQuantityType.quantityType(forIdentifier: .stepCount) else {
return
}
let startOfDay = Calendar.current.startOfDay(for: Date())
let predicate = HKQuery.predicateForSamples(withStart: startOfDay, end: Date(), options: .strictStartDate)
let query = HKStatisticsQuery(quantityType: stepCounts, quantitySamplePredicate: predicate, options: .cumulativeSum) { [weak self] (_, result, error) in
guard let weakSelf = self else {
return
}
var resultCount = 0.0
guard let result = result else {
print("Failed to fetch steps rate")
return
}
if let sum = result.sumQuantity() {
resultCount = sum.doubleValue(for: HKUnit.count())
weakSelf.delegate?.didReceiveHealthKitStepCounts(resultCount)
} else {
print("Failed to fetch steps rate 2")
}
}
healthStore.execute(query)
return
default:
return
}
}
private func configWorkout() {
configuration.activityType = .cycling
configuration.locationType = .indoor
do {
workoutSession = try HKWorkoutSession(healthStore: healthStore, configuration: configuration)
workoutBuilder = workoutSession?.associatedWorkoutBuilder()
} catch {
return
}
workoutSession.delegate = self
workoutBuilder.delegate = self
workoutBuilder.dataSource = HKLiveWorkoutDataSource(healthStore: healthStore, workoutConfiguration: configuration)
}
}
extension WorkoutTracking: WorkoutTrackingProtocol {
static func authorizeHealthKit() {
if HKHealthStore.isHealthDataAvailable() {
let infoToRead = Set([
HKSampleType.quantityType(forIdentifier: .stepCount)!,
HKSampleType.quantityType(forIdentifier: .heartRate)!,
/*HKSampleType.quantityType(forIdentifier: .distanceCycling)!,
HKSampleType.quantityType(forIdentifier: .activeEnergyBurned)!,*/
HKSampleType.workoutType()
])
let infoToShare = Set([
HKSampleType.quantityType(forIdentifier: .stepCount)!,
HKSampleType.quantityType(forIdentifier: .heartRate)!,
HKSampleType.quantityType(forIdentifier: .distanceCycling)!,
HKSampleType.quantityType(forIdentifier: .activeEnergyBurned)!,
HKSampleType.workoutType()
])
HKHealthStore().requestAuthorization(toShare: infoToShare, read: infoToRead) { (success, error) in
if success {
print("Authorization healthkit success")
} else if let error = error {
print(error)
}
}
} else {
print("HealthKit not avaiable")
}
}
func startWorkOut() {
print("Start workout")
configWorkout()
workoutSession.startActivity(with: Date())
workoutBuilder.beginCollection(withStart: Date()) { (success, error) in
print(success)
if let error = error {
print(error)
}
}
}
func stopWorkOut() {
print("Stop workout")
workoutSession.stopActivity(with: Date())
workoutSession.end()
guard let quantityType = HKQuantityType.quantityType(
forIdentifier: .activeEnergyBurned) else {
return
}
let unit = HKUnit.kilocalorie()
let totalEnergyBurned = WorkoutTracking.kcal
let quantity = HKQuantity(unit: unit,
doubleValue: totalEnergyBurned)
let sample = HKCumulativeQuantitySeriesSample(type: quantityType,
quantity: quantity,
start: workoutSession.startDate!,
end: Date())
workoutBuilder.add([sample]) {(success, error) in}
guard let quantityTypeDistance = HKQuantityType.quantityType(
forIdentifier: .distanceCycling) else {
return
}
let unitDistance = HKUnit.mile()
let miles = WorkoutTracking.distance
let quantityMiles = HKQuantity(unit: unitDistance,
doubleValue: miles)
let sampleDistance = HKCumulativeQuantitySeriesSample(type: quantityTypeDistance,
quantity: quantityMiles,
start: workoutSession.startDate!,
end: Date())
workoutBuilder.add([sample]) {(success, error) in}
workoutBuilder.add([sampleDistance]) {(success, error) in}
workoutBuilder.endCollection(withEnd: Date()) { (success, error) in
}
workoutBuilder.finishWorkout{ (success, error) in }
}
func fetchStepCounts() {
guard let stepCounts = HKQuantityType.quantityType(forIdentifier: .stepCount) else {
return
}
let startOfDay = Calendar.current.startOfDay(for: Date())
let predicate = HKQuery.predicateForSamples(withStart: startOfDay, end: Date(), options: .strictStartDate)
let query = HKStatisticsQuery(quantityType: stepCounts, quantitySamplePredicate: predicate, options: .cumulativeSum) { [weak self] (_, result, error) in
guard let weakSelf = self else {
return
}
var resultCount = 0.0
guard let result = result else {
print("Failed to fetch steps rate")
return
}
if let sum = result.sumQuantity() {
resultCount = sum.doubleValue(for: HKUnit.count())
weakSelf.delegate?.didReceiveHealthKitStepCounts(resultCount)
} else {
print("Failed to fetch steps rate 2")
}
}
healthStore.execute(query)
}
}
extension WorkoutTracking: HKLiveWorkoutBuilderDelegate {
func workoutBuilder(_ workoutBuilder: HKLiveWorkoutBuilder, didCollectDataOf collectedTypes: Set<HKSampleType>) {
print("GET DATA: \(Date())")
for type in collectedTypes {
guard let quantityType = type as? HKQuantityType else {
return
}
if let statistics = workoutBuilder.statistics(for: quantityType) {
handleSendStatisticsData(statistics)
}
}
}
func workoutBuilderDidCollectEvent(_ workoutBuilder: HKLiveWorkoutBuilder) {
}
}
extension WorkoutTracking: HKWorkoutSessionDelegate {
func workoutSession(_ workoutSession: HKWorkoutSession, didChangeTo toState: HKWorkoutSessionState, from fromState: HKWorkoutSessionState, date: Date) {
}
func workoutSession(_ workoutSession: HKWorkoutSession, didFailWithError error: Error) {
}
}

View File

@@ -26,6 +26,13 @@
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "watch",
"role" : "notificationCenter",
"scale" : "2x",
"size" : "33x33",
"subtype" : "45mm"
},
{
"idiom" : "watch",
"role" : "appLauncher",
@@ -40,6 +47,13 @@
"size" : "44x44",
"subtype" : "40mm"
},
{
"idiom" : "watch",
"role" : "appLauncher",
"scale" : "2x",
"size" : "46x46",
"subtype" : "41mm"
},
{
"idiom" : "watch",
"role" : "appLauncher",
@@ -47,6 +61,13 @@
"size" : "50x50",
"subtype" : "44mm"
},
{
"idiom" : "watch",
"role" : "appLauncher",
"scale" : "2x",
"size" : "51x51",
"subtype" : "45mm"
},
{
"idiom" : "watch",
"role" : "quickLook",
@@ -68,6 +89,13 @@
"size" : "108x108",
"subtype" : "44mm"
},
{
"idiom" : "watch",
"role" : "quickLook",
"scale" : "2x",
"size" : "117x117",
"subtype" : "45mm"
},
{
"idiom" : "watch-marketing",
"scale" : "1x",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

View File

@@ -103,7 +103,7 @@
"size" : "83.5x83.5"
},
{
"filename" : "iTunesArtwork@2x.png",
"filename" : "ItunesArtwork-1.png",
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
@@ -138,6 +138,13 @@
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "watch",
"role" : "notificationCenter",
"scale" : "2x",
"size" : "33x33",
"subtype" : "45mm"
},
{
"filename" : "80x80-1.png",
"idiom" : "watch",
@@ -154,6 +161,13 @@
"size" : "44x44",
"subtype" : "40mm"
},
{
"idiom" : "watch",
"role" : "appLauncher",
"scale" : "2x",
"size" : "46x46",
"subtype" : "41mm"
},
{
"filename" : "50@2x-1.png",
"idiom" : "watch",
@@ -162,6 +176,13 @@
"size" : "50x50",
"subtype" : "44mm"
},
{
"idiom" : "watch",
"role" : "appLauncher",
"scale" : "2x",
"size" : "51x51",
"subtype" : "45mm"
},
{
"filename" : "86@2x-1.png",
"idiom" : "watch",
@@ -186,6 +207,13 @@
"size" : "108x108",
"subtype" : "44mm"
},
{
"idiom" : "watch",
"role" : "quickLook",
"scale" : "2x",
"size" : "117x117",
"subtype" : "45mm"
},
{
"filename" : "1024@1x.png",
"idiom" : "watch-marketing",

View File

@@ -8,9 +8,11 @@ Once you've installed QDomyos-Zwift, you can access the [operation guide](30_usa
```buildoutcfg
$ sudo apt update && sudo apt upgrade # this is very important on raspberry pi: you need the bluetooth firmware updated!
$ sudo apt install git libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-default libqt5networkauth5-dev
$ sudo sudo apt install git libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-assistant libqt5networkauth5-dev libqt5websockets5-dev
$ git clone https://github.com/cagnulein/qdomyos-zwift.git
$ cd qdomyos-zwift
$ git submodule update --init src/smtpclient/
$ git submodule update --init src/qmdnsengine/
$ cd src
$ qmake
$ make -j4
@@ -100,12 +102,14 @@ This operation takes a moment to complete.
#### Install qdomyos-zwift from sources
`sudo apt install git libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-default libqt5networkauth5-dev`
`sudo apt install git libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 qtconnectivity5-dev qtpositioning5-dev libqt5charts5-dev libqt5charts5 qt5-assistant libqt5networkauth5-dev libqt5websockets5-dev`
`git clone https://github.com/cagnulein/qdomyos-zwift.git`
`cd qdomyos-zwift`
`cd src`
`qmake`
`git submodule update --init src/smtpclient/`
`git submodule update --init src/qmdnsengine/`
`cd src`
`qmake`
`make`
Please note :

View File

@@ -0,0 +1,220 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright 2017 Bluetooth SIG, Inc. All rights reserved.-->
<Characteristic xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/characteristic.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="Rower Data" type="org.bluetooth.characteristic.rower_data"
uuid="2AD1" last-modified="2017-02-14" approved="No">
<InformativeText>
<Summary>The Rower Data characteristic is used to send
training-related data to the Client from a rower
(Server).</Summary>
</InformativeText>
<Value>
<Field name="Flags">
<Requirement>Mandatory</Requirement>
<Format>16bit</Format>
<BitField>
<Bit index="0" size="1" name="More Data">
<Enumerations>
<Enumeration key="0" value="False" requires="C1" />
<Enumeration key="1" value="True" />
</Enumerations>
</Bit>
<Bit index="1" size="1" name="Average Stroke present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C2" />
</Enumerations>
</Bit>
<Bit index="2" size="1" name="Total Distance Present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C3" />
</Enumerations>
</Bit>
<Bit index="3" size="1" name="Instantaneous Pace present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C4" />
</Enumerations>
</Bit>
<Bit index="4" size="1" name="Average Pace Present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C5" />
</Enumerations>
</Bit>
<Bit index="5" size="1" name="Instantaneous Power present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C6" />
</Enumerations>
</Bit>
<Bit index="6" size="1" name="Average Power present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C7" />
</Enumerations>
</Bit>
<Bit index="7" size="1" name="Resistance Level present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C8" />
</Enumerations>
</Bit>
<Bit index="8" size="1" name="Expended Energy present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C9" />
</Enumerations>
</Bit>
<Bit index="9" size="1" name="Heart Rate present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C10" />
</Enumerations>
</Bit>
<Bit index="10" size="1"
name="Metabolic Equivalent present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C11" />
</Enumerations>
</Bit>
<Bit index="11" size="1" name="Elapsed Time present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C12" />
</Enumerations>
</Bit>
<Bit index="12" size="1" name="Remaining Time present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C13" />
</Enumerations>
</Bit>
<ReservedForFutureUse index="13" size="3" />
</BitField>
</Field>
<Field name="Stroke Rate">
<InformativeText>stroke/minute with a resolution of
0.5</InformativeText>
<Requirement>C1</Requirement>
<Format>uint8</Format>
<BinaryExponent>-1</BinaryExponent>
<Unit>org.bluetooth.unit.stroke_per_minute</Unit>
</Field>
<Field name="Stroke Count">
<InformativeText>Unitless with a resolution of
1</InformativeText>
<Requirement>C1</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.unitless</Unit>
</Field>
<Field name="Average Stroke Rate">
<InformativeText>1/minute with a resolution of
0.5</InformativeText>
<Requirement>C2</Requirement>
<Format>uint8</Format>
<BinaryExponent>-1</BinaryExponent>
<Unit>org.bluetooth.unit.stroke_per_minute</Unit>
</Field>
<Field name="Total Distance">
<InformativeText>Meters with a resolution of
1</InformativeText>
<Requirement>C3</Requirement>
<Format>uint24</Format>
<Unit>org.bluetooth.unit.length.metre</Unit>
</Field>
<Field name="Instantaneous Pace">
<InformativeText>Second with a resolution of
1</InformativeText>
<Requirement>C4</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.time.second</Unit>
</Field>
<Field name="Average Pace">
<InformativeText>Second with a resolution of
1</InformativeText>
<Requirement>C5</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.time.second</Unit>
</Field>
<Field name="Instantaneous Power">
<InformativeText>Watts with a resolution of
1</InformativeText>
<Requirement>C6</Requirement>
<Format>sint16</Format>
<Unit>org.bluetooth.unit.power.watt</Unit>
</Field>
<Field name="Average Power">
<InformativeText>Watts with a resolution of
1</InformativeText>
<Requirement>C7</Requirement>
<Format>sint16</Format>
<Unit>org.bluetooth.unit.power.watt</Unit>
</Field>
<Field name="Resistance Level">
<InformativeText>Unitless with a resolution of
1</InformativeText>
<Requirement>C8</Requirement>
<Format>sint16</Format>
<Unit>org.bluetooth.unit.unitless</Unit>
</Field>
<Field name="Total Energy">
<InformativeText>Kilo Calorie with a resolution of
1</InformativeText>
<Requirement>C9</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.energy.kilogram_calorie</Unit>
</Field>
<Field name="Energy Per Hour">
<InformativeText>Kilo Calorie with a resolution of
1</InformativeText>
<Requirement>C9</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.energy.kilogram_calorie</Unit>
</Field>
<Field name="Energy Per Minute">
<InformativeText>Kilo Calorie with a resolution of
1</InformativeText>
<Requirement>C9</Requirement>
<Format>uint8</Format>
<Unit>org.bluetooth.unit.energy.kilogram_calorie</Unit>
</Field>
<Field name="Heart Rate">
<InformativeText>Beats per minute with a resolution of
1</InformativeText>
<Requirement>C10</Requirement>
<Format>uint8</Format>
<Unit>org.bluetooth.unit.period.beats_per_minute</Unit>
</Field>
<Field name="Metabolic Equivalent">
<InformativeText>Metabolic Equivalent with a resolution of
0.1</InformativeText>
<Requirement>C11</Requirement>
<Format>uint8</Format>
<DecimalExponent>-1</DecimalExponent>
<Unit>org.bluetooth.unit.metabolic_equivalent</Unit>
</Field>
<Field name="Elapsed Time">
<InformativeText>Second with a resolution of
1</InformativeText>
<Requirement>C12</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.time.second</Unit>
</Field>
<Field name="Remaining Time">
<InformativeText>Second with a resolution of
1</InformativeText>
<Requirement>C13</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.time.second</Unit>
</Field>
</Value>
<Note>The fields in the above table, reading from top to bottom,
are shown in the order of LSO to MSO, where LSO = Least
Significant Octet and MSO = Most Significant Octet. The Least
Significant Octet represents the eight bits numbered 0 to
7.</Note>
</Characteristic>

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright 2011 Bluetooth SIG, Inc. All rights reserved.-->
<Characteristic xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/characteristic.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="RSC Measurement"
type="org.bluetooth.characteristic.rsc_measurement" uuid="2A53"
last-modified="2012-09-29" approved="Yes">
<InformativeText>
<Summary>The RSC Measurement characteristic (RSC refers to
Running Speed and Cadence) is a variable length structure
containing a Flags field, an Instantaneous Speed field and an
Instantaneous Cadence field and, based on the contents of the
Flags field, may contain a Stride Length field and a Total
Distance field.</Summary>
</InformativeText>
<Value>
<Field name="Flags">
<InformativeText>These flags define which data fields are
present in the Characteristic value.</InformativeText>
<Requirement>Mandatory</Requirement>
<Format>8bit</Format>
<BitField>
<Bit index="0" size="1"
name="Instantaneous Stride Length Present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C1" />
</Enumerations>
</Bit>
<Bit index="1" size="1" name="Total Distance Present">
<Enumerations>
<Enumeration key="0" value="False" />
<Enumeration key="1" value="True" requires="C2" />
</Enumerations>
</Bit>
<Bit index="2" size="1"
name="Walking or Running Status bits">
<Enumerations>
<Enumeration key="0" value="Walking" />
<Enumeration key="1" value="Running" />
</Enumerations>
</Bit>
<ReservedForFutureUse index="3" size="5" />
</BitField>
</Field>
<Field name="Instantaneous Speed">
<InformativeText>Unit is in m/s with a resolution of 1/256
s</InformativeText>
<Requirement>Mandatory</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.velocity.metres_per_second</Unit>
</Field>
<Field name="Instantaneous Cadence">
<InformativeText>Unit is in 1/minute (or RPM) with a
resolutions of 1 1/min (or 1 RPM)</InformativeText>
<Requirement>Mandatory</Requirement>
<Format>uint8</Format>
<Unit>
org.bluetooth.unit.angular_velocity.revolution_per_minute</Unit>
</Field>
<Field name="Instantaneous Stride Length">
<InformativeText>
<p>C1: Field exists if the key of bit 0 of the Flags field
is set to 1.</p>
<p>- Unit is in meter with a resolution of 1/100 m (or
centimeter).</p>
</InformativeText>
<Requirement>C1</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.length.meter</Unit>
</Field>
<Field name="Total Distance">
<InformativeText>
<p>C2: Field exists if the key of bit 1 of the Flags field
is set to 1.</p>
<p>- Unit is in meter with a resolution of 1/10 m (or
decimeter).</p>
</InformativeText>
<Requirement>C2</Requirement>
<Format>uint32</Format>
<Unit>org.bluetooth.unit.length.meter</Unit>
</Field>
</Value>
<Note>The fields in the above table are in the order of LSO to
MSO. Where LSO = Least Significant Octet and MSO = Most
Significant Octet.</Note>
</Characteristic>

View File

@@ -0,0 +1,161 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2011 Bluetooth SIG, Inc. All rights reserved. -->
<Service xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/service.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="Running Speed and Cadence"
type="org.bluetooth.service.running_speed_and_cadence" uuid="1814"
last-modified="2012-3-26" approved="Yes">
<InformativeText>
<Abstract>This service exposes speed, cadence and other data
from a Running Speed and Cadence Sensor intended for fitness
applications.</Abstract>
<Summary>The Running Speed and Cadence (RSC) Service exposes
speed, cadence and other data related to fitness applications
such as the stride length and the total distance the user has
traveled while using the Speed and Cadence Sensor
(Server).</Summary>
</InformativeText>
<Dependencies>
<Dependency>This service has no dependencies on other
GATT-based services.</Dependency>
</Dependencies>
<GATTRequirements>
<Requirement subProcedure="Write Characteristic Values">
C1</Requirement>
<Requirement subProcedure="Notifications">
Mandatory</Requirement>
<Requirement subProcedure="Indications">C1</Requirement>
<Requirement subProcedure="Read Characteristic Descriptors">
Mandatory</Requirement>
<Requirement subProcedure="Write Characteristic Descriptors">
Mandatory</Requirement>
</GATTRequirements>
<Note>C1: Mandatory if the SC Control Point characteristic is
supported, otherwise excluded for this service.</Note>
<Transports>
<Classic>true</Classic>
<LowEnergy>true</LowEnergy>
</Transports>
<ErrorCodes>
<ErrorCode name="Procedure Already in Progress" code="0x80">A
SC Control Point request cannot be serviced because a
previously triggered SC Control Point operation is still in
progress.</ErrorCode>
<ErrorCode name="Client Characteristic Configuration descriptor improperly configured"
code="0x81">The Client Characteristic Configuration descriptor
is not configured according to the requirements of the
service.</ErrorCode>
</ErrorCodes>
<Characteristics>
<Characteristic name="RSC Measurement"
type="org.bluetooth.characteristic.rsc_measurement">
<InformativeText>The RSC Measurement characteristic is used
to send speed and cadence measurements.</InformativeText>
<Requirement>Mandatory</Requirement>
<Properties>
<Read>Excluded</Read>
<Write>Excluded</Write>
<WriteWithoutResponse>Excluded</WriteWithoutResponse>
<SignedWrite>Excluded</SignedWrite>
<ReliableWrite>Excluded</ReliableWrite>
<Notify>Mandatory</Notify>
<Indicate>Excluded</Indicate>
<WritableAuxiliaries>Excluded</WritableAuxiliaries>
<Broadcast>Excluded</Broadcast>
</Properties>
<Descriptors>
<Descriptor name="Client Characteristic Configuration"
type="org.bluetooth.descriptor.gatt.client_characteristic_configuration">
<Requirement>Mandatory</Requirement>
<Properties>
<Read>Mandatory</Read>
<Write>Mandatory</Write>
</Properties>
</Descriptor>
</Descriptors>
</Characteristic>
<Characteristic name="RSC Feature"
type="org.bluetooth.characteristic.rsc_feature">
<InformativeText>The RSC Feature characteristic is used to
describe the supported features of the Server. Reserved for
Future Use (RFU) bits in the SC Feature characteristic value
are set to 0.</InformativeText>
<Requirement>Mandatory</Requirement>
<Properties>
<Read>Mandatory</Read>
<Write>Excluded</Write>
<WriteWithoutResponse>Excluded</WriteWithoutResponse>
<SignedWrite>Excluded</SignedWrite>
<ReliableWrite>Excluded</ReliableWrite>
<Notify>Excluded</Notify>
<Indicate>Excluded</Indicate>
<WritableAuxiliaries>Excluded</WritableAuxiliaries>
<Broadcast>Excluded</Broadcast>
</Properties>
</Characteristic>
<Characteristic name="Sensor Location"
type="org.bluetooth.characteristic.sensor_location">
<InformativeText>
<p>The Sensor Location characteristic of the device is used
to describe the physical location of the Server when
correctly fitted.</p>
<p>
<b>C1:</b>Mandatory if the Multiple Sensor Location feature
is supported, otherwise optional.</p>
</InformativeText>
<Requirement>C1</Requirement>
<Properties>
<Read>Mandatory</Read>
<Write>Excluded</Write>
<WriteWithoutResponse>Excluded</WriteWithoutResponse>
<SignedWrite>Excluded</SignedWrite>
<ReliableWrite>Excluded</ReliableWrite>
<Notify>Excluded</Notify>
<Indicate>Excluded</Indicate>
<WritableAuxiliaries>Excluded</WritableAuxiliaries>
<Broadcast>Excluded</Broadcast>
</Properties>
</Characteristic>
<Characteristic name="SC Control Point"
type="org.bluetooth.characteristic.sc_control_point">
<InformativeText>
<p>If the SC Control Point is supported, profiles utilizing
this service are required to ensure that the Client
configures the SC Control Point characteristic for
indications (i.e. via the Client Characteristic
Configuration descriptor) at the first connection.</p>
<p>Support for this characteristic is mandatory if the
Server supports Calibration Procedure, Total Distance or
Multiple Sensor Locations features, otherwise it is
excluded.</p>
<p>
<b>C2:</b>Mandatory if at least one SC Control Point
procedure is supported, otherwise excluded.</p>
</InformativeText>
<Requirement>C2</Requirement>
<Properties>
<Read>Excluded</Read>
<Write>Mandatory</Write>
<WriteWithoutResponse>Excluded</WriteWithoutResponse>
<SignedWrite>Excluded</SignedWrite>
<ReliableWrite>Excluded</ReliableWrite>
<Notify>Excluded</Notify>
<Indicate>Mandatory</Indicate>
<WritableAuxiliaries>Excluded</WritableAuxiliaries>
<Broadcast>Excluded</Broadcast>
</Properties>
<Descriptors>
<Descriptor name="Client Characteristic Configuration"
type="org.bluetooth.descriptor.gatt.client_characteristic_configuration">
<Requirement>if_characteristic_supported</Requirement>
<Properties>
<Read>Mandatory</Read>
<Write>Mandatory</Write>
</Properties>
</Descriptor>
</Descriptors>
</Characteristic>
</Characteristics>
</Service>

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

View File

@@ -0,0 +1 @@
#include "../../../../../../qthttpserver/src/httpserver/qabstracthttpserver_p.h"

View File

@@ -0,0 +1 @@
#include "../../../../../../qthttpserver/src/httpserver/qhttpserver_p.h"

View File

@@ -0,0 +1 @@
#include "../../../../../../qthttpserver/src/httpserver/qhttpserverliterals_p.h"

View File

@@ -0,0 +1 @@
#include "../../../../../../qthttpserver/src/httpserver/qhttpserverrequest_p.h"

View File

@@ -0,0 +1 @@
#include "../../../../../../qthttpserver/src/httpserver/qhttpserverresponder_p.h"

View File

@@ -0,0 +1 @@
#include "../../../../../../qthttpserver/src/httpserver/qhttpserverresponse_p.h"

View File

@@ -0,0 +1 @@
#include "../../../../../../qthttpserver/src/httpserver/qhttpserverrouter_p.h"

View File

@@ -0,0 +1 @@
#include "../../../../../../qthttpserver/src/httpserver/qhttpserverrouterrule_p.h"

View File

@@ -0,0 +1 @@
#include "qabstracthttpserver.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverfutureresponse.h"

View File

@@ -0,0 +1 @@
#include "qhttpserver.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverviewtraits.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverfutureresponse.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverrequest.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverresponder.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverresponse.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverrouter.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverrouterrule.h"

View File

@@ -0,0 +1 @@
#include "qhttpserverrouterviewtraits.h"

View File

@@ -0,0 +1,16 @@
#ifndef QT_QTHTTPSERVER_MODULE_H
#define QT_QTHTTPSERVER_MODULE_H
#include <QtHttpServer/QtHttpServerDepends>
#include "qthttpserverglobal.h"
#include "qabstracthttpserver.h"
#include "qhttpserver.h"
#include "qhttpserverfutureresponse.h"
#include "qhttpserverrequest.h"
#include "qhttpserverresponder.h"
#include "qhttpserverresponse.h"
#include "qhttpserverrouter.h"
#include "qhttpserverrouterrule.h"
#include "qhttpserverrouterviewtraits.h"
#include "qhttpserverviewtraits.h"
#include "qthttpserverversion.h"
#endif

View File

@@ -0,0 +1,8 @@
/* This file was generated by qmake with the info from <root>/src/httpserver/httpserver.pro. */
#ifdef __cplusplus /* create empty PCH in C mode */
#include <QtNetwork/QtNetwork>
#include <QtCore/QtCore>
#include <QtWebSockets/QtWebSockets>
#include <QtSslServer/QtSslServer>
#include <QtConcurrent/QtConcurrent>
#endif

View File

@@ -0,0 +1 @@
#include "qthttpserverversion.h"

View File

@@ -0,0 +1,6 @@
SYNCQT.HEADER_FILES = qabstracthttpserver.h qhttpserver.h qhttpserverfutureresponse.h qhttpserverrequest.h qhttpserverresponder.h qhttpserverresponse.h qhttpserverrouter.h qhttpserverrouterrule.h qhttpserverrouterviewtraits.h qhttpserverviewtraits.h qhttpserverviewtraits_impl.h qthttpserverglobal.h
SYNCQT.GENERATED_HEADER_FILES = QAbstractHttpServer QHttpServer QFutureInterface QHttpServerFutureResponse QHttpServerRequest QHttpServerResponder QHttpServerResponse QHttpServerRouter QHttpServerRouterRule QHttpServerRouterViewTraits QHttpServerAfterRequestViewTraits qthttpserverversion.h QtHttpServerVersion QtHttpServer
SYNCQT.PRIVATE_HEADER_FILES = qabstracthttpserver_p.h qhttpserver_p.h qhttpserverliterals_p.h qhttpserverrequest_p.h qhttpserverresponder_p.h qhttpserverresponse_p.h qhttpserverrouter_p.h qhttpserverrouterrule_p.h
SYNCQT.QPA_HEADER_FILES =
SYNCQT.CLEAN_HEADER_FILES = qabstracthttpserver.h qhttpserver.h qhttpserverfutureresponse.h qhttpserverrequest.h qhttpserverresponder.h qhttpserverresponse.h qhttpserverrouter.h qhttpserverrouterrule.h qhttpserverrouterviewtraits.h qhttpserverviewtraits.h qhttpserverviewtraits_impl.h qthttpserverglobal.h
SYNCQT.INJECTIONS =

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qabstracthttpserver.h"

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qhttpserver.h"

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qhttpserverfutureresponse.h"

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qhttpserverrequest.h"

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qhttpserverresponder.h"

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qhttpserverresponse.h"

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qhttpserverrouter.h"

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qhttpserverrouterrule.h"

View File

@@ -0,0 +1 @@
#include "../../../qthttpserver/src/httpserver/qhttpserverrouterviewtraits.h"

Some files were not shown because too many files have changed in this diff Show More