comparison espNode/theater_blaster.yaml @ 726:b14020802f8a

espNode was not a service; move it to top dir Ignore-this: 3a46fb9f4d09a046dcc30ec838923d69
author drewp@bigasterisk.com
date Wed, 05 Feb 2020 16:43:46 -0800
parents service/espNode/theater_blaster.yaml@1fe2a8e15ebf
children bc3516d02762
comparison
equal deleted inserted replaced
725:1ecceb2e92a3 726:b14020802f8a
1 esphome:
2 name: theater_blaster
3 platform: esp32
4 board: lolin32
5 build_path: build
6
7 # MAC: 3c:71:bf:ab:6e:94
8
9 wifi:
10 ssid: !secret wifi_ssid
11 password: !secret wifi_password
12 use_address: 10.2.0.38
13
14 mqtt:
15 broker: '10.2.0.1'
16 port: 1883
17 username: ''
18 password: ''
19 on_message:
20 - topic: theater_blaster/ir_out
21 payload: "volume_up"
22 then:
23 - remote_transmitter.transmit_nec:
24 address: 0x4BB6
25 command: 0x40BF
26 repeat:
27 times: 3
28 - topic: theater_blaster/ir_out
29 payload: "volume_down"
30 then:
31 - remote_transmitter.transmit_nec:
32 address: 0x4BB6
33 command: 0xC03F
34 repeat:
35 times: 3
36 - topic: theater_blaster/ir_out
37 payload: "input_bd"
38 then:
39 - remote_transmitter.transmit_nec:
40 address: 0x4B36
41 command: 0x31CE
42 - topic: theater_blaster/ir_out
43 payload: "input_cbl"
44 then:
45 - remote_transmitter.transmit_nec:
46 address: 0x4BB6
47 command: 0x708F
48 - topic: theater_blaster/ir_out
49 payload: "input_game"
50 then:
51 - remote_transmitter.transmit_nec:
52 address: 0x4BB6
53 command: 0xB04F
54 - topic: theater_blaster/ir_out
55 payload: "input_pc"
56 then:
57 - remote_transmitter.transmit_nec:
58 address: 0x4BB6
59 command: 0x39C6
60
61 logger:
62 baud_rate: 115200
63 level: DEBUG
64
65 ota:
66
67
68 remote_receiver:
69 - id: ir_in
70 pin:
71 number: GPIO27
72 mode: INPUT
73 inverted: True
74 dump: nec
75 - id: rf_in
76 pin: GPIO13
77 dump: all
78 # Settings to optimize recognition of RF devices
79 tolerance: 50%
80 filter: 250us
81 idle: 4ms
82 buffer_size: 2kb
83
84 remote_transmitter:
85 id: ir_out
86 pin: GPIO14
87 carrier_duty_percent: 50%
88
89
90 #13 rf recv
91 #12 rf send
92 #https://www.passion-radio.com/img/cms/wifi-kit-32-pinout.png
93
94
95 #on_...:
96 # - remote_transmitter.transmit_nec:
97 # address: 0x1234
98 # command: 0x78AB
99