update
This commit is contained in:
62
esphome/templates/remote_smsl.yaml
Normal file
62
esphome/templates/remote_smsl.yaml
Normal file
@@ -0,0 +1,62 @@
|
||||
---
|
||||
button:
|
||||
- platform: template
|
||||
name: SMSL Source
|
||||
id: smsl_source
|
||||
icon: mdi:audio-input-stereo-minijack
|
||||
on_press:
|
||||
- remote_transmitter.transmit_nec:
|
||||
address: 0x3412
|
||||
command: 0xF807
|
||||
command_repeats: 1
|
||||
# - remote_transmitter.transmit_pronto:
|
||||
# data: "0000 006D 0022 0000 0159 00AE 0015 0016 0015 0043 0014 0016 0015 0016 0015 0043 0014 0016 0015 0016 0015 0017 0015 0016 0015 0016 0015 0043 0014 0016 0015 0043 0014 0043 0014 0017 0015 0017 0015 0043 0014 0043 0014 0043 0014 0016 0016 0015 0016 0015 0016 0015 0016 0016 0016 0015 0016 0015 0016 0015 0016 0042 0015 0041 0016 0041 0016 0042 0015 0042 0015 0181"
|
||||
- platform: template
|
||||
name: SMSL power
|
||||
id: smsl_power
|
||||
icon: mdi:power
|
||||
on_press:
|
||||
- remote_transmitter.transmit_nec:
|
||||
address: 0x3412
|
||||
command: 0xFE01
|
||||
command_repeats: 1
|
||||
- platform: template
|
||||
name: SMSL up
|
||||
id: smsl_up
|
||||
icon: mdi:volume-plus
|
||||
on_press:
|
||||
- remote_transmitter.transmit_nec:
|
||||
address: 0x3412
|
||||
command: 0xFD02
|
||||
command_repeats: 1
|
||||
- platform: template
|
||||
name: SMSL down
|
||||
id: smsl_down
|
||||
icon: mdi:volume-minus
|
||||
on_press:
|
||||
- remote_transmitter.transmit_nec:
|
||||
address: 0x3412
|
||||
command: 0xF906
|
||||
command_repeats: 1
|
||||
- platform: template
|
||||
name: SMSL mute
|
||||
id: smsl_mute
|
||||
icon: mdi:volume-mute
|
||||
on_press:
|
||||
- remote_transmitter.transmit_nec:
|
||||
address: 0x3412
|
||||
command: 0xF609
|
||||
command_repeats: 1
|
||||
|
||||
|
||||
# smsl amp
|
||||
# NEC: address=0x3412
|
||||
# source 0xF807 - wierdness :/
|
||||
# up 0xFD02
|
||||
# down 0xF906
|
||||
# power 0xFE01
|
||||
# mute 0xF609
|
||||
# function 0xF708
|
||||
# ok 0xFB04
|
||||
# left 0xFC03
|
||||
# right 0xFA05
|
||||
Reference in New Issue
Block a user