-
Notifications
You must be signed in to change notification settings - Fork 1
/
ir.yaml
39 lines (31 loc) · 670 Bytes
/
ir.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
esphome:
name: "ir"
friendly_name: IR
esp8266:
board: esp12e
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
ota:
- platform: esphome
password: "XXXXXXXXXXXXXXXXXXXXXXXX"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "IR Fallback Hotspot"
password: "XXXXXXXXXXX"
captive_portal:
remote_receiver:
pin:
number: GPIO14
inverted: true
dump: all
remote_transmitter:
pin: GPIO4
# Infrared remotes use a 50% carrier signal
carrier_duty_percent: 50%