Closed CorneliousJD closed 3 years ago
I did find that if you run the service to remove a sensor and for the data you put in
mac: "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
It still showed up in my entities, but after restarting HA I could then finally delete it. It seems like it's actually finally gone now, but would still like to get to the bottom of what's going on.
Sadly in troubleshooting this thinking the battery connection wasn't good enough on one of them I broke off a part that connects the battery, so one of the two sensors I have is now dead because of that. Whoops.
I do have 4 more brand new sensors on the way if USPS can find them and actually get them delivered to me. Will hope that those 4 work correctly, but if there's anything I can do to fix the one bad one I still have or anything you need me to do to test, let me know. Thanks.
I am also having this problem. I tried you're suggestion above to remove the sensor and was successful. However, when I try scanning it back in it just pops up the same way it was before. Is it possible that we could hard reset the sensor itself somehow? Like you, the problem appeared as soon as a swapped the batteries on the sensor. Just throwing mud at the wall.
Some ideas to try, how about adding sense sensors to wyze app and it may help by restoring it back to factory setting that way, then remove it from wyze app and re-add to HA. I haven't tried it myself but I think it's worth a shot.
Some ideas to try, how about adding sense sensors to wyze app and it may help by restoring it back to factory setting that way, then remove it from wyze app and re-add to HA. I haven't tried it myself but I think it's worth a shot.
Yeah, I had a similar thought and tried that. Didn't work in my case sadly. I ended up contacting Wyze and they replaced them for free. The new ones work fine. Seems like it is some kind of hardware defect.
Some ideas to try, how about adding sense sensors to wyze app and it may help by restoring it back to factory setting that way, then remove it from wyze app and re-add to HA. I haven't tried it myself but I think it's worth a shot.
Yeah, I had a similar thought and tried that. Didn't work in my case sadly. I ended up contacting Wyze and they replaced them for free. The new ones work fine. Seems like it is some kind of hardware defect.
Did you mention that you were using it through Home Assistant? I don't have them paired to my Wyze app so I won't be able to do any of their troubleshooting if required I guess.
Some ideas to try, how about adding sense sensors to wyze app and it may help by restoring it back to factory setting that way, then remove it from wyze app and re-add to HA. I haven't tried it myself but I think it's worth a shot.
Yeah, I had a similar thought and tried that. Didn't work in my case sadly. I ended up contacting Wyze and they replaced them for free. The new ones work fine. Seems like it is some kind of hardware defect.
Did you mention that you were using it through Home Assistant? I don't have them paired to my Wyze app so I won't be able to do any of their troubleshooting if required I guess.
I honestly don't remember if I mentioned using home assistant. I don't think I did. They asked me to do a few rounds of connection, and reset through the wyze app with the bridge connected to a camera. I played along with this by temporarily disconnecting the bridge from home assistant and connecting it to a camera. The sensors didn't work this way either, so after a couple different troubleshooting steps they said they were defective and that they'd send new ones out free of charge. Hope that helps!
The sensors didn't work this way either, so after a couple different troubleshooting steps they said they were defective and that they'd send new ones out free of charge. Hope that helps!
Did you have any luck with the replacement sensors? I have experience the exact same as you describe. Sensors that worked fine suddenly don't. Seems odd the sensors (multiple) go bad all of the sudden and at the same time.
The sensors didn't work this way either, so after a couple different troubleshooting steps they said they were defective and that they'd send new ones out free of charge. Hope that helps!
Did you have any luck with the replacement sensors? I have experience the exact same as you describe. Sensors that worked fine suddenly don't. Seems odd the sensors (multiple) go bad all of the sudden and at the same time.
I agree that it seems rather odd that multiple went bad around the same time, though for me it seemed to center around replacing the batteries. The replacement sensors have been working fine since I received them which has been a while ago now.
Just an FYI, this is a known issue with the sensors. If you let the battery get too low, it will cause the sensor to lose its mac address. Stupidest design decision ever. We just need to figure out how to re-provision a mac for the devices that lost them. Anyways, not an issue with the integration, but with the hardware. See the warning message here: https://support.wyzecam.com/hc/en-us/articles/360031022231-How-long-does-the-sensor-s-battery-last-
Wow, the fact that they're actually acknowledging this is intresting. Serious design flaw with these things. I hope they sort it out as to why and then ship free replacements to everyone who has dead sensors. They replaced a few of mine so far without an issue but I have like 12 sensors so it's only going to keep happening :(
Closing this then with the suggestion to contact their support as it's NOT an issue the integration, but rather a Wyze issue altogether.
Would recommend everyone setup some sort of template value or Node-RED notification trigger that when the battery is low enough you get a warning to replace it. :)
The last reported battery level on all my sensors is above 80%. And 3 of them have a low battery (LED flashes every 10 seconds or so). So there is no point in checking for a low battery level because it will never trigger.
That was what I was wondering about. I’d kept a decent watch on the battery levels and never worried about their numbers. Then suddenly 3 of my contact sensors died and the missing MAC addresses led me here.
And the odd thing is that when I add them again they attach themselves to the first sensor that had its battery replaced. This makes both sensors work on the same window. Adding the MAC address to the first one does not help as it is removed once the second sensor is added.
80 is way too low. Try like 85. Also, unless you trigger the sensor occasionally, it wont send back any data on the battery level. I have notifications setup for both how long its been, and battery level.
@PierreScerri There is no MAC address, it lost it. So its new MAC is essentially "NULL" So when you add the second one, it also says, "Hi, my MAC is 'NULL'" and now you have 2 sensors that think they are the same person. Once they lose their MAC, they are essentially worthless since they cant be differentiated between.
I told them I used them ONLY through home assistant. They replaced with no issue just took them a few to understand how I used them and that the failure was not related to how they were being used.
On Mon, Jul 13, 2020, 10:37 PM McNutty195 notifications@github.com wrote:
Some ideas to try, how about adding sense sensors to wyze app and it may help by restoring it back to factory setting that way, then remove it from wyze app and re-add to HA. I haven't tried it myself but I think it's worth a shot.
Yeah, I had a similar thought and tried that. Didn't work in my case sadly. I ended up contacting Wyze and they replaced them for free. The new ones work fine. Seems like it is some kind of hardware defect.
Did you mention that you were using it through Home Assistant? I don't have them paired to my Wyze app so I won't be able to do any of their troubleshooting if required I guess.
I honestly don't remember if I mentioned using home assistant. I don't think I did. They asked me to do a few rounds of connection, and reset through the wyze app with the bridge connected to a camera. I played along with this by temporarily disconnecting the bridge from home assistant and connecting it to a camera. The sensors didn't work this way either, so after a couple different troubleshooting steps they said they were defective and that they'd send new ones out free of charge. Hope that helps!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kevinvincent/ha-wyzesense/issues/134#issuecomment-657931471, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5DEXME6HAKQVSYVBS33STR3PAH5ANCNFSM4M5BQADQ .
@BrewNinja thank you for that explanation. Didn’t realise that 80 was too low. I will adjust accordingly. I have windows that are not opened for weeks. @turbo4door i have emailed Wyze about them. The sensors have only been up for 8 months.
What is the support email address of Wyze? support@wyze.com is not monitored. And I can't call as the stupid bot suggests.
@CorneliousJD Would you let me have one of those flows for checking the battery level please? Thanks.
@CorneliousJD Would you let me have one of those flows for checking the battery level please? Thanks.
@PierreScerri
So I'm not sure how off hadn to export just one line of this flow but here's screenshots that should let you easily replicate it.
Thanks a lot. That is very helpful.
I have used your idea as follows:
One flow to rule them all!
@BrewNinja . I've got the battery level figured out. How do you handle the '...how long it's been...' part?
80 is way too low. Try like 85. Also, unless you trigger the sensor occasionally, it wont send back any data on the battery level. I have notifications setup for both how long its been, and battery level.
@PierreScerri There is no MAC address, it lost it. So its new MAC is essentially "NULL" So when you add the second one, it also says, "Hi, my MAC is 'NULL'" and now you have 2 sensors that think they are the same person. Once they lose their MAC, they are essentially worthless since they cant be differentiated between.
You would need to do something off of timestamp. I just have a card in my dashboard that shows me the last timestamp, but if you want to put it in a flow/automation, then you would need to calculate how long its been since the timestamp.
- Get Entities node catches all binary_sensors.
Very nice flow! Worth noting that the Get Entities node needs to have an output type of Split and not the default of Array. Took me a minute to find that setting.
@1h8fulkat Thanks. Much better than having a dozen identical flows. Makes editing much easier.
Sorry about the 'Get entities' bit; the screen grab was too short.
But yes, you're right the output is split not array.
I happen to have two door sensors that have both had their batteries swapped with brand new Energizer branded batteries.
Upon adding both of them now to this integration, they are both showing up with a no MAC address or a MAC of 0 or "\0\0\0\0\0\0\0\0" depending on where you look.
I know there's some other comments out there stating that this is likely because of a faulty sensor, but I do find it hard to believe that both of my door sensors are now faulty after a battery swap on them and they are adding here with no MAC detected.
Since I have two I did try this comment https://github.com/kevinvincent/ha-wyzesense/issues/130#issuecomment-624960162
However while that worked to add one sensor with no MAC, it did not allow me to add another one, the 2nd one just overwrote the original one with no MAC completely.
This does seem to be a bigger issue or maybe a regression since so many other users recently are reporting the same thing?
I also do not know how to remove these bad sensors from my HomeAssistant now either.
Any advice or help is appreciated!
EDIT: I have tried to downgrade to 0.0.6 but for some reason the entire scan/remove services are missing somehow? Not sure why that's happening but I cannot even try adding them on 0.0.6, bummer.