# Changing the battery discharge threshold

**URL:** <https://community.victronenergy.com/t/modification-seuil-de-decharge-batterie/63790>\
**Category:** Node-RED\
**Tags:** node-red\
**Created:** [10 October 2026 15:27 UTC](https://community.victronenergy.com/t/modification-seuil-de-decharge-batterie/63790 "2026-10-10T15:27:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulinC](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@PaulinC](https://community.victronenergy.com/u/PaulinC)\
**Post date:** [10 October 2026 15:27 UTC](https://community.victronenergy.com/t/modification-seuil-de-decharge-batterie/63790/1 "2026-10-10T15:27:28Z")

</div>

Hello,

In addition to the ESS SOC threshold, I’d like to limit battery use via Node-RED.

For example, if the ESS threshold is set to 30%, I’d like to temporarily raise it to 60% whenever a car is charging, so the EV isn’t charged using the battery.

I thought about disabling the inverter and leaving only the charger running, but what would happen if the mains supply were to fail?

Thanks for any ideas or feedback from your experience.

---

<div class="post-metadata">

**Author:** ![M\_Lange](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/m_lange/32/16_2.png) [@M\_Lange](https://community.victronenergy.com/u/M_Lange)\
**Post date:** [10 October 2026 16:04 UTC](https://community.victronenergy.com/t/modification-seuil-de-decharge-batterie/63790/2 "2026-10-10T16:04:07Z")

</div>

The discharge limit should be available via Node-RED, so you can simply set it to 60% when needed.

What kind of wallbox do you have?

If the wallbox is never meant to be supplied by the ESS, you could also connect it before the grid sensor so its power isn’t measured.

---

<div class="post-metadata">

**Author:** ![PaulinC](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@PaulinC](https://community.victronenergy.com/u/PaulinC)\
**Post date:** [10 October 2026 16:38 UTC](https://community.victronenergy.com/t/modification-seuil-de-decharge-batterie/63790/3 "2026-10-10T16:38:34Z")

</div>

Thanks

I had a Victron EVCS, which I’m going to sell because I’m not convinced by how it works. I’ve now got a KEBA P40 Pro.

I’m not sure what’s best: changing the ESS SOC from Node-RED, or finding another solution that only applies to charging the car.

The idea is to use the solar surplus to charge the car, so via AC OUT.
