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
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.