kevinvincent / ha-wyzesense

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

Can not add sensors #133

Open jgthornburgh opened 4 years ago

jgthornburgh commented 4 years ago

When I try and add a device the blue light will flash. I press the reset switch and the orange light will blink a couple times, and then go out, the blue light will continue blinking. I then get a message stating "Scan completed with no sensor found."

System: Home Assistant Running on Proxmox, Installed with Whiskerz007 script

HassOS 3.13, HA Version 109.3

Hardware shows "/dev/serial/by-id/usb-0658_0200-if00"

I have tried:

# dmesg | grep hidraw [ 2.790012] hidraw: raw HID events driver (C) Jiri Kosina [ 2.911529] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0 [ 3.233303] hid-generic 0003:1A86:E024.0002: hiddev96,hidraw1: USB HID v1.00 Device [HID 1a86:e024] on usb-0000:00:1d.0-1/input0

Logs: https://pastebin.com/Rgnhbz5u

rainiur commented 4 years ago

Having exactly the same issue.

jgthornburgh commented 4 years ago

bump

photinus commented 4 years ago

You mention hitting the reset switch and the orange light blinks. Are you talking about a contact sensor or motion sensor? How many times does it blink? Can you try pairing the sensor using a Wyze Camera and in their app? Others who have reported similar issues had to RMA their usb dongle to Wyze.

jgthornburgh commented 4 years ago

You mention hitting the reset switch and the orange light blinks. Are you talking about a contact sensor or motion sensor? How many times does it blink?

On the sensor, three blinks

Can you try pairing the sensor using a Wyze Camera and in their app?

I tried and it fails also, sense hub also failed firmware update.

Others who have reported similar issues had to RMA their usb dongle to Wyze.

I submitted a rma request on Tuesday but haven't heard back from them yet.

BlindLemonLipschitz commented 4 years ago

I had the same issue. I ordered a Wyze cam to try and pair my sensors with it first. I had the same problem adding the sensors to the cam. Then I came across this procedure on the Wyze forums.It may work without the camera too. I hope this helps sombody: Usa1000, thanks for the help. This worked for me. Steps below:

  1. Plug in the bridge and wait until the bridge light is solid blue.
  2. Hold down the button with the WYZE logo on the back of the bridge until the light turns solid yellow, then let go of the button.
  3. In the app, tap the 3 dots to add a product, select your device and the camera. It will say, Wyze bridge is ready to be connected and flash yellow and white.
  4. Use the pin to hold the reset button in on your sensor until it flashes 3 times (my sensors flashed red 5 times). The connection was successful. Repeat steps 2-4 for other devices.
donnlee commented 4 years ago

I followed @BlindLemonLipschitz procedure on a bridge connected to my HA server, and it worked. You don't need to use the Wyze app on your smartphone. Press the button on the bridge until its LED turns solid yellow. Then call the service wyzesense.scan (flashing led), then press reset button on the sensor for 3s. In my case, a door sensor. Thanks BlindLemon!

wildoracle commented 4 years ago

WOW! This solved my sensors not being paired as well. I didn't need to do the part about opening the Wyze app. I just pushed the button on the USB bridge until it turned yellow, then went through the call service: wyzesense.scan as usual and this time the sensor paired. This step appears to be missing in the setup process.

RandomPotato893 commented 4 years ago

I tried this and It didn't work for me

RandomPotato893 commented 4 years ago

It works with a camera but it fails on home assistant.

donnlee commented 4 years ago

It works with a camera but it fails on home assistant.

If your HA is the supervised install (docker container), ensure you pass the device path of the wyze bridge to the container so the device path to the bridge is visible INSIDE the container. In my case, the device path is: /dev/hidraw1

RandomPotato893 commented 4 years ago

Yes that is not the problem I am running home assistant on a vm and I have the usb done correctly because the hub is showing up and working. It is pairing it won’t the sensors that doesn’t work and I don’t think it is a faulty hub because it pairs correctly. If I don’t respond immediately it is because it is midnight and I have to go to bed. Thanks for your response and please let me know if you have any more ideas.

RandomPotato893 commented 4 years ago

Sorry about my grammar! :) I am on my phone and my fingers are fat. I meant that the hub will talk to home assistant just fine but when I try to pair it to a sensor it doesn’t work.