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

propbox.yaml

Blame
  • propbox.yaml 4.31 KiB
    substitutions:
      devicename: "propbox"
      domain: "faked.local"
      comment: "Propagator Monitor"
      project_name: "groovy.propbox"
      project_version: "1.0"
    
      # Propbox Nodes
      hostname_light: "propbox-light.${domain}"
      hostname_fan: "propbox-fan.${domain}"
    
      # Sensors
      ble_sensor_mac: "A4:C1:38:47:14:50"
    
      # 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 * * * * *"
    
    # fix for 2022.5.0
    external_components:
      - source: github://martgras/esphome@nvs-fix
        components: [esp32]
    
    <<: !include common.yaml
    
    esp32:
      board: esp32dev
    
    esp32_ble_tracker:
    
    sensor:
    ### Default Sensors
    
      - platform: wifi_signal
        name: "Wifi Signal"
        update_interval: 60s
    
      - platform: uptime
        name: "Uptime"
        update_interval: 60s
    
    ### Specific Sensors
    
      - platform: pvvx_mithermometer
        mac_address: $ble_sensor_mac
        temperature:
          name: "Temperature"
        humidity:
          name: "Humidity"
        battery_level:
          name: "Battery Level"
        battery_voltage:
          name: "Battery Voltage"
    
    text_sensor:
      !include include/text_sensors.yaml
    
    globals:
      - id: schedule
        type: int
        restore_value: true
        initial_value: '0'
      - id: state_light
        type: int