forked from glmnet/esphome_devices
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_nec.yaml
More file actions
52 lines (43 loc) · 893 Bytes
/
Copy pathtest_nec.yaml
File metadata and controls
52 lines (43 loc) · 893 Bytes
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
esphome:
name: test_nec
platform: ESP8266
board: nodemcu
platformio_options:
upload_speed: 921600
logger:
level: VERBOSE
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_pass
api:
ota:
remote_receiver:
id: rcvr
pin:
number: D5
inverted: True
mode: INPUT_PULLUP
tolerance: 50%
dump: all
remote_transmitter:
carrier_duty_percent: 50%
pin: D6
switch:
- platform: template
name: 'Edifier Mute'
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x00FF
command: 0x827D
- platform: template
name: 'Hyundai Netflix'
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0xFD
command: 0xC23D # 0x43
- platform: template
name: 'Soundbar power'
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0xFF
command: 0xA25D