Live farm monitoring

A real monitoring system for a real farm.

Urvara does not stop at the drawing. Connect the sensors, meters and cameras on your farm, and the same 3D model shows what is happening now, keeps the history, raises alerts and lets an AI agent explain it.

In short

Urvara’s Live farm is a farm monitoring system. Devices send readings by MQTT, HTTP, Modbus, Zigbee or LoRaWAN. Urvara stores every reading, shows it on the part of the 3D farm it belongs to, checks alert rules, and sends alerts by Telegram, webhook, email or a notification on your phone. An AI agent reads the same data, and an AI inspector checks camera pictures for plant problems.

Live farmNowpump current below limit · waiting 60 sall readings normal
Tank level 142cm Tank node · MQTT
Pump current 4.2A Sump node · gateway
Flow 38L/min Sump node · gateway
Water temperature 24.3°C Tank node · MQTT
Soil moisture 31% Field probe · LoRaWAN
Solar power 2860W Inverter · Modbus
Illustration with simulated values and time speeded up. The rule shown is “below 30 % of the normal value, lasting 60 s”.
From the field to the screen

How a reading travels.

A device with Wi-Fi talks straight to Urvara. Everything else goes through a small gateway program on a computer at the farm, which also keeps readings safe while the internet is down.

Continuous monitoring

It watches when you are not looking.

Monitoring is not a dashboard you remember to open. It is a system that takes every reading, checks it, and comes to find you when something is wrong.

How it survives an internet outage
A reading arrives
It is stored, shown on the 3D farm and checked against its rules at once.
Every 20 seconds
Urvara checks for silent sensors, unconfirmed commands and outputs that have run too long.
On a timer you set
AI watch reviews the last 24 hours of readings, and the AI inspector checks the newest picture of each camera.
After 5 minutes of silence
A device is marked offline.
Every reading
Kept for 400 days.
Hourly lowest, highest and average
Kept with no end date.
During an internet outage
The gateway keeps up to 500,000 messages on disk and sends them afterwards.
00:0006:0012:0018:0024:00 limit

Alerts

An alert for the leak. Silence for the splash.

Six kinds of rule cover limits, ranges, fast changes, silent sensors and readings that differ from the design. A “must last” time keeps a one-second blip from waking anyone.

  • Telegram, webhook, email and notifications on your phone
  • Rules on two readings: the pump is on, but there is no flow
  • Closes by itself and tells you it has
  • The value label turns amber or red on the 3D farm
How alerts work
AI in monitoring

An agent that reads the sensors, and an inspector that looks at the plants.

Ask in plain words what the farm did last night. Let the agent study your readings and propose the alert rules you are missing. Send a camera picture to the inspector and get back what looks wrong, where, and what to check. Turn on AI watch and the AI reviews the readings on a timer and raises alerts by itself.

Plant checkLooking at the picture…

Most plants look healthy. Two areas need a look.

  1. WarningYellowing leavesWhere: third row, second and third plants from the leftCheck that the dripper for these plants is running and that the root zone is not waterlogged.
  2. InfoGrowing medium looks dryWhere: front row, right-hand endCompare with the soil moisture reading for this bed and check the end of the drip line.

Alert raisedPlant check: Bed camera

Illustration. The numbered boxes are drawn here to explain it; the product describes each place in words. A real check reports only what is visible in the picture. It never names a pesticide, a medicine, a fertiliser or a dose.

The AI works when you ask it, and on a timer you set: a review of the readings as often as every 15 minutes, and a plant check of each camera as often as every 30 minutes. It is not second by second. A sudden fault is caught within seconds by the alert rules, which check every reading as it arrives.

Design compared with real

It knows what the reading should be.

Any monitoring tool can tell you the pressure is 1.8 bar. Urvara designed the pipework, so it knows the pressure there should be 2.6. Press “Use design” on a reading, and an alert fires when the real farm drifts away from it.

  • Pressure and flow from the water check
  • Voltage and current from the electrical check
  • Catches a system that works, but not as well as it should
Compare the farm with its design
Design predicts2.6bar
Sensor reads1.8bar

31 % below the design. The tolerance is 25 %, so the alert opens.

Connect your hardware

