Commit Graph

94 Commits

Author SHA1 Message Date
Jonas Bark
9ba09657a1 fix(controller): firmware hints now point at the Zwift Companion app
Riders who can't find their controller are told the firmware may be out of
date, but never where to update it — a support report showed someone had no
idea updates run through the Zwift Companion app.

- name the Companion app in every firmware hint and give each one an action
  that opens it (scan-time Zwift Ride toast, missing-custom-service alert,
  newer-firmware-available alert)
- add a firmware tip with the same link to the onboarding "no controllers
  found" state, where riders actually get stuck
- localize the three hints, which were hardcoded English, across all 6 locales

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 20:23:48 +02:00
Jonas Bark
08d31ede0c feat: auto-arm WHEELTOP keepalive probe; quiet quick-drop loop when off
The probe was only reachable via a device-page toggle, but TX pods drop
so fast the user can never open the page — the one field tester couldn't
enable it. Arm the probe automatically on the first 0x10 status frame
(the moment that proves a pod needs the reply), default on; the toggle
becomes an opt-out. Move probe creation out of handleServices into a
lazy arm on that frame.

When the experiment is off, count a connect that dies within
quickDropThreshold (5s) as a failure via the same backoff, so the
endless connect/connected/disconnected loop gives up after 3 and shows
the guidance instead of spamming forever. While the experiment is on the
device opts out (keepsReconnectingWhileDropping) so the loop keeps
cycling for the probe. Extract _engageBackoff shared by both paths.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 13:25:54 +02:00
Jonas Bark
1a40888c31 feat: connect-backoff seams on BluetoothDevice, Wheeltop opts in
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 16:34:23 +02:00
Jonas Bark
0723272455 prepare release 2026-07-09 15:17:51 +02:00
Jonas Bark
e310adbceb Merge branch '6.2' into 6.3
Brings SRAM AXS shifter support, beta-access/Shorebird track, and the
battery-saver timeout fix into 6.3. Merged the prop submodule (83f4bf9) so the
SRAM parser/button-tables and the Climb protocol coexist. Resolved: CHANGELOG
(SRAM AXS folded into 6.3.0), the prop pointer, and repointed the SRAM
integration test to the fake-BLE harness that 6.3 promoted into lib/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 12:04:00 +02:00
Jonas Bark
821ba2d0fe feat(sram): connect only to the rear derailleur; name buttons per shifter type
Filter scan results to the RD (device-type record in the 0xFE51 advertising
service data, §2), so we no longer create a controller for bare shifters. Name
buttons from the pressing shifter's advertised type/model (§6.4 — Left/Right
Shifter, Aux Top, Bonus, ...) and pre-register nearby shifters' buttons on
connect so they appear without a press; degrade to Shifter A/B when no advert.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 17:17:18 +02:00
Jonas Bark
db751c80e8 feat(wheeltop): recognize EDS shifters from their advertisement
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 12:05:05 +02:00
Jonas Bark
6c478094d1 feat(rizer): EliteRizer incline device + name-based registration
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 23:51:21 +02:00
Jonas Bark
8d99bf418b feat(climb): register KICKR Climb, generalize accessory exclusion, dispatch actions
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 21:28:50 +02:00
Jonas Bark
ae6dce0df2 feat(climb): WahooKickrClimb BLE device + ClimbInclineSink + Accessory marker
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 21:14:46 +02:00
Jonas Bark
6778c1e45b feat: optimize Zwift Click V2 left/right experience
- Make the split left/right controllers available to everyone: replace the
  isPro gate in the device factory with a "Use new unlock method" setting
  (default on); off falls back to the legacy unified ZwiftClickV2.
- Add the "Use new unlock method" toggle to all three Click V2 settings panels;
  flipping it reconnects the Click as the new/legacy representation.
- Fix the "Unlock again" button placement: on narrow side-by-side cards the
  action now drops below the status text instead of squeezing it.
- Add "Use the right side only" to the right side when a left side is connected:
  ignores the left side (reversible via Ignored Devices) and remaps the active
  keymap so + shifts up and B shifts down.
- Localize new strings (de/es/fr/it/pl; en already present) and add
  factory/settings unit tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-17 19:50:08 +02:00
