75 lines
1.3 KiB
YAML
Executable File
75 lines
1.3 KiB
YAML
Executable File
esphome:
|
|
name: esphome-waynes-room
|
|
friendly_name: ESPhome Wayne's Room
|
|
|
|
esp32:
|
|
board: esp32-s3-devkitc-1
|
|
framework:
|
|
type: arduino
|
|
version: 2.0.6
|
|
|
|
# Enable logging
|
|
logger:
|
|
# Enable Home Assistant API
|
|
api:
|
|
encryption:
|
|
key: "bZd2q2XkmQH/o/+Jz+gZKMFM8VGA0NRheWp/uYvQRho="
|
|
|
|
ota:
|
|
password: !secret ota_password
|
|
|
|
wifi:
|
|
networks:
|
|
- ssid: !secret ssid_garage
|
|
password: !secret wifi_password
|
|
- ssid: !secret ssid_house
|
|
password: !secret wifi_password
|
|
domain: .alm.lan
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "esphome-waynes-room"
|
|
password: "lHNYq8KWKSJv"
|
|
|
|
captive_portal:
|
|
|
|
time:
|
|
- platform: homeassistant
|
|
id: homeassistant_time
|
|
timezone: Australia/Brisbane
|
|
|
|
i2c:
|
|
sda: 17
|
|
scl: 18
|
|
scan: true
|
|
id: bus_a
|
|
|
|
|
|
binary_sensor:
|
|
- platform: status
|
|
name: "Availibility"
|
|
- platform: gpio
|
|
pin:
|
|
number: 8
|
|
mode:
|
|
input: true
|
|
pullup: true
|
|
name: "Motion Detection"
|
|
|
|
|
|
sensor:
|
|
- platform: wifi_signal
|
|
name: "WiFi Signal Strength"
|
|
update_interval: 60s
|
|
- platform: uptime
|
|
name: Uptime
|
|
- platform: bh1750
|
|
name: "Light Level"
|
|
address: 0x23
|
|
update_interval: 5s
|
|
- platform: internal_temperature
|
|
name: "Internal Temperature"
|
|
|
|
button:
|
|
- platform: restart
|
|
name: "Reset" |