Seven ways in. Pick the one that fits the device.

Urvara is not tied to one maker’s sensors. Answer two questions and see the route to use.

Works with
  • MQTT logoMQTT
  • ESPHome logoESPHome
  • ESP32 (Espressif) logoESP32 (Espressif)
  • Raspberry Pi logoRaspberry Pi
  • Modbus logoModbus
  • Zigbee logoZigbee
  • Zigbee2MQTT logoZigbee2MQTT
  • LoRaWAN logoLoRaWAN
  • ChirpStack logoChirpStack
  • The Things Network logoThe Things Network
  • Telegram logoTelegram
What are you connecting?
Where is it?
Suggested route

MQTT, straight to Urvara

MQTT logoMQTT ESPHome logoESPHome

The board joins the Wi-Fi and publishes each reading to the MQTT broker built into the Urvara server. Urvara can write an ESPHome configuration for an ESP32 with the device’s ID already filled in.

You need
  • Wi-Fi at the sensor
  • A device ID and token from the app
It carries
Readings and on/off commands
How to set it up
Suggested route

MQTT to the Urvara gateway

MQTT logoMQTT Raspberry Pi logoRaspberry Pi

Put the Urvara gateway on a Raspberry Pi where the farm network reaches. Boards talk MQTT to it with no token of their own, and it forwards the readings and keeps them on disk when the internet is down.

You need
  • A Raspberry Pi or other always-on computer
  • A network link from the board to it
It carries
Readings and on/off commands
How to set it up
Suggested route

Modbus through the gateway

Modbus logoModbus

Energy meters, inverters, pump drives and many industrial sensors speak Modbus. The Urvara gateway reads their registers over RS-485 or the network and sends the values on.

You need
  • The Urvara gateway
  • The device’s register list
  • An RS-485 adapter for serial devices
It carries
Readings only: the gateway never writes to a Modbus device
How to set it up
Suggested route

Zigbee through Zigbee2MQTT

Zigbee logoZigbee Zigbee2MQTT logoZigbee2MQTT

Ready-made Zigbee sensors for temperature, humidity, leaks and doors are cheap and run for a long time on a coin cell. Zigbee2MQTT receives them, and the Urvara gateway listens to it.

You need
  • A Zigbee coordinator stick
  • Zigbee2MQTT
  • The Urvara gateway
It carries
Readings only
How to set it up
Suggested route

LoRaWAN

LoRaWAN logoLoRaWAN ChirpStack logoChirpStack The Things Network logoThe Things Network

LoRaWAN sensors reach across a whole farm on a battery that lasts years. A LoRaWAN network server (ChirpStack or The Things Stack) decodes them and passes the values to Urvara.

You need
  • A LoRaWAN gateway in range
  • ChirpStack or The Things Stack with a payload decoder
It carries
Readings only
How to set it up
Suggested route

Snapshots through the gateway

The Urvara gateway fetches a still picture from the camera’s snapshot address on a timer and uploads it. The pictures can then be checked by the AI plant inspector. With the camera’s video address and ffmpeg on the gateway, you can also watch the camera live.

You need
  • A camera with an HTTP snapshot address
  • The Urvara gateway on the same network
It carries
Still pictures, at most one every 30 seconds, and a live view
How to set it up
Suggested route

USB, through your browser

Chrome logoChrome

Plug the board into your computer and Urvara reads the lines it prints, in Chrome or Edge. It is the quickest way to see a sensor working before you give it a network connection.

You need
  • Chrome or Edge on a computer
  • A board printing readings at 115200 baud
It carries
Readings only, while the tab is open
How to set it up
RouteHow it worksCarries
MQTT logo MQTTA board with Wi-Fi publishes to Urvara’s own MQTT broker.Readings and on/off commands
HTTPAny script or device sends readings with one web request.Readings
Modbus logo Modbus RTU and TCPThe gateway reads energy meters, inverters and drives.Readings
Zigbee logo ZigbeeThe gateway listens to Zigbee2MQTT.Readings
LoRaWAN logo LoRaWANFrom ChirpStack or The Things Stack, by MQTT or webhook.Readings
CamerasThe gateway fetches a still picture on a timer, and sends live video while you watch.Pictures and a live view
Chrome logo USBA board plugged into your computer, read by Chrome or Edge.Readings
Control

