User Tools

Site Tools


pir_yaml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pir_yaml [2023/04/25 19:42] – created 192.168.1.23pir_yaml [2023/04/26 10:46] (current) 192.168.1.113
Line 1: Line 1:
 {{::2023-04-25_191340.jpg|}} {{::2023-04-25_191340.jpg|}}
 +
 +==== Complete YAML ====
 +
 +
 +<code>
 +esphome:
 +  name: garage-pir2
 +  friendly_name: Garage_PIR2
 +
 +esp8266:
 +  board: d1_mini
 +
 +# Enable logging
 +logger:
 +
 +# Enable Home Assistant API
 +api:
 +  encryption:
 +    key: "GvhH8KTlNTINisnHMVnSOtWsgVWqpak8YBtEAsDNujU="
 +
 +ota:
 +  password: "9e4d15a7f2f55ae90844815a4445c775"
 +
 +wifi:
 +  ssid: !secret wifi_ssid
 +  password: !secret wifi_password
 +
 +  # Enable fallback hotspot (captive portal) in case wifi connection fails
 +  ap:
 +    ssid: "Garage-Pir2 Fallback Hotspot"
 +    password: "9198106692"
 +
 +captive_portal:
 +
 +binary_sensor:
 +  - platform: gpio
 +    pin: D6
 +    name: "Garage PIR2"
 +    device_class: motion   
 +    
 +</code>    
pir_yaml.1682466157.txt.gz · Last modified: 2023/04/25 19:42 by 192.168.1.23