Wyze sense sensor integrations

Anyone running odroid or new home assistant blue device?

Here’s the error i’m getting:

Log Details (ERROR)
Logger: homeassistant.components.binary_sensor
Source: custom_components/wyzesense/binary_sensor.py:67
Integration: Binary sensor (documentation, issues)
First occurred: 5:48:48 PM (1 occurrences)
Last logged: 5:48:48 PM

Error while setting up wyzesense platform for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/wyzesense/binary_sensor.py", line 76, in setup_platform
    config[CONF_DEVICE] = findDongle()
  File "/config/custom_components/wyzesense/binary_sensor.py", line 67, in findDongle
    df = subprocess.check_output(["ls", "-la", "/sys/class/hidraw"]).decode('utf-8').lower()
  File "/usr/local/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/local/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ls', '-la', '/sys/class/hidraw']' returned non-zero exit status 1.

edit: ls -al /sys/class/ does not list hidraw

Welcome to wyze world this was a great implementation when first on the scene but unless you change your batteries every few months your $i"t outta luck, I was able to convince them a few months ago to replace 7 of mine by advising them that this was not a warranty issue but a manufacturer defect just to update Kevin has sacked anymore work on this project as a result of this fiasco

1 Like

I just got off the phone with Wyze and they told me the new version 2 that are do out soon will not work with the old hub and the old sensors will not work with the new hub. Time to switch to a different vendor for contact and motion sensors!

1 Like

I have a mix of Zigbee, Zwave and Wyze in my system. I was having issues with sensors reporting correct data and MAC addresses not displaying. I just removed all of my Wyze gear in the last week and replaced them with the Aqara window/door sensors and motion sensors. They are so much more reliable and will continue to use these going forward

2 Likes

Thank you, the only issue I have is in reading the QT-openzwave forum and it seems there is questions on how it will be supported in the future. I really don’t want to change to new sensors that may have a limited life. Currently, I have setup automations that send me reminders to all of my devices when any of my wzye sensor batteries hit 86%. Since I have done this, I have not lost any of them.
If I change to the Aqara window/door sensors and motion sensors, what do you recommend? Did you purchase from Amazon or somewhere cheaper?

Wyze contact sensor only reports battery when it open/close, if a contact sensor that doesn’t have much activities (like those put on windows) it can still die.

I purchased from aliexpress but they are available on amazon. There are links to buy on each of the pages below.

You will need a zigbee receiver to communicate with the devices, I use the conbee II . I haven’t had any problems with the conbee in the 2 years I have been using it. There are other sticks out there but I can’t vouch for them. You will also be able to use IKEA tradfri range among others
https://www.amazon.de/dp/B07PZ7ZHG5

This page is great for a list of zigbee compatible devices.

@hassbrad This battery box is a fantastic idea. Any chance of sharing your 3D print file (whatever the current state it is in)?

Has anyone tried un-bricking any of their contact sensors?


Too much effort, just switch to ZigBee and forget about Wyze.

1 Like

I removed all the contact sensors I had set up with wyze, but kept the motion senors. They’re just so small and work great. Migrated to cheap 433mhz sensors.

I’m new to 433mhz sensors, Can you give more detail about it? Thanks.

sonoff rf bridge flashed with tasmota.

Yeah this is crap they clearly have a defective product and no sign that they will make good on replacing them with v2 and yes the motion sensors just work just have to stay vigilant on battery replacement

Once I found out about the battery issue, I have not lost one in over a year. All the ones I lost last year were replaced by Wyze at no cost to me. I now have automations warning me when the battery level reaches 85%. They are small, cheap and work well with Home Assistant ( for me at least).

Good luck with the battery report it is not consistent and they will die while still reporting that the battery is good they replaced mine too but with the same defective hardware so that’s certainly not a fix and to change batteries out with only 15% of use also is quite annoying

I don’t believe that the are only down 15%. I believe this is another issue with the product. To get down to 15 % it takes 6 months to a year for me. I will be switching to something else just not sure what is the best for Home Assistant?

i’ve read that the motion sensors don’t have the same mac address issues upon empty battery

Source? would love if that’s true as the motion sensors are very responsive and I use several

I haven’t seen one person mention their motion sensor MAC disappear. I think someone mentioned that it doesn’t have the issue in the threads I linked in this post: Wyze sense sensor integrations