Automation and technology

Tech vineyard.

Vineyard automation, sensors, APIs and experiments.

Tech vineyard
From Hydrawise to OpenSprinkler: how we built a frost protection system for 7,000 PLN
30 marzec 2026, 14:00

From Hydrawise to OpenSprinkler: how we built a frost protection system for 7,000 PLN

How little Pustkowie built a frost protection system for less than 7 thousand PLN, went through three controllers, two frosts and one sleepless night - and why it would do it all over again.

1. The Origin: Why Frost Protection?

Winnica Pustkowie is located in Wołyńce-Kolonia, Siedlce county. A region that looks promising for winemaking - long, warm summers, good sun exposure - but has one serious weakness: late spring frosts.

April–May is the time when grapevines wake from their winter sleep. Young buds, the same ones you've been waiting for all year, are extremely sensitive to frost. A temperature of -2°C is enough to destroy an entire vintage. In 2024 we experienced this firsthand - some buds died and we had to wait for secondary shoots, which dramatically reduced yields.

That's when we started looking for a solution in earnest.

2. Physics That Seems Like Magic

In July 2024 I came across a method used by orchardists around the world: anti-frost sprinkling. The principle is simple and beautiful:

Water releases heat as it freezes. Precisely 80 calories per gram - this is the so-called heat of solidification (latent heat of phase change). When you cover plants with a thin layer of water that slowly freezes, the freezing process releases thermal energy. This energy keeps the plant tissue temperature around 0°C, even when the surrounding air drops to -5°C.

The condition: water must keep flowing continuously. If you stop sprinkling too early, the ice starts drawing heat from the plant instead of releasing it - and the situation becomes worse than without sprinkling at all. That's why the system must work reliably throughout the night, until the temperature rises above zero and the ice begins to melt.

3. Choosing the System: Flipper vs Frolight

We analyzed two technologies:

Option A: NDJ Flipper Sprinklers

Micro-sprinklers by NaanDanJain, a standard in orcharding. Each flipper delivers 43 liters of water per hour in an even distribution. Mounted on vine posts, about 4.5 meters apart. For our 12 rows (56 meters each) we needed 144 sprinklers.

  • Sprinklers + covers + brackets: 2,262 PLN
  • PE pipe 32mm in rows (672 m): 2,876 PLN
  • PE pipe 40mm supply line (81 m): 731 PLN
  • Tees, hoses, fittings: ~890 PLN
  • Total materials: ~6,760 PLN

Option B: Frolight IR (Infrared)

A system of pipes emitting infrared radiation, raising the temperature by ~6°C. Technologically fascinating, but:

  • 750 meters of pipes + control unit: over a dozen thousand PLN
  • Required 3×400V, 32A power supply - which we didn't have
  • Cost of electrical connection: additional thousands of PLN

The decision was obvious: flipper for under 7 thousand vs Frolight for over a dozen thousand PLN + electrical work. A threefold price difference, no power supply issues, and proven technology used in thousands of orchards.

4. Installation: September 2024

The system was installed by a specialized company, using the existing vine posts as supports for the pipes.

Architecture:

  • 6 zones, each serving 2 rows
  • Zones grouped into 2 groups of 3 (A: even, B: odd)
  • Pump: Omnigena 3T32 (60 l/min)
  • Pressure tank: 200 liters
  • Water source: deep well

Why two groups? The pump can't handle 6 zones at once. Two groups split the load in half - first 3 zones, then the next 3, in a cycle.

5. The Hydrawise Phase: Beautiful Promises, Ugly Reality

As the controller we chose the Hunter X2 with the WiFi module WAND and a Hydrawise Enthusiast subscription. On paper it looked perfect - a professional app, schedules, zones, weather forecast integration, a promised API access.

What Worked

  • Basic zone and schedule programming
  • Manual activation from the phone
  • Weather forecast integration (delaying irrigation during rain)

What DID NOT Work - And That Was the Deal-Breaker

  • No "repeat" loop - anti-frost sprinkling requires cycles: 3 minutes on, 3 minutes off, repeat. Hydrawise only allowed setting a single duration. Without cycling, the whole concept falls apart.
  • Cloud-only API - every command went through Hunter's servers in the USA. Request limits, delays, zero control when the internet goes down at 3:00 AM.
  • No temperature triggers - you couldn't set: "turn on when temperature < 1°C". It had to be done manually.
  • Alexa didn't work - integration officially supported, practically unusable.

We tried to work around the limitations through IFTTT (If This Then That), but Hydrawise didn't have a native IFTTT channel. We tried webhooks - the cloud API blocked rapid cycles.

At night, at 2:00 AM, when the thermometer drops below zero, you don't want to open an app and manually click through 6 zones. You need a system that does it on its own.

6. The Breakthrough: OpenSprinkler (March 30, 2025)

That day we ordered the OpenSprinkler. It was the best technical decision of the entire project.

Why OpenSprinkler?

  • Local API - the controller has its own web server on the LAN. Zero cloud, zero limits, commands in milliseconds. Works even without internet.
  • Native looping - built-in "repeat program every X minutes" loop. Exactly what we needed for anti-frost cycles!
  • Open-source - firmware available on GitHub, active community, full documentation for every API endpoint.
  • Price - ~600 PLN for the controller. A fraction of what we spent on the Hunter + WAND + annual subscription.

Configuration

  • Group A (zones 1, 3, 5) - even rows
  • Group B (zones 2, 4, 6) - odd rows
  • Cycle: Group A 3 min → pause → Group B 3 min → repeat
  • Total cycle: ~6 minutes for full coverage

