daern2

Untitled

Apr 13th, 2021
509
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. esphome:
  2.   name: garage_controller
  3.   platform: ESP8266
  4.   board: esp12e
  5.  
  6. wifi:
  7.   ssid: "<ssid>"
  8.   password: "<pass>"
  9.  
  10.   # Enable fallback hotspot (captive portal) in case wifi connection fails
  11.   ap:
  12.     ssid: "Garage Controller"
  13.     password: "<pass>"
  14.  
  15. captive_portal:
  16. # Enable logging
  17. logger:
  18. # Enable Home Assistant API
  19. api:
  20.   password: "<pass>"
  21.  
  22. ota:
  23.   password: "<pass>"
  24.  
  25. output:
  26.   - platform: gpio
  27.     pin: GPIO16
  28.     id: 'front_security_light'
  29.    
  30.   - platform: gpio
  31.     pin: GPIO14
  32.     id: 'garage_patio_lights'
  33.    
  34.   - platform: gpio
  35.     pin: GPIO12
  36.     id: 'garage_heater_front'
  37.    
  38.   - platform: gpio
  39.     pin: GPIO13
  40.     id: 'garage_heater_rear'
  41.    
  42.  
  43. switch:
  44.   - platform: output
  45.     output: 'front_security_light'
  46.     name: "Front Security Light"
  47.     on_turn_on:
  48.     - logger.log: "Security Light turned on"
  49.     on_turn_off:
  50.     - logger.log: "Security Light turned off"
  51.    
  52.   - platform: output
  53.     output: 'garage_patio_lights'
  54.     name: "Garage Patio Lights"
  55.     on_turn_on:
  56.     - logger.log: "Patio Lights turned on"
  57.     on_turn_off:
  58.     - logger.log: "Patio Lights turned off"
  59.  
  60.   - platform: output
  61.     output: 'garage_heater_front'
  62.     name: "Garage Heater Front"
  63.     on_turn_on:
  64.     - logger.log: "Garage Heater Front turned on"
  65.     on_turn_off:
  66.     - logger.log: "Garage Heater Front turned off"
  67.  
  68.   - platform: output
  69.     output: 'garage_heater_rear'
  70.     name: "Garage Heater Rear"
  71.     on_turn_on:
  72.     - logger.log: "Garage Heater Rear turned on"
  73.     on_turn_off:
  74.     - logger.log: "Garage Heater Rear turned off"
  75.    
  76.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×