kevinvincent / ha-wyzesense

A Home Assistant Component to interface with the WYZE Sense hub and sensor system
368 stars 98 forks source link

HIDRAWxx changes between reboots #161

Closed bronder closed 4 years ago

bronder commented 4 years ago

I'm not sure this is an issue with the add-on or my lack of understanding Linux. But when I started I put the configuration on hidraw0 and everythign was great. Then I rebooted and everything was unavailable. After a bit of debugging I notice that the usb dongle is at times on hidraw0 and at times hidraw1. Any idea how I can force this to remain the same?

Thanks, Scott

kevinvincent commented 4 years ago

You can remove the configuration device: "/dev/hidraw0" from your config. Then the add-on will automatically find the right hidraw device and connect to it on each reboot.

bronder commented 4 years ago

You can remove the configuration device: "/dev/hidraw0" from your config. Then the add-on will automatically find the right hidraw device and connect to it on each reboot.

Awesome! Thanks for the help.