---
title: Intelligent Greenhouse Automation with Revolution Pi and Node-RED
url: "https://revolutionpi.com/en/success-stories/detail/iot-greenhouse"
description: "PLC Direct Benelux utilizes Revolution Pi and Node-RED to implement a greenhouse that uses weather forecasts to automatically control its windows, ensuring optimal growing conditions. | Industrial Raspberry Pi"
image: "https://revolutionpi.com/fileadmin/_processed_/f/3/csm_key_visual_success_story_iot-greenhouse_c56580d716.jpg"
date: 2024-11-15
modified: 2024-12-09
keywords:
  - Node-RED
  - climate control
  - Industrial Raspberry Pi
type: article
---

# Intelligent Greenhouse Automation with Revolution Pi and Node-RED

Soft PLC Energy & Environment

IoT Greenhouse
==============

 How does a greenhouse automatically adapt to changing weather conditions? PLC Direct Benelux demonstrates how Revolution Pi, combined with Node-RED and online weather data, intelligently manages the climate.

    ![Large greenhouse for plants](https://revolutionpi.com/fileadmin/_processed_/f/3/csm_key_visual_success_story_iot-greenhouse_5027d9e22f.jpg "Success Story IoT greenhouse | Industrial Raspberry Pi")

###  Challenge

In greenhouses, the climate must constantly adapt to weather conditions. Manual window control is time-consuming and slow to respond to weather changes. An automated system was needed to take advantage of rainfall forecasts while respecting the technical limitations of actuators and control modules.

[PLC Direct Benelux B.V.](https://www.plcdirect.eu/ "PLC Direct Benelux company website"), based in the Netherlands, provides industrial automation solutions and distributes products from well-known brands. The company also helps customers implement and customize IIoT applications.

  ![RevPi Core, RevPi DIO and relay on DIN rail](https://revolutionpi.com/fileadmin/success_story_images/success_story_iot-greenhouse_installed_revpi.jpg "Connection of the actuator to the Revolution Pi system via relay | Industrial Raspberry Pi") Connection of the actuator to the Revolution Pi system via relay.

###  Solution

The developed system integrates a RevPi Core with a RevPi DI digital I/O expansion module to control a linear actuator. Node-RED processes rainfall forecasts from Buienradar and automatically closes windows in case of rain.

  ![Screenshots Node-RED nodes on RevPi](https://revolutionpi.com/fileadmin/success_story_images/success_story_iot-greenhouse_data_import.jpg "Import of weather data using Node-RED and HTTP request | Industrial Raspberry Pi") Import of weather data using Node-RED and HTTP request.

###  Implementation

A 24 V linear actuator with 500 mm stroke opens and closes the windows. Since the actuator requires 3 A and the I/O module can only switch 500 mA, a relay was added. Node-RED uses HTTP requests every five minutes to query GPS-based rainfall forecasts. If rain is predicted within the next 15 minutes, the windows close automatically; otherwise, they open again.

**Technologies used:**

- [RevPi Core](https://revolutionpi.com/en/products/revpi-core#c887) as a controller
- [RevPi DIO](https://revolutionpi.com/en/products/io-modules#c1612) (digital I/O expansion module)
- [Node-RED](https://revolutionpi.com/en/software#c542) for programming
- HTTP requests for weather data
- Linear actuator with relay
- Buienradar API

###  Results & Outlook

The system currently maintains two states: "window open" and "window closed". Future enhancements may include:

- Additional intermediate window positions
- Temperature and humidity sensor integration
- Web-based dashboard for rain forecast and window status

[More information about PLC Direct Benelux](https://www.plcdirect.eu/ "PLC Direct Benelux company website")

  ![Revolution Pi for Energy Management Solutions](https://revolutionpi.com/fileadmin/_processed_/6/5/csm_revolution-pi-energy-management-text-media_a0f1bdb761.png)

###  Revolution Pi for Your Energy Solution?

Numerous companies rely on Revolution Pi as industrial-grade, flexible hardware for their energy solutions.

The open Linux platform offers you complete freedom in application development.

[Discover all benefits](https://revolutionpi.com/en/industries/energy-management)

 Featured Products
-------------------

 ![RevPi Core mounted on DIN rail](https://revolutionpi.com/fileadmin/_processed_/e/a/csm_revpi-core-card_2af536cdfc.jpg "RevPi Core – Industrial Raspberry Pi")COMPACT CONTROL SYSTEM

####  REVPI CORE

- Compact and cost-efficient
- Perfect for limited space in the switch cabinet
- Expandable with I/Os and gateways

 [  VIEW PRODUCT SERIES  ](https://revolutionpi.com/en/products/revpi-core "VIEW PRODUCT SERIES")

 More Success Stories
----------------------

  [ ![Sustainable Building Energy Management, mood picture](https://revolutionpi.com/fileadmin/_processed_/b/6/csm_key_visual_success_story_building-energy-management_e5144699f5.jpg "Success Story Sustainable Building Energy Management | Industrial Raspberry Pi") ](https://revolutionpi.com/en/success-stories/detail/building-energy-management "Sustainable Building Energy Management")

 IIoT Gateway  Energy & Environment

  [ Sustainable Building Energy Management ](https://revolutionpi.com/en/success-stories/detail/building-energy-management "Sustainable Building Energy Management")

The energy transition is creating new challenges for building operators: How can different renewable energy sources be optimally coordinated? Green…

 [ To the story ](https://revolutionpi.com/en/success-stories/detail/building-energy-management "Sustainable Building Energy Management")

 [ ![Kaizen meets Revolution – Automotive manufacturing](https://revolutionpi.com/fileadmin/_processed_/8/4/csm_key_visual_success_story_kaizen-meets-revolution_e6b6539a0e.jpg "Success Story Kaizen meets Revolution | Industrial Raspberry Pi") ](https://revolutionpi.com/en/success-stories/detail/kaizen-meets-revolution "Kaizen Meets Revolution")

 Human Machine Interface  Machine & Plant Engineering

  [ Kaizen Meets Revolution ](https://revolutionpi.com/en/success-stories/detail/kaizen-meets-revolution "Kaizen Meets Revolution")

How can paper-based work instructions in automotive production be efficiently digitized? Revolution Pi transforms traditional processes into…

 [ To the story ](https://revolutionpi.com/en/success-stories/detail/kaizen-meets-revolution "Kaizen Meets Revolution")

 [Overview](https://revolutionpi.com/en/success-stories)