victronenergy / node-red-contrib-victron

MIT License
87 stars 18 forks source link

Active SOC limit not the same as Remote Console #165

Closed thepaulcooper closed 1 year ago

thepaulcooper commented 1 year ago

In Remote Console under the ESS settings the Minimum SOC is 10% and the Active SOC limit is also 10%.

In the Node-Red node "ESS System Settings | Minimum Discharge SOC (%)" the reported value is 10 (correct) but the "ESS System Settings | Active SOC limit (%)" shows a value of 5.

Firmware: version 2.93 and version 500.

dirkjanfaber commented 1 year ago

The Node-RED nodes read directly from the dbus and show the value that is on there. See here for the paths that they use.

The Remote Console GUI uses the same source, however it shows as Active SOC limit the maximum value of either /SocLimit and /MinimumSocLimit. Afaik the ESS system calculations are based on the max value of those as well (as shown by the gui).

I don't think I want to change the current output of the node, but adding a remark about it in the documentation makes sense. I'll keep this issue open until I've added that.

dirkjanfaber commented 1 year ago

In one of the last candidate releases, the actual SocLimit got added: https://github.com/victronenergy/dbus-systemcalc-py/commit/72495df7411017bff5682a9984cb9c8e2cc95576. So it makes sense to use that one instead.

dirkjanfaber commented 1 year ago

Code is now in master. Closing this issue.