Having issues reading remotes IR using 38khz IR

so i trying to make my own IR repeating so receiver and transmitter and work in HA …

i have a Bell Express Vu satellite receivers… which is the same company that makes USAs DishNetwork… so i set it up to dump :dish but it couldnt see the codes

i dont have a 56k tramistter just the 38k trans and receiver

i also noticed the instructions about using RAW code doesnt work right using another remote too… Raw code keeps changing for the same Button press
i did kinda get it to work if i use Pronto data but it doesnt detect dish or what not

i also noticed if you tap the IR you can see it flash… and the debug is picking up codes i not evening sending… is there a way to elimiate it… just only wait for remote in front of it to send…

and i wasnt able to transmitt on 38k but not sure if i need 56k version or code needs to be different

this is the code i been fiddling with

remote_receiver:
  pin: GPIO16
  dump: all
#  on_pronto:
#    then:
#    - if:
#        condition:
#          or:
#            - lambda: 'return (x.data == 0000 006D 0002 0000 0007 0137 0010 0181 06C3);'  # VOL+ newer type
#        then:
#         - logger.log: "button "

remote_transmitter:
  pin: GPIO15   #gpio16
  carrier_duty_percent: 50%


binary_sensor:
##Misc Remote##
  - platform: remote_receiver
    name: "test Remote Input"
    pronto:
      data: " 0000 006D 0022 0000 015E 00AC 0017 0014 0018 0014 0019 003F 0017 0014 0019 0013 0019 0014 0017 0014 0019 0013 0018 0040 0017 003F 0019 0013 0019 003E 0017 0040 0018 003F 0018 003F 0017 003F 0018 0015 0017 003F 0017 0014 0019 0014 0017 0015 0017 0014 0019 0013 0018 0014 0017 0040 0019 0014 0016 0040 0017 003F 0018 003F 0018 003F 0019 003E 0019 003F 0017 0181 06C3"
##Misc Remote##
  - platform: remote_receiver
    name: "vol 1"
    pronto:
      data: "0000 006D 0022 0000 015D 00AC 0018 0015 0016 0016 0016 0040 0016 0016 0016 0016 0016 0016 0016 0016 0017 0015 0016 0040 0018 003F 0016 0016 0016 0040 0018 003F 0016 0040 0017 003F 0017 003F 0017 003F 0018 003E 0018 0015 0016 0015 0018 0015 0016 0015 0017 0016 0016 0015 0018 0015 0017 0014 0017 003F 0018 003E 0018 003F 0017 003F 0018 003F 0017 0040 0017 0181 06C3"
##Misc Remote##
  - platform: remote_receiver
    name: "vol 2"
    pronto:
      data: "0000 006D 0022 0000 0160 00A8 001A 0012 0019 0012 0019 003C 001A 0012 0019 0013 0019 0013 0019 0012 0019 0013 0018 003D 001A 003C 0019 0014 0018 003D 0019 003E 0018 003F 0019 003E 0019 003E 0018 003F 0018 003F 0017 0015 0017 0015"
#0000 006D 0022 0000 0160 00A8 001A 0012 0019 0012 0019 003C 001A 0012 0019 0013 0019 0013 0019 0012 0019 0013 0018 003D 001A 003C 0019 0014 0018 003D 0019 003E 0018 003F 0019 003E 0019 003E 0018 003F 0018 003F 0017 0015 0017 0015 
#[22:37:00][I][remote.pronto:236]: 0017 0015 0017 0015 0017 0015 0017 0015 0017 0015 0017 0015 0017 003F 0017 003F 0017 0040 0017 0040 0017 0040 0017 0040 0017 0181 06C3


    #raw:
    #  code: [-9019, 4490, -569, 566, -566, 568, -565, 1672, -567, 566, -567, 564, -569, 567, -565, 567, -566, 568, -565, 1673, -566, 1674, -566, 567, -565, 1674, -566, 1674, -565, 1673, -566, 1674, -566, 1673, -565, 568, -566, 1673, -566, 568, -565, 1673, -566, 1674, -565, 568, -564, 569, -564, 568, -565, 197, -99, 1378, -565, 183, -76, 309, -565, 1673, -566, 167, -128, 272, -565, 568, -565, 183, -72, 1419, -564, 1675, -565, 1673, -566, 115, -136]


# 0000 006D 0002 0000 0007 0137 0010 0181 06C3
## Bell Remote ##
  - platform: remote_receiver
    name: "enter"
    pronto:
      data:
        "0000 006D 0044 0000 0013 00E1 0014 0067 0011 003A 000F 006A 0012 0068 000F 006A 0011 006A 0012 0068 000F 006B 0012 0068 000F 006A 0012 0068 000F 006B 0012 0068 000F 006B 0010 006A 000F 006B 0012 00E2 0010 006B 000F 003C 0011 0069 000F 006B 0011 0069 0010 006A 000F 006A 0011 0069 000F 006A 0011 0069 000E 006B 0010 0069 0010 006B 000F 006A 000F 006B 0010 0068 0010 00E5 0012 0068 0010 003B 0010 006A 0011 0068 0012 0068 0010 006A 0010 006A 0011 0069 0011 0069 0010 006A 0011 0069 0011 0069 0011 0069 0010 006A 0010 006A 0010 006A 0010 00E5 0010 006A 0010 003B 0010 006A 0010 006A 0010 006A 0010 006A 0010 006A 0010 006B 0010 006A 0010 006A 0010 006A 0010 006B 000F 006A 0010 006B 000F 006A 0010 0181 06C3"


switch:
  - platform: template
    name: Raw Code Power Button
    turn_on_action:
      - remote_transmitter.transmit_raw:
          carrier_frequency: 38kHz
          code: [-9019, 4490, -569, 566, -566, 568, -565, 1672, -567, 566, -567, 564, -569, 567, -565, 567, -566, 568, -565, 1673, -566, 1674, -566, 567, -565, 1674, -566, 1674, -565, 1673, -566, 1674, -566, 1673, -565, 568, -566, 1673, -566, 568, -565, 1673, -566, 1674, -565, 568, -564, 569, -564, 568, -565, 197, -99, 1378, -565, 183, -76, 309, -565, 1673, -566, 167, -128, 272, -565, 568, -565, 183, -72, 1419, -564, 1675, -565, 1673, -566, 115, -136]

button:
  - platform: template
    name: "1"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 4
  - platform: template
    name: "2"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 5
  - platform: template
    name: "3"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 6
  - platform: template
    name: "4"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 10
          command: 8
  - platform: template
    name: "5"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 9
  - platform: template
    name: "6"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 10
  - platform: template
    name: "7"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 12
  - platform: template
    name: "8"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 13
  - platform: template
    name: "9"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 14
  - platform: template
    name: "0"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 17
  - platform: template
    name: "PVR"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 57
  - platform: template
    name: "GUIDE"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 20
  - platform: template
    name: "SELECT"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 16
  - platform: template
    name: "CANCEL"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 18
  - platform: template
    name: "POWER OFF"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 39
  - platform: template
    name: "POWER ON"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 1
  - platform: template
    name: "MENU"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 11
  - platform: template
    name: "INFO"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 0

  - platform: template
    name: "RIGHT"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 24
  - platform: template
    name: "UP"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 26

  - platform: template
    name: "LEFT"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 28
  - platform: template
    name: "DOWN"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 30
  - platform: template
    name: "RECORD"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 31
  - platform: template
    name: "PAGE UP"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 15
  - platform: template
    name: "PAGE DOWN"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 7
  - platform: template
    name: "FLASH BACK"
    on_press:
      - remote_transmitter.transmit_dish:
          address: 1
          command: 27

like on the bell remote thje code changes for the protno and doesnt always work

