master^2
Varun 6 months ago
parent a8ca0e9f4f
commit d5b384df7b

@ -2999,6 +2999,8 @@ exports.motorAction = async (req, reply) => {
} }
} }
// Check for high water level and send notification // Check for high water level and send notification
// if (currentWaterPercentage >= highWaterThreshold) { // if (currentWaterPercentage >= highWaterThreshold) {
// // eventEmitter.emit('sendHighWaterNotification', fcmToken, receiverTank); // // eventEmitter.emit('sendHighWaterNotification', fcmToken, receiverTank);

Loading…
Cancel
Save