From db85100c4da72fbd210fa573c8298f3ca228d124 Mon Sep 17 00:00:00 2001 From: znetsixe <73483679+znetsixe@users.noreply.github.com> Date: Thu, 27 Nov 2025 17:46:43 +0100 Subject: [PATCH] updates to pumping station control method --- src/configs/pumpingStation.json | 37 ++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/src/configs/pumpingStation.json b/src/configs/pumpingStation.json index b715b66..6c5ceda 100644 --- a/src/configs/pumpingStation.json +++ b/src/configs/pumpingStation.json @@ -418,19 +418,36 @@ } }, "levelbased": { - "thresholds": { - "default": [30,40,50,60,70,80,90], - "rules": { - "type": "array", - "description": "Each time a threshold is overwritten a new pump can start or kick into higher gear. Volume thresholds (%) in ascending order used for level-based control." - } - }, - "timeThresholdSeconds": { - "default": 5, + "startLevel": { + "default": 1, "rules": { "type": "number", "min": 0, - "description": "Duration the volume condition must persist before triggering pump actions (seconds)." + "description": "start of pump / group when level reaches this in meters starting from bottom." + } + }, + "stopLevel": { + "default": 1, + "rules": { + "type": "number", + "min": 0, + "description": "stop of pump / group when level reaches this in meters starting from bottom" + } + }, + "minFlowLevel": { + "default": 1, + "rules": { + "type": "number", + "min": 0, + "description": "min level to scale the flow lineair" + } + }, + "maxFlowLevel": { + "default": 4, + "rules": { + "type": "number", + "min": 0, + "description": "max level to scale the flow lineair" } } },