Live monitoring · Alerts, control and AI

Farm alerts and notifications

An alert system fails in two ways: it stays silent when it matters, or it cries so often that everyone ignores it. Good rules avoid both.

In short

An alert rule watches one reading and fires when it breaks a limit for long enough. Urvara has six kinds of rule, three severities, and a “must last” time that ignores short blips. A rule can also depend on a second reading. An open alert shows on the 3D farm and is sent by Telegram, webhook, email or a notification on your phone or computer. It closes by itself when the reading returns to normal.

The six kinds of rule

RuleFires whenUse it for
AboveThe value is over a limitHigh temperature, overload
BelowThe value is under a limitLow tank, stopped pump
Outside a rangeThe value is under the low limit or over the high onepH, temperature, voltage
No data forNothing arrived for a number of minutesDead sensors, flat batteries, lost links
Changes faster thanThe value moved more than a limit within some minutesLeaks, sudden heat
Differs from the designThe value is more than a percentage away from what the design predictsA system that does not perform as planned

Try a rule

This is a day of tank level readings with a morning refill, a short dip from a splash, and a leak in the afternoon. Move the limit and the time and see when the alert opens and closes.

00:0006:0012:0018:0024:00 limit

Severity and “must last”

  • Every rule is info, warning or critical.
  • Must last is how long the limit must stay broken before the alert opens, from none up to 24 hours.
  • One rule has at most one open alert. It does not send a new message for every reading.
  • When the reading returns to normal the alert closes and a “resolved” message is sent.

A rule on two readings

Any rule except “No data for” can carry a condition on a second reading. When you make a rule, change Always (no second reading) to Only while another reading is above or below a value.

Detail
ExampleFlow below 5 L/min, only while pump current is above 1 A: the pump is on but no water moves
When it is judgedWhen either of the two readings arrives
The alert text“Flow is 0.4 L/min, below the limit of 5 L/min, while Pump current is 2.1 A.”
A silent second readingIf it has sent nothing for 15 minutes, the condition counts as not met and the rule does not fire
Must lastWorks with these rules too
Changing the conditionIt is chosen when the rule is made. To change it, remove the rule and add it again

How alerts reach you

WhereHow
In the appA list on the Live farm screen and a count in the header
On the 3D farmThe value label on the component turns amber or red
TelegramA message from your own Telegram bot
WebhookA JSON message to any address, for your own systems and chat tools
EmailA plain message to any address
Notification on this deviceA notification from your browser, on a computer or a phone, even when Urvara is closed
Text message (SMS)To a mobile number, where the service has SMS turned on. It starts on critical alerts only, with at most 30 messages a day to one number

Each destination has its own lowest severity, so your phone can get critical alerts only while a team channel gets everything. A test button sends a sample.

Notifications on a device work in Chrome, Edge and Firefox on computers and Android, and in Safari on a Mac. On an iPhone or iPad, add Urvara to the Home Screen first; that is Apple’s rule. Each browser or device is turned on separately.

Let the AI suggest the rules

After a few days of readings, Urvara can look at what is normal for each sensor and propose rules that fit: the limits, the delay and the reason for each. You approve them one by one. Proposals the agent files in chat can apply by themselves if you choose “Add and tighten”. See AI farm monitoring.

AI watch: alerts without a rule

Turn on AI watch on the Rules tab and the AI reviews the last 24 hours of every reading on a timer, from every 15 minutes to once a day. It looks for what fixed rules miss: a slow drift, two readings that disagree, a sensor stuck on one value. Each finding becomes an alert titled “AI watch: …”, and it closes by itself when a later review no longer reports it.

These alerts are info or warning, never critical. AI watch is not second by second, so fixed rules are still what catches a sudden fault. More in AI farm monitoring.

Works today
  • Six kinds of rule with three severities and a delay.
  • Rules on two readings, such as “the pump draws current but there is no flow”.
  • Alerts that close by themselves, with a “resolved” message.
  • Alerts by Telegram, webhook, email and notifications on your phone or computer, and by text message where the service has SMS turned on.
  • Rule proposals from the readings’ own history.
  • AI watch: the AI reviews the last 24 hours of readings on a timer, as often as every 15 minutes, and raises an alert for what fixed rules miss.

A notification is sent once and is not retried if the destination is down. For anything critical, use two destinations.

Rules on two readings, automations, timed plant checks, AI watch and the sending of text messages and push notifications are covered by automated tests and were tried in the running app with simulated devices. Push notifications have not yet been tried end to end in a real phone or desktop browser; only the part of the service that signs and sends them was tested.

Questions people ask

How do I stop false alarms from farm sensors?

Give each rule a “must last” time so a single odd reading is ignored, set the limit from what the sensor really reads on a normal day rather than from a textbook, and use a “no data” rule to tell a dead sensor from a real problem.

Can Urvara send alerts to WhatsApp or Slack?

Not directly. Urvara sends to Telegram, to email, to a webhook, as a notification on your device, and by text message where the service has SMS turned on. A webhook can be pointed at a service that passes the message on to another chat tool.

Does an alert switch equipment off?

Not by itself. An alert tells people. To switch something from a reading, make an automation: it switches one output on or off when a reading crosses a value. There is also a safety check: Urvara refuses to switch an output on while the farm has an open critical alert, and that holds for automations too.

Last checked against the product: .

Design your farm before you build it.

Open Urvara in your browser. Lay out the land, connect the water and the power, and see what the checks say.