|
|
|
@ -2225,8 +2225,8 @@ eventEmitter.on("sendMotorStartNotification", async (hw_Id, customerId, fcmToken
|
|
|
|
|
|
|
|
|
|
const message = `🚰 **Motor Started** 🚀\n` +
|
|
|
|
|
`👤 **Customer ID:** ${customerId}\n` +
|
|
|
|
|
`🔹 **Motor Name:** ${tankName} - ${blockName} - ${typeOfWater}\n` +
|
|
|
|
|
`💧 **Water Level:** ${waterLevel}%\n` +
|
|
|
|
|
`🔹 **Motor Name:** ${tankName} - ${blockName}\n` +
|
|
|
|
|
`💧 **Water Level:** ${waterLevel}\n` +
|
|
|
|
|
`📱 **Mode:** **Forced Manual**\n` +
|
|
|
|
|
`🕒 **Pump started at:** ${formattedTime}\n`
|
|
|
|
|
|
|
|
|
@ -2256,8 +2256,8 @@ eventEmitter.on("sendMotorStopNotification", async (hw_Id, customerId, fcmTokens
|
|
|
|
|
|
|
|
|
|
const message = `🛑 **Motor Stopped** ❌\n` +
|
|
|
|
|
`👤 **Customer ID:** ${customerId}\n` +
|
|
|
|
|
`🔹 **Motor Name:** ${tankName} - ${blockName} - ${typeOfWater}\n` +
|
|
|
|
|
`💧 **Water Level:** ${waterLevel}%\n` +
|
|
|
|
|
`🔹 **Motor Name:** ${tankName} - ${blockName}\n` +
|
|
|
|
|
`💧 **Water Level:** ${waterLevel}\n` +
|
|
|
|
|
`📱 **Mode:** **Forced Manual**\n` +
|
|
|
|
|
`🕒 **Pump stopped at:** ${formattedTime}`;
|
|
|
|
|
|
|
|
|
|