Battery Cell Monitor

Author: bumaas

Monitoring of individual cell voltages in home battery storage — BYD Battery-Box and Marstek Venus E.

The module reads the voltage of every single cell directly from the battery management system, revealing what inverters and portals keep to themselves: cells that drift upwards at the end of charging or collapse at the end of discharging — the earliest signs of ageing or a defect.

Besides the cell voltages per module (minimum, maximum, spread) it keeps track of the battery status values: state of charge, current, voltage, temperatures, error bits as well as the charged and discharged energy counted by the battery itself. Measurements run cyclically and automatically at the end of charging and discharging; if a cell exceeds the configured limits, the module sends a push notification to the visualisation.

Supported are the BYD Battery-Box Premium (HVM and HVS, including multiple towers) and the Marstek Venus E. No ModBus gateway instance is required — the module speaks the protocol itself through a client socket.

Included Modules

  • BYD Battery Cell Monitor
  • BYD Zellmonitor
  • Marstek Battery Cell Monitor
  • Marstek Zellmonitor

Version History

1.5 build 38

new:

  • first stable version: monitors the cell voltages of BYD Battery-Box (HVM/HVS, also several towers) and Marstek Venus E
  • measures at the end of charging and discharging and cyclically, shows state of charge, temperatures, firmware version and charged energy
  • push notification with the instance name when a limit is exceeded, with its own cooldown per level
  • the instance status shows a disconnected Client Socket or a device that does not respond
  • archive logging for all variables at the push of a button

changed:

  • Marstek: status poll every 25 s because the Venus drops idle connections after 30 s; please change instances from the beta by hand
Any questions?