USB Scale not showing up using WebHID

220 views Asked by At

I have a USB scale of type Mettler/Toledo PS60 which I'm trying to connect to using the WebHID API in order to receive scale values for my web app. However it doesn't show up in the list of devices when calling requestDevice().

navigator.hid.requestDevice({ filters: [] })

The device DOES show up when using the WebUSB API however I can't connect to it with error message "The requested interface implements a protected class." Ok makes sense since the interface shows as HID and "blocked by WebUSB" in chrome://usb-internals/ but then why doesn't it show up when using WebHID?

enter image description here

I tried changing drivers to WinUSB but that didn't seem to make any difference. Anyone have a clue as to what the issue is or some way I can get more information about why the device is not listed? Or is it simply not possible to use this device with WebHID/WebUSB?

0

There are 0 answers