From f29eafb1bd317b0bd6694b9aaee7f383d46c0df4 Mon Sep 17 00:00:00 2001 From: Varun Date: Sat, 25 Jan 2025 16:39:04 +0530 Subject: [PATCH] low water threshold changesd to 5 from 20 --- src/controllers/tanksController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index fc37403a..7b02b3f1 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -2245,7 +2245,7 @@ exports.motorAction = async (req, reply) => { const start_instance_id = req.body.start_instance_id; // Define thresholds for water levels - const lowWaterThreshold = 20; // Low water level percentage threshold + const lowWaterThreshold = 5; // Low water level percentage threshold //const highWaterThreshold = 90; // High water level percentage threshold const highWaterThreshold = 70; // High water level percentage threshold const veryHighWaterThreshold = 80; // Very High water level percentage threshold