Hi,
Iâm probably doing something wrong but i cant figure out what!
I have a Freenove ESP32 Wroom board.
I can receive ir codes from my air heat pumps remote in the following formats to my board without any problem:
Coolix, Pronto, RAW, Samsung, Toshiba AC
remote_receiver:
pin:
number: GPIO32
inverted: true
dump: all
The problem is sending the different remote codes via remote_transmitter
remote_transmitter:
pin:
number: GPIO19
carrier_duty_percent: 50%
I started with trying to send Coolix but that gave me nothing in the logs so i moved on to try to send the rest of the codes to test.
I have the following for testning the different codes i my .yaml
button:
- platform: template
name: "Toshiba AC"
id: toshiba_id
on_press:
- remote_transmitter.transmit_toshiba_ac:
rc_code_1: 0xB24DBF4040BF
- logger.log: "My Log: Toshiba AC"
- platform: template
name: "Samsung"
id: samsung_id
on_press:
- remote_transmitter.transmit_samsung:
data: 0xB946F50A09F6
nbits: 48
- logger.log: "My Log: Samsung"
- platform: template
name: "Pronto"
id: pronto_id
on_press:
- remote_transmitter.transmit_pronto:
data: "0000 006D 0010 0000 0008 0020 0008 0046 000A 0020 0008 0020 0008 001E 000A 001E 000A 0046 000A 001E 0008 0020 0008 0020 0008 0046 000A 0046 000A 0046 000A 001E 000A 001E 0008 06C3"
- logger.log: "My Log: Pronto"
- platform: template
name: "RAW"
id: raw_id
on_press:
- remote_transmitter.transmit_raw:
code: [2000,-1000, 400,-1000, 400, -400,1000,-1000, 400,-1000, 400, -400,1000,-1000, 400,-1000, 400, -400,2000,-5600,
2000,-1000, 400,-1000, 400, -400,1000,-1000, 400,-1000, 400, -400,1000,-1000, 400,-1000, 400, -400,2000,-5600,
2000,-1000, 400,-1000, 400, -400,1000,-1000, 400,-1000, 400, -400,1000,-1000, 400,-1000, 400, -400,2000,-5600]
carrier_frequency: 38kHz
repeat:
times: 5
wait_time: 16ms
- logger.log: "My Log: RAW"
This is what i get in the logs for the respective codes:
Pronto
[19:20:06][D][button:010]: âProntoâ Pressed.
[19:20:06][D][remote.pronto:101]: Send Pronto: frequency=38kHz
[19:20:06][D][remote.pronto:106]: Send Pronto: intros=32
[19:20:06][D][remote.pronto:107]: Send Pronto: repeats=0
[19:20:06][D][main:459]: My Log: Pronto
RAW
[19:20:15][D][button:010]: âRAWâ Pressed.
[19:20:15][D][main:561]: My Log: RAW
Samsung
[19:20:16][D][button:010]: âSamsungâ Pressed.
[19:20:16][D][main:424]: My Log: Samsung
Toshiba AC
[19:20:17][D][button:010]: âToshiba ACâ Pressed.
[19:20:17][D][main:389]: My Log: Toshiba AC
If i try my code on a different board from another manufacturer i get the same resultsâŠ
But if i use NEC it for some reason seam to work.
button:
- platform: template
name: "NEC"
id: nec_id
on_press:
- remote_transmitter.transmit_nec:
address: 0x1234
command: 0x78AB
command_repeats: 1
- logger.log: "My Log: Nec"
[20:02:11][D][button:010]: âNECâ Pressed.
[20:02:11][D][remote.nec:017]: Sending NEC: address=0x1234, command=0x78AB command_repeats=1
[20:02:11][D][main:576]: My Log: Nec
Can someone point me in the right direction of what Iâm doing wrong or what the problem could be?