Apologies for the long absence of information regarding my Plant watering project
Today I hung up a lamp above my plant in order to provide it with enough light as the Norwegian summer goes over to fall/winter.
The process required only a programmable relay (the RelayX1 from GHI Electronics, which is a simple on/off switch controllable from my Fez Hydra mainboard.
The intent, of course, is to preserve bulb life and energy by only providing enough light when the outside light from the window is insufficient. The plant, a ficus benjamina, requires a solid 15 hours of light every day to be happy, and with this, I’ve ensured that as far as light goes, it will smile all year round!
Rules for turning the light on/off
The time frame the light bulb operates in is between 06:00 and 21:00 (15 hours). The following rules/pseudo code are then applied every second:
- Outside of the time frame (21:00 – 06:00)
- If the lamp is on, then turn it off immediately
- If the lamp is already off, then do nothing
- Inside the time frame (06:00 – 21:00)
- When the amount of lux is below our threshold and the lamp is off, only then do we turn it on
- If the lamp has been on for at least one hour, and there is now sufficient light coming in through the window, then turn it off, otherwise, keep it on.
You can check out the values that my plant is emitting at the following url:
The site should be semi-responsive!