-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this project should be un-mothballed as there is now a solution to permanently fix bricked sensors #202
Comments
It's awesome to hear someone found a way to resurect dead sensors, though I think at least in my case without being able to buy new sensors and not having an easy way to recover the old mac from the sensors, I'm not sure it's worth trying to continue the development. |
if I correctly interpret the outcome of issue 6 from the wyzeback project along with other comments i've seen online, it would appear that home assistant can pair with any arbitrary mac that is flashed regardless of what the original mac was. only the wyze app seems to be stuck on performing a check against the original mac. as it stands now, the erlanger wyzesense fork has been performing flawlessly for me going from hass v4.17 all the way up to v2021.1.5. it is only 1 commit ahead of master and utilizes a fix identified in issue #189. I worry that keeping hass current all but guarantees that wyzesense will eventually break on me. |
@stanwebber - Hi Stan, I'm thinking about moving to erlanger's fork based on your feedback. How was the transition? I'm assuming that I don't have to unregister/re-register the devices I've got as it will still be referring to the original database. Also do you know if the 'wyzesense stops sending state changes' issue that requires a hard boot is fixed in this fork? #189 doesn't seem to be quite the same issue... Cheers, |
Does anyone experience that the integration died silently? Today I found that none of my contact/motion sensor is working, no error in HASS log either. The bridge LED is blue. The annoying thing is that there is symptom that it is not working, no error log either. |
Yes, I get that issue semi-regularly as well. My workaround is a full Pi reboot, seems to do the trick. I've got a Node-Red flow that checks for recent state changes, if there are none for 12 hours it kicks off the reboot. Not ideal, but it gets the job done. |
Same for me since yesterday :( |
I implemented using that fork from scratch in hacs. i guess in your situation i would just manually overwrite the existing folder in custom components with the new fork. if you're already up to date with master, only a few lines of 1 file have changed. you could make the edits yourself on the server via nano with things shut down. |
Yep, that was my plan. All the sensors stopped reporting again about two hours so I'm testing the new version as of now :-) |
Could you share the node-red flow you use? Thanks! |
Here it is - I've made life slightly more complicated by being aware of general family presence, plus the time, to try and narrow the window of expected state changes. It could be made a lot more easy!
|
Ah, I just realised that my 4, 8 and 12-hour counters were off by a factor of 1,000! They should be 14400000, 28800000 and 43200000 respectively. |
I've just had the 'no state change' issue again, using erlanger's fork. I'll raise an issue. |
@kevinvincent - This integration is working great for me so far. I didn't bother previous because I thought the project was dead with issues aside from just the hardware issue on wyze's part. So far no issues at all. It was even able to pair one of the sensors with the erased MAC (shows as wyzesense_"blank here"), unfortunately can only add one bricked sensor with the erased MAC but I'm still happy. The second without a mac is recognized upon pairing but guessing since HomeAssistant sees both as the same blank MAC address that's why the second one won't show up as an entity. Not sure what happens to or where the info goes for the second bricked sensor after it is added. Guessing the only way to assign a new MAC is via wyzeback but buying a LAUNCHXL-CC1310 just doesn't make sense to unbrick a few cheap sensors. Super happy though that the one previously brocked sensor is working - now only one of my 6 sensors is out of commission. Thanks again Kevin for this nice piece of work. Working great to trigger my ESPhome bed lighting!!! |
@ballakers the sensors with null macs will act as a group under that single hass entity. say you have six windows with six null sensors. opening or closing any window will trigger the entity. you'll get an alarm or notification, but you won't know which specific window was breached. it's only necessary to register the first null sensor with the bridge--all the others are automatic since they're essentially duplicates. if a close neighbor also uses wyze sense it could be problematic for you if their sensors also go null. |
Awesome thanks for the info. Guess that won't work for me how the other null sensor is set up at the moment but I'm a happy camper either way and in the future maybe I'll put it to use if I change the use of the currently used null sensor. Thanks again! |
What do you use for presence detection ? |
I don't do a whole lot with PD. I use the motion sensors at night to dimly turn on some hue lights (if someone walks through the house), and I use them as part of a home-brew alarm, but that's about it. |
Ok you "don't do a whole lot with PD" but it seems to be in your Node-Red ( group.stewart_family ). I was just wondering "what" you used for PD, not how much you relied on it. I've just always had a problem setting any workable PD - that's why I asked. |
Ah, OK. Yes, that group is a collection of device_tracker entities, that really only care if anyone is 'Home' or not. |
I agree that this should be kept alive as I've been able to keep my sensors working via this method I discovered when I first got a Wyze kit. I just had all my sensors stop reporting as of 4 days ago (was on vacation) so I'm going to reboot Pi and see what happens. |
sycophantic on github has devised an economical jtag method to unbrick motion and contact sensors: https://github.com/sycophantic/wyzeback
null on the wyze community forums has identified how to write-protect the sensor firmware to prevent the mac from being overwritten in a low-battery state so that the sensors never get bricked in the first place: https://forums.wyzecam.com/t/unbricking-wyze-contact-sensor-pcb-reset-pin/146856/112
The text was updated successfully, but these errors were encountered: