I have several automations for a grow room. If any one has suggestions for a thorough tutorial for non-programers please send a link. I have been using trial and error in the user interface. This one is for CO2 enrichment. I have a zigbee sensor and a zigbee relay that controls a solenoid valve
It does not start to work at 8AM unless it start it manually. Once it is manually activated it works the rest of the day just fine.
I want to trigger the relay when the CO2 sensor reads less than 925ppm
On the Condition that the Time is after 8AM and before7:45PM
I have a separate automation that de-activates the CO2 at 975ppm any time day or night.
id: '1659540607748'
alias: CO2 950 ppm Controller Activator
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.co2_temp_humidity_alab_co2
attribute: co2
above: 0
below: 924.9
condition:
- condition: time
before: '19:45:00'
after: '08:00:00'
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
action:
- type: turn_on
device_id: bfe64e0199bbb2cf6d5d792a73d573e9
entity_id: switch.co2_relay_0x00124b00226c90e7
domain: switch
mode: single