fronzbot/blinkpy

Voltage strange value...

LeOS1971 opened this issue · 2 comments

Describe the bug
Don't know if bug or my bad interpretation..
Voltage value is "strange": I have 5 cameras, two of them connected with "external power". I expect to read about 3V or similar but:

Cortile 146
Garage 141
Terrazzo 172
Blink 157
Tavernetta 171

(Terrazzo and Tavernetta are external powered)

I though is to divide by some value to get the correct voltage... maybe 50?

To Reproduce
just call function:
print(camera.name, camera.battery_voltage)

Expected behavior
Just to understand what the value represents to apply the divider correctly

blinkpy version (not needed if filling out Home Assistant version):
latest

I've never been able to confirm what they report, but I'm fairly confident it's just the voltage in mV (so 1.46V, 1.41V, 1.72V, etc for your cameras). I believe the two batteries are in parallel, so ~1.5V is the target and the two being in parallel provide create current delivery capability.

I'm going to close this since it's not really an issue with the library, but feel free to continue to comment.

Thanks a lot, in my Perl code I put /100 divisor to have correct value.