7. Automation: Three Phases of Evolution

The controller itself is half the success. The other half is decision automation - when to turn on the sprinkling.

Phase 1: IFTTT + Weather Underground

Simple trigger: if forecast < 1°C → start program. It worked, but IFTTT had 15–30 minute delays. With frosts, every minute counts.

Phase 2: Google Apps Script + SMSAPI

A custom script checking the Open-Meteo API every hour. It compared the forecast against thresholds and sent an SMS: "Warning, forecast -2°C at 3:00 AM - consider starting the sprinkling." I made the decision and started it manually via API.

Phase 3: VineyardElf (Under Development)

Our own application VineyardElf integrating data from three sources:

  • Ecowitt - weather station in the vineyard (temperature, humidity, leaf wetness, wind, rainfall)
  • Open-Meteo - 48-hour hourly forecast
  • OpenSprinkler API - sprinkler zone control

Goal: full automation with human oversight. The system makes a decision, sends an SMS for confirmation, and the human can block it within 5 minutes.

8. Battle Test: May 8/9, 2025

That was the night. The forecast predicted a drop to -2°C. We were 200 km from the vineyard.

At 10:00 PM I received an SMS from Apps Script: "Open-Meteo forecast: -1.8°C at 2:00 AM. Ecowitt: downward trend." At 11:30 PM, when Ecowitt showed +1.2°C and continued dropping, we started the anti-frost program with a single API call from the phone.

The sprinklers worked all night. At 6:30 AM, when the temperature rose above +2°C, we shut down the system.

Data from the Operation

  • Air temperature (2m): minimum -1.7°C (between 0:00 and 3:00 AM)
  • Temperature at ground level: minimum +0.6°C - it didn't drop below zero!
  • Difference: 2.3°C in favor of the sprinkled zone
  • Water consumption: ~26,000 liters per night (~5 hours of operation)
  • Control: 100% remote - OpenSprinkler API from the phone, 200 km from the vineyard

Why was it warmer at ground level than in the air? Normally it's the opposite - cold air sinks down (inversion). But the freezing water from the sprinklers released heat exactly where the buds were. 26 thousand liters of freezing water means over 2 billion calories of thermal energy released during the night. The physics worked.

In the morning the entire vineyard was covered with a thin layer of ice. It looked dramatic - but underneath, everything was alive. All buds survived.

9. Expansion: New Rows and Plans

In the 2025 season we planted 3 new rows (Solaris and Souvignier Gris). The sprinkler connections were ready from the start - we planned for this during the first installation. Cost of expanding by 3 rows:

  • PE pipes 32mm: 540 PLN
  • Tees and fittings: 117 PLN
  • I had spare Flippers from the first delivery
  • Total: 757.59 PLN for 3 rows

On the plans list:

  • 1000L buffer tank - so the pump doesn't have to draw directly from the well non-stop
  • Full automation in VineyardElf - sensor → forecast → auto-start with confirmation SMS
  • New 0.6 ha parcel - sprinkler system from scratch, with the experience of the first installation

10. Cost Summary

ItemCost
Materials (sprinklers + pipes + fittings)~6,760 PLN
Omnigena 3T32 pump + 200L pressure tank~2,500 PLN
Hunter X2 + WAND (later replaced)~1,200 PLN
OpenSprinkler~600 PLN
Expansion by 3 rows~757 PLN
TOTAL~11,817 PLN

Yes, we spent 1,200 PLN on the Hunter, which I later replaced. It was a lesson that cost us - but thanks to it I know for certain that OpenSprinkler with an open API is the only sensible choice for a vineyard that wants automation.

11. What We Learned

  • Local API > Cloud API - always. With critical systems (frost, fire) you can't depend on servers in the USA.
  • Cycling is key - anti-frost sprinkling without a repeat loop is useless. Check this feature BEFORE buying a controller.
  • Automation ≠ full autonomy - the best system is one that proposes a decision and waits for confirmation. Human in the loop.
  • Plan for expansion from the start - leave connections for future rows. The cost of adding 3 rows dropped from 6,760 PLN to 757 PLN.
  • A deep well is a treasure - 26,000 liters per night from the municipal water supply would be a cost that would kill the project.
  • SMS > push notifications - at 3:00 AM you can miss a push notification. An SMS wakes you up.

If we were starting from scratch? OpenSprinkler right away, buffer tank right away, temperature sensors with SMS alerts right away. Everything else - exactly the same.


Timeline

  • July 2024 - Initial research, heat of solidification principle
  • August 2024 - Flipper vs Frolight analysis, purchase decision
  • September 2024 - Installation: 144 flippers, 6 zones, pump, pressure tank
  • September 2024 - Hunter X2 + Hydrawise connection
  • October 2024 - Hydrawise integration attempts with IFTTT and Alexa
  • December 2024 - Frolight offer rejected (over a dozen thousand PLN)
  • March 30, 2025 - OpenSprinkler ordered
  • April 2025 - Configuration: 6 zones, 2 groups, 6-min cycle
  • April 2025 - Automation: Apps Script + Open-Meteo + SMSAPI
  • May 8/9, 2025 - First battle test: -1.7°C, 26,000 L of water, complete success
  • May 2025 - Expansion by 3 rows (757 PLN)
  • 2025–2026 - VineyardElf integration (in progress)

This article was written based on a year of experience, 447 messages with ChatGPT about OpenSprinkler, 186 messages about sprinkler settings, and two sleepless nights with frosts. Detailed technical documentation is available at help.vineyardelf.com.