What are the steps needed to use hydroMazing?
An open-source, inventory management system written in PHP with a MySQL database has no problem operating on a Raspberry Pi. Initially, you'll only have local network access, but if you want to allow remote web access, you can.
Connecting all your devices to the Raspberry Pi is very easy, but you want to do it in a specific order so it can recognize all your devices when it boots up. First, connect your HDMI cable to your Raspberry Pi and your monitor, then connect your USB devices. If you’re using an Ethernet cable to connect to your router, go ahead and connect that as well. Finally, once everything is connected, go ahead and plug in your power adapter. The Raspberry Pi does not have a power switch, so once you connect the power adapter, it’ll turn on all by itself.
My name is Cory, I'm a Technical Craftsman specializing in creative problem solving within electronics and software engineering. Professionally, I've worked as an electronics engineer, a plastics fabricator, software engineer, an industrial laser technician, and, of course, a coffee barista. I've spent the last several years working on a Smart Garden System project I named, hydroMazing. I'm sharing my work with you because I would like to empower everyone who is interested in a "Smart" approach to gardening.
A nutrient solution system typically consists of a two or three part liquid solution containing the essential diet for a plant added to clean tap water. The manufacturer of the nutrient solution will include or reference a feeding schedule recommended for various common types of plants. Unfortunately, most minerals are mined and processed by the manufacturers, however, many offer an organic option while some specialize in only organic.
Electricity replaces the sun, wind, and some natural processes as the dependency for plants to grow indoors. The first glaring problem with the typical indoor garden is that extension wires are annoying and a potential safety hazard. On the other hand, wireless communications can lack the reliability of the wired variant. Going further, should the system be available to the local network or should it be connected to the Internet?
"TheDecider" was originally hardcoded with specific values that were fixed in place until I changed them in the Arduino sketch, recompiled, and uploaded. There are two types of decisions that TheDecider executes, timed-based, and sensor-based rules. The time-based rules simply compare the current time to the last time the appliance was turned-on or off. The sensor-based rules use a minimum value threshold and a maximum value threshold that are compared to the current sensor reading and then execute the corresponding action for the appliance. For example, if the temperature is below 55° then turn-off the ventilation fans; if the temperature is above 80° then turn-on the ventilation fans. Each appliance has corresponding rules for sensor reading thresholds, time-based automation, and a combination of both, priority depending on the order of the rules.
The hydroMazing controller is designed to operate ventilation fans for air circulation, water pumps, occasionally a humidifier, heaters, or any other appliance that is necessary to maintain an ideal environment for plants to grow. Typically, we DIY'ers would hook-up some relays to a microcontroller to achieve control. However, with hydroMazing, the system uses remote controlled wireless AC outlets, ensuring safer control than traditional relays. hydroMazing uses low-cost open-hardware modules and the ubiquitous microcontroller, the Atmega328, on an Arduino Nano*, offering the flexibility of customization and expansion. The sensor choices are endless, but I’ve narrowed it down to a few important and relatively inexpensive modules. A temperature and relative-humidity sensor, moisture sensors for soil, liquid temperature probe for hydroponics, a simple photocell. There are many other optional additions including the float switch or switches and flow-rate sensors.
In my previous article , I explain how to setup the Raspberry Pi to be a web server. I also demonstrate searching log files for "footprints" from the IP requests that have been made to your web server. Now, I would like to discuss protecting your web server from becoming a victim to a potentially malicious attack.