Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Battery Monitoring and Protection Features for Smartshunt #532

Open
swingstate opened this issue Nov 20, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@swingstate
Copy link

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

Feature Request for Smartshunt Enhancement; building up on #474:

Description:
The Smartshunt is capable of measuring the midpoint voltage and its deviation, which is particularly vital for batteries configured in series (such as 2x 12V or 2x 24V). This functionality plays a key role in monitoring battery health and performance, thus should be included in onBattery and made available through MQTT.

Describe the solution you'd like

Proposed Enhancements:

1. Improved Protection Logic in onBattery Module: The onBattery module could be upgraded to include advanced protection mechanisms. This would involve:

  • Automatically halting charging or discharging processes if the midpoint voltage deviates excessively.
  • Stopping charging or discharging based on a user-defined Ampere-hour (Ah) threshold, ensuring better control over battery usage.

2. Expansion of Sensor Data for Battery Monitoring: To offer a more comprehensive understanding of battery health, the following sensor data points should be incorporated:

  • Minimum and Maximum Battery Voltage: To track voltage fluctuations and prevent overcharging or deep discharge.
  • Midpoint voltage: To track heat of the battery bank
  • Midpoint voltage deviation: To track drift between the batteries
  • Instantaneous Power: For real-time power usage monitoring.
  • Depth of Deepest Discharge: To assess battery strain and longevity.
  • Date of Deepest Discharge: For historical data analysis and battery health assessment.
  • Last Full Charge: To monitor charging cycles and optimize battery maintenance.

3. Integration with MQTT for Enhanced Monitoring and Automation: All these values should be accessible via MQTT. This integration will facilitate advanced monitoring and enable automations based on battery status.

4. Web UI Improvements: Adding Instantaneous Power and Midpoint Voltage data (only for serial configurations) to the web UI will enhance user experience by providing easy access to key battery information.

This request is inspired by the ESPHome intrgration for VE.Direct - Code example.

Describe alternatives you've considered

The ESPHome based integration of a SmartShunt into MQTT / Homeassistant quires a second Shunt in the circuit.

Additional context

Additional Context Enhancement:

Over the past few months, I have conducted extensive testing with two shunts integrated within a single circuit (Since the shunt sensor data made available in onBattery is still limited).
This dual-shunt configuration has proven to be operationally viable, yet it comes with its own set of challenges. Firstly, incorporating an additional shunt incurs extra expenses, an important factor to consider for cost-efficiency.

Moreover, there's a noticeable impact on the circuit's overall performance. The inclusion of a second shunt introduces added resistance and complexity, which can affect the efficiency and energy flow within the circuit. Adding a second shunt also increases the risk for failures within the circuit.

Another critical observation is the variation in measurement accuracy between the two shunts. Due to their slightly different placements within the circuit, each shunt records differing values. Over time, this disparity in measurements tends to amplify, leading to a significant drift in the data accuracy. This divergence in readings poses a challenge for precise monitoring and may impact decision-making based on these measurements.

Extending the SmartShunt integration in onBattery can help to streamline circuit configurations and improve Battery safety.

@swingstate swingstate added the enhancement New feature or request label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant