Owner | jas caf |
---|
Status | |
---|
Last date updated | |
---|
On this page | |
---|
Panel |
---|
panelIconId | atlassian-note |
---|
panelIcon | :note: |
---|
bgColor | #FFF0B3 |
---|
|
Goals |
📐 Architecture
Intentional Arch
Drawio |
---|
zoom | 1 |
---|
simple | 0 |
---|
inComment | 0 |
---|
pageId | 9568274 |
---|
custContentId | 9535586 |
---|
lbox | 1 |
---|
diagramDisplayName | int-arch-aero-auto |
---|
contentVer | 1 |
---|
revision | 1 |
---|
baseUrl | https://aerogrow.atlassian.net/wiki |
---|
diagramName | int-arch-aero-auto |
---|
pCenter | 0 |
---|
width | 571 |
---|
links | |
---|
tbstyle | |
---|
height | 761 |
---|
|
Current Arch:
Drawio |
---|
zoom | 1 |
---|
simple | 0 |
---|
inComment | 0 |
---|
pageId | 9568274 |
---|
custContentId | 9568349 |
---|
lbox | 1 |
---|
diagramDisplayName | Untitled Diagram.drawio |
---|
contentVer | 1 |
---|
revision | 1 |
---|
baseUrl | https://aerogrow.atlassian.net/wiki |
---|
diagramName | Untitled Diagram.drawio |
---|
pCenter | 0 |
---|
width | 551 |
---|
links | |
---|
tbstyle | |
---|
height | 681 |
---|
|
Architecture flow
🚀 Github code
https://github.com/j-devops/aero-autogarden/blob/main/config/configuration.yaml
⌨ Code bits
VPD:
Code Block |
---|
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:
Code Block |
---|
- 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
Image AddedImage AddedImage AddedImage AddedImage AddedImage AddedImage AddedImage AddedImage AddedImage Added