Open RetoLu opened 3 months ago
I was wondering about the same and tried to follow it up in the code, I ended up on a constant value 8 added to a request indicating that this is a power limit change request in https://github.com/suaveolent/hoymiles-wifi/blob/f595e64303b8d15adc48a09b1a3caa2d06988fb4/hoymiles_wifi/const.py#L44
If I understand correctly it is derived from this https://github.com/henkwiedig/Hoymiles-DTU-Proto/blob/main/SetPowerLimit.py
But I'm none the wiser which limit is set, probably the transient one, but I don't knw
TL;DR: It sets it via the permanent parameter. As of this moment, there is no way we know of to only set it temporarily.
Long answer: The artcile you linked does not apply, since the W-series does not support openDTU. See also this dicussion: https://github.com/suaveolent/ha-hoymiles-wifi/issues/16
The parameters and requests I took in the const.py
file are directly copied from the Android S-Miles apk.
Unfortuntatley I did not yet find a solution to only temporarily set the power limit.
Maybe the parameters CMD_ACTION_LIMIT_POWER_PF
or CMD_ACTION_LIMIT_POWER_REACTIVE
could help here, but I personally did not test it or find anything usefule in the code.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
This issue is stale because it has been open for 30 days with no activity.
The output power of the inverter can be set via the openDTU with two different parameters: "permanent" (persistent) and "non-permanent" (non-persistent). There is only one parameter, is it permanent or non-permanent. If the permanent parameter is selected, the power is saved permanently in the inverter's internal EEPROM memory. For technical reasons, this type of memory has a limited number of write cycles. Would it be possible to have both parameters? See also under: https://martinteske-blog.de/home-assistant-nulleinspeisung-balkonkraftwerk/