diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 62e432d6..b0b0fd2c 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);