Manage your greenhouse with a Raspberry Pi Pico W

Web-Based Remote Control

The control system works reliably offline, but in my opinion, remote web-app-based access (Figure 5) is a great idea because it avoids the need to check everything manually onsite. Also, it means you do not have to make the control panel on the greenhouse too fancy. In support, the Pico can run a web server, which then gives you a user interface (Figure 5). If so desired, you can additionally share the interface on the Internet, but in this case, it can only be accessed on the local network.

Figure 5: Thanks to a user interface provided by the web server, it's fine for the control panel to be a bit spartan.

The app's functions are:

  • Immediate display of the current values
  • Minimum/maximum temperatures and assessment of the operating status
  • Manual switching of windows, fan, and heater
  • Resetting variables to automatic control
  • Displaying and deleting messages and error logs
  • Daily and monthly charts of indoor/outdoor temperatures
  • Reading and writing control parameters from and to memory

Because the Pico is always within range of my home WiFi network, I have the situation in the greenhouse constantly under control and can intervene by smartphone, tablet, or PC from the garden or apartment.

Conclusions

The greenhouse is in constant use from April to October. Accordingly, I want the electronic control system to be not only functional, but above all reliable in terms of operation. To protect the crops, it is advisable in a project like this to test everything thoroughly, module by module, up front before putting anything into operation. Once you have installed the system outside, it can be difficult to access the individual components.

The new controller has been running for some time now and has demonstrably been a valuable asset in the greenhouse thus far (Figure 6). It is reassuring to know that everything is well taken care of in my absence. Sometimes it's the little things that matter, like the LED lights that let you know whether everything is OK as you walk past the greenhouse. In the next stage of expansion, I want to add moisture sensors so that I can also monitor the soil. You will find the software and full details of the project online [1], as well as on my GitHub site [2].

Figure 6: The fully stocked greenhouse from the inside.

Infos

  1. Greenhouse project (in English): https://linuxnewmedia.thegood.cloud/s/5Rzx9tQW2FJ6N3Z
  2. Greenhouse project (original code in German): https://github.com/swenae/ghouse

The Author

Swen Hopfe works for a medium-sized company with a focus on smart cards and near-field communication (NFC). When he is not taking photos, in the great outdoors or in his garden, he focuses on topics such as the Raspberry Pi, Internet of Things, and home automation.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Qt Developer Days: New Qt IDE Called Greenhouse

    Today at the Qt Developer Days, Matthias Ettrich of Qt Software, formerly Trolltech, announced a new development environment for Qt Software called Greenhouse. The Qt Developer Days are being held in Munich from October 14 through 15.

  • Light Painting

    In the photographic method of light painting, you expose a subject over an extended period of time while moving the light sources. With a little technical support from a Raspberry Pi Pico, you can achieve sophisticated results.

  • Pico Sleep Mode

    The Raspberry Pi Pico's high-performance chip is trimmed for I/O and does not try to save power. However, a few tricks in battery mode can keep it running longer.

  • ESPHome

    With an ESP32 or Raspberry Pi Pico W microcontroller board, you can easily create your own home automation devices. Thanks to ESPHome, you don't even have to be a programmer.

  • Garden Irrigation

    With a Pi Zero and a few components, you can build an inexpensive and reliable automatic watering system for your plants in next to no time.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News