# Node red flow to stop solaredge

**URL:** <https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405>\
**Category:** Node-RED\
**Tags:** node-red, ess\
**Created:** [1 May 2026 15:19 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405 "2026-05-01T15:19:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathandewilde](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@Jonathandewilde](https://community.victronenergy.com/u/Jonathandewilde)\
**Post date:** [1 May 2026 15:19 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405/1 "2026-05-01T15:19:09Z")

</div>

Is there someone ho has a node red flow to stop the solaredge inverter when the price is negative?

---

<div class="post-metadata">

**Author:** ![ron\_h](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@ron\_h](https://community.victronenergy.com/u/ron_h)\
**Post date:** [1 May 2026 15:30 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405/2 "2026-05-01T15:30:17Z")

</div>

if you can turn the inverter off by a digital input:

> [@DESS not stopping PV production when energy prices are negative](https://community.victronenergy.com/t/dess-not-stopping-pv-production-when-energy-prices-are-negative/57239):
>
> Hi all, Last weekend the dynamic energy prices where extremely negative in the Netherlands. The highest negative price was -40 cents/kWh. I’ve multiple systems running with Multiplusses and Multi RS, all in three phase configuration, with PV’s connected to the Multi RS and AC-coupled systems like Enphase with dynamic limiter activated. Unfortunately I saw on all systems that the PV’s kept producing when energy prices for buying energy are negative. It is obvouisly economically better to turn o…

---

<div class="post-metadata">

**Author:** ![Jonathandewilde](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@Jonathandewilde](https://community.victronenergy.com/u/Jonathandewilde)\
**Post date:** [1 May 2026 16:02 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405/3 "2026-05-01T16:02:40Z")

</div>

Digital is not possible, I would like to use sunspec

---

<div class="post-metadata">

**Author:** ![lampy25](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lampy25](https://community.victronenergy.com/u/lampy25)\
**Post date:** [1 May 2026 20:48 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405/4 "2026-05-01T20:48:22Z")

</div>

I’ve been researching this also quite a bit, but didn’t find any option to do this.

The dynamic limit will be overwritten by an internal target with dess enabled.

Conclusion for me now is either to make a cable (or use esp32 with relay outpout if you can’t put a cable in), or waiting for the dess automatisation which is announced here

> [@VRM feature announcement: Manage Negative Energy Prices in Dynamic ESS](https://community.victronenergy.com/t/vrm-feature-announcement-manage-negative-energy-prices-in-dynamic-ess/1532/58):
>
> Hi all, Dynamic ESS will soon have a feature to turn off solar during negative sell prices. Will keep you posted slight_smile

---

<div class="post-metadata">

**Author:** ![kr0815](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kr0815](https://community.victronenergy.com/u/kr0815)\
**Post date:** [1 May 2026 21:35 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405/5 "2026-05-01T21:35:42Z")

</div>

just switch it of if you think you will get rich that way

maybe easier to have some fan heaters in the garden?

---

<div class="post-metadata">

**Author:** ![Maxs](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/maxs/32/227_2.png) [@Maxs](https://community.victronenergy.com/u/Maxs)\
**Post date:** [2 May 2026 12:13 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405/6 "2026-05-02T12:13:58Z")

</div>

I have something with a virtual switch and check price. When price is lower than €-0.14 then solar edge limit to 100w, and charging battery. if price is + again it switch back to normal.

It works but maybe not the nice’s programming way.

```flows
[
  {
    "id": "flow1",
    "type": "tab",
    "label": "Flow",
    "disabled": false,
    "info": ""
  },
  {
    "id": "2a2f67e3140678ad",
    "type": "function",
    "z": "flow1",
    "name": "Set ESS = Keep Charged",
    "func": "msg.payload = 9;\nreturn msg;",
    "outputs": 1,
    "noerr": 0,
    "libs": [],
    "x": 510,
    "y": 200,
    "wires": [["2215331bb14d6083"]]
  },
  {
    "id": "b8ecb2e1433d7709",
    "type": "function",
    "z": "flow1",
    "name": "Set ESS = Optimized",
    "func": "msg.payload = 10;\nreturn msg;",
    "outputs": 1,
    "noerr": 0,
    "libs": [],
    "x": 510,
    "y": 260,
    "wires": [["2215331bb14d6083"]]
  },
  {
    "id": "38a3935b25831e56",
    "type": "trigger",
    "z": "flow1",
    "name": "Start 100 every 1s",
    "op1": "100",
    "op2": "",
    "op1type": "num",
    "op2type": "nul",
    "duration": "-1",
    "units": "s",
    "outputs": 1,
    "x": 510,
    "y": 230,
    "wires": [["2114ce81691a0b69"]]
  },
  {
    "id": "eee46bd95d2499de",
    "type": "function",
    "z": "flow1",
    "name": "Stop Trigger",
    "func": "msg.reset = true;\nreturn msg;",
    "outputs": 1,
    "noerr": 0,
    "libs": [],
    "x": 510,
    "y": 300,
    "wires": [["38a3935b25831e56"]]
  },
  {
    "id": "2215331bb14d6083",
    "type": "debug",
    "z": "flow1",
    "name": "Battery state",
    "active": true,
    "tosidebar": true,
    "complete": "payload",
    "x": 780,
    "y": 230,
    "wires": []
  },
  {
    "id": "2114ce81691a0b69",
    "type": "debug",
    "z": "flow1",
    "name": "Solaredge power",
    "active": true,
    "tosidebar": true,
    "complete": "payload",
    "x": 780,
    "y": 180,
    "wires": []
  },
  {
    "id": "bc3cde607682a66f",
    "type": "switch",
    "z": "flow1",
    "name": "On/Off",
    "property": "payload",
    "propertyType": "msg",
    "rules": [
      { "t": "eq", "v": "1", "vt": "num" },
      { "t": "eq", "v": "0", "vt": "num" }
    ],
    "outputs": 2,
    "x": 270,
    "y": 230,
    "wires": [
      ["2a2f67e3140678ad", "38a3935b25831e56"],
      ["b8ecb2e1433d7709", "eee46bd95d2499de"]
    ]
  },
  {
    "id": "430d482fac2db2d5",
    "type": "function",
    "z": "flow1",
    "name": "Als Prijs onder -0.14",
    "func": "let prijs = Number(msg.payload);\nlet state = context.get(\"state\") || 0;\nif (prijs < -0.14) state = 1;\nif (prijs > -0.03) state = 0;\ncontext.set(\"state\", state);\nmsg.payload = state;\nreturn msg;",
    "outputs": 1,
    "noerr": 0,
    "libs": [],
    "x": 510,
    "y": 340,
    "wires": [["8ce7870f17a80c6b"]]
  },
  {
    "id": "8ce7870f17a80c6b",
    "type": "debug",
    "z": "flow1",
    "name": "Aan / uit",
    "active": true,
    "tosidebar": true,
    "complete": "payload",
    "x": 780,
    "y": 340,
    "wires": []
  }
]

```

(moderated - to correct flow rendering. Just copy straight from nodered export else you end up with special characters and errors that break an import)

---

<div class="post-metadata">

**Author:** ![MKESS](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/mkess/32/51815_2.png) [@MKESS](https://community.victronenergy.com/u/MKESS)\
**Post date:** [2 May 2026 18:30 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405/7 "2026-05-02T18:30:57Z")

</div>

a wireless solution would be to add a Shelly 1 mini to the RRCR on the SolarEdge. If it’s in tyhe same subnet the Cerbo/Ekrano will pick it up and you can control it in node-red based on a flow .

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/victron/original/1X/21a9a7b5db7c6339715f993568736a7053199995.png) [@system](https://community.victronenergy.com/u/system)\
**Post date:** [16 May 2026 18:31 UTC](https://community.victronenergy.com/t/node-red-flow-to-stop-solaredge/57405/8 "2026-05-16T18:31:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
