Home - hoylabs/OpenDTU-OnBattery GitHub Wiki
OpenDTU-OnBattery
The canonical documentation of OpenDTU-OnBattery is hosted at https://opendtu-onbattery.net If you experience specific problems, you must check the canonical documentation first! This community-driven Wiki contains additional information.
OpenDTU-OnBattery is a fork of OpenDTU by Thomas Basler (tbnobody). The main idea behind this fork (project):
- Use the extra energy to change batteries: Limit the amount of unused solar energy from small solar installations (in German "Balkonkraftwerke") that is otherwise injected into the electricity network without the user receiving any money. Instead of giving it away, this unused solar energy can now be stored into a battery for later use.
- Dynamically adjust the power output of many (HOYMILES) inverters in order maximize battery usage while avoiding consuming energy from the electricity network.
- OpenDTU-OnBattery can also be used without a battery installed: It will dynamically adjust the power output many (HOYMILES) inverters in order to avoid surplus solar energy being sent to the electricity network! A great contribution to the stability of the electricity network as it prevents dangerous "overproduction" peaks during summer.
OpenDTU-OnBattery supports a multitude of battery/battery-charger combinations, always using the HOYMILES inverter series for electricity production. It will use the information from VICTRON MPPT chargers or dynamically control the HUAWEI R4850 Series rectifiers in order to charge the battery (other forks of this project support other rectifiers as well).
Please keep in mind: Hoymiles Inverters will work best with 48V/51V LiFePO4 batteries. Hoymiles Inverters work poorly with 24V batteries (for loads above 250W-300W). Hoymiles Inverters do not work with 12V batteries.
Examples
(illustrative, in reality all inverter Inputs must be connected to the battery)
Please also see: https://github.com/hoylabs/OpenDTU-OnBattery/wiki/Builds-%26-Examples
Zero feed-in (in German: Nulleinspeisung)
With Battery and DC charging via (up to two/three) Victron MPPT Note: Due to the limitation of most ESP32 boards, you can only use two out of three Victron units, i.e. two Victron MPPTs or one Victron MPPT and a Victron SmartShunt. You can not use two Victron MPPTs and a Victron SmartShunt at the same time. Using a second MPPT will also conflict with the SDM powermeter. On ESP32-S3-USB boards you can use up to three Victron MPPTs. If three MPPTs are defined in the pin mapping, you will not be able to use the SmartShunt and JK BMS battery interfaces.
With Battery and DC charging via (up to two) Victron MPPT and (optional) Victron SmartShunt (see conditions mentioned above)
With JK BMS, Battery and DC charging via (up to two) Victron MPPT
With Pylontech/Pytes/SBS Unipower/Pylontech-Protocol Battery and DC charging via (up to two) Victron MPPT
With Battery and AC charging via Huawei Rectifier
using the Huawei AC charger in combination with the CMT2300A radio board for HMT- and HMS-inverters is supported as of Firmware Version 2024.09.11
With Zendure Solar Flow