Need help with Pronto code handling

Hi,

I won’t even admit how much time I spent on this, and can’t make it work.

Simple thing, I want to compare the received pronto code and toggle a switch if it’s a match.

  on_pronto:
    - then:
        - if:
            condition:
              lambda: |-
                ( MISSING CODE TO COMPARE THE CODE)
            then:
              - homeassistant.service:
                  service: light.toggle
                  data:
                    entity_id: light.under_bed_led_lights

This particular pronto code looks like this:
0000 006D 0090 0000 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181

Any suggestions?

Not ideal.
Are you 100% sure you can’t decode the signal with anything else than Pronto?

1 Like

as @Karosm said are SURE the pronto code is the ONLY way to solve your problem

What is the real problem you are trying to solve using the pronto code component? It is possible there is an easier way.

Here is an example for some device that probably isn’t yours:

Did you use remote receiver to copy the code from the remote you are trying to duplicate?

Where did you get the pronto code?
What do you want it to control?

Thank you for your replies. I have been using HA and ESPhome for years and have some 50+ devices connected, but it’s the first time im trying to integrate RF433 remotes into HA, so i’m a bit lost.

I have the ‘new’ Sonoff RF bridge v2.2. It’s flashed with ESPhome and ‘hacked’ to read all kind of remotes (rf chip flashed and some wiring modified).

After I got it to work last week, it was the first time I heard a term ‘pronto code’. My understanding is that pronto is some kind of RF/IR data transmission protocol? The first remote I started adding gives me these very long hex codes. I would like to handle the code recognition inside the ESPhome and not using automations in HA.

How would you approach it?

Let’s say that it’s a pseudo-protocol for raw signals.

Would be much better if you can get the real protocol used.
Try dump: all option on your receiver code and see if it gives you any real protocol output.

Your actual question, to get trigger of specific code, use binary sensor:
(example with panasonic protocol)

binary_sensor:
  - platform: remote_receiver
    name: "Panasonic Remote Input"
    panasonic:
      address: 0x4004
      command: 0x100BCBD

  - platform: remote_receiver
    name: "Pronto Remote Input"
    pronto:
      data: "0000 006D 0022 .....
      delta: 
1 Like

Apologies for only replying now, I was crazy busy at work.

So I’m trying this:

binary_sensor:
  - platform: remote_receiver
    name: "Pronto Remote Input"
    pronto:
      data: "0000 006D 0090 0000... "

but I don’t really understand it. Where does this binary sensor exist? Do I need to create it within HA first, or is this something that only exists locally on that ESPhome device? In HA withing the ESPhome integration I gave this device permissions to make changes within HA. Also inside HA I created a virtual device (light) that I would like to control from within the ESPhome device, every time when a radio code matches a certain code. I think I’m bad at explaining it, so maybe this will help:

So basically when a received code matches the known code, the device will tell HA to change an attribute of a virtual device (created in the HACS Virtual Components add-on) if that makes sense.

I also didn’t know what “delta:” is for, I couldnt find any references online, so I just removed it.

What I write here, is esphome related.
When you get the trigger from your receiver sensor, you can do whatever you want in HA. That’s secondary at the moment.

I suggested you to try to get the code decoded with some real protocol with dump: all option. Did you try that?

If you tried and didn’t get anything, go with pronto.

Obviously you put your pronto code on data: " xxxx xxxx …"
Delta is used to give tolerance in raw timings. I agree, it has no documentation in this case.

This is my code. I sometimes see a lot of other, shorter codes being received, but the very long code from my own remote is what I’m interested in.

esphome:
  name: sonoff-rf
  friendly_name: Sonoff RF Bridge
  build_path: ./build/sonoff-rf

esp8266:
sonoff bridge
  board: esp8285

[other irrelevant code...]

remote_receiver:
  pin: 
    number: GPIO04
  dump: all

remote_transmitter:
  pin: GPIO05
  carrier_duty_percent: 100%

