Get min and max cell id into Home assistant

Hello all,

Im trying to read the lowest voltage cell id and the highest maximum voltage cell id.
So not the voltage themselves but the id’s.
I tried the following:

  • name: ‘Modbus Victron highest cell ID’
    slave: 225
    address: 1310
    data_type: string
    count: 2
    scan_interval: 5
    device_class: battery

It gives a result but it doesn’t make sense I expect something like 01::16.
Any ideas someone? I fidled around with datatypes but so far no luck

What result do you get?

Why dont you use the victron hacs integration?

That tells high min max cell id

Fixed it, removed device class and count set to 3.

  • name: ‘Modbus Victron highest cell ID’
    slave: 225
    address: 1310
    data_type: string
    count: 3
    scan_interval: 5

Several reasons:

  1. Since 2025.1.# integration is broken (working forks available)
  2. Dependency on integration developers maintainers.
  3. To many sensors, the integration gives 358 entities cluttering the entity list and filling the database with a lot of data. I only use 15 entities.

Ah oke, im on an older version