How to Integrate Smart Irrigation Valves Into Your System

Solar-powered smart butterfly valve installed on an irrigation mainline in a crop field

A farm can buy a smart irrigation valve and run it from our app. That is one way to do this — and it is not the one this guide is about.

This guide is for the companies in between: system integrators, irrigation contractors, farm-management software vendors and engineering firms. You already run a platform, a LoRaWAN network, or both. What you need is field hardware that attaches to what you have — valves that open and close, sensors that report — without rebuilding the system around them.

If that describes you, the question is not whether our valves work. It is how they attach to your system. There are two answers, and which one fits depends on one fact about your business.

First Decision: Whose Server the Data Lands On

Every smart irrigation valve integration comes down to the same decision, and it is not a technical one. It is this: whose server the data lands on.

Your valves and sensors have to report somewhere, and someone has to hold the system of record that your customers’ commands pass through. That server is either ours or yours — and which one it is depends entirely on what you already operate.

Taken one at a time, each route is simple. Both end at the same place: your platform, your interface, your customers.

Route One — through our open API

YOUR SIDE

Your platform

Your software · your dashboard · your control system

① appId + appSecretKey  →  access token, requested once

↓

every later call carries the token

YOU CALL — CONTROL ↓

Open or close · set opening · run by duration · run to volume

YOU CALL — READ ↑

Device status · device list · operation and reporting history

↕

OUR SIDE

Our server

the system of record for every device

Open API
the door you call

Device data
what the valves report

↕

Our LoRaWAN gateway

It relays field data to our server. Where a valve is cellular, it connects directly instead.

LoRaWAN radio

↕

Our devices, at your sites

Valves · pressure sensors · flow meters · soil sensors

Route One. You call in at one point — everything below the API is ours to run.

Read this one from the top. Your platform authenticates once, then makes two kinds of calls: control, which travels down to the devices, and read, which brings data back. Everything underneath the API is our responsibility — the server, the gateway that carries the radio traffic, and the hardware in the field.

Put simply: every valve reports to our server, and your platform reaches into that server through the API — taking the data into your own system and sending commands back. That is the whole integration, and it is why this route reaches a working valve fastest.

Route Two — through your own LoRaWAN network

YOUR SIDE

Your PLC or control terminal

Node-RED, SCADA or your own application — built on top of ChirpStack

↕

Your network server

Your ChirpStack — the device is registered here, and joins here

↕

Your LoRaWAN gateway

A relay station — it forwards field data into your ChirpStack. Only the frequency plan has to match.

LoRaWAN radio — the only wireless hop in the chain

↕

OUR SIDE

Our devices, at your sites

Valves · pressure sensors · flow meters · soil sensors

WHAT WE HAND YOU

The device’s network credentials · the device protocol documentation · a reference decoder for ChirpStack, The Things Stack and Node-RED

Route Two. Our side stops at the device; everything above it is yours.

Read this one from the bottom up. Our side stops at the device. Above it sits your gateway, which does nothing but relay, then your network server, then the PLC or control terminal built on top of it.

Nothing passes through our server at all — which is exactly the point of this route. You take on the network, and in exchange no part of your system depends on ours.

THE CHOICE — Nothing to weigh up here. It comes down to one fact about your own setup: do you already run a LoRaWAN network? A gateway and a network server of your own — ChirpStack or equivalent — and you integrate at the gateway. If you do not run one, your software connects to ours through the API. Matching what you already have is what keeps the integration small.

The next two sections take each route apart — what you can do with it, why it is convenient, and what you have to bring.

Route One in Detail

This is the route for a company that already has its own software system. The hardware reports to our cloud, and your platform reads and controls it through one connection.

What you can do with it

Control. Open or close any valve, set it to a specific opening, and irrigate either for a set duration or until a target volume has passed. The same connection reaches the sensors on the line, so a site’s whole field layer is addressable from one place.

See. The current state of every device — whether it is online, how far open each valve is, what the pressure and flow are doing, and when each device last reported. Alongside that, the operational record: which valve ran, when, for how long, and what went wrong if something did.

Organize. Devices can be grouped and addressed in bulk, so setting a schedule for a whole block takes the same effort as setting it for one valve. That is the difference between a system that scales and one that has to be managed unit by unit.

Why this route is convenient

Your software system already exists — its data model, its interface, and the people who use it every day. On this route the valves simply become another data source that system calls. There is no layer of your own to build in between, no second platform to keep in step, and no separate interface for anyone to learn. The whole integration surface is one API.

What you need on your side

A platform you control, and a developer who can work with an open API. That is the whole list. There is no network for you to build, and the gateway and server in the chain are ours to own and maintain.

IN ONE LINE — You own the platform. Everything from the API down is ours.

Route Two in Detail

This is the route for a company that already runs its own LoRaWAN network — a gateway and a network server such as the open-source ChirpStack. The valves join it as ordinary nodes, and from that moment everything — the readings, the commands, the history — happens inside infrastructure you own. A project that ran Route Two end to end, with 25 devices on one acre, is written up here: LoRaWAN smart drip irrigation in Kenya. A second project took the same route on an Australian lucerne farm, with 4-inch valves on existing hydrant risers: LoRaWAN valves on a lucerne farm in New South Wales.

What you can do with it

Control. The same capabilities as Route One — open and close, set an opening, irrigate by duration or by volume — except that the commands are assembled on your side and delivered through your own network.