Switch a pump from far away, and know that it switched.

Control is off until you turn it on. Every command must be confirmed by the device within 60 seconds, an output can have a longest run time, and nothing switches on while a critical alert is open. An automation can send the same command at a time of day or when a reading crosses a value, under the same checks.

How control is kept safe
  1. You press “Switch on”, or an automation runsUrvara checks that control is on, the output is switchable and no critical alert is open.
  2. The command goes outOver MQTT, straight to the board or through the gateway.
  3. The board confirmsIt reports the new state. If nothing comes back in 60 seconds, the command expires and an alert is raised.
  4. It stops by itselfAfter the longest run time you set for that output.
Where it stands

What works today, and what is next.

Works today
  • Readings by MQTT, HTTP, Modbus, Zigbee, LoRaWAN and USB, and pictures from cameras.
  • Live values on the 3D farm, with history and charts.
  • Six kinds of alert rule, and rules on two readings such as “pump on but no flow”.
  • Alerts by Telegram, webhook, email and notifications on your phone or computer, and by text message where the service has SMS turned on.
  • On and off control with confirmation and safety checks.
  • Schedules and automations that switch one output on or off, at a time of day or when a reading crosses a value.
  • An AI agent that reads live data and proposes alert rules.
  • AI watch: the AI reviews the readings on a timer, as often as every 15 minutes, and raises alerts by itself.
  • AI plant checks on camera pictures, when you ask or on a timer from every 30 minutes to once a day.
  • A live view of a camera through the gateway, a few seconds behind.

Live farm has been tested with simulated devices on every route except USB. It has not yet been run with physical sensors in the field. 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, and the live camera view has not been tried with a physical camera.

Questions

Questions about monitoring.

What is a farm monitoring system?

A farm monitoring system collects readings from sensors on the farm, such as tank level, soil moisture, temperature and pump current, stores them, shows them on a screen and sends an alert when something goes wrong. Urvara does this on a 3D model of the farm, so each reading sits on the part it belongs to.

Is Urvara only a design tool?

No. Urvara has two halves that share one model. The first designs the farm and checks its water and power. The second, Live farm, is a monitoring system: it takes readings from real sensors, keeps their history, raises alerts and can switch equipment on and off.

Does Urvara work with real hardware?

Yes. A device sends readings by MQTT or HTTP with a token from the app. Energy meters and drives are read over Modbus, Zigbee sensors through Zigbee2MQTT, LoRaWAN sensors through ChirpStack or The Things Stack, and cameras by still pictures and a live view. Live farm has so far been tested with simulated devices on every one of these routes, not yet with physical sensors in the field.

What happens when the farm’s internet goes down?

Devices behind the Urvara gateway keep reporting to it, and it stores up to 500,000 messages on disk. When the internet returns it sends them with their original times. Devices that talk straight to the server cannot send until the link is back.

How does AI help with monitoring?

In four ways. The agent reads live readings, history and statistics and answers questions about them in plain words. It studies what is normal for each sensor and proposes alert rules, with a reason for each. An AI inspector looks at camera pictures and reports visible plant problems, which become alerts. And with AI watch turned on, the AI reviews the readings on a timer and raises an alert for what fixed rules miss.

Does the AI watch my farm all the time?

It looks on a timer you set, not second by second. AI watch reviews the last 24 hours of readings as often as every 15 minutes and raises an alert for what it finds. The camera inspector can check the newest picture of each camera as often as every 30 minutes. Both are off until you turn them on. A sudden fault is caught by the alert rules, which check every reading as it arrives.

Can Urvara switch equipment by itself?

Yes, with an automation. An automation switches one output on or off at a time of day, or when a reading goes above or below a value, and can switch it back after a set time. It obeys the same checks as a person: control must be on for the farm, the output must be marked as switchable, and nothing is switched on while a critical alert is open. It is on and off only.

How long is sensor data kept?

Every reading is kept for 400 days. Hourly summaries, with the lowest, highest and average value, are kept with no end date.

How many sensors can one farm have?

A farm can have up to 200 devices, and each device up to 64 readings.

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.