From d5b384df7b1c83a0cf6ebb0778cb0cefe2a8eb76 Mon Sep 17 00:00:00 2001 From: Varun Date: Fri, 28 Mar 2025 12:24:02 +0530 Subject: [PATCH] changes --- src/controllers/tanksController.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index a351a92e..5659310d 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -2999,6 +2999,8 @@ exports.motorAction = async (req, reply) => { } } + + // Check for high water level and send notification // if (currentWaterPercentage >= highWaterThreshold) { // // eventEmitter.emit('sendHighWaterNotification', fcmToken, receiverTank);