I also don’t like the fact that this is still a problem. Last week I made a simple node red flow/script to stop the MPPT’s and limit my solaredge inverter.
First of all, choose the large image in de cerbo. go to settings > general > online update > image > large image. search for updates and update to the latest version.
Open browser and go to https:// cerbo ip :1881/ to show node red.
Its very easy to made this. it is using the VRM API for the data. thats the top orange block in the middle. dubble click for showing the settings. Add a api token in VRM and give in the details in this block.
The "‘MPPT on/off’’ function is using the following script;
// huidige prijs uit DESS
let price = msg.payload.records.deGs[0][1];
// vorige prijs ophalen
let lastPrice = flow.get(“last_price_mppt”);
// geen verandering
if (lastPrice === price) {
node.status({
fill: “blue”,
shape: “dot”,
text: “Price not changed: €” + price.toFixed(2)
});
return null;
}
// prijs opslaan
flow.set(“last_price_mppt”, price);
// logica
if (price <= 0.0) {
msg.payload = 4;
node.status({
fill: “green”,
shape: “dot”,
text: “Negative price → limiter active: €” + price.toFixed(2)
});
} else {
msg.payload = 1;
node.status({
fill: “red”,
shape: “dot”,
text: “Positive price → full power: €” + price.toFixed(2)
});
}
// opslaan voor later gebruik
flow.set(“mppt_limit”, msg.payload);
return msg;
The following script is for "‘Update MPPT’’ function.
let limit = flow.get(“mppt_limit”);
if (limit === undefined) {
return null;
}
msg.payload = limit;
return msg;
The blue block is a solar charge control node. Choose your mppt and select on/off.
This was only a few hours work. I don’t like the way it works but it works for now. I don’t like it because it constantly fighting the dess. it triggers every 0.4 sec because otherwise the dess or ess, I don’t know, is resetting the MPPT back to On. Same with the solaredge inverter. If I don’t trigger it fast enough the victron system switches the inverter back on which results in a very trippy inverter.
It works fine for me now but if someone nows a better way, let me know.