See. Every reading arrives in your network server directly. You decide what to store, what to display and what to act on. Nothing is filtered or summarized by us on the way.

Organize. Because the devices are ordinary nodes on your network, they sit in the same tooling as everything else you have deployed. One dashboard, one set of rules, one place to look when something is wrong.

Why this route is convenient

Your network already exists — the gateway, the network server, and the tooling your team works in every day. On this route the valves join it as ordinary nodes, sitting alongside everything else you have already deployed. One system to look at, one set of rules to maintain, and nothing new for your team to learn.

The devices appear in your server and everything above them is code you already own. No part of the chain runs through a platform outside your control.

What you need on your side

A LoRaWAN network that is already running — gateway and network server — and a team that can handle the data once it arrives. The gateway is only a relay in this chain: it forwards what the valves send into your network server, and there is nothing to write on it or customize. We supply the device protocol documentation and a reference decoder that runs on ChirpStack, The Things Stack and Node-RED, so the parsing work is not starting from a blank page.

IN ONE LINE — You own the network. We own the device. Nothing in between is ours.

The Two Routes Side by Side

Neither route is the better one in the abstract. They are answers to different questions, and the right one is decided by what you already operate.

 Route OneRoute Two
Where the data landsOur serverYour network server
Does data pass through usYesNever
Who runs the radio layerWe do — our gateway and our network serverYou do — your gateway and your ChirpStack
What you buildThe connection from your platform to the APIThe network, and the connection from it to your platform
Time to a working valveShortest — the radio layer already exists on our sideDepends on how ready your network is

↔ Swipe horizontally to view both columns on mobile

If You Run Neither

Then you do not need either route. Our own platform and app cover the whole system, and there is nothing to integrate. That is a perfectly good answer — it just answers a different question from the one this guide asks.

Integration is for companies that already have a system and want our hardware inside it. If you do not have one yet, the shortest path is to use ours and revisit this page if you build your own later.

Every Device We Make Works With Both

Our range is valves and the sensors that go on the line with them:

Every one of them integrates by either route. That matters more than it sounds, because it means the architecture you choose once holds as a site grows: adding soil sensors to a block, or a second hundred valves to a farm, does not open a new integration question.

Who Does What

Most of the questions that come up before a project starts.

 Route OneRoute Two
We provideThe devices. The API. The integration documentation. Technical support through commissioning.The devices. The device protocol documentation. A reference decoder for ChirpStack, The Things Stack and Node-RED. Technical support through commissioning.
You provideYour platform, and the development to connect it.Your LoRaWAN network, your platform, and the development between them.

Where our scope ends

Both routes have a line running through them, and everything above that line is yours. It is worth being explicit about where each line sits.

  • Route One — our side ends at the API. Your platform, its code and its hosting are yours. We keep the API and everything beneath it running.
  • Route Two — our side ends at the device. Once the valves sit in your network server, the gateway, that server and everything above them are yours to run.

How a Project Starts

There is no lengthy process. It begins with one question about what you already run.

From first contact to a live site

1

You tell us what you already run

A platform, a LoRaWAN network, or both — and roughly what the first site looks like.

2

We tell you which route fits, and send the documentation for it

API documentation, or the device protocol documentation and reference decoder. Whichever your route needs.

3

You build the connection, with us available through commissioning

Most of the work happens on your side. We stay in the conversation until the first valve responds.

4

Your first site goes live

After that, every additional site is the same integration repeated — not a new one.

The fourth step is the one that matters commercially. From there, growth is repeatable.

Frequently Asked Questions

Do we have to use your app?

No. On either route your system is the one in front of the devices. Our own platform and app exist for customers who do not have one, and they are not a requirement for integrating our devices into yours.

Who provides the gateway in the field?

On Route One it is ours, part of the network we run, so there is nothing for you to buy or site. On Route Two the gateway is yours, and it only has to match the frequency plan of the valves.

What do we receive to start building?

On Route One, the API documentation. On Route Two, the device’s network credentials, the device protocol documentation, and a reference decoder for ChirpStack, The Things Stack and Node-RED. Both routes include technical support through commissioning.

What has to be in place before the first valve works?

On Route One, a client that can authenticate against the API. On Route Two, the gateway online and visible in your network server, and the device registered there before it is powered on. In that order — otherwise the device keeps trying to join and is never accepted.

Can we integrate sensors as well as valves?

Yes. Pressure sensors, flow meters and soil sensors integrate by the same two routes as the valves, so a site’s whole field layer can come in through one connection.

What happens when we add devices or sites?

Nothing changes architecturally. Both routes cover the whole device range, so a second site or a hundred more valves is more of the same integration, not a new one.

Tell us what you already run.

A platform, a LoRaWAN network, or both — that single answer decides which of these two routes is yours. We will tell you which one fits and send the documentation you would need to start.

Related reading:
>>> The complete guide to smart irrigation valves · Choosing between 4G and LoRaWAN · Full valve specifications · How an irrigation system is structured

Talk to us about your architecture:
>>> Send us what you already operate and what the first site looks like, or tap the WhatsApp button in the corner of any page.


AriValve builds solar-powered, motorized wireless smart irrigation valves and the sensors that run with them, deployed across 30+ countries since 2017. This guide is written for the integrators and platform vendors who connect them.

Leave a Comment

Your email address will not be published. Required fields are marked *