Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters
Go to file
Tobias Diedrich 2e85b420d5 Feature: add SoC & voltage thresholds for battery current limit
This changes the custom current limit so the custom limit is only
applied when any of:

- SoC is valid and not ignored and SoC < threshold
- Voltage is valid and Voltage < threshold
- Voltage is invalid

Independently, if "Use Battery-Reported limit" is enabled and valid, it
is applied (unless a lower custom limit already was applied).
2024-10-24 15:07:54 +02:00
.github actions: use RELEASE_TOKEN to create a release 2024-10-23 13:46:50 +02:00
.vscode Merge remote-tracking branch 'tbnobody/OpenDTU/master' into v24.3.15 2024-03-20 09:42:35 +01:00
docs Merge upstream tag 'v24.9.30' into development 2024-09-30 21:34:17 +02:00
include Feature: add SoC & voltage thresholds for battery current limit 2024-10-24 15:07:54 +02:00
lib Merge upstream tag 'v24.10.15' into development 2024-10-22 20:10:22 +02:00
pio-scripts Merge upstream tag 'v24.10.15' into development 2024-10-22 20:10:22 +02:00
src Feature: add SoC & voltage thresholds for battery current limit 2024-10-24 15:07:54 +02:00
test Initial commit 2022-04-09 11:05:14 +02:00
webapp Feature: add SoC & voltage thresholds for battery current limit 2024-10-24 15:07:54 +02:00
.DS_Store First version 2022-08-11 17:26:00 +02:00
.editorconfig Added .editorconfig 2024-01-05 17:26:02 +01:00
.gitignore Implement webapp autocompile (#1193) 2024-09-05 23:02:42 +02:00
COPYING Updated license file to match right phrase 2022-07-15 19:35:08 +02:00
LICENSE Change License to GPLv2 as the RF24 lib uses GPL-2.0-only 2022-07-15 18:05:58 +02:00
partitions_custom_4mb.csv BREAKING CHANGE: repartition: double sketch size 2024-06-24 21:39:31 +02:00
partitions_custom_8mb.csv BREAKING CHANGE: repartition: double sketch size 2024-06-24 21:39:31 +02:00
partitions_custom_16mb.csv Feature: Added support for boards with 16MB flash and PSRAM 2024-02-02 20:33:42 +01:00
platformio_override.ini Merge branch 'pr/MalteSchm/144' into development 2023-03-27 22:16:53 +02:00
platformio.ini Merge upstream tag 'v24.10.15' into development 2024-10-22 20:10:22 +02:00
README_onBattery.md move documentation to opendtu-onbattery.net 2024-08-17 22:16:50 +02:00
README.md welcome to hoylabs: update README and URLs 2024-10-07 21:09:04 +02:00

OpenDTU-OnBattery

This is a fork of OpenDTU.

OpenDTU-OnBattery Build cpplint Yarn Linting

What is OpenDTU-OnBattery

OpenDTU-OnBattery is an extension of the original OpenDTU to support battery chargers, battery management systems (BMS) and power meters on a single ESP32. With the help of a Dynamic Power Limiter, the power production can be adjusted to the actual consumption. In this way, it is possible to implement a zero export policy.

Documentation

The canonical documentation of OpenDTU-OnBattery is hosted at https://opendtu-onbattery.net.

You may find additional helpful information in the project's community-maintained Github Wiki.

To find out what's new or improved have a look at the changelog of the releases.

State of the project

OpenDTU-OnBattery is actively maintained. Please note that OpenDTU-OnBattery may change significantly during its development. Bug reports, comments, feature requests and pull requests are welcome!

History of the project

The original OpenDTU project was started from a discussion on Mikrocontroller.net. It was the goal to replace the original Hoymiles DTU (Telemetry Gateway) to avoid using Hoymile's cloud. With a lot of reverse engineering the Hoymiles protocol was decrypted and analyzed.

In the summer of 2022 @helgeerbe bought a Victron MPPT charge cntroller, and didn't like the idea to set up a separate ESP32 to receive the charger's data. He decided to fork OpenDTU and extend it with battery charger support and a Dynamic Power Limiter.

In early October 2024, the project moved to the newly founded GitHub organisation hoylabs and is since maintained by multiple community members.

Acknowledgments

  • Special thanks to Thomas Basler (@tbnobody), the author of the upstream project, for hist continued effort!
  • Thanks to @helgeerbe for starting OpenDTU-OnBattery and his dedication to the project, as well as his trust in the current maintainers of the project, which act as part of the hoylabs GitHub organisation.
  • We like to thank all contributors. With your ideas and enhancements, you have made OpenDTU-OnBattery much more than @helgeerbe originally had in mind.