cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
352 stars 107 forks source link

[BUG]iFit looses connection to qdomyos #2119

Open kaghkagh opened 5 months ago

kaghkagh commented 5 months ago

Describe the bug A clear and concise description of what the bug is. Setup: TDF 2.0, iFit on iPad, qdomyos on Android Phone. Works as a charm, but occasionally ifit on the iPad says "trying to connect one bluetooth". Normally, it just takes seconds to reconnect, but today it happened twice that it was not able to reconnect - and stopped the workout. I have attached the debug files.

Log 1: Dropped connection at 11:33, after 9,95 km of workout.

Log 2: Dropped connection at 12:50, after 31,49 km of workout.

Nothing on the bike, nothing at the qdomyos.

The files were to big to upload, here are the part of the debug file at the time of crash:

sön feb. 11 11:34:01 2024 1707647641020 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641052 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641104 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641152 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641202 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641253 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641260 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Total Miles\": \"1804.42\" } }" sön feb. 11 11:34:01 2024 1707647641303 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641352 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641403 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641451 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641516 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "bikeProvider" 0 2000 false sön feb. 11 11:34:01 2024 1707647641517 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "virtual bike connected" sön feb. 11 11:34:01 2024 1707647641518 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit Last Frame" 1707646977928 sön feb. 11 11:34:01 2024 1707647641519 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit timeout!" sön feb. 11 11:34:01 2024 1707647641520 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641552 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641602 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641652 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641702 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641752 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641802 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641853 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641872 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Miles\": \"9.64\", \"Kilometers\": \"15.52\" } }" sön feb. 11 11:34:01 2024 1707647641873 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.52" sön feb. 11 11:34:01 2024 1707647641902 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:01 2024 1707647641952 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642008 Debug: ../src/templateinfosender.cpp bool TemplateInfoSender::update(QJSEngine ) "eval res " "{\"msg\":\"workout\",\"content\":{\"BIKE_TYPE\":2,\"ELLIPTICAL_TYPE\":4,\"ROWING_TYPE\":3,\"TREADMILL_TYPE\":1,\"UNKNOWN_TYPE\":0,\"deviceId\":\"00:00:00:00:00:00\",\"deviceName\":\"N/A\",\"deviceRSSI\":1,\"deviceType\":2,\"deviceConnected\":true,\"devicePaused\":false,\"elapsed_s\":24,\"elapsed_m\":29,\"elapsed_h\":0,\"lapelapsed_s\":24,\"lapelapsed_m\":29,\"lapelapsed_h\":0,\"pace_s\":50,\"pace_m\":9,\"pace_h\":0,\"avgpace_s\":53,\"avgpace_m\":1,\"avgpace_h\":0,\"maxpace_s\":28,\"maxpace_m\":1,\"maxpace_h\":0,\"moving_s\":24,\"moving_m\":29,\"moving_h\":0,\"speed\":6.1,\"speed_avg\":31.757833655706023,\"speed_color\":\"\",\"speed_lapavg\":31.757833655706023,\"speed_lapmax\":40.7,\"calories\":345.9038426812506,\"distance\":15.52,\"heart\":0,\"heart_color\":\"\",\"heart_avg\":0,\"heart_lapavg\":0,\"heart_max\":0,\"heart_lapmax\":0,\"jouls\":286663.2330000139,\"elevation\":0,\"difficult\":1,\"watts\":0,\"watts_avg\":164.51920122887864,\"watts_color\":\"\",\"watts_lapavg\":164.51920122887864,\"watts_max\":320,\"watts_lapmax\":320,\"kgwatts\":0,\"kgwatts_avg\":2.193096983812345,\"kgwatts_max\":4.266666666666667,\"workoutName\":\"Ride\",\"workoutStartDate\":\"sön feb. 11 11:02:13 2024\",\"instructorName\":\"\",\"latitude\":null,\"longitude\":null,\"altitude\":null,\"peloton_offset\":0,\"peloton_ask_start\":false,\"autoresistance\":true,\"row_remaining_time_s\":0,\"row_remaining_time_m\":0,\"row_remaining_time_h\":0,\"nickName\":\"N/A\",\"gears\":0,\"target_resistance\":0,\"target_peloton_resistance\":0,\"target_cadence\":0,\"target_power\":0,\"power_zone\":1,\"power_zone_lapavg\":3.247155391753362,\"power_zone_lapmax\":7,\"target_power_zone\":1,\"peloton_resistance\":0,\"peloton_resistance_avg\":0,\"peloton_resistance_color\":\"\",\"peloton_resistance_lapavg\":0,\"peloton_resistance_lapmax\":0,\"peloton_req_resistance\":0,\"cadence\":0,\"cadence_color\":\"\",\"cadence_avg\":52.705653021442494,\"cadence_lapavg\":52.705653021442494,\"cadence_lapmax\":67,\"resistance\":20,\"resistance_avg\":107.81770833333333,\"resistance_lapavg\":107.81770833333333,\"resistance_lapmax\":128,\"cranks\":515,\"cranktime\":23139,\"req_power\":0,\"req_cadence\":0,\"req_resistance\":0}}" sön feb. 11 11:34:02 2024 1707647642013 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642051 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642103 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642152 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642203 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642251 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642303 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642351 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642385 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Miles\": \"9.64\", \"Kilometers\": \"15.52\", \"RPM\": \"8\", \"Total Time\": \"96:57:50\", \"Total Miles\": \"1804.42\", \"Workout Time\": \"1764\" } }" sön feb. 11 11:34:02 2024 1707647642387 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.52" sön feb. 11 11:34:02 2024 1707647642388 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Cadence: 8" sön feb. 11 11:34:02 2024 1707647642402 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642452 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642510 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "bikeProvider" 0 2000 false sön feb. 11 11:34:02 2024 1707647642511 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "virtual bike connected" sön feb. 11 11:34:02 2024 1707647642511 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit Last Frame" 1707646977928 sön feb. 11 11:34:02 2024 1707647642512 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit timeout!" sön feb. 11 11:34:02 2024 1707647642512 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642552 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642602 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642652 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642702 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642752 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642802 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642853 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642902 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:02 2024 1707647642951 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643006 Debug: ../src/templateinfosender.cpp bool TemplateInfoSender::update(QJSEngine ) "eval res " "{\"msg\":\"workout\",\"content\":{\"BIKE_TYPE\":2,\"ELLIPTICAL_TYPE\":4,\"ROWING_TYPE\":3,\"TREADMILL_TYPE\":1,\"UNKNOWN_TYPE\":0,\"deviceId\":\"00:00:00:00:00:00\",\"deviceName\":\"N/A\",\"deviceRSSI\":1,\"deviceType\":2,\"deviceConnected\":true,\"devicePaused\":false,\"elapsed_s\":25,\"elapsed_m\":29,\"elapsed_h\":0,\"lapelapsed_s\":25,\"lapelapsed_m\":29,\"lapelapsed_h\":0,\"pace_s\":50,\"pace_m\":9,\"pace_h\":0,\"avgpace_s\":53,\"avgpace_m\":1,\"avgpace_h\":0,\"maxpace_s\":28,\"maxpace_m\":1,\"maxpace_h\":0,\"moving_s\":25,\"moving_m\":29,\"moving_h\":0,\"speed\":6.1,\"speed_avg\":31.757833655706023,\"speed_color\":\"\",\"speed_lapavg\":31.757833655706023,\"speed_lapmax\":40.7,\"calories\":345.9038426812506,\"distance\":15.52,\"heart\":0,\"heart_color\":\"\",\"heart_avg\":0,\"heart_lapavg\":0,\"heart_max\":0,\"heart_lapmax\":0,\"jouls\":286663.2330000139,\"elevation\":0,\"difficult\":1,\"watts\":0,\"watts_avg\":164.51920122887864,\"watts_color\":\"\",\"watts_lapavg\":164.51920122887864,\"watts_max\":320,\"watts_lapmax\":320,\"kgwatts\":0,\"kgwatts_avg\":2.193096983812345,\"kgwatts_max\":4.266666666666667,\"workoutName\":\"Ride\",\"workoutStartDate\":\"sön feb. 11 11:02:13 2024\",\"instructorName\":\"\",\"latitude\":null,\"longitude\":null,\"altitude\":null,\"peloton_offset\":0,\"peloton_ask_start\":false,\"autoresistance\":true,\"row_remaining_time_s\":0,\"row_remaining_time_m\":0,\"row_remaining_time_h\":0,\"nickName\":\"N/A\",\"gears\":0,\"target_resistance\":0,\"target_peloton_resistance\":0,\"target_cadence\":0,\"target_power\":0,\"power_zone\":1,\"power_zone_lapavg\":3.2459788706058474,\"power_zone_lapmax\":7,\"target_power_zone\":1,\"peloton_resistance\":0,\"peloton_resistance_avg\":0,\"peloton_resistance_color\":\"\",\"peloton_resistance_lapavg\":0,\"peloton_resistance_lapmax\":0,\"peloton_req_resistance\":0,\"cadence\":8,\"cadence_color\":\"\",\"cadence_avg\":52.61867704280156,\"cadence_lapavg\":52.61867704280156,\"cadence_lapmax\":67,\"resistance\":20,\"resistance_avg\":107.81770833333333,\"resistance_lapavg\":107.81770833333333,\"resistance_lapmax\":128,\"cranks\":516,\"cranktime\":30819,\"req_power\":0,\"req_cadence\":0,\"req_resistance\":0}}" sön feb. 11 11:34:03 2024 1707647643010 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643053 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643102 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643152 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643203 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643252 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643303 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643352 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643402 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643451 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643509 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "bikeProvider" 0 2000 false sön feb. 11 11:34:03 2024 1707647643510 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "virtual bike connected" sön feb. 11 11:34:03 2024 1707647643510 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit Last Frame" 1707646977928 sön feb. 11 11:34:03 2024 1707647643511 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit timeout!" sön feb. 11 11:34:03 2024 1707647643511 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643552 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643602 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643612 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Miles\": \"9.65\", \"Kilometers\": \"15.52\", \"Total Time\": \"96:57:51\", \"Total Miles\": \"1804.42\", \"Workout Time\": \"1765\" } }" sön feb. 11 11:34:03 2024 1707647643614 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.52" sön feb. 11 11:34:03 2024 1707647643653 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643703 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643752 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643803 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643854 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643904 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:03 2024 1707647643952 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644014 Debug: ../src/templateinfosender.cpp bool TemplateInfoSender::update(QJSEngine ) "eval res " "{\"msg\":\"workout\",\"content\":{\"BIKE_TYPE\":2,\"ELLIPTICAL_TYPE\":4,\"ROWING_TYPE\":3,\"TREADMILL_TYPE\":1,\"UNKNOWN_TYPE\":0,\"deviceId\":\"00:00:00:00:00:00\",\"deviceName\":\"N/A\",\"deviceRSSI\":1,\"deviceType\":2,\"deviceConnected\":true,\"devicePaused\":false,\"elapsed_s\":26,\"elapsed_m\":29,\"elapsed_h\":0,\"lapelapsed_s\":26,\"lapelapsed_m\":29,\"lapelapsed_h\":0,\"pace_s\":50,\"pace_m\":9,\"pace_h\":0,\"avgpace_s\":53,\"avgpace_m\":1,\"avgpace_h\":0,\"maxpace_s\":28,\"maxpace_m\":1,\"maxpace_h\":0,\"moving_s\":26,\"moving_m\":29,\"moving_h\":0,\"speed\":6.1,\"speed_avg\":31.757833655706023,\"speed_color\":\"\",\"speed_lapavg\":31.757833655706023,\"speed_lapmax\":40.7,\"calories\":345.9038426812506,\"distance\":15.52,\"heart\":0,\"heart_color\":\"\",\"heart_avg\":0,\"heart_lapavg\":0,\"heart_max\":0,\"heart_lapmax\":0,\"jouls\":286663.2330000139,\"elevation\":0,\"difficult\":1,\"watts\":0,\"watts_avg\":164.51920122887864,\"watts_color\":\"\",\"watts_lapavg\":164.51920122887864,\"watts_max\":320,\"watts_lapmax\":320,\"kgwatts\":0,\"kgwatts_avg\":2.193096983812345,\"kgwatts_max\":4.266666666666667,\"workoutName\":\"Ride\",\"workoutStartDate\":\"sön feb. 11 11:02:13 2024\",\"instructorName\":\"\",\"latitude\":null,\"longitude\":null,\"altitude\":null,\"peloton_offset\":0,\"peloton_ask_start\":false,\"autoresistance\":true,\"row_remaining_time_s\":0,\"row_remaining_time_m\":0,\"row_remaining_time_h\":0,\"nickName\":\"N/A\",\"gears\":0,\"target_resistance\":0,\"target_peloton_resistance\":0,\"target_cadence\":0,\"target_power\":0,\"power_zone\":1,\"power_zone_lapavg\":3.244803580772982,\"power_zone_lapmax\":7,\"target_power_zone\":1,\"peloton_resistance\":0,\"peloton_resistance_avg\":0,\"peloton_resistance_color\":\"\",\"peloton_resistance_lapavg\":0,\"peloton_resistance_lapmax\":0,\"peloton_req_resistance\":0,\"cadence\":8,\"cadence_color\":\"\",\"cadence_avg\":52.61867704280156,\"cadence_lapavg\":52.61867704280156,\"cadence_lapmax\":67,\"resistance\":20,\"resistance_avg\":107.81770833333333,\"resistance_lapavg\":107.81770833333333,\"resistance_lapmax\":128,\"cranks\":516,\"cranktime\":30819,\"req_power\":0,\"req_cadence\":0,\"req_resistance\":0}}" sön feb. 11 11:34:04 2024 1707647644022 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644052 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644103 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644125 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"RPM\": \"14\" } }" sön feb. 11 11:34:04 2024 1707647644127 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Cadence: 14" sön feb. 11 11:34:04 2024 1707647644152 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644204 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644253 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644303 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644329 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Current MPH\": \"5.30\", \"KPH\": \"8.50\", \"Miles\": \"9.65\", \"Kilometers\": \"15.53\", \"Total Time\": \"96:57:52\", \"Total Miles\": \"1804.42\", \"Current Watts\": \"1\", \"Workout Time\": \"1766\" } }" sön feb. 11 11:34:04 2024 1707647644331 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Speed: 8.5" sön feb. 11 11:34:04 2024 1707647644333 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.53" sön feb. 11 11:34:04 2024 1707647644335 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Watt: 1" sön feb. 11 11:34:04 2024 1707647644352 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644402 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644451 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644518 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "bikeProvider" 0 2000 false sön feb. 11 11:34:04 2024 1707647644519 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "virtual bike connected" sön feb. 11 11:34:04 2024 1707647644520 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit Last Frame" 1707646977928 sön feb. 11 11:34:04 2024 1707647644521 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit timeout!" sön feb. 11 11:34:04 2024 1707647644523 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644554 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644603 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644653 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644702 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644752 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644802 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644845 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Miles\": \"9.65\", \"Kilometers\": \"15.53\", \"Total Miles\": \"1804.43\" } }" sön feb. 11 11:34:04 2024 1707647644848 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.53" sön feb. 11 11:34:04 2024 1707647644852 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644902 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:04 2024 1707647644952 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645012 Debug: ../src/templateinfosender.cpp bool TemplateInfoSender::update(QJSEngine ) "eval res " "{\"msg\":\"workout\",\"content\":{\"BIKE_TYPE\":2,\"ELLIPTICAL_TYPE\":4,\"ROWING_TYPE\":3,\"TREADMILL_TYPE\":1,\"UNKNOWN_TYPE\":0,\"deviceId\":\"00:00:00:00:00:00\",\"deviceName\":\"N/A\",\"deviceRSSI\":1,\"deviceType\":2,\"deviceConnected\":true,\"devicePaused\":false,\"elapsed_s\":27,\"elapsed_m\":29,\"elapsed_h\":0,\"lapelapsed_s\":27,\"lapelapsed_m\":29,\"lapelapsed_h\":0,\"pace_s\":3,\"pace_m\":7,\"pace_h\":0,\"avgpace_s\":53,\"avgpace_m\":1,\"avgpace_h\":0,\"maxpace_s\":28,\"maxpace_m\":1,\"maxpace_h\":0,\"moving_s\":27,\"moving_m\":29,\"moving_h\":0,\"speed\":8.5,\"speed_avg\":31.71293436293439,\"speed_color\":\"\",\"speed_lapavg\":31.71293436293439,\"speed_lapmax\":40.7,\"calories\":345.9233682625006,\"distance\":15.53,\"heart\":0,\"heart_color\":\"\",\"heart_avg\":0,\"heart_lapavg\":0,\"heart_max\":0,\"heart_lapmax\":0,\"jouls\":286663.88200001384,\"elevation\":0,\"difficult\":1,\"watts\":1,\"watts_avg\":164.26840490797545,\"watts_color\":\"\",\"watts_lapavg\":164.26840490797545,\"watts_max\":320,\"watts_lapmax\":320,\"kgwatts\":0.013333333333333334,\"kgwatts_avg\":2.192282517054004,\"kgwatts_max\":4.266666666666667,\"workoutName\":\"Ride\",\"workoutStartDate\":\"sön feb. 11 11:02:13 2024\",\"instructorName\":\"\",\"latitude\":null,\"longitude\":null,\"altitude\":null,\"peloton_offset\":0,\"peloton_ask_start\":false,\"autoresistance\":true,\"row_remaining_time_s\":0,\"row_remaining_time_m\":0,\"row_remaining_time_h\":0,\"nickName\":\"N/A\",\"gears\":0,\"target_resistance\":0,\"target_peloton_resistance\":0,\"target_cadence\":0,\"target_power\":0,\"power_zone\":1.0089285714285714,\"power_zone_lapavg\":3.243634190077718,\"power_zone_lapmax\":7,\"target_power_zone\":1,\"peloton_resistance\":0,\"peloton_resistance_avg\":0,\"peloton_resistance_color\":\"\",\"peloton_resistance_lapavg\":0,\"peloton_resistance_lapmax\":0,\"peloton_req_resistance\":0,\"cadence\":14,\"cadence_color\":\"\",\"cadence_avg\":52.54368932038835,\"cadence_lapavg\":52.54368932038835,\"cadence_lapmax\":67,\"resistance\":20,\"resistance_avg\":107.81770833333333,\"resistance_lapavg\":107.81770833333333,\"resistance_lapmax\":128,\"cranks\":517,\"cranktime\":35207,\"req_power\":0,\"req_cadence\":0,\"req_resistance\":0}}" sön feb. 11 11:34:05 2024 1707647645020 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645052 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645102 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645153 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645202 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645253 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645304 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645352 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645402 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645452 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645459 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Total Time\": \"96:57:53\", \"Total Miles\": \"1804.43\", \"Workout Time\": \"1767\" } }" sön feb. 11 11:34:05 2024 1707647645516 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "bikeProvider" 0 2000 false sön feb. 11 11:34:05 2024 1707647645517 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "virtual bike connected" sön feb. 11 11:34:05 2024 1707647645518 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit Last Frame" 1707646977928 sön feb. 11 11:34:05 2024 1707647645519 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit timeout!" sön feb. 11 11:34:05 2024 1707647645521 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645553 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645601 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645652 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645702 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645752 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645803 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645854 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645901 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645952 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:05 2024 1707647645974 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Miles\": \"9.65\", \"Kilometers\": \"15.53\", \"Total Miles\": \"1804.43\" } }" sön feb. 11 11:34:05 2024 1707647645975 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.53" sön feb. 11 11:34:05 2024 1707647645977 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"RPM\": \"17\" } }" sön feb. 11 11:34:05 2024 1707647645978 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Cadence: 17" sön feb. 11 11:34:06 2024 1707647646007 Debug: ../src/templateinfosender.cpp bool TemplateInfoSender::update(QJSEngine ) "eval res " "{\"msg\":\"workout\",\"content\":{\"BIKE_TYPE\":2,\"ELLIPTICAL_TYPE\":4,\"ROWING_TYPE\":3,\"TREADMILL_TYPE\":1,\"UNKNOWN_TYPE\":0,\"deviceId\":\"00:00:00:00:00:00\",\"deviceName\":\"N/A\",\"deviceRSSI\":1,\"deviceType\":2,\"deviceConnected\":true,\"devicePaused\":false,\"elapsed_s\":28,\"elapsed_m\":29,\"elapsed_h\":0,\"lapelapsed_s\":28,\"lapelapsed_m\":29,\"lapelapsed_h\":0,\"pace_s\":3,\"pace_m\":7,\"pace_h\":0,\"avgpace_s\":53,\"avgpace_m\":1,\"avgpace_h\":0,\"maxpace_s\":28,\"maxpace_m\":1,\"maxpace_h\":0,\"moving_s\":28,\"moving_m\":29,\"moving_h\":0,\"speed\":8.5,\"speed_avg\":31.71293436293439,\"speed_color\":\"\",\"speed_lapavg\":31.71293436293439,\"speed_lapmax\":40.7,\"calories\":345.9538888312506,\"distance\":15.53,\"heart\":0,\"heart_color\":\"\",\"heart_avg\":0,\"heart_lapavg\":0,\"heart_max\":0,\"heart_lapmax\":0,\"jouls\":286664.8820000137,\"elevation\":0,\"difficult\":1,\"watts\":1,\"watts_avg\":164.26840490797545,\"watts_color\":\"\",\"watts_lapavg\":164.26840490797545,\"watts_max\":320,\"watts_lapmax\":320,\"kgwatts\":0.013333333333333334,\"kgwatts_avg\":2.1910306790764573,\"kgwatts_max\":4.266666666666667,\"workoutName\":\"Ride\",\"workoutStartDate\":\"sön feb. 11 11:02:13 2024\",\"instructorName\":\"\",\"latitude\":null,\"longitude\":null,\"altitude\":null,\"peloton_offset\":0,\"peloton_ask_start\":false,\"autoresistance\":true,\"row_remaining_time_s\":0,\"row_remaining_time_m\":0,\"row_remaining_time_h\":0,\"nickName\":\"N/A\",\"gears\":0,\"target_resistance\":0,\"target_peloton_resistance\":0,\"target_cadence\":0,\"target_power\":0,\"power_zone\":1.0089285714285714,\"power_zone_lapavg\":3.2424660219550576,\"power_zone_lapmax\":7,\"target_power_zone\":1,\"peloton_resistance\":0,\"peloton_resistance_avg\":0,\"peloton_resistance_color\":\"\",\"peloton_resistance_lapavg\":0,\"peloton_resistance_lapmax\":0,\"peloton_req_resistance\":0,\"cadence\":17,\"cadence_color\":\"\",\"cadence_avg\":52.474806201550386,\"cadence_lapavg\":52.474806201550386,\"cadence_lapmax\":67,\"resistance\":20,\"resistance_avg\":107.81770833333333,\"resistance_lapavg\":107.81770833333333,\"resistance_lapmax\":128,\"cranks\":518,\"cranktime\":38821,\"req_power\":0,\"req_cadence\":0,\"req_resistance\":0}}" sön feb. 11 11:34:06 2024 1707647646012 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646053 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646102 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646151 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646203 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646253 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646288 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Current MPH\": \"6.40\", \"KPH\": \"10.20\", \"Miles\": \"9.65\", \"Kilometers\": \"15.53\", \"Total Time\": \"96:57:54\", \"Current Watts\": \"2\", \"Workout Time\": \"1768\" } }" sön feb. 11 11:34:06 2024 1707647646289 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Speed: 10.2" sön feb. 11 11:34:06 2024 1707647646290 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.53" sön feb. 11 11:34:06 2024 1707647646291 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Watt: 2" sön feb. 11 11:34:06 2024 1707647646302 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646352 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646402 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646452 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646511 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "bikeProvider" 0 2000 false sön feb. 11 11:34:06 2024 1707647646512 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "virtual bike connected" sön feb. 11 11:34:06 2024 1707647646513 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit Last Frame" 1707646977928 sön feb. 11 11:34:06 2024 1707647646514 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit timeout!" sön feb. 11 11:34:06 2024 1707647646514 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646552 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646602 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646653 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646701 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646752 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646803 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646853 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646890 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Miles\": \"9.65\", \"Kilometers\": \"15.53\", \"Total Miles\": \"1804.43\" } }" sön feb. 11 11:34:06 2024 1707647646891 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.53" sön feb. 11 11:34:06 2024 1707647646902 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:06 2024 1707647646952 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647006 Debug: ../src/templateinfosender.cpp bool TemplateInfoSender::update(QJSEngine ) "eval res " "{\"msg\":\"workout\",\"content\":{\"BIKE_TYPE\":2,\"ELLIPTICAL_TYPE\":4,\"ROWING_TYPE\":3,\"TREADMILL_TYPE\":1,\"UNKNOWN_TYPE\":0,\"deviceId\":\"00:00:00:00:00:00\",\"deviceName\":\"N/A\",\"deviceRSSI\":1,\"deviceType\":2,\"deviceConnected\":true,\"devicePaused\":false,\"elapsed_s\":29,\"elapsed_m\":29,\"elapsed_h\":0,\"lapelapsed_s\":29,\"lapelapsed_m\":29,\"lapelapsed_h\":0,\"pace_s\":52,\"pace_m\":5,\"pace_h\":0,\"avgpace_s\":53,\"avgpace_m\":1,\"avgpace_h\":0,\"maxpace_s\":28,\"maxpace_m\":1,\"maxpace_h\":0,\"moving_s\":29,\"moving_m\":29,\"moving_h\":0,\"speed\":10.2,\"speed_avg\":31.671483622350703,\"speed_color\":\"\",\"speed_lapavg\":31.671483622350703,\"speed_lapmax\":40.7,\"calories\":345.9795726625006,\"distance\":15.53,\"heart\":0,\"heart_color\":\"\",\"heart_avg\":0,\"heart_lapavg\":0,\"heart_max\":0,\"heart_lapmax\":0,\"jouls\":286666.58100001374,\"elevation\":0,\"difficult\":1,\"watts\":2,\"watts_avg\":164.01990811638592,\"watts_color\":\"\",\"watts_lapavg\":164.01990811638592,\"watts_max\":320,\"watts_lapmax\":320,\"kgwatts\":0.02666666666666667,\"kgwatts_avg\":2.1897856377280394,\"kgwatts_max\":4.266666666666667,\"workoutName\":\"Ride\",\"workoutStartDate\":\"sön feb. 11 11:02:13 2024\",\"instructorName\":\"\",\"latitude\":null,\"longitude\":null,\"altitude\":null,\"peloton_offset\":0,\"peloton_ask_start\":false,\"autoresistance\":true,\"row_remaining_time_s\":0,\"row_remaining_time_m\":0,\"row_remaining_time_h\":0,\"nickName\":\"N/A\",\"gears\":0,\"target_resistance\":0,\"target_peloton_resistance\":0,\"target_cadence\":0,\"target_power\":0,\"power_zone\":1.0178571428571428,\"power_zone_lapavg\":3.2413037393640973,\"power_zone_lapmax\":7,\"target_power_zone\":1,\"peloton_resistance\":0,\"peloton_resistance_avg\":0,\"peloton_resistance_color\":\"\",\"peloton_resistance_lapavg\":0,\"peloton_resistance_lapmax\":0,\"peloton_req_resistance\":0,\"cadence\":17,\"cadence_color\":\"\",\"cadence_avg\":52.474806201550386,\"cadence_lapavg\":52.474806201550386,\"cadence_lapmax\":67,\"resistance\":20,\"resistance_avg\":107.81770833333333,\"resistance_lapavg\":107.81770833333333,\"resistance_lapmax\":128,\"cranks\":518,\"cranktime\":38821,\"req_power\":0,\"req_cadence\":0,\"req_resistance\":0}}" sön feb. 11 11:34:07 2024 1707647647011 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647053 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647101 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647151 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647203 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647252 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647303 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647351 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647402 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647405 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Miles\": \"9.65\", \"Kilometers\": \"15.53\", \"Total Time\": \"96:57:55\", \"Total Miles\": \"1804.43\", \"Workout Time\": \"1769\" } }" sön feb. 11 11:34:07 2024 1707647647406 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Distance: 15.53" sön feb. 11 11:34:07 2024 1707647647451 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647509 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "bikeProvider" 0 2000 false sön feb. 11 11:34:07 2024 1707647647510 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "virtual bike connected" sön feb. 11 11:34:07 2024 1707647647510 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit Last Frame" 1707646977928 sön feb. 11 11:34:07 2024 1707647647511 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "iFit timeout!" sön feb. 11 11:34:07 2024 1707647647511 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647552 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647602 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647605 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"RPM\": \"0\" } }" sön feb. 11 11:34:07 2024 1707647647606 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Cadence: 0" sön feb. 11 11:34:07 2024 1707647647652 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647703 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647752 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647803 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647852 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647903 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:07 2024 1707647647914 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) " << { \"values\": { \"Current MPH\": \"3.80\", \"KPH\": \"6.10\", \"Total Time\": \"96:57:56\", \"Total Miles\": \"1804.43\", \"Current Watts\": \"0\", \"Workout Time\": \"1770\" } }" sön feb. 11 11:34:07 2024 1707647647915 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Speed: 6.1" sön feb. 11 11:34:07 2024 1707647647916 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Watt: 0" sön feb. 11 11:34:07 2024 1707647647951 Debug: ../src/proformwifibike.cpp void proformwifibike::update() websocket.state() QAbstractSocket::ConnectedState sön feb. 11 11:34:08 2024 1707647648008 Debug: ../src/templateinfosender.cpp bool TemplateInfoSender::update(QJSEngine *) "eval res " "{\"msg\":\"workout\",\"content\":{\"BIKE_TYPE\":2,\"ELLIPTICAL_TYPE\":4,\"ROWING_TYPE\":3,\"TREADMILL_TYPE\":1,\"UNKNOWN_TYPE\":0,\"deviceId\":\"00:00:00:00:00:00\",\"deviceName\":\"N/A\",\"deviceRSSI\":1,\"deviceType\":2,\"deviceConnected\":true,\"devicePaused\":false,\"elapsed_s\":30,\"elapsed_m\":29,\"elapsed_h\":0,\"lapelapsed_s\":30,\"lapelapsed_m\":29,\"lapelapsed_h\":0,\"pace_s\":50,\"pace_m\":9,\"pace_h\":0,\"avgpace_s\":53,\"avgpace_m\":1,\"avgpace_h\":0,\"maxpace_s\":28,\"maxpace_m\":1,\"maxpace_h\":0,\"moving_s\":30,\"moving_m\":29,\"moving_h\":0,\"speed\":6.1,\"speed_avg\":31.622307692307718,\"speed_color\":\"\",\"speed_lapavg\":31.622307692307718,\"speed_lapmax\":40.7,\"calories\":345.9996583750006,\"distance\":15.53,\"heart\":0,\"heart_color\":\"\",\"heart_avg\":0,\"heart_lapavg\":0,\"heart_max\":0,\"heart_lapmax\":0,\"jouls\":286668.4830000137,\"elevation\":0,\"difficult\":1,\"watts\":0,\"watts_avg\":164.01990811638592,\"watts_color\":\"\",\"watts_lapavg\":164.01990811638592,\"watts_max\":320,\"watts_lapmax\":320,\"kgwatts\":0,\"kgwatts_avg\":2.18860635275917,\"kgwatts_max\":4.266666666666667,\"workoutName\":\"Ride\",\"workoutStartDate\":\"sön feb. 11 11:02:13 2024\",\"instructorName\":\"\",\"latitude\":null,\"longitude\":null,\"altitude\":null,\"peloton_offset\":0,\"peloton_ask_start\":false,\"autoresistance\":true,\"row_remaining_time_s\":0,\"row_remaining_time_m\":0,\"row_remaining_time_h\":0,\"nickName\":\"N/A\",\"gears\":0,\"target_resistance\":0,\"target_peloton_resistance\":0,\"target_cadence\":0,\"target_power\":0,\"power_zone\":1.0178571428571428,\"power_zone_lapavg\":3.2401426706452945,\"power_zone_lapmax\":7,\"target_power_zone\":1,\"peloton_resistance\":0,\"peloton_resistance_avg\":0,\"peloton_resistance_color\":\"\",\"peloton_resistance_lapavg\":0,\"peloton_resistance_lapmax\":0,\"peloton_req_resistance\":0,\"cadence\":0,\"cadence_color\":\"\",\"cadence_avg\":52.474806201550386,\"cadence_lapavg\":52.474806201550386,\"cadence_lapmax\":67,\"resistance\":20,\"resistance_avg\":107.81770833333333,\"resistance_lapavg\":107.81770833333333,\"resistance_lapmax\":128,\"cranks\":518,\"cranktime\":38821,\"req_power\":0,\"req_cadence\":0,\"req_resistance\":0}}"

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

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.

cagnulein commented 5 months ago

please provide the full log. anyway these issues are usually a wifi issue. be sure to stay very near to the router

kaghkagh commented 5 months ago

debug-Sun_Feb_11_11_02_09_2024.log.zip debug-Sun_Feb_11_11_38_40_2024.log.zip

cagnulein commented 5 months ago

when this happen, if you restart qz everything restarts immediately without doing anything else or you have also to restart the bike?

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno dom 11 feb 2024 alle 21:54 kaghkagh @.***> ha scritto:

debug-Sun_Feb_11_11_02_09_2024.log.zip https://github.com/cagnulein/qdomyos-zwift/files/14234031/debug-Sun_Feb_11_11_02_09_2024.log.zip debug-Sun_Feb_11_11_38_40_2024.log.zip https://github.com/cagnulein/qdomyos-zwift/files/14234032/debug-Sun_Feb_11_11_38_40_2024.log.zip

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2119#issuecomment-1937866677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHX3NYA644BZPKHUKLYTEVX5AVCNFSM6AAAAABDDZGFOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXHA3DMNRXG4 . You are receiving this because you were assigned.Message ID: @.***>

kaghkagh commented 5 months ago

When it crashed the first time today, I restarted ifit on the iPad and qz on the phone. Did not have to restart the bike.

cagnulein commented 5 months ago

the only thing that i can do is to try to reconnect to the bike

i will do a branch for this i will let you know

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno dom 11 feb 2024 alle 22:03 kaghkagh @.***> ha scritto:

When it crashed the first time today, I restarted ifit on the iPad and qz on the phone. Did not have to restart the bike.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2119#issuecomment-1937868867, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFUBMCM4KKBGI6KKA3YTEW3FAVCNFSM6AAAAABDDZGFOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXHA3DQOBWG4 . You are receiving this because you were assigned.Message ID: @.***>

kaghkagh commented 5 months ago

Thank you. I will try to reconnect. I'll report back if anything happens again.

I am used to having issues connecting to qz on startup, I have to have my treadmill (which is in the same room) unplugged for the iPad to ble able to locate and connect to qz. But it usually stays connected after I have started. I have separate names for the treadmill and qz/the bike, but qz does not show as an alternative to connect when the treadmill is on.

cagnulein commented 5 months ago

@kaghkagh use the manual device setting in the advanced setting to force qz to connect to a device (wifi for the bike) or the treadmill

cagnulein commented 5 months ago

@kaghkagh i carefully checked the log. did you try to run the reverse? so qz on the ipad and ifit on android? it seems that the ifit app didn't send anymore any frame. It sounds to me like an android issue more than a qz issue. So give it a try on this let me know

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cagnulein commented 4 months ago

@kaghkagh any news?

kaghkagh commented 4 months ago

@cagnulein I didn't try anything yet, I want to wait until I have done Route 66 as I have not so much left of it. It still drops occasionally, and when it happens it often happens more than once. I have connected the bike directly to ifit, so I register everything also as manual workouts as a backup. It makes me able to complete the workout if it drops.

cagnulein commented 4 months ago

Ok, thanks for the update.

Il giorno dom 10 mar 2024 alle 14:32 kaghkagh @.***> ha scritto:

@cagnulein https://github.com/cagnulein I didn't try anything yet, I want to wait until I have done Route 66 as I have not so much left of it. It still drops occasionally, and when it happens it often happens more than once. I have connected the bike directly to ifit, so I register everything also as manual workouts as a backup. It makes me able to complete the workout if it drops.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2119#issuecomment-1987232857, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEKAESMFZRICKM6AMLYXROINAVCNFSM6AAAAABDDZGFOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIZTEOBVG4 . You are receiving this because you were mentioned.Message ID: @.***>

kaghkagh commented 2 weeks ago

@cagnulein Hi, I bought an android pad to get around this problem, but it did not help. I have tried using an iPad as a bridge, and an iPhone. Incline does not work, and when I try to change incline on qz, the bike seems to panic. It happens whether I have ifit connected or not. Se attached files and film from test, which shows what happens every time. I am not sure I got qz to write logs, I hope it was the .fit. Film was to big to upload, so it is here: http://mi9.no/qz/IMG_4589.mov

Fri Jul 5 19_40_16 2024.fit.zip Fri Jul 5 19_40_16 2024.fit.zip Fri Jul 5 19_40_19 2024_powerDistribution Fri Jul 5 19_40_19 2024_cadence Fri Jul 5 19_40_19 2024_speedInclination Fri Jul 5 19_40_16 2024 Fri Jul 5 19_40_19 2024_pelotonresistance Fri Jul 5 19_40_18 2024_power Fri Jul 5 19_40_19 2024_resistance Fri Jul 5 19_40_19 2024_heart Fri Jul 5 19_40_20 2024_power_badge

cagnulein commented 2 weeks ago

I'm currently in vacation, I will be back on Monday

Have a nice weekend

kaghkagh commented 2 weeks ago

Have a nice vacation!

cagnulein commented 2 weeks ago

hi @kaghkagh i checked your files but I need a debug log not a fit file. You can get a debug log following this https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F Also the movie file can't be downloaded. Can you try to download it from the link you sent here? let me know

kaghkagh commented 2 weeks ago

Hi, @cagnulein What is the name of the debug log? I uploaded all files I found on the files folder on the iPad, and I thought the log was not there. Log is activated in the app.

I uploaded the movie to YouTube instead: https://youtu.be/BwXLyP9KzHM

cagnulein commented 2 weeks ago

it has a debug prefix in the name

kaghkagh commented 2 weeks ago

In short what I tried to show in the film: I can adjust the incline on the bike but it does not show in QZ. If I adjust the incline in QZ or in ifit, the bike "panics" and disconnects. Ifit was not connected when this was filmed, but it is exactly the same, so it has to be between the app and the bike. It was the same as the initial bug.

cagnulein commented 2 weeks ago

yeah but i need a debug log to understand the issue , thanks

kaghkagh commented 2 weeks ago

debug-Fri_Jul_5_19_39_02_2024.log

kaghkagh commented 2 weeks ago

@cagnulein Would this be it?

cagnulein commented 2 weeks ago

@kaghkagh i guess I fixed the inclination reading in the new version. send me an email to roberto.viola83 at gmail.com indicating this ticket. Thanks

kaghkagh commented 2 weeks ago

It works, and not works. When just the QZ is connected to the bike, I am (now, or perhaps still) able to adjust the incline from QZ. When connected to ifit, I can still adjust the incline on the bike, but I can not adjust from QZ (bike panics). When I try "follow workout" in ifit (and let ifit control the incline), the bike also panics. In this first test, I first adjusted the incline from the bike (at about 0:24), and then pressed "follow workout" in iFit (system stopped). debug-Mon_Jul_8_15_25_31_2024.log

kaghkagh commented 2 weeks ago

Second test: Short competed ride with incline on the bike, with a lot of changes during the test. It does not seem like the incline is transferred to iFit, because after completion iFit says I gained 0 meters in elevation. There is no data on screen during workout indicating elevation, it seems I have to follow workout to engage elevation in iFit. debug-Mon_Jul_8_15_28_01_2024.log

kaghkagh commented 2 weeks ago

Do I have any of the settings in QZ wrong?

cagnulein commented 2 weeks ago

instead of staying in the manual workout mode, try to stay on the main window on the console. i guess the console is trying to force its current inclination value every time qz changes it Let me know

kaghkagh commented 2 weeks ago

I have a tdf 2.0, how do I know whether it is manual or main window? I just start to pedal?

cagnulein commented 2 weeks ago

i really don't know, because i have a tdf4. can't go in any different page beside the manual workout mode? You can check and ask here in the original thread https://github.com/cagnulein/qdomyos-zwift/issues/1101

kaghkagh commented 6 days ago

Hi, I have tried some more. On using manual mode or not: When I start a workout, I do that from iFit, after connecting to the equipment (qz). I have been logged in to ifit from the bike for backup when the system has crashed, but if I start a workout there (there is a button labeled iFit which sometimes shows workouts, but mostly not), I am not able to register it on iFit on the tablet - it does not connect. When I start a workout from the tablet through qz, the bike acts like it is a manual workout. It also registers on iFit as a manual workout. I tried logging out from iFit on the bike, it made no difference. On the issue of incline: If I adjust the incline on the bike during a workout of iFit, the incline shows in QZ, but there seems to be no input for it on iFit on the tablet. It does not register. The manual workout registered from the bike is also without incline with ot without connected to QZ. If I try to adjust incline from iFit on the tablet, the bike panics/stalls. Attached two tests: 1) Adjusted incline on the bike during workout. 2) Managed to "follow workout" on the tablet without the bike stopping, but then the speed said 0 on iFit, and nothing registered on iFit. debug-Tue_Jul_16_07_36_21_2024.log debug-Tue_Jul_16_07_08_35_2024.log

cagnulein commented 6 days ago

Just to understand the scenario: if you use QZ standalone with the bike, is it working ok? (leave for a moment ifit out of the game)

kaghkagh commented 6 days ago

Yes. QZ and the bike seems to be working OK.

cagnulein commented 6 days ago

ok so i got the issue. Ifit bridge that I made it's only using resistance, not inclination. I guess that's why you are seeing this kind of issue. Did you try to use resistance only on ifit?

kaghkagh commented 6 days ago

I am not able to adjust anything when doing a workout on iFit. As for now, I have only the choice to follow workout, which triggers the problems on my bike.

cagnulein commented 6 days ago

ok i saw 2 different issues on the log:

Let me know if it's better then

kaghkagh commented 6 days ago

OK, I will try when back home in a few days. (Now vacation.)

cagnulein commented 6 days ago

ok i will be in vacation too till next monday. Have a great vacation!