The sys admin's daily grind — PomodoPi
Green Garden
Charly starts the tomato and dill season aboveground with a traffic light and underground with a soaker hose, along with assistance from two gardeners and the ubiquitous Raspberry Pi board.
Truth be told, I have ignored my garden for the past 15 years. This year, however, I set myself the task of growing my own tomatoes and herbs, and I wrote on Twitter about possible technical support for my green thumb. This was duly noted by gardeners Vanessa Giese and Pia Reichert in their blog [1]. Shortly thereafter, I was a guest author for the "Garden Nerds" column.
My first step was to plan automatic irrigation. My daily bread as a sys admin is to automate routine tasks with bits of technology, so I searched and found a soldering iron and tied a capacitive humidity sensor up to an A/D convertor using a Raspberry Pi. This setup provides me with data about the soil moisture in the plant pot every minute [2].
My Raspberry-to-garden adapter forms the second phase: I have a short hose running from the faucet in the garden to a solenoid valve. While the Raspberry Pi has 12 volts at its terminals, it lets water through, which flows into a perforated hose that I have looped through my raised bed. The tomatoes will put down roots there as soon as the danger of frost is over. When I wrote this article, however, they were enjoying their winter quarters in my living room (Figure 1).
Floral Lights
Because I am still watering manually, I need something to remind me to do it – a traffic light that is about 40cm tal [3] for the USB port. The control software called "Clewarecontrol" can be found online [4]. I have programmed it so that the traffic light is green when the soil moisture is greater than 65 percent, yellow between 55 and 65 percent, and red if the moisture level falls below that – the plants have survived so far.
The last phase of the project is, provisionally, a webcam to watch the plants. I am using the one from the Raspberry Pi Foundation without the infrared filter, which comes with a blue filter foil. Photosynthesis activity can be detected in this spectrum range based on the brightness distribution, which is something I learned from NASA [5].
I have documented the details of my project in an ongoing series of articles [6] on the gardeners' blog. If the traffic lights give me an evening off, I would be grateful for posts from other garden nerds.
Infos
- Gardeners' blog: http://gaertnerinnenblog.de (in German)
- Soil moisture progression from Charly's plant cultivation: http://kuehnast.com/pomodopi (in German)
- Cleware USB traffic light: http://www.cleware-shop.de/en_US
- Clewarecontrol: http://vanheusden.com/clewarecontrol
- The Landsat Program: http://landsat.gsfc.nasa.gov
- Charly's article: http://charly.in/pomodopi (in German)
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
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.
News
-
System76 Refreshes Meerkat Mini PC
If you're looking for a small form factor PC powered by Linux, System76 has exactly what you need in the Meerkat mini PC.
-
Gnome 48 Alpha Ready for Testing
The latest Gnome desktop alpha is now available with plenty of new features and improvements.
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.