|
|
|
@ -2245,7 +2245,7 @@ exports.motorAction = async (req, reply) => {
|
|
|
|
|
const start_instance_id = req.body.start_instance_id;
|
|
|
|
|
|
|
|
|
|
// Define thresholds for water levels
|
|
|
|
|
const lowWaterThreshold = 20; // Low water level percentage threshold
|
|
|
|
|
const lowWaterThreshold = 5; // Low water level percentage threshold
|
|
|
|
|
//const highWaterThreshold = 90; // High water level percentage threshold
|
|
|
|
|
const highWaterThreshold = 70; // High water level percentage threshold
|
|
|
|
|
const veryHighWaterThreshold = 80; // Very High water level percentage threshold
|
|
|
|
|