Indego battery voltage wrong?

Hi,

when I add an item for boschindego:indego:<XXX>:batteryVoltage (Number:ElectricPotential) I get only something between 9.2V and 9.6V.

I was a bit surprised when I saw it with the “old” battery - but I just exchanged it with a brand new one. I measured the new battery and it was - not surprisingly - OK.

So is there a bug in the indego firmware (I have FW 30068.01459 - current version) - or is this a problem with the binding?

It looks like the voltage is half of what it actually is.

Which model do you have? Some models only report percentage, and unfortunately they also report that as voltage. You need to use the batteryLevel channel instead.

Thanks @laursen,
I have a S+ 500.

And yes - now that you mention it the “batteryVoltage” is exactly the same as “batteryLevel”

35132: 2023-10-14 16:22:14.654 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Battery_Voltage' changed from 2.2 V to 2 V
35133: 2023-10-14 16:22:14.664 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Batterieladung' changed from 22 to 20
35245: 2023-10-14 16:28:31.070 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Battery_Voltage' changed from 2 V to 1.8 V
35246: 2023-10-14 16:28:31.071 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Batterieladung' changed from 20 to 18
36036: 2023-10-14 16:48:47.638 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Battery_Voltage' changed from 1.8 V to 9.6 V
36037: 2023-10-14 16:48:47.640 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Batterieladung' changed from 18 to 96
36169: 2023-10-14 16:53:45.791 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Battery_Voltage' changed from 9.6 V to 9.4 V
36170: 2023-10-14 16:53:45.796 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Batterieladung' changed from 96 to 94
36328: 2023-10-14 17:02:33.343 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Battery_Voltage' changed from 9.4 V to 9.6 V
36329: 2023-10-14 17:02:33.346 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Batterieladung' changed from 94 to 96
36391: 2023-10-14 17:06:57.905 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Battery_Voltage' changed from 9.6 V to 9.4 V
36392: 2023-10-14 17:06:57.910 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bosch_Indego_Batterieladung' changed from 96 to 94

That’s complete nonsense.

So it looke like it is a bug in the firmware.

It could also be a bug in the cloud service.

I have thought about removing the channel for models not supporting it, but that would be inconvenient if Bosch fixes this issue in the future. Also, I don’t actually know which models report voltage correctly through the service. Mine is M+ 700 and it doesn’t support it either.

I also thought about mentioning this in the documentation, but it seems I never got around to do that.

Well I opened a small MR: BoschIndego: Add note that batteryVoltage is not populated correctly by Rosi2143 · Pull Request #15764 · openhab/openhab-addons · GitHub.

Thanks for your help.

By the way - if you are interrested - I published a widget for the indego.
See here.