Open mgriffin13 opened 5 years ago
The library accepts a device path, which can be anything. Have you tried passing it the path to the "hiddev" device?
I tried it using --device, and here is what I get
[[/tmp/WyzeSensePy-master] # ./sample.py --device /dev/usb/hiddev0 -d -v
Openning wyzesense gateway ['/dev/usb/hiddev0']
DEBUG 2020-04-04 18:20:11,012 Start Inquiry...
DEBUG 2020-04-04 18:20:11,013 ===> Sending: Packet: Cmd=4327, Payload=
I did a quick look with my synology and it seems hiddev is not possible with this: hidraw reports more information than hiddev. With hiddev, those information will never gets to the code.
Thanks for a quick response - I am moving on to running it on Raspberry Pi.
Some devices, like a Synology NAS, mount the Wyze Bridge as a
hiddev
device because they don't contain thehidraw
drivers. Would it be possible to support bothhiddev
andhidraw
devices?