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
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.