sureha icon indicating copy to clipboard operation
sureha copied to clipboard

Microchip Pet Door Battery Sensor needs some tuning

Open SamboyCoding opened this issue 4 years ago • 10 comments

The battery sensor for the Sure Petcare Microchip Pet Door needs some tuning - the app has just sent me a Low Battery warning (so it's on about 10%, I guess?) and this integration is reporting... -16%. Which is obviously wrong.

Attached is a screenshot showing the reported voltage per battery and total voltage.

It is interesting though that the graph shows the percentage dropping from 44% at 06:04 this morning to -16% at 11:46, with no data points in between.

image

SamboyCoding avatar Aug 07 '21 11:08 SamboyCoding

Hey, yes thats a point where I would need some help as I cannot make sense from the battery data of the various devices... I will post additional info here the next days!

benleb avatar Sep 07 '21 23:09 benleb

Hi I'm willing to help, I have a cat flap with rechargeable batteries so adjusting the voltage levels is a great feature for me. Since 0.4.2 though I get unknown for the battery sensor state. Let me know if you want a separate issue for this?

image

matt-cahill avatar Sep 26 '21 02:09 matt-cahill

Mine came right after an hour or so. What batteries are you using?

xbmcnut avatar Sep 26 '21 02:09 xbmcnut

Panasonic Eneloop Pro. I've had 0.4.2 installed for a few days and it hasn't come right, even after a restart and fiddling around with the voltage settings a bit and removing and re-installing the integration.

Entity:  sensor.cat_flap_side_door_battery_level
State: unknown

State attributes (YAML, optional)
battery_level: 45
voltage: '5.53'
voltage_per_battery: '1.38'
unit_of_measurement: '%'
friendly_name: Cat Flap Side door Battery Level
device_class: battery

matt-cahill avatar Sep 26 '21 03:09 matt-cahill

Panasonic Eneloop Pro. I've had 0.4.2 installed for a few days and it hasn't come right, even after a restart and fiddling around with the voltage settings a bit and removing and re-installing the integration.

Entity:  sensor.cat_flap_side_door_battery_level
State: unknown

State attributes (YAML, optional)
battery_level: 45
voltage: '5.53'
voltage_per_battery: '1.38'
unit_of_measurement: '%'
friendly_name: Cat Flap Side door Battery Level
device_class: battery

+1 on this. I'm experiencing similar issues on both the water pond and the cat flap. In my case I'm using generic panasonic batteries on the cat flap and energizer batteries on the pond.

jumpingmushroom avatar Sep 29 '21 07:09 jumpingmushroom

Same issue here: since updating to latest version the battery sensor shows unknown, although in the attributes it shows the correct battery level (pet flap): image

retoziegler avatar Oct 05 '21 12:10 retoziegler

Even though my battery sensor is working, seems there is a glitch between the main value and the attribute value. This creates a problem for my https://github.com/maxwroc/battery-state-card as it's reporting the attribute value instead of the entity one.

image

xbmcnut avatar Oct 14 '21 01:10 xbmcnut

Same issue here. Battery showing as unknown.

totalitarian avatar Jan 13 '22 17:01 totalitarian

Hey Ben,

I mistakenly removed my integration over the weekend and reinstalled (due the server error at Sure). After re-installation, I now get what other people are reporting and that's the lack of battery level. I have '''battery_level``` attributes but the main sensor reports unknown now. Is this something you are aware of?

image

Running SureHA v0.4.2 and HA 2022.02.03

xbmcnut avatar Feb 08 '22 03:02 xbmcnut

I used to see the same as @xbmcnut, but I also recently reinstalled SureHA and now I see this:

image

surepet shows about half:

image

I run it with a SureFLAP Connect (with hub)

netphantm avatar Nov 20 '23 16:11 netphantm