Bhaskar 6 months ago
commit a80eaaf5c6

@ -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