[08:41:26][I][remote.pronto:234]: Received Pronto: data=
[08:41:26][I][remote.pronto:236]: 0000 006D 0044 0000 0011 00E4 0011 0069 0011 003A 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 00E4 0011 0069 0011 003A 0011 0069 
[08:41:26][I][remote.pronto:236]: 0011 0069 0011 0069 0011 0069 0011 006A 0010 0069 0011 0069 0011 006A 0010 0069 0011 0069 0011 0069 0011 006A 0010 0069 0011 0069 0011 00E4 0011 0069 0011 003A 0011 006A 0010 006A 0010 006A 0010 006A 0010 006A 0010 006A 0010 006A 
[08:41:26][I][remote.pronto:236]: 0010 006A 0010 006A 0010 006A 0010 006A 0010 006A 0010 006A 0010 006A 000F 00E5 0010 006A 000F 003C 0010 006A 000F 006A 000F 006B 000F 006B 000F 006B 000F 006B 000F 006A 0010 006A 0010 006A 0010 006A 0010 0069 0010 006A 0010 0069 
[08:41:26][I][remote.pronto:236]: 0011 0181 06C3
[08:41:26][W][component:237]: Component remote_receiver took a long time for an operation (106 ms).
[08:41:26][W][component:238]: Components should block for at most 30 ms.
[08:41:27][D][binary_sensor:036]: 'enter': Sending state ON
[08:41:27][D][binary_sensor:036]: 'enter': Sending state OFF
[08:41:27][I][remote.pronto:234]: Received Pronto: data=
[08:41:27][I][remote.pronto:236]: 0000 006D 0044 0000 0011 00E4 0011 0069 0011 003A 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 006A 0010 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 00E4 0011 0069 0011 003A 0011 0069 
[08:41:27][I][remote.pronto:236]: 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 006A 0010 006A 0010 0069 0011 006A 0010 0069 0011 0069 0010 0069 0011 00E4 0011 0069 0011 003A 0011 0069 0011 006A 0010 006A 0010 006A 0010 0069 0011 0069 0011 006A 
[08:41:27][I][remote.pronto:236]: 0010 006A 0010 0069 0011 0069 0011 006A 0010 0069 0011 006A 0010 006A 0010 00E4 0011 006A 0010 003A 0011 006A 0010 006A 0010 006A 0010 006A 000F 006A 0010 006A 0010 006A 0010 006A 000F 006A 0010 006A 0010 006A 000F 006A 0010 006A 
[08:41:27][I][remote.pronto:236]: 0010 0181 06C3
[08:41:27][W][component:237]: Component remote_receiver took a long time for an operation (110 ms).
[08:41:27][W][component:238]: Components should block for at most 30 ms.
[08:41:30][I][remote.pronto:234]: Received Pronto: data=
[08:41:30][I][remote.pronto:236]: 0000 006D 0055 0000 0011 00E4 0011 0069 0011 003A 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 00E4 0011 0069 0011 003A 0011 0069 
[08:41:30][I][remote.pronto:236]: 0011 0069 0011 006A 0010 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 006A 0010 006A 0010 0069 0011 0069 0011 0069 0011 00E4 0011 0069 0011 003A 0011 006A 0010 006A 0010 006A 0010 006A 0010 0069 0011 006A 0010 006A 
[08:41:30][I][remote.pronto:236]: 0010 006A 0010 006A 0010 006A 0010 0069 0010 006A 0010 006A 000F 006A 0010 00E4 0010 006A 000F 003C 0010 006A 000F 006A 000F 006B 000F 006B 000F 006B 000F 006B 000F 006A 000F 006A 000F 006B 000F 006A 0010 006A 0010 006A 0010 006A 
[08:41:30][I][remote.pronto:236]: 0010 006A 0010 00E5 0010 0069 0010 003C 0010 0069 0011 0069 0010 0069 0010 006A 0010 006A 0010 006A 0010 006A 0011 0069 0010 006A 0010 006A 0010 006A 0010 006A 0010 006A 0010 0181 06C3
[08:41:30][W][component:237]: Component remote_receiver took a long time for an operation (103 ms).
[08:41:30][W][component:238]: Components should block for at most 30 ms.
[08:41:31][I][remote.pronto:234]: Received Pronto: data=
[08:41:31][I][remote.pronto:236]: 0000 006D 0055 0000 0011 00E4 0011 0069 0011 003A 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 00E4 0011 0069 0011 003A 0011 0069 
[08:41:31][I][remote.pronto:236]: 0011 0069 0011 0069 0011 0069 0011 0069 0011 006A 0010 0069 0010 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 00E4 0011 0069 0011 003A 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 006A 
[08:41:31][I][remote.pronto:236]: 0010 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 0069 0011 00E4 0011 0069 0011 003A 0011 0069 0011 006A 0010 0069 0011 0069 0011 0069 0011 006A 0011 0069 0011 006A 0010 006A 0010 0069 0011 0069 0011 006A 0010 006A 
[08:41:31][I][remote.pronto:236]: 0010 006A 0010 00E4 0011 0069 0010 003B 0010 006A 0010 006A 0010 006A 0010 006A 000F 006A 0010 006A 0010 006A 000F 006A 000F 006A 000F 006A 000F 006B 000F 006A 000F 006B 000F 0181 06C3
[08:41:31][W][component:237]: Component remote_receiver took a long time for an operation (102 ms).
[08:41:31][W][component:238]: Components should block for at most 30 ms.

i do it in the dark so no light picks up

i did try this “interverted: true” which i did get some code names but doesnt work for the bell/dish remotes on a different remote that works for the Vizo tv i save the Volume i can receive…and transmittin to IR devices. on the esp32

but if i point the IR with the esp32 at the vizo tv to transmitt a volume up or down… it. the tv doesnt recocinize it… i tried the nec pinoneer options it saved too for it too

nothing

so far all i can do is toggle my bedroom light with one of the remotes…

I suggest you to study basics of IR communication/hardware.
If original remote transmitter sends 56k signal, you need ~56k receiver.

Your Esphome transmitter you can code to transmit whatever frequency your Esp can handle, it’s just a IR led, pwm controlled by your code.
If touching wires triggers something, probably your wiring connections are bad.

no wires needed just plugged directly onto the esp32 and still does it from waht i read thats infared noise

so far tvs cant receive signal from the 38khz the Vizo i saved the codes for nec jvc pioneer lg it gave that turned the volume up and down

but when i i transmitt from HA it still doesnt work…


button:
  - platform: template
    name: "Vizo Input"
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x20DFF40B # Input
          nbits: 32
  - platform: template
    name: "NEC Input"
    on_press:
      - remote_transmitter.transmit_nec:
          address: 0xFB04
          command: 0xD02F
          command_repeats: 1

  - platform: template
    name: "Pioneer Input"
    on_press:
      - remote_transmitter.transmit_pioneer:
          rc_code_1: 0x202F
          repeat:
            times: 1


  - platform: template
    name: "Vizo vol up"
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x20DF40BF # Input
          nbits: 32
  - platform: template
    name: "Vizo vol down"
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x20DFC03F # Input
          nbits: 32

  - platform: template
    name: "Vizo input 2"
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x20DFF40B # Input
          nbits: 28

  - platform: template
    name: "Vizo netflix"
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x20DFD728 # Input
          nbits: 32



  - platform: template
    name: "Vizo vol up"
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x20DF40BF # Input
          nbits: 32


  - platform: template
    name: "Vizo vol down"
    on_press:
      - remote_transmitter.transmit_lg:
          data: 0x20DFC03F # Input
          nbits: 32




  - platform: template
    name: "LG vol down"
    on_press:
      - remote_transmitter.transmit_lg:
          data: "0x20DFC03F" # Input
          nbits: "32"

  - platform: template
    name: "LG vol up"
    on_press:
      - remote_transmitter.transmit_lg:
          data: "0x20DFC03F" # Input
          nbits: "32"

these should activate the input and turn the vol up and down on the vizo but its not working

and it happens everytime you touch ur finger on the led or bring your finger in front of the led

so i kinda confused here

so i get the TV to turn up and down the volume to transmitt using the NEC code
it has to be close to the unit… but you have to have the Lights off… for it to work… once you have the Lights on then the NEC code isnt working 100% each press may not turn the tv up or down

and this is with the transmitting about 1 foot from the tv

im using these amazon items… is there a trick for them

is there a way to filter out the light in the room for it work

Your problem is that module, it’s powering that led at <20mA and the range is really bad, when there is little bit ambient light, it’s even worst. Ideally IR led should be powered >100mA, but you need transistor circuit to do that and this module doesn’t have.
You only need BC337 transistor and two resistors to build one. Otherwise look for module that has transistor circuit.

Also frequency you send has to match receiver. If receiver is 57k, you have to send that frequency.

oh ok so these modules are junk then

so i need to find IR LEDS that are 100ma or greater

are there ones you could recommend?

No,
the led can be very ok, problem is the circuit.

oh so which is puting out the 20ma that little board or the esp32wroom i using i use the 5vcc on the esp32

and if its teh 20ma on the pre made boards how you know its 20ma…

so you want to buy leds where they are seperate like these

always learning something new every day i did see on amazon IR packs 2 pin with no metal housing
i guess that has ground and data in 1 pin

i guess 20ma is that little board as its small i seen how big the bc337 tranisistor is… so then that will allow more power to the LED and that will stop the issues i notice only works in the dark… cuz i couldnt figure it out

i do find trying to use pronto trying to transmitt it says the code isnt complete so i dont record enough pronto or something… so ill order some bc337 and some resistors… and then learn how to wire it up to that pack above i sent

Problem of your actual module is that you can connect it’s Vcc to 3.3v or 5v or not connect at all, it doesn’t matter. It’s driven from pwm pin at very low current, because esp pins can’t handle more than 20mA . Without transistor circuit it’s just not possible to go higher.
If you want to build your transmitter, I recommend Vishay leds, for example narrow beam TSAL6100.
Like I wrote before, transmitter power is just one part. Your transmitter needs to transmit at same frequency of receiver.

ok thanks ill look into sourcing those parts and build it ill google a design to build it… and ill get the 56k ones i appreciate the help so far

always learning something

56kHz is must for receiver, if you want to receive 56kHz.
For transmitter (ir led) frequency doesn’t matter it’s up to your code.