sfstar / hass-victron

Integration for Home Assistant to fetch data from the victron gx device via modbusTCP
Apache License 2.0
157 stars 24 forks source link

battery_system_maxcellvoltage and battery_system_mincellvoltage only two digits available #216

Open ricjohn opened 1 week ago

ricjohn commented 1 week ago

Keeping the cells balanced in an Victron ESS is quite important. Currently we can only see the first two digits of the battery_system_maxcellvoltage and battery_system_mincellvoltage, although the GX devce receives three digits from the BMS. This is also not fixed when changing the resolution to three digits in Home Assistant for this sensor.

i guess it should be changed here https://github.com/sfstar/hass-victron/blob/1ec1567e5a958e1b2a7910d2ab2bce752b663a7b/custom_components/victron/const.py#L413 https://github.com/sfstar/hass-victron/blob/1ec1567e5a958e1b2a7910d2ab2bce752b663a7b/custom_components/victron/const.py#L414