mirror of
https://github.com/jdillenburg/esphome.git
synced 2026-03-18 04:09:14 -06:00
Added web_server to garage controller to allow opening when house Internet is down.
This commit is contained in:
@@ -4,6 +4,9 @@ esphome:
|
|||||||
includes:
|
includes:
|
||||||
- TFmini.h
|
- TFmini.h
|
||||||
|
|
||||||
|
packages:
|
||||||
|
beacon: !include { file: packages/beacon.yaml, vars: { area: "Garage" }}
|
||||||
|
|
||||||
substitutions:
|
substitutions:
|
||||||
led_count: "60"
|
led_count: "60"
|
||||||
|
|
||||||
@@ -32,8 +35,13 @@ wifi:
|
|||||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
ap:
|
ap:
|
||||||
ssid: "Garage-Door-Controller"
|
ssid: "Garage-Door-Controller"
|
||||||
password: "eXbhM8qXvoM3"
|
password: !secret garage_door_ap_password
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
auth:
|
||||||
|
username: johndillenburg
|
||||||
|
password: !secret garage_door_ap_password
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
globals:
|
globals:
|
||||||
|
|||||||
@@ -1,30 +1,28 @@
|
|||||||
# This file is included as a package in all mmwave presence sensors
|
# This file is included as a package in all mmwave presence sensors
|
||||||
# Requires area variable to be set to the name of the room the sensor is in.
|
# Requires area variable to be set to the name of the room the sensor is in.
|
||||||
#
|
#
|
||||||
|
# Parameters passed in:
|
||||||
|
# - ${area} - name of the area this file is included in
|
||||||
|
#
|
||||||
esphome:
|
esphome:
|
||||||
comment: "Beacon"
|
comment: "Beacon"
|
||||||
|
|
||||||
# Adding external component to build:
|
|
||||||
external_components:
|
|
||||||
- source: github://formatBCE/ESP32_BLE_presense@main
|
|
||||||
|
|
||||||
# System time config - required for precise timestamps, used in integration:
|
# System time config - required for precise timestamps, used in integration:
|
||||||
time:
|
time:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
id: homeassistant_time
|
id: homeassistant_time
|
||||||
|
|
||||||
# Initializing it:
|
bluetooth_proxy:
|
||||||
esp32_ble_presense:
|
|
||||||
area: "${area}"
|
esp32_ble_tracker:
|
||||||
time_id: homeassistant_time
|
|
||||||
|
|
||||||
# MQTT config - required for this component to work:
|
# MQTT config - required for this component to work:
|
||||||
mqtt:
|
# mqtt:
|
||||||
broker: 10.0.0.215
|
# broker: 10.0.0.215
|
||||||
username: esp32_presence
|
# username: esp32_presence
|
||||||
password: findme
|
# password: findme
|
||||||
discovery_prefix: "homeassistant"
|
# discovery_prefix: "homeassistant"
|
||||||
port: 1883
|
# port: 1883
|
||||||
client_id: "${area}"
|
# client_id: "${area}"
|
||||||
keepalive:
|
# keepalive:
|
||||||
minutes: 10
|
# minutes: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user