Aero Autogarden
Automate all the things
Owner | @jas caf |
---|---|
Status | draft |
Last date updated | Sep 17, 2022 |
On this page |
Goals
Leverage COTs devices to enable a fully automated hydro / aero garden to simplify indoor gardening
Support a drop in solution for getting started into aeroponics or hydroponics
Architecture
Intentional Arch
Current Arch:
Architecture flow
Github code
https://github.com/j-devops/aero-autogarden/blob/main/config/configuration.yaml
Code bits
VPD:
template:
- sensor:
- name: "VPD (Vapor Pressure Deficit)"
unique_id: 'Sensor.VPD.test'
unit_of_measurement: "kPa"
state_class: measurement
state: >-
{% set T = ((states('sensor.qingping_air_monitor_lite_temperature') | float) - 32) * 5/9 %}
{% set RH = states('sensor.qingping_air_monitor_lite_humidity')|float %}
{% set SVP = 0.61078 * e ** (17.2694 * T / (T + 238.3)) %}
{% set VPD = ((100-RH) / 100) * SVP %}
{{-VPD | round(2) -}}
Auto-pump disable based on wattage:
- id: '1663006770786'
alias: growroom1-auto-drain
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.growroom1_veg_cycle
from: 'off'
to: 'on'
condition: []
action:
- repeat:
while:
- condition: state
entity_id: input_boolean.growroom1_veg_cycle
state: 'on'
sequence:
- type: turn_on
device_id: ec51c9a3eeaef19ec020ea03b2fe54c5
entity_id: switch.drain_pump
domain: switch
- delay:
hours: 0
minutes: 0
seconds: 40
milliseconds: 0
- type: turn_off
device_id: ec51c9a3eeaef19ec020ea03b2fe54c5
entity_id: switch.drain_pump
domain: switch
- delay:
hours: 1
minutes: 0
seconds: 0
milliseconds: 0
mode: single
- id: '1663390101736'
alias: drain-pump-auto-off
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.drain_pump_current_consumption
above: 40
below: 42
condition: []
action:
- type: turn_off
device_id: ec51c9a3eeaef19ec020ea03b2fe54c5
entity_id: switch.drain_pump
domain: switch
mode: single
SLA
Not good; not good at all.
References and documentation
Buy me a coffee here (all donations will go back into garden!) https://www.buymeacoffee.com/jasoncae