doc: warning, that only 5 inverters are supported at max
This commit is contained in:
parent
13b318690d
commit
8b64671151
@ -13,6 +13,10 @@ This is a fork from the Hoymiles project OpenDTU.
|
|||||||
|
|
||||||
This project is still under development and adds following features:
|
This project is still under development and adds following features:
|
||||||
|
|
||||||
|
> **Warning**
|
||||||
|
>
|
||||||
|
> In contrast to the original openDTU, with release 2023.05.23.post1 openDTU-onBattery supports only 5 inverters. Otherwise, there is not enough memory for the liveData view.
|
||||||
|
|
||||||
* Support Victron's Ve.Direct protocol on the same chip (cable based serial interface!). Additional information about Ve.direct can be downloaded from https://www.victronenergy.com/support-and-downloads/technical-information.
|
* Support Victron's Ve.Direct protocol on the same chip (cable based serial interface!). Additional information about Ve.direct can be downloaded from https://www.victronenergy.com/support-and-downloads/technical-information.
|
||||||
* Dynamically sets the Hoymiles power limited according to the currently used energy in the household. Needs an HTTP JSON based power meter (e.g. Tasmota), an MQTT based power meter like Shelly 3EM or an SDM power meter.
|
* Dynamically sets the Hoymiles power limited according to the currently used energy in the household. Needs an HTTP JSON based power meter (e.g. Tasmota), an MQTT based power meter like Shelly 3EM or an SDM power meter.
|
||||||
* Battery support: Read the voltage from Victron MPPT charge controller or from the Hoymiles DC inputs and starts/stops the power producing based on configurable voltage thresholds
|
* Battery support: Read the voltage from Victron MPPT charge controller or from the Hoymiles DC inputs and starts/stops the power producing based on configurable voltage thresholds
|
||||||
|
|||||||
@ -4,6 +4,10 @@ This is a fork from the Hoymiles project [OpenDTU](https://github.com/tbnobody/O
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
> **Warning**
|
||||||
|
>
|
||||||
|
> In contrast to the original openDTU, with release 2023.05.23.post1 openDTU-onBattery supports only 5 inverters. Otherwise, there is not enough memory for the liveData view.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
* Hoymiles inverter support for live data and display of various inverter internal information. (Partial) support for multiple inverters.
|
* Hoymiles inverter support for live data and display of various inverter internal information. (Partial) support for multiple inverters.
|
||||||
|
|||||||
@ -27,7 +27,7 @@ void WebApiPrometheusClass::loop()
|
|||||||
void WebApiPrometheusClass::onPrometheusMetricsGet(AsyncWebServerRequest* request)
|
void WebApiPrometheusClass::onPrometheusMetricsGet(AsyncWebServerRequest* request)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
auto stream = request->beginResponseStream("text/plain; charset=utf-8", 4096 * INV_MAX_COUNT); // TODO (helge) check if this calculation is correct
|
auto stream = request->beginResponseStream("text/plain; charset=utf-8", 4096 * INV_MAX_COUNT); // TODO(helge) check if this calculation is correct
|
||||||
|
|
||||||
stream->print("# HELP opendtu_build Build info\n");
|
stream->print("# HELP opendtu_build Build info\n");
|
||||||
stream->print("# TYPE opendtu_build gauge\n");
|
stream->print("# TYPE opendtu_build gauge\n");
|
||||||
|
|||||||
@ -69,7 +69,7 @@ void WebApiWsLiveClass::loop()
|
|||||||
String buffer;
|
String buffer;
|
||||||
// free JsonDocument as soon as possible
|
// free JsonDocument as soon as possible
|
||||||
{
|
{
|
||||||
DynamicJsonDocument root(4096 * INV_MAX_COUNT); // TODO (helge) check if this calculation is correct
|
DynamicJsonDocument root(4096 * INV_MAX_COUNT); // TODO(helge) check if this calculation is correct
|
||||||
JsonVariant var = root;
|
JsonVariant var = root;
|
||||||
generateJsonResponse(var);
|
generateJsonResponse(var);
|
||||||
serializeJson(root, buffer);
|
serializeJson(root, buffer);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user