kevinvincent / ha-wyzesense

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

Help with unique configuration #99

Open seanemclean opened 4 years ago

seanemclean commented 4 years ago

Not an issue, but hoping someone may be able to help me with configuration.

I previously had hassio running on an ubuntu vm on my PC, but had a lot of issues with wyzesense stability even after the 0.7 release. In an effort to fix this (and further complicate my life), I now have hassio running in docker on a raspberry pi 4 off an SSD, with the SD card acting as a bootloader. I have my entire setup up and running with the exception of wyzesense. I reinstalled HACS and wyzesense, both launch without any issue or errors, but cannot get it to 'see' the dongle, so that remains in blue/amber flash.

I think the issue is getting it to see the other USB ports since it is currently running from the SSD. Anyone knowledgeable that can give me five year old level instructions on how to configure?

Thanks.

photinus commented 4 years ago

Can you run the following and post the output:

dmesg | grep hidraw

I'm guessing you'll need to map through the hidraw device from the host to the docker instance

seanemclean commented 4 years ago

Thanks for getting back to me so quickly!

This is what I got: pi@raspberrypi:~ $ dmesg | grep hidraw [ 0.407943] hidraw: raw HID events driver (C) Jiri Kosina [ 1.411079] hid-generic 0003:1A86:E024.0001: hiddev96,hidraw0: USB HID v1.00 Device [HID 1a86:e02 4] on usb-0000:01:00.0-1.3/input0 [ 97.433570] hid-generic 0003:1A86:E024.0002: hiddev96,hidraw0: USB HID v1.00 Device [HID 1a86:e02 4] on usb-0000:01:00.0-1.3/input0