Open dvmarinoff opened 2 years ago
Download and install Zadig.
Select List all devices
from Options
Select the ANT+ usb stick
Select driver and click reinstall (WinUSB.sys)
Expected result in web-ant.vercel.app
NOTE: to restore compatibility with Zwift do the same, but select the libusb-win32
driver
UPDATE: adding Wahoo instructions on installing an ANT+ USB driver for Windows.
I tried to connect to your app with a Windows 11 computer, Chrome browser. I can confirm your experience above. I was able to connect Wahoo Kickr 2016 and Garmin HRM to your app using WinUSB driver, but then could not connect to Zwift. I tried the other drivers with same result as you.
Thanks for verifying that on Win 11. I will need to take some time and study the whole Windows USB driver situation, but until then will try to put the code into Electron or something similar that will produce a desktop app. Maybe this will work with the default driver.
Ok. In the meantime, I don't mind helping to test as you develop this further. I can use a Windows PC with the WinUSB driver installed that I am not using to run Zwift so that I don't have to keep switching drivers back and forth.
On Windows 10 WebUSB and WebSerial are available, but with the default driver WebSerial does not recognize the device and WebUSB can't open it. WebUSB throws the error: 'Uncaught DOMException: Access denied' WebUSB issue.
This means that the default driver needs to be replaced with another one. The Zadig utillity tool (download, docs) can do that.
Did some experiments with the available drivers:
libusb-win32 (default) driver:
navigator.serial.requestPort()
getsno compatible device found
navigator.usb.getDevice()
gets erroraccess denied
WinUSB driver:
navigator.serial.requestPort()
getsno compatible device found
navigator.usb.getDevice()
worksUSB Serial (CDC) driver:
navigator.serial.requestPort()
finds the port, butport.open({baudRate: 57600})
throws an errornavigator.usb.getDevice()
does not list the device