annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
687
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
1 esphome:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
2 name: theater_blaster
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
3 platform: esp32
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
4 board: lolin32
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
5 build_path: build
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
6
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
7 # MAC: 3c:71:bf:ab:6e:94
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
8
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
9 wifi:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
10 ssid: !secret wifi_ssid
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
11 password: !secret wifi_password
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
12 use_address: 10.2.0.38
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
13
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
14 mqtt:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
15 broker: '10.2.0.1'
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
16 port: 1883
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
17 username: ''
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
18 password: ''
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
19 on_message:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
20 - topic: theater_blaster/ir_out
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
21 payload: "volume_up"
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
22 then:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
23 - remote_transmitter.transmit_nec:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
24 address: 0x4BB6
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
25 command: 0x40BF
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
26 repeat:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
27 times: 3
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
28 - topic: theater_blaster/ir_out
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
29 payload: "volume_down"
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
30 then:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
31 - remote_transmitter.transmit_nec:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
32 address: 0x4BB6
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
33 command: 0xC03F
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
34 repeat:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
35 times: 3
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
36 - topic: theater_blaster/ir_out
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
37 payload: "input_bd"
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
38 then:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
39 - remote_transmitter.transmit_nec:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
40 address: 0x4B36
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
41 command: 0x31CE
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
42 - topic: theater_blaster/ir_out
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
43 payload: "input_cbl"
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
44 then:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
45 - remote_transmitter.transmit_nec:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
46 address: 0x4BB6
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
47 command: 0x708F
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
48 - topic: theater_blaster/ir_out
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
49 payload: "input_game"
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
50 then:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
51 - remote_transmitter.transmit_nec:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
52 address: 0x4BB6
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
53 command: 0xB04F
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
54 - topic: theater_blaster/ir_out
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
55 payload: "input_pc"
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
56 then:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
57 - remote_transmitter.transmit_nec:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
58 address: 0x4BB6
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
59 command: 0x39C6
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
60
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
61 logger:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
62 baud_rate: 115200
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
63 level: DEBUG
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
64
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
65 ota:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
66
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
67
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
68 remote_receiver:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
69 - id: ir_in
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
70 pin:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
71 number: GPIO27
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
72 mode: INPUT
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
73 inverted: True
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
74 dump: nec
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
75 - id: rf_in
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
76 pin: GPIO13
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
77 dump: all
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
78 # Settings to optimize recognition of RF devices
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
79 tolerance: 50%
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
80 filter: 250us
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
81 idle: 4ms
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
82 buffer_size: 2kb
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
83
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
84 remote_transmitter:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
85 id: ir_out
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
86 pin: GPIO14
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
87 carrier_duty_percent: 50%
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
88
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
89
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
90 #13 rf recv
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
91 #12 rf send
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
92 #https://www.passion-radio.com/img/cms/wifi-kit-32-pinout.png
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
93
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
94
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
95 #on_...:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
96 # - remote_transmitter.transmit_nec:
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
97 # address: 0x1234
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
98 # command: 0x78AB
1fe2a8e15ebf working theater_blaster config. 3 immediate repeats of volume moves only one step
drewp@bigasterisk.com
parents:
diff changeset
99