binary_sensor:
  - platform: remote_receiver
    name: "Toggle"
    pronto:
      data: "0000 006D 0090 0000 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181"

Typical log output looks like this:

[21:29:07][C][mqtt:151]:   Username: [redacted]
[21:29:07][C][mqtt:152]:   Client ID: [redacted]
[21:29:07][C][mqtt:153]:   Clean Session: NO
[21:29:07][C][mqtt:155]:   Discovery IP enabled
[21:29:07][C][mqtt:158]:   Discovery prefix: 'homeassistant'
[21:29:07][C][mqtt:159]:   Discovery retain: YES
[21:29:07][C][mqtt:161]:   Topic Prefix: 'sonoff-rf'
[21:29:07][C][mqtt:163]:   Log Topic: 'sonoff-rf/debug'
[21:29:07][C][mqtt:166]:   Availability: 'sonoff-rf/status'
[21:29:07][C][mqtt.binary_sensor:022]: MQTT Binary Sensor 'Pronto Remote Input':
[21:29:07][C][mqtt.binary_sensor:023]:   State Topic: 'sonoff-rf/binary_sensor/pronto_remote_input/state'
[21:29:49][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[21:30:30][I][remote.pronto:231]: Received Pronto: data=
[21:30:30][I][remote.pronto:233]: 0000 006D 0090 0000 0004 0008 0009 001E 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 
[21:30:30][I][remote.pronto:233]: 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 
[21:30:30][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 
[21:30:30][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 
[21:30:30][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 
[21:30:30][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 
[21:30:30][I][remote.pronto:233]: 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181 
[21:30:30][W][component:237]: Component remote_receiver took a long time for an operation (161 ms).
[21:30:30][W][component:238]: Components should block for at most 30 ms.
[21:30:30][I][remote.pronto:231]: Received Pronto: data=
[21:30:30][I][remote.pronto:233]: 0000 006D 0001 0000 0152 0181

I was just playing with it, and noticed that the binar sensor does toggle but only occassionally, once every maybe 20 presses of the button.

[21:39:58][I][remote.pronto:233]: 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181 
[21:39:58][W][component:237]: Component remote_receiver took a long time for an operation (160 ms).
[21:39:58][W][component:238]: Components should block for at most 30 ms.
[21:39:58][I][remote.canalsatld:099]: Received CanalSatLD: device=0x0C, address=0x39, command=0x0C, repeat=0x1
[21:39:58][I][remote.pronto:231]: Received Pronto: data=
[21:39:58][I][remote.pronto:233]: 0000 006D 0090 0000 0009 001F 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 
[21:39:58][I][remote.pronto:233]: 0009 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 
[21:39:58][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 
[21:39:58][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 
[21:39:58][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 
[21:39:58][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0153 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 
[21:39:58][I][remote.pronto:233]: 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181 
[21:39:58][W][component:237]: Component remote_receiver took a long time for an operation (166 ms).
[21:39:58][W][component:238]: Components should block for at most 30 ms.
[21:39:59][I][remote.canalsatld:099]: Received CanalSatLD: device=0x0C, address=0x39, command=0x0C, repeat=0x1
[21:39:59][I][remote.pronto:231]: Received Pronto: data=
[21:39:59][I][remote.pronto:233]: 0000 006D 0048 0000 0009 001F 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 
[21:39:59][I][remote.pronto:233]: 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 
[21:39:59][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 
[21:39:59][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181 
[21:39:59][W][component:237]: Component remote_receiver took a long time for an operation (90 ms).
[21:39:59][W][component:238]: Components should block for at most 30 ms.
[21:39:59][I][remote.pronto:231]: Received Pronto: data=
[21:39:59][I][remote.pronto:233]: 0000 006D 0048 0000 00D7 0021 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 
[21:39:59][I][remote.pronto:233]: 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 
[21:39:59][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 
[21:39:59][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181 
[21:39:59][W][component:237]: Component remote_receiver took a long time for an operation (84 ms).
[21:39:59][W][component:238]: Components should block for at most 30 ms.
[21:40:00][I][remote.canalsatld:099]: Received CanalSatLD: device=0x0C, address=0x39, command=0x0C, repeat=0x1
[21:40:00][I][remote.pronto:231]: Received Pronto: data=
[21:40:00][I][remote.pronto:233]: 0000 006D 0048 0000 0009 001F 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 
[21:40:00][I][remote.pronto:233]: 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 
[21:40:00][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 
[21:40:00][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181 
[21:40:00][W][component:237]: Component remote_receiver took a long time for an operation (90 ms).
[21:40:00][W][component:238]: Components should block for at most 30 ms.
[21:40:01][I][remote.canalsatld:099]: Received CanalSatLD: device=0x0C, address=0x39, command=0x0C, repeat=0x1
[21:40:01][I][remote.pronto:231]: Received Pronto: data=
[21:40:01][I][remote.pronto:233]: 0000 006D 0048 0000 0008 001F 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 
[21:40:01][I][remote.pronto:233]: 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 
[21:40:01][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 
[21:40:01][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 0181 
[21:40:01][W][component:237]: Component remote_receiver took a long time for an operation (91 ms).
[21:40:01][W][component:238]: Components should block for at most 30 ms.
[21:40:07][D][binary_sensor:036]: 'Toggle': Sending state ON
[21:40:07][D][binary_sensor:036]: 'Toggle': Sending state OFF
[21:40:07][I][remote.pronto:231]: Received Pronto: data=
[21:40:08][I][remote.pronto:233]: 0000 006D 0090 0000 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 001D 000B 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 
[21:40:08][I][remote.pronto:233]: 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 0009 001D 000A 001D 000A 001D 
[21:40:08][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 
[21:40:08][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 0009 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 000A 001D 
[21:40:08][I][remote.pronto:233]: 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001C 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B 0009 001D 
[21:40:08][I][remote.pronto:233]: 0009 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 001D 000A 0152 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 001D 000B 001C 000B 0009 001D 000A 001D 001C 000B 0009 001D 000A 001D 000A 001D 000A 001D 001C 000B

UPDATE:
Ok, I realized I had the code incorrectly pasted twice. I fixed it and the binary sensor seems to be reacting correctly most of the time now. Not ideal as it’s missing some button presses, but it’s ok for now. Next I need to figure out how to reflect these changes inside HA on that virtual device.

That’s why pronto code is far from ideal.
Try to experiment with delta. I don’t know what values to try because of lacking documentation, but play with it until you get good enough results. The purpose of that is to give more tolerance for signal.

Hold on.
This could be much better!
Are you getting CanalSat on every button press?

Nope, I believe the ocassional CanalSat comes all the way from my neighbours house. I will play with the delta, see if that helps. Thanks a lot!

Hi Karosm, would you mind explaining how to use the delta parameter?

I would like to help, but I only know it’s integer… :sweat_smile:
Bad documentation. And I have always avoided Pronto.

** delta (Optional, integer): This parameter allows you to manually specify the allowed difference between what Pronto code is specified, and what IR signal has been sent by the remote control.*

Ok, thanks. I was trying different values between 0 and 100 but I might expand the range. I might give up reading the codes to figure out the current state of the device and instead only use it to generate codes to control it from HA.

Are you sure about CanalSat, it was very consistent on the log you posted?

I think so. For example now there is none of it showing, despite me pressing all the buttons like a mad man. I have also seen it appearing when I don’t press anything.

Ahhhh, ok.

I now see what you mean with Pronto. Out of 10 button presses, around 4 are a miss. New battery in the remote and distance to receiver is 30cm.

but you are right rearding CanalSat. It only shows up from time to time, but it’s very consistent (exactly same time) as the Pronto code. I’m confused :confused: