-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnexaremote.yaml
58 lines (48 loc) · 1019 Bytes
/
nexaremote.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
56
57
58
esphome:
name: nexa-remote
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret api_password
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Nexa-Remote Fallback Hotspot"
password: "s7BoFEjZx1bI"
captive_portal:
remote_transmitter:
pin: GPIO13
carrier_duty_percent: 100%
web_server:
port: 80
switch:
- platform: template
name: test
optimistic: true
turn_on_action:
- remote_transmitter.transmit_nexa:
device: 0x38D
group: 0
state: 1
channel: 15
level: 0
repeat:
times: 5
turn_off_action:
- remote_transmitter.transmit_nexa:
device: 0x38D
group: 0
state: 0
channel: 15
level: 0
repeat:
times: 5