-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathesp-motion-remote.yaml
55 lines (48 loc) · 1.05 KB
/
esp-motion-remote.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
esphome:
name: esp-motion-remote
platform: ESP8266
board: nodemcuv2
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 192.168.0.211
gateway: 192.168.0.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp-MotionRemote Hotspot"
password: !secret wifi_password
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: !secret esp_motion_remote_encryption_key
# Enable over-the-air updates
ota:
password: !secret esp_motion_remote_password
binary_sensor:
- platform: gpio
pin:
number: D1
inverted: True
mode: INPUT_PULLUP
name: "Entrance button 1"
- platform: gpio
pin:
number: D2
inverted: True
mode: INPUT_PULLUP
name: "Entrance button 2"
- platform: gpio
pin:
number: D3
inverted: True
mode: INPUT_PULLUP
name: "Entrance button 3"
- platform: gpio
pin: D6
device_class: motion
name: Motion entrance