Skip to content
Snippets Groups Projects
Select Git revision
  • 52b3b5c75280ef4f72efa52add74f2ad9d7fd700
  • main default protected
  • growscreen
3 results

propbox.yaml

Blame
  • propbox.yaml 7.33 KiB
    substitutions:
      devicename: "propbox"
      domain: !secret domain
      comment: "Propagator Monitor"
      project_name: "groovy.propbox"
      project_version: "1.0"
    
      # Propbox Nodes
      hostname_light: "propbox-light.${domain}"
      hostname_fan: "propbox-fan.${domain}"
    
      # Schedules
      #schedule_grow_on: "0 0 3 * * *"
      #schedule_grow_off: "0 0 21 * * *"
      #schedule_bloom_on: "0 0 6 * * *"
      #schedule_bloom_off: "0 0 18 * * *"
      schedule_grow_on: "5,15,25,35,45,55 * * * * *"
      schedule_grow_off: "0,10,20,30,40,50 * * * * *"
      schedule_bloom_on: "0 * * * * *"
      schedule_bloom_off: "30 * * * * *"
    
    packages:
      device_base: !include base.yaml
    
    esp32:
      board: esp32dev
    
    i2c:
      sda: 21
      scl: 22
    
    dallas:
      - pin: GPIO23
        update_interval: 5s
    
    http_request:
      id: http_request_data
      useragent: esphome/${devicename}
      timeout: 10s
    
    sensor:
      - platform: bme280
        address: 0x76
        update_interval: 5s
        temperature:
          id: temperature
          name: "Temperature"
          accuracy_decimals: 2
          on_value:
            then:
              - script.execute: fan_control
        humidity:
          id: humidity
          name: "Humidity"
          accuracy_decimals: 2
          on_value:
            then:
              - script.execute: fan_control
        pressure:
          id: pressure
          accuracy_decimals: 2
          name: "Pressure"
    
      - platform: dallas
        index: 0
        id: temperature_water
        name: "Water Temperature"
        accuracy_decimals: 2
    
      # requires: https://github.com/esphome/feature-requests/issues/1746