kevinvincent / ha-wyzesense

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

Incorrect battery reporting in Home Assistant #183

Open meierthomas opened 4 years ago

meierthomas commented 4 years ago

I successfully installed a Wyze Sense starter kit. Setup worked like a breeze.

However one of the contact sensors was in this strange state. I was able to pair it but when I looked at Home Assistant the ID was 'binarysensor.wyzesense'. There was no MAC reported for the entity. Also the LED blinked 3 times every 10 sec.

Found out on the Wyze forum that this is a low battery warning. Changed the batt and the sensor showed up correctly with MAC and no more blinking. One question and the issue:

BrewNinja commented 4 years ago

There is no explanation of the LED codes. They want you to use their own app for everything. But as you have figured out, blinking 3 times means low battery. Hopefully you rarely or never see this.

The batteries that come with the sensors are garbage. I literally had 3 out of 4 in a brand new box with a 4 month old manufacture date be dead (and thusly killed the sensors). The integration only reports what the device tells it. Unfortunately, we don't know what the battery voltages its looking for as "low." I have had some sensors get down to 83% and be fine, and some start blinking at 85%. No idea why (unless they changed some code in the firmware at some point which seems logical). Anyways, I setup home assistant to notify me when they get to 85%. Now the only downside to this is the battery level doesnt get sent to HA unless the sensors are triggered (which is also a bummer).

meierthomas commented 4 years ago

Thanks for that. I may go down the same route to set the level to 85 for a trigger. Isn't Kevin Vincent related to Wyze? If yes it wouldn't make sense to provide code for HA integration yet not have clarity on battery handling.

On Mon, Oct 5, 2020 at 11:48 PM BrewNinja notifications@github.com wrote:

There is no explanation of the LED codes. They want you to use their own app for everything. But as you have figured out, blinking 3 times means low battery. Hopefully you rarely or never see this.

The batteries that come with the sensors are garbage. I literally had 3 out of 4 in a brand new box with a 4 month old manufacture date be dead (and thusly killed the sensors). The integration only reports what the device tells it. Unfortunately, we don't know what the battery voltages its looking for as "low." I have had some sensors get down to 83% and be fine, and some start blinking at 85%. No idea why (unless they changed some code in the firmware at some point which seems logical). Anyways, I setup home assistant to notify me when they get to 85%. Now the only downside to this is the battery level doesnt get sent to HA unless the sensors are triggered (which is also a bummer).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kevinvincent/ha-wyzesense/issues/183#issuecomment-703609267, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5NHIT5TKI52E7MQX6VOWTSJG6CPANCNFSM4SEAYRLQ .

RoldyBuffalo commented 4 years ago

No Kevin is most certainly not related to wyze, or affiliated in any way.

Kevin isn't on this project anymore afaiu.