hoylabs / OpenDTU-OnBattery

Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters, VE.Direct devices, battery management systems, and related peripherals
GNU General Public License v2.0
301 stars 63 forks source link

[Request] Tell Victron charge controllers about the battery's voltage #1229

Open schlimmchen opened 1 month ago

schlimmchen commented 1 month ago

Is your feature request related to a problem? Please describe.

See https://github.com/helgeerbe/OpenDTU-OnBattery/pull/1214#issuecomment-2329821331

Describe the solution you'd like

Add a config switch for the VE.Direct interface that says "Write BMS battery voltage to charge controller". If this setting is enabled and if a battery interface is configured and if the TX pin to transmit data to the charge controller is configured, we shall read the battery voltage as provided by the BMS and write it to the charge controller, such that is knows the battery's actual voltage.

Describe alternatives you've considered

No response

Additional context

No response