Jonas Bark
51747eb4f4 feat: ProxyDevice.wifi — bridge DirCon trainers through TrainerTransport seams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 07:10:40 +02:00
Jonas Bark
8f221245cc new unlock method 2026-06-06 19:54:00 +02:00
Jonas Bark
0bfd483ba1 Merge branch '5.5.0' into draft
# Conflicts:
#	prop
2026-05-31 10:26:25 +02:00
Jonas Bark
461fe8a420 Zwift Play Firmware 2.0.1 support 2026-05-25 21:14:49 +02:00
Jonas Bark
60ba3121c6 animations 2026-05-25 20:13:08 +02:00
Jonas Bark
3eda0fab48 fix Wahoo Kickr Bike detection 2026-04-29 16:42:40 +02:00
Jonas Bark
642fc754a1 UI adjustments, BLE advertisement fix 2026-04-26 09:14:00 +02:00
Jonas Bark
e8d4166543 fix firmware check if version is newer 2026-04-24 12:55:48 +02:00
Jonas Bark
4913915454 fix compilation 2026-04-19 12:26:09 +02:00
Jonas Bark
c873d24187 feedback adjustments 2026-04-19 10:16:29 +02:00
Jonas Bark
7d8a848e5f feat(ble): read device name, hardware revision, and manufacturer name on connect
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 09:49:43 +02:00
Jonas Bark
a028a1e606 release preparation 2026-04-17 09:44:39 +02:00
Jonas Bark
989a1a2f68 fix firmware version check on wahoo kickr bike pro 2026-04-08 08:25:52 +02:00
Jonas Bark
1cdcc15841 proxy #1 2026-03-23 10:25:09 +01:00
Jonas Bark
40769d4577 new ui #18 2026-03-12 07:38:20 +01:00
Jonas Bark
0ed0eee8d5 new ui #10 2026-03-11 15:13:00 +01:00
Jonas Bark
318bc959de new ui #8 2026-03-11 13:31:23 +01:00
Jonas Bark
3a67d55495 new ui #7 2026-03-11 12:09:21 +01:00
Jonas Bark
91f693ec0d new ui #5 2026-03-10 21:02:41 +01:00
Jonas Bark
922c785df1 new ui #4 2026-03-10 19:04:51 +01:00
Jonas Bark
74ee11d98c new ui #1 2026-03-10 12:35:36 +01:00
Jonas Bark
32400e5b12 add support for Kickr Bike V1 + V2 2026-03-10 08:15:51 +01:00
Jonas Bark
5fa0e72d47 scripting #1 2026-03-04 15:29:02 +01:00
Jonas Bark
0e6ca6ee97 supports long press for base device as field 2026-02-25 09:47:52 +01:00
Jonas Bark
3f40762bd2 support Zwift Ride with old firmware 2026-02-11 08:56:10 +01:00
Jonas Bark
42472f59db cleanup toast handling 2026-02-08 10:01:54 +01:00
Jonas Bark
d7ede1b5ff cleanup, proxy work 2026-02-01 16:33:03 +01:00
Jonas Bark
16140462d6 cleanup 2026-01-26 09:00:52 +01:00
Jonas Bark
8997b54a9a group buttons by device, add new unlock mechanism 2026-01-23 15:27:32 +01:00
Jonas Bark
cc691c0102 show side identifier for Zwift Play 2026-01-21 13:06:26 +01:00
Jonas Bark
33593ba47c fix import, adjust changelog 2026-01-19 11:18:43 +01:00
copilot-swe-agent[bot]
163317e133 refactor: generalize per-device button handling
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-19 09:55:00 +00:00
Jonas Bark
7f52ee4938 fix configuration not updating for new buttons 2026-01-17 12:59:39 +01:00
Jonas Bark
49f2c2614c skip powermeters from connecting 2026-01-14 12:12:19 +01:00
copilot-swe-agent[bot]
4c85d901ad Update VS200 logic: use only FEA0 service with specific byte patterns
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:49:48 +00:00
copilot-swe-agent[bot]
f6c8c13fd5 Add support for Thinkrider VS200 virtual shifter
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:36:53 +00:00
Jonas Bark
2c18b91b37 don't connect to both Zwift Ride instances 2026-01-11 11:25:20 +01:00
Jonas Bark
faeff067b7 ui fix, sync purchases once, Zwift Ride adjustment 2026-01-08 09:43:52 +01:00
Jonas Bark
42a83e8af5 performance & ui fixes 2026-01-07 10:19:21 +01:00