Sony STR-DE595 Esphome remote transmitter control codes
Sony STR-DE595 Esphome remote transmitter control codes
Circuit diagram
Example circuit diagram for sending IR codes using IR LED with ESP32.
The codes
These codes have been recorded by using esphome’s remote receiver function and tested by using IR blaster circuit with Lolin D1 mini. Some of the codes propably work with other Sony home theater receivers too.
on:
Received Sony: data=0x00003A0C, nbits=15
off:
Received Sony: data=0x00007A0C, nbits=15
input video1:
Received Sony: data=0x0000220C, nbits=15
input video2:
Received Sony: data=0x00003C0C, nbits=15
next preset:
Received Sony: data=0x0000040C, nbits=15
prev. preset:
Received Sony: data=0x0000440C, nbits=15
band:
Received Sony: data=0x0000420C, nbits=15
direct tune:
Received Sony: data=0x00000A0D, nbits=15
input cd:
Received Sony: data=0x0000520C, nbits=15
input dvd:
Received Sony: data=0x00005F0C, nbits=15
input md/tape:
Received Sony: data=0x00004B0C, nbits=15
input multi ch:
Received Sony: data=0x0000270C, nbits=15
power toggle:
Received Sony: data=0x0000540C, nbits=15
sleep:
Received Sony: data=0x0000030C, nbits=15
2ch:
Received Sony: data=0x0000410D, nbits=15
afd:
Received Sony: data=0x0000710D, nbits=15
movie/...:
Received Sony: data=0x00003B0D, nbits=15
test tone:
Received Sony: data=0x0000290D, nbits=15
shift:
Received Sony: data=0x0000470D, nbits=15
mute:
Received Sony: data=0x0000140C, nbits=15
vol-:
Received Sony: data=0x0000640C, nbits=15
vol+:
Received Sony: data=0x0000240C, nbits=15
ch+:
Received Sony: data=0x0000040C, nbits=15
ch-:
Received Sony: data=0x0000440C, nbits=15
down:
Received Sony: data=0x0000170D, nbits=15
up:
Received Sony: data=0x0000570D, nbits=15
left:
Received Sony: data=0x0000270D, nbits=15
right:
Received Sony: data=0x0000670D, nbits=15
menu:
Received Sony: data=0x0000770D, nbits=15
1:
Received Sony: data=0x0000000C, nbits=15
2:
Received Sony: data=0x0000400C, nbits=15
3:
Received Sony: data=0x0000200C, nbits=15
4:
Received Sony: data=0x0000600C, nbits=15
5:
Received Sony: data=0x0000100C, nbits=15
6:
Received Sony: data=0x0000500C, nbits=15
7:
Received Sony: data=0x0000300C, nbits=15
8:
Received Sony: data=0x0000700C, nbits=15
9:
Received Sony: data=0x0000080C, nbits=15
0:
Received Sony: data=0x0000480C, nbits=15
Which leads to for example following config in eshome:
# Example configuration entry
remote_transmitter:
pin: GPIO15
carrier_duty_percent: 50%
# Example button configuration
button:
- platform: template
name: Amp on
# id: my_button
on_press:
- remote_transmitter.transmit_sony:
data: 0x00003A0C
nbits: 15
repeat:
times: 5
wait_time: 50ms
- logger.log: "Button pressed"
# Optional variables:
icon: "mdi:power-on"
- platform: template
name: "AMP off"
on_press:
remote_transmitter.transmit_sony:
data: 0x00007A0C
nbits: 15
repeat:
times: 5
wait_time: 50ms
icon: "mdi:power-off"
- platform: template
name: "AMP volume down"
on_press:
remote_transmitter.transmit_sony:
data: 0x0000640C
nbits: 15
repeat:
times: 5
wait_time: 50ms
icon: "mdi:volume-minus"
- platform: template
name: "AMP volume up"
on_press:
remote_transmitter.transmit_sony:
data: 0x0000240C
nbits: 15
repeat:
times: 5
wait_time: 50ms
icon: "mdi:volume-plus"
- platform: template
name: "AMP mute"
on_press:
remote_transmitter.transmit_sony:
data: 0x0000140C
nbits: 15
repeat:
times: 5
wait_time: 50ms
icon: "mdi:volume-mute"
- platform: template
name: "AMP input video1"
on_press:
remote_transmitter.transmit_sony:
data: 0x0000220C
nbits: 15
repeat:
times: 5
wait_time: 50ms
icon: "mdi:audio-video"
- platform: template
name: "AMP input tuner"
on_press:
remote_transmitter.transmit_sony:
data: 0x0000420C
nbits: 15
repeat:
times: 5
wait_time: 50ms
icon: "mdi:knob"
- platform: template
name: "AMP preset prev"
on_press:
remote_transmitter.transmit_sony:
data: 0x0000420C
nbits: 15
repeat:
times: 5
wait_time: 50ms
icon: "mdi:skip-previous"
- platform: template
name: "AMP preset next"
on_press:
remote_transmitter.transmit_sony:
data: 0x0000420C
nbits: 15
repeat:
times: 5
wait_time: 50ms
icon: "mdi:skip-next"